az zones
Note
This reference is part of the zones extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az zones command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands to validate Availability Zone Configuration. Use one of the options below.
Commands
Name | Description | Type | Status |
---|---|---|---|
az zones validate |
Validates zone redundancy status of all resources in the current subscription context for which you have read access. |
Extension | Preview |
az zones validate
Command group 'zones' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Validates zone redundancy status of all resources in the current subscription context for which you have read access.
az zones validate [--omit-dependent {false, true}]
[--resource-groups]
[--tags]
Examples
Validate zone redundancy status of all resources in the specified resource group
az zones validate --resource-groups myProductionRG
Validate zone redundancy status of all resources in the specified resource group, but omit the dependent/child resources
az zones validate --resource-groups myProductionRG --omit-dependent
Validate zone redundancy status of all resources that have ALL the specified tags
az zones validate --tags env=prod,criticality=high
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Omit dependent resources from validation.
Property | Value |
---|---|
Accepted values: | false, true |
Name of the resource groups, comma separated.
Filter resources based on tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |