שתף באמצעות


az spring app binding

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 app binding command. Learn more about extensions.

This command group has been deprecated and will be removed in a future release. Use 'spring connection' instead.

Commands to manage bindings with Azure Data Services, you need to manually restart app to make settings take effect.

Commands

Name Description Type Status
az spring app binding cosmos

Commands to manage Azure Cosmos DB bindings.

Extension Deprecated
az spring app binding cosmos add

Bind an Azure Cosmos DB with the app.

Extension Deprecated
az spring app binding cosmos update

Update an Azure Cosmos DB service binding of the app.

Extension Deprecated
az spring app binding list

List all service bindings in an app.

Extension Deprecated
az spring app binding mysql

Commands to manage Azure Database for MySQL bindings.

Extension Deprecated
az spring app binding mysql add

Bind an Azure Database for MySQL with the app.

Extension Deprecated
az spring app binding mysql update

Update an Azure Database for MySQL service binding of the app.

Extension Deprecated
az spring app binding redis

Commands to manage Azure Cache for Redis bindings.

Extension Deprecated
az spring app binding redis add

Bind an Azure Cache for Redis with the app.

Extension Deprecated
az spring app binding redis update

Update an Azure Cache for Redis service binding of the app.

Extension Deprecated
az spring app binding remove

Remove a service binding of the app.

Extension Deprecated
az spring app binding show

Show the details of a service binding.

Extension Deprecated

az spring app binding list

Experimental Preview Deprecated

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

List all service bindings in an app.

az spring app binding list --app
                           --resource-group
                           --service

Examples

Required Parameters

--app
Experimental Preview Deprecated

Name of app.

--resource-group -g
Experimental Preview Deprecated

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

--service -s
Experimental Preview Deprecated

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

Optional Parameters

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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

az spring app binding remove

Experimental Preview Deprecated

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

Remove a service binding of the app.

az spring app binding remove --app
                             --name
                             --resource-group
                             --service

Examples

Required Parameters

--app
Experimental Preview Deprecated

Name of app.

--name -n
Experimental Preview Deprecated

Name of service binding.

--resource-group -g
Experimental Preview Deprecated

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

--service -s
Experimental Preview Deprecated

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

Optional Parameters

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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

az spring app binding show

Experimental Preview Deprecated

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

Show the details of a service binding.

az spring app binding show --app
                           --name
                           --resource-group
                           --service

Examples

Required Parameters

--app
Experimental Preview Deprecated

Name of app.

--name -n
Experimental Preview Deprecated

Name of service binding.

--resource-group -g
Experimental Preview Deprecated

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

--service -s
Experimental Preview Deprecated

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

Optional Parameters

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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