CmdID / az / az appservice / az appservice domain
az appservice domain create
Create and purchase a custom domain. Azure CLI reference
9 options Its page in the Azure CLI reference
Options
--accept-termsBy using this flag, you are accepting the conditions shown using the --show-hostname-purchase-terms flag.--auto-renew, -aEnable auto-renew on the domain--contact-info, -cThe file path to a JSON object with your contact info for domain registration.--dryrunShow summary of the purchase and create operation instead of executing it--hostname, -nName of the custom domain--no-waitDo not wait for the create to complete, and return immediately after queuing the create.--privacy, -pEnable privacy protection--tagsspace-separated tags: key[=value] [key[=value] ...].--validateGenerate and validate the ARM template without creating any resources