az vmware workload-network dns-service
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-service command. Learn more about extensions.
Commands to manage a DNS Service workload network.
Commands
az vmware workload-network dns-service create |
Create a DNS service by ID in a private cloud workload network. |
az vmware workload-network dns-service delete |
Delete a DNS service by ID in a private cloud workload network. |
az vmware workload-network dns-service list |
List of DNS services in a private cloud workload network. |
az vmware workload-network dns-service show |
Get a DNS service by ID in a private cloud workload network. |
az vmware workload-network dns-service update |
Update a DNS service by ID in a private cloud workload network. |
az vmware workload-network dns-service create
Create a DNS service by ID in a private cloud workload network.
az vmware workload-network dns-service create --dns-service
--private-cloud
--resource-group
[--default-dns-zone]
[--display-name]
[--dns-service-ip]
[--fqdn-zones]
[--log-level {DEBUG, ERROR, FATAL, INFO, WARNING}]
[--revision]
Examples
Create a DNS service by ID in a workload network.
az vmware workload-network dns-service create --resource-group group1 --private-cloud cloud1 --dns-service dnsService1 --display-name dnsService1 --dns-service-ip 5.5.5.5 --default-dns-zone defaultDnsZone1 --fqdn-zones fqdnZone1 --log-level INFO --revision 1
Required Parameters
NSX DNS service identifier. Generally the same as the DNS service'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
Default DNS zone of the DNS service.
Display name of the DNS service.
DNS service IP of the DNS service.
FQDN zones of the DNS service.
DNS service log level. Possible values include: "DEBUG", "INFO", "WARNING", "ERROR", "FATAL".
NSX revision number.
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-service delete
Delete a DNS service by ID in a private cloud workload network.
az vmware workload-network dns-service delete --dns-service
--private-cloud
--resource-group
[--yes]
Examples
Delete a DNS service by ID in a workload network.
az vmware workload-network dns-service delete --resource-group group1 --private-cloud cloud1 --dns-service dnsService1
Required Parameters
NSX DNS service identifier. Generally the same as the DNS service'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-service list
List of DNS services in a private cloud workload network.
az vmware workload-network dns-service list --private-cloud
--resource-group
Examples
List of DNS services in a workload network.
az vmware workload-network dns-service 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-service show
Get a DNS service by ID in a private cloud workload network.
az vmware workload-network dns-service show --dns-service
--private-cloud
--resource-group
Examples
Get a DNS service by ID in a workload network.
az vmware workload-network dns-service show --resource-group group1 --private-cloud cloud1 --dns-service dnsService1
Required Parameters
NSX DNS service identifier. Generally the same as the DNS service'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-service update
Update a DNS service by ID in a private cloud workload network.
az vmware workload-network dns-service update --dns-service
--private-cloud
--resource-group
[--default-dns-zone]
[--display-name]
[--dns-service-ip]
[--fqdn-zones]
[--log-level {DEBUG, ERROR, FATAL, INFO, WARNING}]
[--revision]
Examples
Update a DNS service by ID in a workload network.
az vmware workload-network dns-service update --resource-group group1 --private-cloud cloud1 --dns-service dnsService1 --display-name dnsService1 --dns-service-ip 5.5.5.5 --default-dns-zone defaultDnsZone1 --fqdn-zones fqdnZone1 --log-level INFO --revision 1
Required Parameters
NSX DNS service identifier. Generally the same as the DNS service'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
Default DNS zone of the DNS service.
Display name of the DNS service.
DNS service IP of the DNS service.
FQDN zones of the DNS service.
DNS service log level. Possible values include: "DEBUG", "INFO", "WARNING", "ERROR", "FATAL".
NSX revision number.
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.
Feedback
Submit and view feedback for