az spring-cloud service-registry

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 service-registry command. Learn more about extensions.

(Enterprise Tier Only) Commands to manage Service Registry in Azure Spring Cloud.

Commands

az spring-cloud service-registry bind

Bind an app to Service Registry.

az spring-cloud service-registry show

Show the provisioning status and runtime status of Service Registry.

az spring-cloud service-registry unbind

Unbind an app from Service Registry.

az spring-cloud service-registry bind

Bind an app to Service Registry.

az spring-cloud service-registry bind --app
                                      --resource-group
                                      --service

Examples

Bind an app to Service Registry.

az spring-cloud service-registry bind --app MyApp -s MyService -g MyResourceGroup

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 service-registry show

Show the provisioning status and runtime status of Service Registry.

az spring-cloud service-registry show --resource-group
                                      --service

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 service-registry unbind

Unbind an app from Service Registry.

az spring-cloud service-registry unbind --app
                                        --resource-group
                                        --service

Examples

Unbind an app from Service Registry.

az spring-cloud service-registry unbind --app MyApp -s MyService -g MyResourceGroup

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