Skip to content

Commit 54cc70e

Browse files
Merge pull request #256559 from wchigit/how-to-sql
sample code for integration with Azure SQL
2 parents 92d7eaf + efeef3d commit 54cc70e

File tree

4 files changed

+563
-194
lines changed

4 files changed

+563
-194
lines changed

articles/service-connector/how-to-integrate-postgres.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ Supported authentication and clients for App Service, Container Apps, and Azure
3939
> [!NOTE]
4040
> System-assigned managed identity, User-assigned managed identity and Service principal are only supported on Azure CLI.
4141
42-
## Default environment variable names or application properties and Sample code
42+
## Default environment variable names or application properties and sample code
4343

4444
Reference the connection details and sample code in the following tables, according to your connection's authentication type and client type, to connect compute services to Azure Database for PostgreSQL.
4545

46-
### Connect with System-assigned Managed Identity
46+
### System-assigned Managed Identity
4747

4848
#### [.NET](#tab/dotnet)
4949

@@ -111,13 +111,13 @@ Reference the connection details and sample code in the following tables, accord
111111

112112
---
113113

114-
### Sample code
114+
#### Sample code
115115

116116
Refer to the steps and code below to connect to Azure Database for PostgreSQL.
117117
[!INCLUDE [code sample for postgresql system mi](./includes/code-postgres-me-id.md)]
118118

119119

120-
### Connect with User-assigned Managed Identity
120+
### User-assigned Managed Identity
121121

122122
#### [.NET](#tab/dotnet)
123123

@@ -193,12 +193,12 @@ Refer to the steps and code below to connect to Azure Database for PostgreSQL.
193193

194194
---
195195

196-
### Sample code
196+
#### Sample code
197197

198198
Refer to the steps and code below to connect to Azure Database for PostgreSQL.
199199
[!INCLUDE [code sample for postgresql user mi](./includes/code-postgres-me-id.md)]
200200

201-
### Connect with Connection String
201+
### Connection String
202202

203203
#### [.NET](#tab/dotnet)
204204

@@ -266,12 +266,12 @@ Refer to the steps and code below to connect to Azure Database for PostgreSQL.
266266

267267
---
268268

269-
### Sample code
269+
#### Sample code
270270

271271
Refer to the steps and code below to connect to Azure Database for PostgreSQL.
272272
[!INCLUDE [code sample for postgresql secrets](./includes/code-postgres-secret.md)]
273273

274-
### Connect with Service Principal
274+
### Service Principal
275275

276276
#### [.NET](#tab/dotnet)
277277

@@ -367,7 +367,7 @@ Refer to the steps and code below to connect to Azure Database for PostgreSQL.
367367

368368
---
369369

370-
### Sample code
370+
#### Sample code
371371

372372
Refer to the steps and code below to connect to Azure Database for PostgreSQL.
373373
[!INCLUDE [code sample for postgresql service principal](./includes/code-postgres-me-id.md)]

0 commit comments

Comments
 (0)