Share via


az vm image terms

Manage Azure Marketplace image terms.

Commands

Name Description Type Status
az vm image terms accept

Accept Azure Marketplace image terms so that the image can be used to create VMs.

Core GA
az vm image terms cancel

Cancel Azure Marketplace image terms.

Core GA
az vm image terms show

Get the details of Azure Marketplace image terms.

Core GA

az vm image terms accept

Accept Azure Marketplace image terms so that the image can be used to create VMs.

az vm image terms accept [--offer]
                         [--plan]
                         [--publisher]
                         [--urn]

Examples

Accept Azure Marketplace image terms so that the image can be used to create VMs.

az vm image terms accept --urn publisher:offer:sku:version

Optional Parameters

--offer -f

Image offer.

--plan

Image billing plan.

--publisher -p

Image publisher.

--urn

URN, in the format of 'publisher:offer:sku:version'. If specified, other argument values can be omitted.

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 vm image terms cancel

Cancel Azure Marketplace image terms.

az vm image terms cancel [--offer]
                         [--plan]
                         [--publisher]
                         [--urn]

Examples

Cancel Azure Marketplace image terms.

az vm image terms cancel --urn publisher:offer:sku:version

Cancel Azure Marketplace image terms. (autogenerated)

az vm image terms cancel --subscription MySubscription --urn publisher:offer:sku:version

Optional Parameters

--offer -f

Image offer.

--plan

Image billing plan.

--publisher -p

Image publisher.

--urn

URN, in the format of 'publisher:offer:sku:version'. If specified, other argument values can be omitted.

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 vm image terms show

Get the details of Azure Marketplace image terms.

az vm image terms show [--offer]
                       [--plan]
                       [--publisher]
                       [--urn]

Examples

Get the details of Azure Marketplace image terms.

az vm image terms show --urn publisher:offer:sku:version

Optional Parameters

--offer -f

Image offer.

--plan

Image billing plan.

--publisher -p

Image publisher.

--urn

URN, in the format of 'publisher:offer:sku:version'. If specified, other argument values can be omitted.

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.