az connectedmachine extension image

Note

This reference is part of the connectedmachine extension for the Azure CLI (version 2.49.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
                                         --location
                                         --publisher

Examples

Sample command for extension image list

az connectedmachine extension image list --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus

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.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az connectedmachine extension image show

Get an Extension Metadata based on location, publisher, extensionType and version.

az connectedmachine extension image show [--extension-type]
                                         [--ids]
                                         [--location]
                                         [--name]
                                         [--publisher]
                                         [--subscription]

Examples

Sample command for extension image show

az connectedmachine extension image show --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus --version 1.9.1

Optional Parameters

--extension-type --type

The extensionType of the Extension being received.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

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

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.