az spring-cloud gateway custom-domain

Note

This reference is part of the spring-cloud extension for the Azure CLI (version 2.30.0 or higher). The extension will automatically install the first time you run an az spring-cloud gateway custom-domain command. Learn more about extensions.

Commands to manage custom domains for gateway.

Commands

az spring-cloud gateway custom-domain bind

Bind a custom domain with the gateway.

az spring-cloud gateway custom-domain list

List all custom domains of the gateway.

az spring-cloud gateway custom-domain show

Show details of a custom domain.

az spring-cloud gateway custom-domain unbind

Unbind a custom-domain of the gateway.

az spring-cloud gateway custom-domain update

Update a custom domain of the gateway.

az spring-cloud gateway custom-domain bind

Bind a custom domain with the gateway.

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

Examples

Bind a custom domain to gateway.

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

Required Parameters

--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 gateway custom-domain list

List all custom domains of the gateway.

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

Examples

List all custom domains of the gateway.

az spring-cloud gateway custom-domain list --service MyCluster --resource-group MyResourceGroup

Required Parameters

--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 gateway custom-domain show

Show details of a custom domain.

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

Required Parameters

--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 gateway custom-domain unbind

Unbind a custom-domain of the gateway.

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

Required Parameters

--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 gateway custom-domain update

Update a custom domain of the gateway.

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

Examples

Bind custom domain with a specified certificate.

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

Required Parameters

--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.