Share via


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

--extension-type --type

The extensionType of the Extension being received.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--publisher -p

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.

--max-items

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
--next-token

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
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--extension-type --type

The extensionType of the Extension being received.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--name --version -n

The version of the Extension being received.

--publisher -p

The publisher of the Extension being received.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False