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.
(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 to Service Registry. |
Extension | GA |
az spring service-registry create |
Create Service Registry. |
Extension | GA |
az spring service-registry delete |
Delete Service Registry. |
Extension | GA |
az spring service-registry show |
Show the provisioning status and runtime status of Service Registry. |
Extension | GA |
az spring service-registry unbind |
Unbind an app from Service Registry. |
Extension | GA |
az spring service-registry bind
Bind an app to Service Registry.
az spring service-registry bind --app
--resource-group
--service
Examples
Bind an app to Service Registry.
az spring service-registry bind --app MyApp -s MyService -g MyResourceGroup
Required Parameters
Name of app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring service-registry create
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
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring service-registry delete
Delete Service Registry.
az spring service-registry delete --resource-group
--service
[--yes]
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring service-registry show
Show the provisioning status and runtime status of Service Registry.
az spring service-registry show --resource-group
--service
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring service-registry unbind
Unbind an app from Service Registry.
az spring service-registry unbind --app
--resource-group
--service
Examples
Unbind an app from Service Registry.
az spring service-registry unbind --app MyApp -s MyService -g MyResourceGroup
Required Parameters
Name of app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for