共用方式為


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
全域參數
--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 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

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--name --resource-name -n

維護組態名稱。

屬性
Parameter group: Resource Id Arguments
--subscription

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

屬性
Parameter group: Resource Id Arguments
全域參數
--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/

--verbose

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

屬性
預設值: False