Share via


az spring service-registry

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

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

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

Commands

Name Description Type Status
az spring service-registry bind

Bind an app or a job to Service Registry.

Extension Deprecated
az spring service-registry create

Create Service Registry.

Extension Deprecated
az spring service-registry delete

Delete Service Registry.

Extension Deprecated
az spring service-registry show

Show the provisioning status and runtime status of Service Registry.

Extension Deprecated
az spring service-registry unbind

Unbind an app or a job from Service Registry.

Extension Deprecated

az spring service-registry bind

Deprecated

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

Bind an app or a job to Service Registry.

az spring service-registry bind --resource-group
                                --service
                                [--app]
                                [--job]

Examples

Bind an app to Service Registry.

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

Bind a job to Service Registry.

az spring service-registry bind --job job-name -s MyService -g MyResourceGroup

Required Parameters

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of app.

--job
Preview

The name of job running in the specified Azure Spring Apps instance.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az spring service-registry create

Deprecated

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

Create Service Registry.

az spring service-registry create --resource-group
                                  --service

Examples

Create Service Registry.

az spring service-registry create -s MyService -g MyResourceGroup

Required Parameters

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az spring service-registry delete

Deprecated

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

Delete Service Registry.

az spring service-registry delete --resource-group
                                  --service
                                  [--yes]

Required Parameters

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az spring service-registry show

Deprecated

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

Show the provisioning status and runtime status of Service Registry.

az spring 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

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az spring service-registry unbind

Deprecated

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

Unbind an app or a job from Service Registry.

az spring service-registry unbind --resource-group
                                  --service
                                  [--app]
                                  [--job]

Examples

Unbind an app from Service Registry.

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

Unbind a job from Service Registry.

az spring service-registry unbind --job job-name -s MyService -g MyResourceGroup

Required Parameters

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of app.

--job
Preview

The name of job running in the specified Azure Spring Apps instance.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False