az connectedmachine extension image
Note
This reference is part of the connectedmachine extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az connectedmachine extension image command. Learn more about extensions.
Manage VM extension metadata available for Azure Arc-Enabled Servers.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az connectedmachine extension image list |
List all Extension versions based on location, publisher, extensionType. |
Extension | GA |
| az connectedmachine extension image show |
Get an Extension Metadata based on location, publisher, extensionType and version. |
Extension | GA |
az connectedmachine extension image list
List all Extension versions based on location, publisher, extensionType.
az connectedmachine extension image list --extension-type --type
--location
--publisher
[--max-items]
[--next-token]
Examples
GET a list of extension metadata
az connectedmachine extension image list --location EastUS --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent
Required Parameters
The extensionType of the Extension being received.
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
The publisher of the Extension being received.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az connectedmachine extension image show
Get an Extension Metadata based on location, publisher, extensionType and version.
az connectedmachine extension image show --extension-type --type
--location
--name --version
--publisher
Examples
GET an extension metadata
az connectedmachine extension image show --location EastUS --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --version 1.33.0
Required Parameters
The extensionType of the Extension being received.
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
The version of the Extension being received.
The publisher of the Extension being received.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |