Skip to content

Commit f72b9e7

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

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

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

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,19 @@ Instead of manually configuring your Spring Boot applications, you can automatic
6969

7070
Use the Azure CLI to configure your Spring app to connect to a Cosmos SQL Database by using the `az spring connection create` command, as shown in the following example.
7171

72-
> [!NOTE]
73-
> Updating Azure Cosmos DB database settings can take a few minutes to complete.
74-
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-
```
72+
> [!NOTE]
73+
> Updating Azure Cosmos DB database settings can take a few minutes to complete.
74+
```azurecli
75+
az spring connection create cosmos-sql \
76+
--resource-group $AZURE_SPRING_APPS_RESOURCE_GROUP \
77+
--service $AZURE_SPRING_APPS_SERVICE_INSTANCE_NAME \
78+
--app $APP_NAME \
79+
--deployment $DEPLOYMENT_NAME \
80+
--target-resource-group $COSMOSDB_RESOURCE_GROUP \
81+
--account $COSMOSDB_ACCOUNT_NAME \
82+
--database $DATABASE_NAME \
83+
--secret
84+
```
8685

8786
> [!NOTE]
8887
> 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)