Skip to content

Commit 97476c7

Browse files
committed
Update set up instructions for 3 quickstarts
1 parent 0a87bec commit 97476c7

File tree

3 files changed

+25
-18
lines changed

3 files changed

+25
-18
lines changed

articles/service-connector/quickstart-cli-app-service-connection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ The [Azure CLI](/cli/azure) is a set of commands used to create and manage Azure
2424

2525
## Initial set-up
2626

27-
1. Register the Service Connector resource provider by running the following command:
27+
1. If you're using Service Connector for the first time, start by running the command [az provider register](/cli/azure/provider#az-provider-register) to register the Service Connector resource provider.
2828

2929
```azurecli
3030
az provider register -n Microsoft.ServiceLinker
3131
```
3232
3333
> [!TIP]
34-
> You can check if you've already registered the resource provider with the command `az provider show -n "Microsoft.ServiceLinker" --query registrationState`. If the output is `Registered`, then Service Connector has already been registered.
34+
> You can check if the resource provider has already been registered by running the command `az provider show -n "Microsoft.ServiceLinker" --query registrationState`. If the output is `Registered`, then Service Connector has already been registered.
3535
3636
37-
1. Optionally, use the Azure CLI [az webapp connection list](/cli/azure/webapp/connection#az-webapp-connection-list) command to get a list of supported target services for App Service.
37+
1. Optionally, use the Azure CLI [az webapp connection list-support-types](/cli/azure/webapp/connection#az-webapp-connection-list-support-types) command to get a list of supported target services for App Service.
3838
3939
```azurecli
4040
az webapp connection list-support-types --output table

articles/service-connector/quickstart-cli-container-apps.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: maud-lv
55
ms.author: malev
66
ms.service: service-connector
77
ms.topic: quickstart
8-
ms.date: 08/09/2022
8+
ms.date: 04/13/2023
99
ms.devlang: azurecli
1010
---
1111

@@ -29,17 +29,20 @@ This quickstart shows you how to connect Azure Container Apps to other Cloud res
2929

3030
- The Container Apps extension must be installed in the Azure CLI or the Cloud Shell. To install it, run `az extension add --name containerapp`.
3131

32-
## Prepare to create a connection
32+
## Initial set-up
3333

34-
1. Run the command [az provider register](/cli/azure/provider#az-provider-register) to start using Service Connector.
34+
1. If you're using Service Connector for the first time, start by running the command [az provider register](/cli/azure/provider#az-provider-register) to register the Service Connector resource provider.
3535

36-
```azurecli-interactive
36+
```azurecli
3737
az provider register -n Microsoft.ServiceLinker
3838
```
3939
40-
1. Run the command `az containerapp connection` to get a list of supported target services for Container Apps.
40+
> [!TIP]
41+
> You can check if the resource provider has already been registered by running the command `az provider show -n "Microsoft.ServiceLinker" --query registrationState`. If the output is `Registered`, then Service Connector has already been registered.
4142
42-
```azurecli-interactive
43+
1. Optionally, run the command [az containerapp connection list-support-types](/cli/azure/containerapp/connection#az-containerapp-connection-list-support-types) to get a list of supported target services for Container Apps.
44+
45+
```azurecli
4346
az containerapp connection list-support-types --output table
4447
```
4548
@@ -51,7 +54,7 @@ You can create a connection using an access key or a managed identity.
5154
5255
1. Run the `az containerapp connection create` command to create a service connection between Container Apps and Azure Blob Storage with an access key.
5356
54-
```azurecli-interactive
57+
```azurecli
5558
az containerapp connection create storage-blob --secret
5659
```
5760
@@ -75,7 +78,7 @@ You can create a connection using an access key or a managed identity.
7578
7679
1. Run the `az containerapp connection create` command to create a service connection from Container Apps to a Blob Storage with a system-assigned managed identity.
7780
78-
```azurecli-interactive
81+
```azurecli
7982
az containerapp connection create storage-blob --system-identity
8083
```
8184
@@ -98,7 +101,7 @@ You can create a connection using an access key or a managed identity.
98101
99102
Use the Azure CLI command `az containerapp connection list` to list all your container app's provisioned connections. Replace the placeholders `<container-app-resource-group>` and `<container-app-name>` from the command below with the resource group and name of your container app. You can also remove the `--output table` option to view more information about your connections.
100103
101-
```azurecli-interactive
104+
```azurecli
102105
az containerapp connection list -g "<container-app-resource-group>" --name "<container-app-name>" --output table
103106
```
104107

articles/service-connector/quickstart-cli-spring-cloud-connection.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: maud-lv
66
ms.author: malev
77
ms.service: service-connector
88
ms.topic: quickstart
9-
ms.date: 08/09/2022
9+
ms.date: 04/13/2022
1010
ms.devlang: azurecli
1111
ms.custom: event-tier1-build-2022, devx-track-azurecli
1212
---
@@ -29,17 +29,21 @@ Service Connector lets you quickly connect compute services to cloud services, w
2929

3030
- The Azure Spring Apps extension must be installed in the Azure CLI or the Cloud Shell. To install it, run `az extension add --name spring`.
3131

32-
## Prepare to create a connection
32+
## Initial set up
3333

3434
1. If you're using Service Connector for the first time, start by running the command [az provider register](/cli/azure/provider#az-provider-register) to register the Service Connector resource provider.
3535

36-
```azurecli-interactive
36+
```azurecli
3737
az provider register -n Microsoft.ServiceLinker
3838
```
3939
40-
1. Run the command `az spring connection` to get a list of supported target services for Azure Spring Apps.
40+
> [!TIP]
41+
> You can check if the resource provider has already been registered by running the command `az provider show -n "Microsoft.ServiceLinker" --query registrationState`. If the output is `Registered`, then Service Connector has already been registered.
4142
42-
```azurecli-interactive
43+
44+
1. Optionally, run the command [az spring connection list-support-types](/cli/azure/spring/connection#az-spring-connection-list-support-types) to get a list of supported target services for Azure Spring Apps.
45+
46+
```azurecli
4347
az spring connection list-support-types --output table
4448
```
4549
@@ -54,7 +58,7 @@ You can create a connection from Azure Spring Apps using an access key or a mana
5458
5559
1. Run the `az spring connection create` command to create a service connection between Azure Spring Apps and an Azure Blob Storage with an access key.
5660
57-
```azurecli-interactive
61+
```azurecli
5862
az spring connection create storage-blob --secret
5963
```
6064

0 commit comments

Comments
 (0)