az spring-cloud app custom-domain

Commands to manage custom domains.

Commands

az spring-cloud app custom-domain bind

Bind a custom domain with the app.

az spring-cloud app custom-domain list

List all custom domains of the app.

az spring-cloud app custom-domain show

Show details of a custom domain.

az spring-cloud app custom-domain unbind

Unbind a custom-domain of the app.

az spring-cloud app custom-domain update

Update a custom domain of the app.

az spring-cloud app custom-domain bind

Bind a custom domain with the app.

az spring-cloud app custom-domain bind --app
                                       --domain-name
                                       --resource-group
                                       --service
                                       [--certificate]

Examples

Bind a custom domain to app.

az spring-cloud app custom-domain bind --domain-name MyDomainName --certificate MyCertName --app MyAppName --service MyCluster --resource-group MyResourceGroup

Required Parameters

--app

Name of app.

--domain-name

Name of custom domain.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

Optional Parameters

--certificate

Certificate name in Azure Spring Cloud.

az spring-cloud app custom-domain list

List all custom domains of the app.

az spring-cloud app custom-domain list --app
                                       --resource-group
                                       --service

Examples

List all custom domains of the app.

az spring-cloud app custom-domain list --app MyAppName --service MyCluster --resource-group MyResourceGroup -o table

Required Parameters

--app

Name of app.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

az spring-cloud app custom-domain show

Show details of a custom domain.

az spring-cloud app custom-domain show --app
                                       --domain-name
                                       --resource-group
                                       --service

Required Parameters

--app

Name of app.

--domain-name

Name of custom domain.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

az spring-cloud app custom-domain unbind

Unbind a custom-domain of the app.

az spring-cloud app custom-domain unbind --app
                                         --domain-name
                                         --resource-group
                                         --service

Required Parameters

--app

Name of app.

--domain-name

Name of custom domain.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

az spring-cloud app custom-domain update

Update a custom domain of the app.

az spring-cloud app custom-domain update --app
                                         --domain-name
                                         --resource-group
                                         --service
                                         [--certificate]

Examples

Bind custom domain with a specified certificate.

az spring-cloud app custom-domain update --domain-name MyDomainName --certificate MCertName --app MyAppName --service MyCluster --resource-group MyResourceGroup

Required Parameters

--app

Name of app.

--domain-name

Name of custom domain.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

Optional Parameters

--certificate

Certificate name in Azure Spring Cloud.