az webpubsub custom-domain
Note
This reference is part of the webpubsub extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az webpubsub custom-domain command. Learn more about extensions.
Manage custom domain settings.
Commands
Name | Description | Type | Status |
---|---|---|---|
az webpubsub custom-domain create |
Create a custom domain of WebPubSub Service. |
Extension | GA |
az webpubsub custom-domain delete |
Delete a custom domain of WebPubSub Service. |
Extension | GA |
az webpubsub custom-domain list |
List custom domains of WebPubSub Service. |
Extension | GA |
az webpubsub custom-domain show |
Show the detail of a custom domain of WebPubSub Service. |
Extension | GA |
az webpubsub custom-domain create
Create a custom domain of WebPubSub Service.
az webpubsub custom-domain create --certificate-resource-id
--domain-name
--name
--resource-group
--webpubsub-name
Examples
Create a custom domain
az webpubsub custom-domain create --webpubsub-name MyWebPubSub -g MyResourceGroup --name MyDomain --domain-name MyDomain.com --certificate-resource-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Web/certificates/MyCertificate
Required Parameters
Resource ID of the certificate.
Custom domain name. For example, contoso.com
.
Name of the custom domain.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the webpubsub.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az webpubsub custom-domain delete
Delete a custom domain of WebPubSub Service.
az webpubsub custom-domain delete --name
--resource-group
--webpubsub-name
Examples
Delete a custom domain
az webpubsub custom-domain delete --webpubsub-name MyWebPubSub -g MyResourceGroup --name MyDomain
Required Parameters
Name of the custom domain.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the webpubsub.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az webpubsub custom-domain list
List custom domains of WebPubSub Service.
az webpubsub custom-domain list --resource-group
--webpubsub-name
Examples
List custom domains
az webpubsub custom-domain list --webpubsub-name MyWebPubSub -g MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the webpubsub.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az webpubsub custom-domain show
Show the detail of a custom domain of WebPubSub Service.
az webpubsub custom-domain show --name
--resource-group
--webpubsub-name
Examples
Show custom domain
az webpubsub custom-domain show --webpubsub-name MyWebPubSub -g MyResourceGroup --name MyDomain
Required Parameters
Name of the custom domain.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the webpubsub.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.