az vmware workload-network dns-zone
Note
This reference is part of the vmware extension for the Azure CLI (version 2.11.0 or higher). The extension will automatically install the first time you run an az vmware workload-network dns-zone command. Learn more about extensions.
Commands to manage a DNS Zone workload network.
Commands
| az vmware workload-network dns-zone create |
Create a DNS zone by ID in a private cloud workload network. |
| az vmware workload-network dns-zone delete |
Delete a DNS zone by ID in a private cloud workload network. |
| az vmware workload-network dns-zone list |
List of DNS zones in a private cloud workload network. |
| az vmware workload-network dns-zone show |
Get a DNS zone by ID in a private cloud workload network. |
| az vmware workload-network dns-zone update |
Update a DNS zone by ID in a private cloud workload network. |
az vmware workload-network dns-zone create
Create a DNS zone by ID in a private cloud workload network.
az vmware workload-network dns-zone create --dns-zone
--private-cloud
--resource-group
[--display-name]
[--dns-server-ips]
[--dns-services]
[--domain]
[--revision]
[--source-ip]
Examples
Create a DNS zone by ID in a workload network.
az vmware workload-network dns-zone create --resource-group group1 --private-cloud cloud1 --dns-zone dnsZone1 --display-name dnsZone1 --domain domain1 --dns-server-ips 1.1.1.1 --source-ip 8.8.8.8 --dns-services 1 --revision 1
Required Parameters
NSX DNS zone identifier. Generally the same as the DNS zone's display name.
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Display name of the DNS zone.
DNS Server IP array of the DNS zone.
Number of DNS services using the DNS zone.
Domain names of the DNS zone.
NSX revision number.
Source IP of the DNS zone.
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 vmware workload-network dns-zone delete
Delete a DNS zone by ID in a private cloud workload network.
az vmware workload-network dns-zone delete --dns-zone
--private-cloud
--resource-group
[--yes]
Examples
Delete a DNS zone by ID in a workload network.
az vmware workload-network dns-zone delete --resource-group group1 --private-cloud cloud1 --dns-zone dnsZone1
Required Parameters
NSX DNS zone identifier. Generally the same as the DNS zone's display name.
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Delete without confirmation.
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 vmware workload-network dns-zone list
List of DNS zones in a private cloud workload network.
az vmware workload-network dns-zone list --private-cloud
--resource-group
Examples
List of DNS zones in a workload network.
az vmware workload-network dns-zone list --resource-group group1 --private-cloud cloud1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 vmware workload-network dns-zone show
Get a DNS zone by ID in a private cloud workload network.
az vmware workload-network dns-zone show --dns-zone
--private-cloud
--resource-group
Examples
Get a DNS zone by ID in a workload network.
az vmware workload-network dns-zone show --resource-group group1 --private-cloud cloud1 --dns-zone dnsZone1
Required Parameters
NSX DNS zone identifier. Generally the same as the DNS zone's display name.
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 vmware workload-network dns-zone update
Update a DNS zone by ID in a private cloud workload network.
az vmware workload-network dns-zone update --dns-zone
--private-cloud
--resource-group
[--display-name]
[--dns-server-ips]
[--dns-services]
[--domain]
[--revision]
[--source-ip]
Examples
Update a DNS zone by ID in a workload network.
az vmware workload-network dns-zone update --resource-group group1 --private-cloud cloud1 --dns-zone dnsZone1 --display-name dnsZone1 --domain domain1 --dns-server-ips 1.1.1.1 --source-ip 8.8.8.8 --dns-services 1 --revision 1
Required Parameters
NSX DNS zone identifier. Generally the same as the DNS zone's display name.
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Display name of the DNS zone.
DNS Server IP array of the DNS zone.
Number of DNS services using the DNS zone.
Domain names of the DNS zone.
NSX revision number.
Source IP of the DNS zone.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ