共用方式為


az automation software-update-configuration runs

Note

This reference is part of the automation extension for the Azure CLI (version 2.55.0 or higher). 當您第一次執行 az automation software-update-configuration run 命令時,擴充功能會自動安裝。 Learn more about extensions.

軟體更新組態執行。

命令

名稱 Description 類型 狀態
az automation software-update-configuration runs list

傳回軟體更新組態執行的清單。

Extension GA
az automation software-update-configuration runs show

依標識元取得單一軟體更新組態執行。

Extension GA

az automation software-update-configuration runs list

傳回軟體更新組態執行的清單。

az automation software-update-configuration runs list --automation-account-name
                                                      --resource-group

範例

依自動化帳戶列出軟體更新組態

az automation software-update-configuration runs list --automation-account-name "myAutomationAccount"                 --resource-group "rg"

必要參數

--automation-account-name

自動化帳戶的名稱。

--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

全域參數
--debug

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

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

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

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

Output format.

屬性
預設值: 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 automation software-update-configuration runs show

依標識元取得單一軟體更新組態執行。

az automation software-update-configuration runs show --automation-account-name
                                                      --resource-group
                                                      --software-update-configuration-run-id

範例

列出依標識碼執行的軟體更新組態

az automation software-update-configuration runs show --automation-account-name                "myAutomationAccount" --resource-group "rg" --software-update-configuration-run-id                "MyconfigurationRunId"

必要參數

--automation-account-name

自動化帳戶的名稱。

--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

--software-update-configuration-run-id

軟體更新組態執行的標識碼。

全域參數
--debug

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

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

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

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

Output format.

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

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

--subscription

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

--verbose

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

屬性
預設值: False