Skip to content

Commit 40ddfce

Browse files
committed
Update URI naming
1 parent 5028963 commit 40ddfce

File tree

5 files changed

+52
-52
lines changed

5 files changed

+52
-52
lines changed

articles/service-connector/how-to-integrate-cosmos-cassandra.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Integrate the Azure Cosmos DB Cassandra API with Service Connector
3-
description: Integrate the Azure Cosmos DB Cassandra into your application with Service Connector
3+
description: Integrate the Azure Cosmos DB Cassandra API into your application with Service Connector
44
author: maud-lv
55
ms.author: malev
66
ms.service: service-connector
@@ -63,15 +63,15 @@ Supported authentication and clients for App Service, Container Apps and Azure S
6363

6464
## Default environment variable names or application properties
6565

66-
Use the connection details below to connect your compute services to the Cosmos DB Cassandra API. For each example below, replace the placeholder texts `<database-server>`, `keyspace`, `<username>`, `<password>`, `<resource-group-name>`, `<subscription-ID>`, `<client-ID>`,`<client-secret>`, `<tenant-id>`, and `<Azure-region>` with your own information.
66+
Use the connection details below to connect your compute services to the Cosmos DB Cassandra API. For each example below, replace the placeholder texts `<Azure-Cosmos-DB-account>`, `keyspace`, `<username>`, `<password>`, `<resource-group-name>`, `<subscription-ID>`, `<client-ID>`,`<client-secret>`, `<tenant-id>`, and `<Azure-region>` with your own information.
6767

6868
### Azure App Service and Azure Container Apps
6969

7070
#### Secret / Connection string
7171

7272
| Default environment variable name | Description | Example value |
7373
|-----------------------------------|-----------------------------|------------------------------------------------|
74-
| AZURE_COSMOS_CONTACTPOINT | Cassandra API contact point | `<database-server>.cassandra.cosmos.azure.com` |
74+
| AZURE_COSMOS_CONTACTPOINT | Cassandra API contact point | `<Azure-Cosmos-DB-account>.cassandra.cosmos.azure.com` |
7575
| AZURE_COSMOS_PORT | Cassandra connection port | 10350 |
7676
| AZURE_COSMOS_KEYSPACE | Cassandra keyspace | `<keyspace>` |
7777
| AZURE_COSMOS_USERNAME | Cassandra username | `<username>` |
@@ -81,10 +81,10 @@ Use the connection details below to connect your compute services to the Cosmos
8181

8282
| Default environment variable name | Description | Example value |
8383
|-----------------------------------|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
84-
| AZURE_COSMOS_LISTKEYURL | The URL to get the connection string | `https://management.azure.com/subscriptions/<subscription-ID>/resourceGroups/<resource-group-name>/providers/Microsoft.DocumentDB/databaseAccounts/<database-server>/listConnectionStrings?api-version=2021-04-15` |
84+
| AZURE_COSMOS_LISTKEYURL | The URL to get the connection string | `https://management.azure.com/subscriptions/<subscription-ID>/resourceGroups/<resource-group-name>/providers/Microsoft.DocumentDB/databaseAccounts/<Azure-Cosmos-DB-account>/listConnectionStrings?api-version=2021-04-15` |
8585
| AZURE_COSMOS_SCOPE | Your managed identity scope | `https://management.azure.com/.default` |
86-
| AZURE_COSMOS_RESOURCEENDPOINT | Your resource endpoint | `https://<database-server>.documents.azure.com:443/` |
87-
| AZURE_COSMOS_CONTACTPOINT | Cassandra API contact point | `<database-server>.cassandra.cosmos.azure.com` |
86+
| AZURE_COSMOS_RESOURCEENDPOINT | Your resource endpoint | `https://<Azure-Cosmos-DB-account>.documents.azure.com:443/` |
87+
| AZURE_COSMOS_CONTACTPOINT | Cassandra API contact point | `<Azure-Cosmos-DB-account>.cassandra.cosmos.azure.com` |
8888
| AZURE_COSMOS_PORT | Cassandra connection port | 10350 |
8989
| AZURE_COSMOS_KEYSPACE | Cassandra keyspace | `<keyspace>` |
9090
| AZURE_COSMOS_USERNAME | Cassandra username | `<username>` |
@@ -93,41 +93,41 @@ Use the connection details below to connect your compute services to the Cosmos
9393

9494
| Default environment variable name | Description | Example value |
9595
|-----------------------------------|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
96-
| AZURE_COSMOS_LISTKEYURL | The URL to get the connection string | `https://management.azure.com/subscriptions/<subscription-ID>/resourceGroups/<resource-group-name>/providers/Microsoft.DocumentDB/databaseAccounts/<database-server>/listConnectionStrings?api-version=2021-04-15` |
96+
| AZURE_COSMOS_LISTKEYURL | The URL to get the connection string | `https://management.azure.com/subscriptions/<subscription-ID>/resourceGroups/<resource-group-name>/providers/Microsoft.DocumentDB/databaseAccounts/<Azure-Cosmos-DB-account>/listConnectionStrings?api-version=2021-04-15` |
9797
| AZURE_COSMOS_SCOPE | Your managed identity scope | `https://management.azure.com/.default` |
98-
| AZURE_COSMOS_RESOURCEENDPOINT | Your resource endpoint | `https://<database-server>.documents.azure.com:443/` |
99-
| AZURE_COSMOS_CONTACTPOINT | Cassandra API contact point | `<database-server>.cassandra.cosmos.azure.com` |
98+
| AZURE_COSMOS_RESOURCEENDPOINT | Your resource endpoint | `https://<Azure-Cosmos-DB-account>.documents.azure.com:443/` |
99+
| AZURE_COSMOS_CONTACTPOINT | Cassandra API contact point | `<Azure-Cosmos-DB-account>.cassandra.cosmos.azure.com` |
100100
| AZURE_COSMOS_PORT | Cassandra connection port | 10350 |
101101
| AZURE_COSMOS_KEYSPACE | Cassandra keyspace | `<keyspace>` |
102102
| AZURE_COSMOS_USERNAME | Cassandra username | `<username>` |
103-
| AZURE_COSMOS_CLIENTID | Your client secret ID | `<client-ID>` |
103+
| AZURE_COSMOS_CLIENTID | Your client ID | `<client-ID>` |
104104

105105
#### Service principal
106106

107107
| Default environment variable name | Description | Example value |
108108
|-----------------------------------|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
109-
| AZURE_COSMOS_LISTKEYURL | The URL to get the connection string | `https://management.azure.com/subscriptions/<subscription-ID>/resourceGroups/<resource-group-name>/providers/Microsoft.DocumentDB/databaseAccounts/<database-server>/listConnectionStrings?api-version=2021-04-15` |
109+
| AZURE_COSMOS_LISTKEYURL | The URL to get the connection string | `https://management.azure.com/subscriptions/<subscription-ID>/resourceGroups/<resource-group-name>/providers/Microsoft.DocumentDB/databaseAccounts/<Azure-Cosmos-DB-account>/listConnectionStrings?api-version=2021-04-15` |
110110
| AZURE_COSMOS_SCOPE | Your managed identity scope | `https://management.azure.com/.default` |
111-
| AZURE_COSMOS_RESOURCEENDPOINT | Your resource endpoint | `https://<database-server>.documents.azure.com:443/` |
112-
| AZURE_COSMOS_CONTACTPOINT | Cassandra API contact point | `<database-server>.cassandra.cosmos.azure.com` |
111+
| AZURE_COSMOS_RESOURCEENDPOINT | Your resource endpoint | `https://<Azure-Cosmos-DB-account>.documents.azure.com:443/` |
112+
| AZURE_COSMOS_CONTACTPOINT | Cassandra API contact point | `<Azure-Cosmos-DB-account>.cassandra.cosmos.azure.com` |
113113
| AZURE_COSMOS_PORT | Cassandra connection port | 10350 |
114114
| AZURE_COSMOS_KEYSPACE | Cassandra keyspace | `<keyspace>` |
115115
| AZURE_COSMOS_USERNAME | Cassandra username | `<username>` |
116-
| AZURE_COSMOS_CLIENTID | Your client secret ID | `<client-ID>` |
116+
| AZURE_COSMOS_CLIENTID | Your client ID | `<client-ID>` |
117117
| AZURE_COSMOS_CLIENTSECRET | Your client secret | `<client-secret>` |
118118
| AZURE_COSMOS_TENANTID | Your tenant ID | `<tenant-ID>` |
119119

120120
### Azure Spring Apps
121121

122-
| Default environment variable name | Description | Example value |
123-
|----------------------------------------|-----------------------------|------------------------------------------------|
124-
| spring.data.cassandra.contact_points | Cassandra API contact point | `<database-server>.cassandra.cosmos.azure.com` |
125-
| spring.data.cassandra.port | Cassandra connection port | 10350 |
126-
| spring.data.cassandra.keyspace_name | Cassandra keyspace | `<keyspace>` |
127-
| spring.data.cassandra.username | Cassandra username | `<username>` |
128-
| spring.data.cassandra.password | Cassandra password | `<password>` |
129-
| spring.data.cassandra.local_datacenter | Azure Region | `<Azure-region>` |
130-
| spring.data.cassandra.ssl | SSL status | true |
122+
| Default environment variable name | Description | Example value |
123+
|----------------------------------------|-----------------------------|--------------------------------------------------------|
124+
| spring.data.cassandra.contact_points | Cassandra API contact point | `<Azure-Cosmos-DB-account>.cassandra.cosmos.azure.com` |
125+
| spring.data.cassandra.port | Cassandra connection port | 10350 |
126+
| spring.data.cassandra.keyspace_name | Cassandra keyspace | `<keyspace>` |
127+
| spring.data.cassandra.username | Cassandra username | `<username>` |
128+
| spring.data.cassandra.password | Cassandra password | `<password>` |
129+
| spring.data.cassandra.local_datacenter | Azure Region | `<Azure-region>` |
130+
| spring.data.cassandra.ssl | SSL status | true |
131131

132132
## Next steps
133133

0 commit comments

Comments
 (0)