共用方式為


az vm image terms

管理 Azure Marketplace 映像條款。

命令

名稱 Description 類型 狀態
az vm image terms accept

接受 Azure Marketplace 映像條款,讓映像可用來建立 VM。

Core GA
az vm image terms cancel

取消 Azure Marketplace 映像條款。

Core GA
az vm image terms show

取得 Azure Marketplace 映像字詞的詳細數據。

Core GA

az vm image terms accept

接受 Azure Marketplace 映像條款,讓映像可用來建立 VM。

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

範例

接受 Azure Marketplace 映像條款,讓映像可用來建立 VM。

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

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--offer -f

映射供應專案。

--plan

映像計費方案。

--publisher -p

映像發行者。

--urn

URN,格式為 'publisher:offer:sku:version'。 如果指定,可以省略其他自變數值。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az vm image terms cancel

取消 Azure Marketplace 映像條款。

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

範例

取消 Azure Marketplace 映像條款。

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

取消 Azure Marketplace 映像條款。 (autogenerated)

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

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--offer -f

映射供應專案。

--plan

映像計費方案。

--publisher -p

映像發行者。

--urn

URN,格式為 'publisher:offer:sku:version'。 如果指定,可以省略其他自變數值。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az vm image terms show

取得 Azure Marketplace 映像字詞的詳細數據。

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

範例

取得 Azure Marketplace 映像字詞的詳細數據。

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

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--offer -f

映射供應專案。

--plan

映像計費方案。

--publisher -p

映像發行者。

--urn

URN,格式為 'publisher:offer:sku:version'。 如果指定,可以省略其他自變數值。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False