File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ Configure your app deployed to Azure Spring to connect to an SQL Database with a
72
72
az extension add --name serviceconnector-passwordless --upgrade
73
73
```
74
74
75
- 1 . Run the ` az spring connection create ` command, as shown in the following example.
75
+ 2 . Run the ` az spring connection create ` command, as shown in the following example.
76
76
77
77
``` azurecli
78
78
az spring connection create sql \
@@ -85,7 +85,21 @@ Configure your app deployed to Azure Spring to connect to an SQL Database with a
85
85
--database $DATABASE_NAME \
86
86
--system-identity
87
87
```
88
-
88
+ 3 . Run the ` az spring connection list-configuration ` command to check the creation result.
89
+ ``` azurecli
90
+ CONNECTION_NAME=$(az spring connection list \
91
+ --resource-group $SPRING_APP_RESOURCE_GROUP \
92
+ --service $SPRING_APP_SERVICE_NAME \
93
+ --app $APP_NAME \
94
+ --query '[0].name' \
95
+ --output tsv)
96
+
97
+ az spring connection list-configuration \
98
+ --resource-group $SPRING_APP_RESOURCE_GROUP \
99
+ --service $SPRING_APP_SERVICE_NAME \
100
+ --app $APP_NAME \
101
+ --connection $CONNECTION_NAME
102
+ ```
89
103
---
90
104
91
105
## Build and deploy the app to Azure Spring Apps
You can’t perform that action at this time.
0 commit comments