There is a command group 'az_appservice_domain'. This group of commands could 'manage custom domains'. The group of commands has global parameter '--debug' which means 'Increase logging verbosity to show all debug logs.'. The group of commands has global parameter '--help -h' which means 'Show this help message and exit.'. The group of commands has global parameter '--only-show-errors' which means 'Only show errors, suppressing warnings.'. The group of commands has global parameter '--output -o' which means 'Output format.'. The group of commands has global parameter '--query' which means 'JMESPath query string. See <a href="http://jmespath.org/">http://jmespath.org/</a> for more information and examples.'. The group of commands has global parameter '--subscription' which means 'Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.'. The group of commands has global parameter '--verbose' which means 'Increase logging verbosity. Use --debug for full debug logs.'. This group contains a child command 'az_appservice_domain_create'.The syntax is: az appservice domain create --contact-info
                            --hostname
                            --resource-group
                            [--accept-terms]
                            [--auto-renew]
                            [--dryrun]
                            [--privacy]
                            [--tags]. The 1th example of the child command would be to use it to 'accept the legal terms for purchasing and creating mycustomdomain com  then purchase and create domain', the syntax is: az appservice domain create -g MyResourceGroup --hostname MyCustomDomain.com --contact-info=@'C:/path_to_contact_info.json' --accept-terms. The 2th example of the child command would be to use it to 'view the details of the domain that will be purchased and created  without actually running the operation', the syntax is: az appservice domain create -g MyResourceGroup --hostname MyCustomDomain.com --contact-info=@'C:/path_to_contact_info.json' --dryrun. The parameter '--contact-info -c' is required. It is used to the file path to a json object with your contact info for domain registration. please see the following link for the format of the json file expected: https://github.com/azureappservicecli/appservice_domains_templates/blob/master/contact_info.json.. The parameter '--hostname -n' is required. It is used to name of the custom domain.. The parameter '--resource-group -g' is required. It is used to name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. The parameter '--accept-terms' is optional. by using this flag, you are accepting the conditions shown using the --show-hostname-purchase-terms flag.. The parameter '--auto-renew -a' is optional. enable auto-renew on the domain.. The parameter '--dryrun' is optional. show summary of the purchase and create operation instead of executing it.. The parameter '--privacy -p' is optional. enable privacy protection.. The parameter '--tags' is optional. space-separated tags: key[=value] [key[=value] ...]. use "" to clear existing tags.. 