Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

az aks approuting zone

Note

This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.

Commands to manage App Routing DNS Zones.

A group of commands to manage App Routing DNS zones in given cluster.

Commands

Name Description Type Status
az aks approuting zone add

Add DNS Zone(s) to App Routing.

Core GA
az aks approuting zone add (aks-preview extension)

Add DNS Zone(s) to App Routing.

Extension GA
az aks approuting zone delete

Delete DNS Zone(s) from App Routing.

Core GA
az aks approuting zone delete (aks-preview extension)

Delete DNS Zone(s) from App Routing.

Extension GA
az aks approuting zone list

List DNS Zone IDs in App Routing.

Core GA
az aks approuting zone list (aks-preview extension)

List DNS Zone IDs in App Routing.

Extension GA
az aks approuting zone update

Replace DNS Zone(s) in App Routing.

Core GA
az aks approuting zone update (aks-preview extension)

Replace DNS Zone(s) in App Routing.

Extension GA

az aks approuting zone add

Add DNS Zone(s) to App Routing.

This command adds multiple DNS zone resource IDs to App Routing.

az aks approuting zone add --ids
 --name
 --resource-group
 [--acquire-policy-token]
 [--attach-zones]
 [--change-reference]

Required Parameters

--ids

Comma-separated list of DNS zone resource IDs to add to App Routing.

--name -n

Name of the managed cluster.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--attach-zones

Grant DNS zone Contributor permissions on all zone IDs specified in --ids.

Property Value
Default value: False
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments

az aks approuting zone add (aks-preview extension)

Add DNS Zone(s) to App Routing.

This command adds multiple DNS zone resource IDs to App Routing.

az aks approuting zone add --ids
 --name
 --resource-group
 [--acquire-policy-token]
 [--attach-zones]
 [--change-reference]

Examples

Add DNS zones to App Routing.

az aks approuting zone add --resource-group MyResourceGroup --name MyManagedCluster --ids zoneResourceId

Required Parameters

--ids

Comma-separated list of DNS zone resource IDs to add to App Routing.

--name -n

Name of the managed cluster.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--attach-zones

Grant DNS zone Contributor permissions on all zone IDs specified in --ids.

Property Value
Default value: False
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments

az aks approuting zone delete

Delete DNS Zone(s) from App Routing.

This command deletes DNS zone resource IDs from App Routing in given cluster.

az aks approuting zone delete --ids
 --name
 --resource-group
 [--acquire-policy-token]
 [--change-reference]
 [--yes]

Required Parameters

--ids

Comma-separated list of DNS zone resource IDs to delete from App Routing.

--name -n

Name of the managed cluster.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False

az aks approuting zone delete (aks-preview extension)

Delete DNS Zone(s) from App Routing.

This command deletes DNS zone resource IDs from App Routing in given cluster.

az aks approuting zone delete --ids
 --name
 --resource-group
 [--acquire-policy-token]
 [--change-reference]
 [--yes]

Required Parameters

--ids

Comma-separated list of DNS zone resource IDs to delete from App Routing.

--name -n

Name of the managed cluster.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False

az aks approuting zone list

List DNS Zone IDs in App Routing.

This command lists the DNS zone resources used in App Routing.

az aks approuting zone list --name
 --resource-group

Required Parameters

--name -n

Name of the managed cluster.

--resource-group -g

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

az aks approuting zone list (aks-preview extension)

List DNS Zone IDs in App Routing.

This command lists the DNS zone resources used in App Routing.

az aks approuting zone list --name
 --resource-group

Required Parameters

--name -n

Name of the managed cluster.

--resource-group -g

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

az aks approuting zone update

Replace DNS Zone(s) in App Routing.

This command replaces the DNS zone resource IDs used in App Routing.

az aks approuting zone update --ids
 --name
 --resource-group
 [--acquire-policy-token]
 [--attach-zones]
 [--change-reference]

Required Parameters

--ids

Comma-separated list of DNS zone resource IDs to replace in App Routing.

--name -n

Name of the managed cluster.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--attach-zones

Grant DNS zone Contributor permissions on all zone IDs specified in --ids.

Property Value
Default value: False
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments

az aks approuting zone update (aks-preview extension)

Replace DNS Zone(s) in App Routing.

This command replaces the DNS zone resource IDs used in App Routing.

az aks approuting zone update --ids
 --name
 --resource-group
 [--acquire-policy-token]
 [--attach-zones]
 [--change-reference]

Required Parameters

--ids

Comma-separated list of DNS zone resource IDs to replace in App Routing.

--name -n

Name of the managed cluster.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--attach-zones

Grant DNS zone Contributor permissions on all zone IDs specified in --ids.

Property Value
Default value: False
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments

Feedback

Was this page helpful?