Share via


az spring-cloud service-registry

Note

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

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command group is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.

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

Commands

Name Description Type Status
az spring-cloud service-registry bind

Bind an app to Service Registry.

Extension Preview and Deprecated
az spring-cloud service-registry show

Show the provisioning status and runtime status of Service Registry.

Extension Preview and Deprecated
az spring-cloud service-registry unbind

Unbind an app from Service Registry.

Extension Preview and Deprecated

az spring-cloud service-registry bind

Preview Deprecated

Command group 'spring-cloud service-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'spring-cloud service-registry' is deprecated and will be removed in a future release. Use 'spring service-registry' instead.

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az spring-cloud service-registry show

Preview Deprecated

Command group 'spring-cloud service-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'spring-cloud service-registry' is deprecated and will be removed in a future release. Use 'spring service-registry' instead.

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az spring-cloud service-registry unbind

Preview Deprecated

Command group 'spring-cloud service-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'spring-cloud service-registry' is deprecated and will be removed in a future release. Use 'spring service-registry' instead.

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.