Share via


az spring private-dns-zone

Note

This reference is part of the spring extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az spring private-dns-zone command. Learn more about extensions.

Commands to configure constumer private DNS zone with Azure Spring Apps.

Commands

Name Description Type Status
az spring private-dns-zone add

Commands to add a constumer private DNS zone with Azure Spring Apps.

Extension GA
az spring private-dns-zone clean

Commands to clean up constumer private DNS zone in Azure Spring Apps.

Extension GA
az spring private-dns-zone update

Commands to update constumer private DNS zone in Azure Spring Apps.

Extension GA

az spring private-dns-zone add

Commands to add a constumer private DNS zone with Azure Spring Apps.

az spring private-dns-zone add --resource-group
                               --service
                               --zone-id
                               [--no-wait]

Examples

Add a private DNS zone to Azure Spring Apps.

az spring private-dns-zone add --service MyAzureSpringAppsInstance --resource-group MyResourceGroup --zone-id MyPrivateDNSZoneId

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.

--zone-id

The resource id of the private DNS zone which you would like to configure with the service instance.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
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 spring private-dns-zone clean

Commands to clean up constumer private DNS zone in Azure Spring Apps.

az spring private-dns-zone clean --resource-group
                                 --service
                                 [--no-wait]

Examples

Clean up private DNS zone with Azure Spring Apps.

az spring private-dns-zone clean --service MyAzureSpringAppsInstance --resource-group MyResourceGroup

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
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 spring private-dns-zone update

Commands to update constumer private DNS zone in Azure Spring Apps.

az spring private-dns-zone update --resource-group
                                  --service
                                  --zone-id
                                  [--no-wait]

Examples

Update a private DNS zone in Azure Spring Apps.

az spring private-dns-zone update --service MyAzureSpringAppsInstance --resource-group MyResourceGroup --zone-id MyPrivateDNSZoneId

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.

--zone-id

The resource id of the private DNS zone which you would like to configure with the service instance.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
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.