az spring api-portal custom-domain
Note
This reference is part of the spring extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az spring api-portal custom-domain command. Learn more about extensions.
Commands to manage custom domains for API portal.
Commands
Name | Description | Type | Status |
---|---|---|---|
az spring api-portal custom-domain bind |
Bind a custom domain with the API portal. |
Extension | GA |
az spring api-portal custom-domain list |
List all custom domains of the API portal. |
Extension | GA |
az spring api-portal custom-domain show |
Show details of a custom domain. |
Extension | GA |
az spring api-portal custom-domain unbind |
Unbind a custom-domain of the API portal. |
Extension | GA |
az spring api-portal custom-domain update |
Update a custom domain of the API portal. |
Extension | GA |
az spring api-portal custom-domain bind
Bind a custom domain with the API portal.
az spring api-portal custom-domain bind --domain-name
--resource-group
--service
[--certificate]
Examples
Bind a custom domain to API portal.
az spring api-portal custom-domain bind --domain-name MyDomainName --certificate MyCertName --service MyCluster --resource-group MyResourceGroup
Required Parameters
Name of custom domain.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Certificate name in Azure Spring Apps.
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 spring api-portal custom-domain list
List all custom domains of the API portal.
az spring api-portal custom-domain list --resource-group
--service
Examples
List all custom domains of the API portal.
az spring api-portal custom-domain list --service MyCluster --resource-group MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
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 spring api-portal custom-domain show
Show details of a custom domain.
az spring api-portal custom-domain show --domain-name
--resource-group
--service
Required Parameters
Name of custom domain.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
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 spring api-portal custom-domain unbind
Unbind a custom-domain of the API portal.
az spring api-portal custom-domain unbind --domain-name
--resource-group
--service
Required Parameters
Name of custom domain.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
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 spring api-portal custom-domain update
Update a custom domain of the API portal.
az spring api-portal custom-domain update --domain-name
--resource-group
--service
[--certificate]
Examples
Bind custom domain with a specified certificate.
az spring api-portal custom-domain update --domain-name MyDomainName --certificate MCertName --service MyCluster --resource-group MyResourceGroup
Required Parameters
Name of custom domain.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Certificate name in Azure Spring Apps.
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.