CmdID / az / az network / az network private-dns / az network private-dns record-set / az network private-dns record-set a
az network private-dns record-set a update
Update an A record set. Azure CLI reference
2 examples Its page in the Azure CLI reference
Examples
Update an A record set.
az network private-dns record-set a update -g MyResourceGroup -n MyRecordSet -z www.mysite.com --metadata owner=WebTeamIdentify-gName of resource group.-nThe name of the record set, relative to the name of the Private DNS zone.-zThe name of the Private DNS zone.--metadataMetadata in space-separated key=value pairs.Update an A record set. (autogenerated)
az network private-dns record-set a update --name MyRecordSet --resource-group MyResourceGroup --set useRemoteGateways=true --subscription MySubscription --zone-name www.mysite.comIdentify--nameThe name of the record set, relative to the name of the Private DNS zone.--resource-groupName of resource group.--subscriptionName or ID of subscription.--zone-nameThe name of the Private DNS zone.