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
Copy file name to clipboardExpand all lines: articles/service-connector/tutorial-python-aks-sql-database-connection-string.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,18 +43,18 @@ In this tutorial, you learn how to connect an application deployed to AKS, to an
43
43
44
44
### Register the Service Connector and Kubernetes Configuration resource providers
45
45
46
-
* Register the Service Connector and Kubernetes Configuration resource providers using the [`az provider register`](/cli/azure/provider#az-provider-register) command.
46
+
Register the Service Connector and Kubernetes Configuration resource providers using the [`az provider register`](/cli/azure/provider#az-provider-register) command.
47
47
48
-
```azurecli-interactive
49
-
az provider register --namespace Microsoft.ServiceLinker
50
-
```
48
+
```azurecli-interactive
49
+
az provider register --namespace Microsoft.ServiceLinker
50
+
```
51
51
52
-
```azurecli-interactive
53
-
az provider register --namespace Microsoft.KubernetesConfiguration
54
-
```
52
+
```azurecli-interactive
53
+
az provider register --namespace Microsoft.KubernetesConfiguration
54
+
```
55
55
56
-
> [!TIP]
57
-
> You can check if these resource providers are already registered using the `az provider show --namespace "Microsoft.ServiceLinker" --query registrationState` and `az provider show --namespace "Microsoft.KubernetesConfiguration" --query registrationState` commands. If the output is `Registered`, then the service provider is already registered.
56
+
> [!TIP]
57
+
> You can check if these resource providers are already registered using the `az provider show --namespace "Microsoft.ServiceLinker" --query registrationState` and `az provider show --namespace "Microsoft.KubernetesConfiguration" --query registrationState` commands. If the output is `Registered`, then the service provider is already registered.
58
58
59
59
60
60
### Create a new connection
@@ -83,22 +83,22 @@ Create a service connection between your AKS cluster and your SQL database in th
83
83
84
84
### [Azure CLI](#tab/azure-cli)
85
85
86
-
Create a service connection to the SQL database using the [`az aks connection create sql`](/cli/azure/aks/connection/create#az-aks-connection-create-sql) command. You can run this command in two different ways.
86
+
Create a service connection to the SQL database using the [`az aks connection create sql`](/cli/azure/aks/connection/create#az-aks-connection-create-sql) command. You can run this command in two different ways:
87
87
88
-
* Generate the new connection step by step.
88
+
*generate the new connection step by step.
89
89
90
-
```azurecli-interactive
91
-
az aks connection create sql
92
-
```
90
+
```azurecli-interactive
91
+
az aks connection create sql
92
+
```
93
93
94
-
*Generate the new connection at once. Make sure you replace the following placeholders with your own information: `<source-subscription>`, `<source_resource_group>`, `<cluster>`, `<target-subscription>`, `<target_resource_group>`, `<server>`, `<database>`, and `<***>`.
94
+
*generate the new connection at once. Make sure you replace the following placeholders with your own information: `<source-subscription>`, `<source_resource_group>`, `<cluster>`, `<target-subscription>`, `<target_resource_group>`, `<server>`, `<database>`, and `<***>`.
@@ -120,17 +120,17 @@ Now that you created a connection between your AKS cluster and the database, you
120
120
121
121
## Update your application code
122
122
123
-
*As a final step, update your application code to use your environment variables, by [following these instructions](how-to-integrate-sql-database.md#connection-string).
123
+
As a final step, update your application code to use your environment variables, by [following these instructions](how-to-integrate-sql-database.md#connection-string).
124
124
125
125
## Clean up resources
126
126
127
127
If you no longer need the resources you created when following this tutorial, you can remove them by deleting the Azure resource group.
128
128
129
-
*Delete your resource group using the [`az group delete`](/cli/azure/group#az_group_delete) command.
129
+
Delete your resource group using the [`az group delete`](/cli/azure/group#az_group_delete) command.
0 commit comments