az vm image terms

Manage Azure Marketplace image terms.

Commands

az vm image terms accept

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

az vm image terms cancel

Cancel Azure Marketplace image terms.

az vm image terms show

Get the details of Azure Marketplace image terms.

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]
                         [--subscription]
                         [--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.

--subscription

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

--urn

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

az vm image terms cancel

Cancel Azure Marketplace image terms.

az vm image terms cancel [--offer]
                         [--plan]
                         [--publisher]
                         [--subscription]
                         [--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.

--subscription

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

--urn

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

az vm image terms show

Get the details of Azure Marketplace image terms.

az vm image terms show [--offer]
                       [--plan]
                       [--publisher]
                       [--query-examples]
                       [--subscription]
                       [--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.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

--urn

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