Share via


az spring-cloud app binding mysql

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

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

Commands to manage Azure Database for MySQL bindings.

Commands

Name Description Type Status
az spring-cloud app binding mysql add

Bind an Azure Database for MySQL with the app.

Extension Deprecated
az spring-cloud app binding mysql update

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

Extension Deprecated

az spring-cloud app binding mysql add

Experimental Preview Deprecated

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

Bind an Azure Database for MySQL with the app.

az spring-cloud app binding mysql add --app
                                      --database-name
                                      --key
                                      --name
                                      --resource-group
                                      --resource-id
                                      --service
                                      --username

Examples

Required Parameters

--app
Experimental Preview Deprecated

Name of app.

--database-name
Experimental Preview Deprecated

Database name.

--key
Experimental Preview Deprecated

API key of the service.

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

--resource-id
Experimental Preview Deprecated

Azure resource ID of the service to bind with.

--service -s
Experimental Preview Deprecated

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

--username
Experimental Preview Deprecated

Username of the database.

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-cloud app binding mysql update

Experimental Preview Deprecated

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

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

az spring-cloud app binding mysql update --app
                                         --name
                                         --resource-group
                                         --service
                                         [--database-name]
                                         [--key]
                                         [--username]

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

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

Optional Parameters

--database-name
Experimental Preview Deprecated

Database name.

--key
Experimental Preview Deprecated

API key of the service.

--username
Experimental Preview Deprecated

Username of the database.

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.