Skip to content

Commit 9dc7992

Browse files
authored
Merge pull request #258743 from wchigit/fix-format
Fix format for sample code
2 parents 10f330f + 8dda597 commit 9dc7992

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+132
-130
lines changed

articles/service-connector/how-to-integrate-app-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 10/26/2023
1010

1111
# Integrate Azure App Configuration with Service Connector
1212

13-
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure App Configuration to other cloud services using Service Connector. You might still be able to connect to App Configuration using other methods. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
13+
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure App Configuration to other cloud services using Service Connector. You might still be able to connect to App Configuration using other methods. This page also shows default environment variable names and values you get when you create the service connection.
1414

1515
## Supported compute services
1616

@@ -34,7 +34,7 @@ Supported authentication and clients for App Service, Container Apps and Azure S
3434

3535
## Default environment variable names or application properties and sample code
3636

37-
Use the connection details below to connect compute services to Azure App Configuration stores. This page also shows default environment variable names and values you get when you create the service connection, as well as sample code. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
37+
Use the connection details below to connect compute services to Azure App Configuration stores. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
3838

3939
### System-assigned managed identity
4040

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: event-tier1-build-2022, ignite-2022
1111

1212
# Integrate Azure Cosmos DB for Cassandra with Service Connector
1313

14-
This page shows the supported authentication types and client types for the Azure Cosmos DB for Apache Cassandra using Service Connector. You might still be able to connect to the Azure Cosmos DB for Cassandra in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection and sample code showing how to use them. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
14+
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure Cosmos DB for Apache Cassandra to other cloud services using Service Connector. You might still be able to connect to the Azure Cosmos DB for Cassandra in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection.
1515

1616
## Supported compute services
1717

@@ -36,9 +36,9 @@ Supported authentication and clients for App Service, Container Apps and Azure S
3636

3737
## Default environment variable names or application properties and Sample code
3838

39-
Reference the connection details and sample code in the following tables, according to your connection's authentication type and client type, to connect your compute services to Azure Cosmos DB for Apache Cassandra.
39+
Reference the connection details and sample code in the following tables, according to your connection's authentication type and client type, to connect your compute services to Azure Cosmos DB for Apache Cassandra. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
4040

41-
### Connect with System-assigned Managed Identity
41+
### System-assigned Managed Identity
4242

4343
| Default environment variable name | Description | Example value |
4444
|-----------------------------------|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -55,7 +55,7 @@ Reference the connection details and sample code in the following tables, accord
5555
Refer to the steps and code below to connect to Azure Cosmos DB for Cassandra using a system-assigned managed identity.
5656
[!INCLUDE [code sample for cassandra](./includes/code-cosmoscassandra-me-id.md)]
5757

58-
### Connect with User-assigned Managed Identity
58+
### User-assigned Managed Identity
5959

6060
| Default environment variable name | Description | Example value |
6161
|-----------------------------------|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -73,7 +73,7 @@ Refer to the steps and code below to connect to Azure Cosmos DB for Cassandra us
7373
Refer to the steps and code below to connect to Azure Cosmos DB for Cassandra using a user-assigned managed identity.
7474
[!INCLUDE [code sample for cassandra](./includes/code-cosmoscassandra-me-id.md)]
7575

76-
### Connect with Connection String
76+
### Connection String
7777

7878
#### SpringBoot client type
7979

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: event-tier1-build-2022, ignite-2022
1111

1212
# Integrate Azure Cosmos DB for MongoDB with Service Connector
1313

14-
This page shows supported authentication methods and clients, and shows sample code you can use to connect the Azure Cosmos DB for MongoDB to other cloud services using Service Connector. You might still be able to connect to Azure Cosmos DB for MongoDB in other programming languages without using Service Connector.
14+
This page shows supported authentication methods and clients, and shows sample code you can use to connect the Azure Cosmos DB for MongoDB to other cloud services using Service Connector. You might still be able to connect to Azure Cosmos DB for MongoDB in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection.
1515

1616
## Supported compute services
1717

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: event-tier1-build-2022, ignite-2022
1111

1212
# Integrate the Azure Cosmos DB for Gremlin with Service Connector
1313

14-
This page shows supported authentication methods and clients, and shows sample code you can use to connect the Azure Cosmos DB for Apache Gremlin to other cloud services using Service Connector. You might still be able to connect to the Azure Cosmos DB for Gremlin in other programming languages without using Service Connector. This page also shows default environment variable names and values you get when you create the service connection, as well as sample code.
14+
This page shows supported authentication methods and clients, and shows sample code you can use to connect the Azure Cosmos DB for Apache Gremlin to other cloud services using Service Connector. You might still be able to connect to the Azure Cosmos DB for Gremlin in other programming languages without using Service Connector. This page also shows default environment variable names and values you get when you create the service connection.
1515

1616
## Supported compute services
1717

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: event-tier1-build-2022, ignite-2022
1111

1212
# Integrate the Azure Cosmos DB for NoSQL with Service Connector
1313

14-
This page shows the supported authentication types and client types for the Azure Cosmos DB for NoSQL using Service Connector. You might still be able to connect to Azure Cosmos DB for NoSQL in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection. You can learn more about [Service Connector environment variable naming convention](concept-service-connector-internals.md).
14+
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure Cosmos DB for NoSQL to other cloud services using Service Connector. You might still be able to connect to Azure Cosmos DB for NoSQL in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection.
1515

1616
## Supported compute services
1717

@@ -35,7 +35,7 @@ Supported authentication and clients for App Service, Container Apps and Azure S
3535

3636
## Default environment variable names or application properties and Sample code
3737

38-
Use the connection details below to connect your compute services to the Azure Cosmos DB for NoSQL. For each example below, replace the placeholder texts `<database-server>`, `<database-name>`,`<account-key>`, `<resource-group-name>`, `<subscription-ID>`, `<client-ID>`, `<SQL-server>`, `<client-secret>`, `<tenant-id>`, and `<access-key>` with your own information.
38+
Use the connection details below to connect your compute services to the Azure Cosmos DB for NoSQL. For each example below, replace the placeholder texts `<database-server>`, `<database-name>`,`<account-key>`, `<resource-group-name>`, `<subscription-ID>`, `<client-ID>`, `<SQL-server>`, `<client-secret>`, `<tenant-id>`, and `<access-key>` with your own information. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article.
3939

4040
### System-assigned managed identity
4141

@@ -59,7 +59,7 @@ Using a system-assigned managed identity as the authentication type is only avai
5959

6060
#### Sample code
6161

62-
Refer to the steps and code below to Connect to Azure Cosmos DB for NoSQL.
62+
Refer to the steps and code below to connect to Azure Cosmos DB for NoSQL using a system-assigned identity.
6363
[!INCLUDE [code for cosmos sql me id](./includes/code-cosmossql-me-id.md)]
6464

6565
### User-assigned managed identity
@@ -85,7 +85,7 @@ Using a user-assigned managed identity as the authentication type is only availa
8585

8686
#### Sample code
8787

88-
Refer to the steps and code below to Connect to Azure Cosmos DB for NoSQL.
88+
Refer to the steps and code below to connect to Azure Cosmos DB for NoSQL using a user-assigned identity.
8989
[!INCLUDE [code for cosmos sql me id](./includes/code-cosmossql-me-id.md)]
9090

9191
### Connection string
@@ -109,7 +109,7 @@ Refer to the steps and code below to Connect to Azure Cosmos DB for NoSQL.
109109

110110
#### Sample code
111111

112-
Refer to the steps and code below to Connect to Azure Cosmos DB for NoSQL.
112+
Refer to the steps and code below to connect to Azure Cosmos DB for NoSQL using a connection string.
113113
[!INCLUDE [code for cosmos sql](./includes/code-cosmossql-secret.md)]
114114

115115
#### Service principal
@@ -137,7 +137,7 @@ Refer to the steps and code below to Connect to Azure Cosmos DB for NoSQL.
137137

138138
#### Sample code
139139

140-
Refer to the steps and code below to Connect to Azure Cosmos DB for NoSQL.
140+
Refer to the steps and code below to connect to Azure Cosmos DB for NoSQL using a service principal.
141141
[!INCLUDE [code for cosmos sql me id](./includes/code-cosmossql-me-id.md)]
142142

143143
## Next steps

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: event-tier1-build-2022, ignite-2022
1111

1212
# Integrate the Azure Cosmos DB for Table with Service Connector
1313

14-
This page shows supported authentication methods and clients, and shows sample code you can use to connect the Azure Cosmos DB for Table to other cloud services using Service Connector. You might still be able to connect to the Azure Cosmos DB for Table in other programming languages without using Service Connector. This page also shows default environment variable names and values you get when you create the service connection, as well as sample code.
14+
This page shows supported authentication methods and clients, and shows sample code you can use to connect the Azure Cosmos DB for Table to other cloud services using Service Connector. You might still be able to connect to the Azure Cosmos DB for Table in other programming languages without using Service Connector. This page also shows default environment variable names and values you get when you create the service connection.
1515

1616
## Supported compute services
1717

articles/service-connector/how-to-integrate-event-hubs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: event-tier1-build-2022
1111

1212
# Integrate Azure Event Hubs with Service Connector
1313

14-
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure Event Hubs to other cloud services using Service Connector. You might still be able to connect to Event Hubs in other programming languages without using Service Connector. This page also shows default environment variable names and values or Spring Boot configuration you get when you create service connections.
14+
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure Event Hubs to other cloud services using Service Connector. You might still be able to connect to Event Hubs in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create service connections.
1515

1616
## Supported compute services
1717

@@ -51,7 +51,7 @@ Use the connection details below to connect compute services to Event Hubs. For
5151
| spring.cloud.azure.eventhubs.credential.managed-identity-enabled | Whether to enable managed identity | `true` |
5252

5353

54-
#### SpringBoot Kafka client type
54+
#### Kafka-SpringBoot client type
5555

5656
| Default environment variable name | Description | Sample value |
5757
|---------------------------------------|------------------------|------------------------------------------------|
@@ -80,7 +80,7 @@ Refer to the steps and code below to connect to Azure Event Hubs using a system-
8080
| spring.cloud.azure.eventhubs.credential.managed-identity-enabled | Whether to enable managed identity | `true` |
8181

8282

83-
#### SpringBoot Kafka client type
83+
#### Kafka-SpringBoot client type
8484

8585
| Default environment variable name | Description | Sample value |
8686
|---------------------------------------|------------------------|------------------------------------------------|
@@ -113,7 +113,7 @@ Refer to the steps and code below to connect to Azure Event Hubs using a user-as
113113
> | spring.cloud.azure.storage.connection-string | Event Hubs connection string | `Endpoint=sb://servicelinkertesteventhub.servicebus.windows.net/;SharedAccessKeyName=<access-key-name>;SharedAccessKey=<access-key-value>` |
114114
> | spring.cloud.azure.eventhubs.connection-string| Event Hubs connection string for Spring Cloud Azure version above 4.0| `Endpoint=sb://servicelinkertesteventhub.servicebus.windows.net/;SharedAccessKeyName=<access-key-name>;SharedAccessKey=<access-key-value>` |
115115
116-
#### SpringBoot Kafka client type
116+
#### Kafka-SpringBoot client type
117117

118118
> [!div class="mx-tdBreakAll"]
119119
> | Default environment variable name | Description | Sample value |
@@ -148,7 +148,7 @@ Refer to the steps and code below to connect to Azure Event Hubs using a connect
148148
| spring.cloud.azure.eventhubs.credential.client-secret | Your client secret for Spring Cloud Azure version above 4.0 | `<client-secret>` |
149149
| spring.cloud.azure.eventhubs.profile.tenant-id | Your tenant ID for Spring Cloud Azure version above 4.0 | `<tenant-id>` |
150150

151-
#### SpringBoot Kafka client type
151+
#### Kafka-SpringBoot client type
152152

153153
| Default environment variable name | Description | Sample value |
154154
|---------------------------------------|------------------------|------------------------------------------------|

articles/service-connector/how-to-integrate-key-vault.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ ms.custom: event-tier1-build-2022
1414
> [!NOTE]
1515
> When you use Service Connector to connect your Key Vault or manage Key Vault connections, Service Connector uses your token to perform the corresponding operations.
1616
17-
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure Key Vault to other cloud services using Service Connector. You might still be able to connect to Azure Key Vault in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection, as well as sample code.
17+
This page shows supported authentication methods and clients, and shows sample code you can use to connect Azure Key Vault to other cloud services using Service Connector. You might still be able to connect to Azure Key Vault in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection.
1818

19-
## Supported compute service
19+
## Supported compute services
2020

2121
- Azure App Service
2222
- Azure Container Apps

0 commit comments

Comments
 (0)