CmdID

CmdID / az / az network / az network dns / az network dns record-set / az network dns record-set mx

az network dns record-set mx create

Create an empty MX record set. Azure CLI reference

2 examples 2 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create an empty MX record set.

az network dns record-set mx create -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.

Create an empty MX record set. (autogenerated)

az network dns record-set mx create --name MyRecordSet --resource-group MyResourceGroup --ttl 30 --zone-name www.mysite.comIdentify
--nameThe name of the record set, relative to the name of the zone.
--resource-groupName of resource group.
--ttlRecord set TTL (time-to-live)
--zone-nameThe name of the zone.

Options

2 in the Azure CLI reference
--if-none-matchCreate the record set only if it does not already exist.
--ttlRecord set TTL (time-to-live)