← 返回命令列表

Linux command

az-term 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Accept marketplace terms

az term accept --publisher [publisher] --product [product] --plan [plan]

Show marketplace terms

az term show --publisher [publisher] --product [product] --plan [plan]

Accept terms

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

Show terms

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

Scope to a subscription

az term accept --publisher [pub] --product [prod] --plan [plan] --subscription [sub_id]

说明

az term manages Azure Marketplace agreement acceptance via the marketplaceordering provider. Many third-party Marketplace images require accepting terms and conditions before they can be deployed. This command lets you accept and inspect those terms programmatically. The equivalent az vm image terms subcommand accepts a single --urn in the form _publisher:offer:sku:version_ instead of three separate identifiers. This command group is marked experimental by Microsoft and may change.

参数

--publisher
Publisher identifier string of the image being deployed (required).
--product
Offer identifier string of the image being deployed (required).
--plan
Plan identifier string of the image being deployed (required).
--subscription
Name or ID of the subscription to use.
--output, -o
Output format: json, jsonc, none, table, tsv, yaml, yamlc.
--query
JMESPath query string.
--debug
Increase logging verbosity to show all debug logs.

FAQ

What is the az-term command used for?

az term manages Azure Marketplace agreement acceptance via the marketplaceordering provider. Many third-party Marketplace images require accepting terms and conditions before they can be deployed. This command lets you accept and inspect those terms programmatically. The equivalent az vm image terms subcommand accepts a single --urn in the form _publisher:offer:sku:version_ instead of three separate identifiers. This command group is marked experimental by Microsoft and may change.

How do I run a basic az-term example?

Run `az term accept --publisher [publisher] --product [product] --plan [plan]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --publisher do in az-term?

Publisher identifier string of the image being deployed (required).