CmdID / az / az network / az network dns / az network dns record-set / az network dns record-set ptr
az network dns record-set ptr delete
Delete a PTR record set and all associated records. Azure CLI reference
2 examples 1 option Its page in the Azure CLI reference
Examples
Delete a PTR record set and all associated records.
az network dns record-set ptr delete -g MyResourceGroup -z www.mysite.com -n MyRecordSetIdentify-gName of resource group.-zThe name of the zone.-nThe name of the record set, relative to the name of the zone.Delete a PTR record set and all associated records. (autogenerated)
az network dns record-set ptr delete --name MyRecordSet --resource-group MyResourceGroup --subscription MySubscription --yes --zone-name www.mysite.comIdentify--nameThe name of the record set, relative to the name of the zone.--resource-groupName of resource group.--subscriptionName or ID of subscription.--zone-nameThe name of the zone.Options
--if-matchDelete only if the resource with the same ETAG exists.