Skip to content

Commit 423633f

Browse files
committed
Syntax and TOC updates
1 parent f197d0e commit 423633f

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

articles/aks/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@
888888
- name: Deploy Kubernetes applications with Azure CLI
889889
href: deploy-application-az-cli.md
890890
- name: Connect an AKS app to Azure SQL Database
891-
href: ../service-connector/tutorial-python-aks-sql-database-connection-string.md?bc=/azure/aks/breadcrumb/toc.json&toc=/azure/aks/toc.json
891+
href: ../service-connector/tutorial-python-aks-sql-database-connection-string.md?toc=/azure/aks/toc.json&bc=/azure/aks/breadcrumb/toc.json
892892
- name: Dapr
893893
items:
894894
- name: Install the Dapr extension

articles/service-connector/tutorial-python-aks-sql-database-connection-string.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ In this tutorial, you learn how to connect an application deployed to AKS, to an
4343
4444
### Register the Service Connector and Kubernetes Configuration resource providers
4545
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.
4747
48-
```azurecli-interactive
49-
az provider register --namespace Microsoft.ServiceLinker
50-
```
48+
```azurecli-interactive
49+
az provider register --namespace Microsoft.ServiceLinker
50+
```
5151

52-
```azurecli-interactive
53-
az provider register --namespace Microsoft.KubernetesConfiguration
54-
```
52+
```azurecli-interactive
53+
az provider register --namespace Microsoft.KubernetesConfiguration
54+
```
5555

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.
5858
5959

6060
### Create a new connection
@@ -83,22 +83,22 @@ Create a service connection between your AKS cluster and your SQL database in th
8383

8484
### [Azure CLI](#tab/azure-cli)
8585

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:
8787

88-
* Generate the new connection step by step.
88+
* generate the new connection step by step.
8989

90-
```azurecli-interactive
91-
az aks connection create sql
92-
```
90+
```azurecli-interactive
91+
az aks connection create sql
92+
```
9393

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 `<***>`.
9595

96-
```azurecli-interactive
97-
az aks connection create sql \
98-
--source-id /subscriptions/<source-subscription>/resourceGroups/<source_resource_group>/providers/Microsoft.ContainerService/managedClusters/<cluster> \
99-
--target-id /subscriptions/<target-subscription>/resourceGroups/<target_resource_group>/providers/Microsoft.Sql/servers/<server>/databases/<database> \
100-
--secret name=<secret-name> secret=<secret>
101-
```
96+
```azurecli-interactive
97+
az aks connection create sql \
98+
--source-id /subscriptions/<source-subscription>/resourceGroups/<source_resource_group>/providers/Microsoft.ContainerService/managedClusters/<cluster> \
99+
--target-id /subscriptions/<target-subscription>/resourceGroups/<target_resource_group>/providers/Microsoft.Sql/servers/<server>/databases/<database> \
100+
--secret name=<secret-name> secret=<secret>
101+
```
102102
103103
---
104104
@@ -120,17 +120,17 @@ Now that you created a connection between your AKS cluster and the database, you
120120
121121
## Update your application code
122122
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).
124124
125125
## Clean up resources
126126
127127
If you no longer need the resources you created when following this tutorial, you can remove them by deleting the Azure resource group.
128128
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.
130130
131-
```azurecli-interactive
132-
az group delete --resource-group $RESOURCE_GROUP
133-
```
131+
```azurecli-interactive
132+
az group delete --resource-group $RESOURCE_GROUP
133+
```
134134

135135
## Related content
136136

0 commit comments

Comments
 (0)