Κοινή χρήση μέσω


az maintenance public-configuration

Note

This reference is part of the maintenance extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az maintenance public-configuration command. Learn more about extensions.

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage public maintenance configuration with maintenance.

Commands

Name Description Type Status
az maintenance public-configuration list

List Public Maintenance Configuration records.

Extension Preview
az maintenance public-configuration show

Get Public Maintenance Configuration record.

Extension Preview

az maintenance public-configuration list

Preview

Command group 'az maintenance public-configuration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List Public Maintenance Configuration records.

az maintenance public-configuration list

Examples

PublicMaintenanceConfigurations_List

az maintenance public-configuration list
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az maintenance public-configuration show

Preview

Command group 'az maintenance public-configuration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get Public Maintenance Configuration record.

az maintenance public-configuration show [--ids]
                                         [--name]
                                         [--subscription]

Examples

PublicMaintenanceConfigurations_GetForResource

az maintenance public-configuration show --resource-name "configuration1"

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name --resource-name -n

Maintenance Configuration Name.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.