az maintenance public-configuration
Note
This reference is part of the maintenance extension for the Azure CLI (version 2.67.0 or higher). 擴充功能會在您第一次執行 az maintenance public-configuration 命令時自動安裝。 Learn more about extensions.
此命令群組處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
使用維護來管理公用維護組態。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az maintenance public-configuration list |
列出公用維護組態記錄。 |
Extension | Preview |
az maintenance public-configuration show |
取得公用維護組態記錄。 |
Extension | Preview |
az maintenance public-configuration list
命令群組 『az maintenance public-configuration』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
列出公用維護組態記錄。
az maintenance public-configuration list
範例
PublicMaintenanceConfigurations_List
az maintenance public-configuration list
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az maintenance public-configuration show
命令群組 『az maintenance public-configuration』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
取得公用維護組態記錄。
az maintenance public-configuration show [--ids]
[--name --resource-name]
[--subscription]
範例
PublicMaintenanceConfigurations_GetForResource
az maintenance public-configuration show --resource-name "configuration1"
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
維護組態名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |