az network private-dns link vnet
Manage virtual network links to the specified Private DNS zone.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network private-dns link vnet create |
Create a virtual network link to the specified Private DNS zone. |
Core | GA |
az network private-dns link vnet delete |
Delete a virtual network link to the specified private DNS zone. |
Core | GA |
az network private-dns link vnet list |
List the virtual network links to the specified private DNS zone. |
Core | GA |
az network private-dns link vnet show |
Get a virtual network link to the specified private DNS zone. |
Core | GA |
az network private-dns link vnet update |
Update a virtual network link's properties. Does not modify virtual network within the link. |
Core | GA |
az network private-dns link vnet wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network private-dns link vnet create
Create a virtual network link to the specified Private DNS zone.
az network private-dns link vnet create --name
--registration-enabled {0, 1, f, false, n, no, t, true, y, yes}
--resource-group
--virtual-network
--zone-name
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--tags]
Examples
Create a virtual network link to the specified private DNS zone.
az network private-dns link vnet create -g MyResourceGroup -n MyLinkName -z www.mysite.com -v MyVirtualNetworkId -e False
Required Parameters
Name of the virtual network link to the specified private DNS zone.
Specify if the link is registration enabled.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of the virtual network.
Name of the private DNS zone.
Optional Parameters
Do not wait for the long-running operation to finish.
Resource tags for the virtual network link. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az network private-dns link vnet delete
Delete a virtual network link to the specified private DNS zone.
In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.
az network private-dns link vnet delete [--ids]
[--if-match]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
[--zone-name]
Examples
Delete a virtual network link to the specified private DNS zone.
az network private-dns link vnet delete -g MyResourceGroup -z www.mysite.com -n MyLinkName
Optional Parameters
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.
ETag of the virtual network link to the private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
Name of the virtual network link to the specified private DNS zone.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Name of the private DNS zone.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az network private-dns link vnet list
List the virtual network links to the specified private DNS zone.
az network private-dns link vnet list --resource-group
--zone-name
[--max-items]
[--next-token]
[--top]
Examples
List virtual network links to the specified private DNS zone in a resource group.
az network private-dns link vnet list -g MyResourceGroup -z www.mysite.com
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the private DNS zone.
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az network private-dns link vnet show
Get a virtual network link to the specified private DNS zone.
az network private-dns link vnet show [--ids]
[--name]
[--resource-group]
[--subscription]
[--zone-name]
Examples
Get a virtual network link to the specified private DNS zone.
az network private-dns link vnet show -g MyResourceGroup -n MyLinkName -z www.mysite.com
Optional Parameters
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 of the virtual network link to the specified private DNS zone.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Name of the private DNS zone.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az network private-dns link vnet update
Update a virtual network link's properties. Does not modify virtual network within the link.
az network private-dns link vnet update [--add]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--if-match]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--registration-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--tags]
[--zone-name]
Examples
Update a virtual network link properties to enable registration.
az network private-dns link vnet update -g MyResourceGroup -n MyLinkName -z www.mysite.com -e True
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
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.
ETag of the virtual network link to the private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
Name of the virtual network link to the specified private DNS zone.
Do not wait for the long-running operation to finish.
Specify if the link is registration enabled.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Resource tags for the virtual network link. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Name of the private DNS zone.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az network private-dns link vnet wait
Place the CLI in a waiting state until a condition is met.
az network private-dns link vnet wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
[--zone-name]
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
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.
Polling interval in seconds.
Name of the virtual network link to the specified private DNS zone.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Name of the private DNS zone.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
Azure CLI