Skip to content

Commit 6dfeacb

Browse files
authored
Update how-to-bind-cosmos.md
1 parent caa57c2 commit 6dfeacb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/spring-apps/how-to-bind-cosmos.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,17 @@ Use the Azure CLI to configure your Spring app to connect to a Cosmos SQL Databa
7272
> [!NOTE]
7373
> Updating Azure Cosmos DB database settings can take a few minutes to complete.
7474

75-
```azurecli
76-
az spring connection create cosmos-sql \
77-
--resource-group $AZURE_SPRING_APPS_RESOURCE_GROUP \
78-
--service $AZURE_SPRING_APPS_SERVICE_INSTANCE_NAME \
79-
--app $APP_NAME \
80-
--deployment $DEPLOYMENT_NAME \
81-
--target-resource-group $COSMOSDB_RESOURCE_GROUP \
82-
--account $COSMOSDB_ACCOUNT_NAME \
83-
--database $DATABASE_NAME \
84-
--secret
85-
```
75+
```azurecli
76+
az spring connection create cosmos-sql \
77+
--resource-group $AZURE_SPRING_APPS_RESOURCE_GROUP \
78+
--service $AZURE_SPRING_APPS_SERVICE_INSTANCE_NAME \
79+
--app $APP_NAME \
80+
--deployment $DEPLOYMENT_NAME \
81+
--target-resource-group $COSMOSDB_RESOURCE_GROUP \
82+
--account $COSMOSDB_ACCOUNT_NAME \
83+
--database $DATABASE_NAME \
84+
--secret
85+
```
8686

8787
> [!NOTE]
8888
> If you're using [Service Connector](../service-connector/overview.md) for the first time, start by running the command `az provider register --namespace Microsoft.ServiceLinker` to register the Service Connector resource provider.

0 commit comments

Comments
 (0)