You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of manually configuring your Spring Boot applications, you can automatically bind select Azure services to your applications by using Azure Spring Apps. This article demonstrates how to bind your application to an Azure Cosmos DB database.
22
22
23
-
## Prerequisites:
23
+
## Prerequisites
24
24
25
-
* A deployed Azure Spring Apps instance
26
-
* An Azure Cache for Redis service instance
27
-
* The Azure Spring Apps extension for the Azure CLI
25
+
* A deployed Azure Spring Apps instance.
26
+
* An Azure Cache for Redis service instance.
27
+
* The Azure Spring Apps extension for the Azure CLI.
28
28
29
-
If you don't have a deployed Azure Spring Apps instance, follow the steps in the [quickstart on deploying an Azure Spring Apps app](./quickstart.md).
29
+
If you don't have a deployed Azure Spring Apps instance, follow the steps in the [Quickstart: Deploy your first application to Azure Spring Apps](./quickstart.md).
30
30
31
31
## Prepare your Java project
32
32
@@ -74,7 +74,8 @@ If you don't have a deployed Azure Spring Apps instance, follow the steps in the
74
74
75
75
## Bind your app to the Azure Cosmos DB
76
76
77
-
#### [Service Binding](#tab/Service-Binding)
77
+
### [Service Binding](#tab/Service-Binding)
78
+
78
79
Azure Cosmos DB has five different API types that support binding. The following procedure shows how to use them:
79
80
80
81
1. Create an Azure Cosmos DB database. Refer to the quickstart on [creating a database](../cosmos-db/create-cosmosdb-resources-portal.md) for help.
@@ -102,7 +103,8 @@ Azure Cosmos DB has five different API types that support binding. The following
102
103
spring.cloud.azure.cosmos.database=testdb
103
104
```
104
105
105
-
#### [Terraform](#tab/Terraform)
106
+
### [Terraform](#tab/Terraform)
107
+
106
108
The following Terraform script shows how to set up an Azure Spring Apps app with Azure Cosmos DB account.
0 commit comments