az spring-cloud app binding mysql

Commands to manage Azure Database for MySQL bindings.

Commands

az spring-cloud app binding mysql add

Bind an Azure Database for MySQL with the app.

az spring-cloud app binding mysql update

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

az spring-cloud app binding mysql add

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

Required Parameters

--app

Name of app.

--database-name

Database name.

--key

API key of the service.

--name -n

Name of service binding.

--resource-group -g

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

--resource-id

Azure resource ID of the service to bind with.

--service -s

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

--username

Username of the database.

az spring-cloud app binding mysql update

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]

Required Parameters

--app

Name of app.

--name -n

Name of service binding.

--resource-group -g

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

--service -s

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

Optional Parameters

--database-name

Database name.

--key

API key of the service.

--username

Username of the database.