Jaa


az connectedmachine extension image

Note

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

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.

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]
                                         [--ids]
                                         [--location]
                                         [--name --version]
                                         [--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

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--extension-type --type

The extensionType of the Extension being received.

Property Value
Parameter group: Resource Id Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--location -l

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

Property Value
Parameter group: Resource Id Arguments
--name --version -n

The version of the Extension being received.

Property Value
Parameter group: Resource Id Arguments
--publisher -p

The publisher of the Extension being received.

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id 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.

--verbose

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

Property Value
Default value: False