az spring app binding mysql
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 mysql command. Learn more about extensions.
This command group is implicitly deprecated because command group 'spring app binding' is deprecated and will be removed in a future release. Use 'spring connection' instead.
Commands to manage Azure Database for MySQL bindings.
Commands
Name | Description | Type | Status |
---|---|---|---|
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 mysql add
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.
Bind an Azure Database for MySQL with the app.
az spring app binding mysql add --app
--database-name
--key
--name
--resource-group
--resource-id
--service
--username
Required Parameters
Name of app.
Database name.
API key of the service.
Name of service binding.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Azure resource ID of the service to bind with.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Username of the database.
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 app binding mysql update
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.
Update an Azure Database for MySQL service binding of the app.
az spring app binding mysql update --app
--name
--resource-group
--service
[--database-name]
[--key]
[--username]
Required Parameters
Name of app.
Name of service binding.
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
Database name.
API key of the service.
Username of the database.
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.