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/quickstart-cli-app-service-connection.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,17 +24,17 @@ The [Azure CLI](/cli/azure) is a set of commands used to create and manage Azure
24
24
25
25
## Initial set-up
26
26
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.
28
28
29
29
```azurecli
30
30
az provider register -n Microsoft.ServiceLinker
31
31
```
32
32
33
33
> [!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.
35
35
36
36
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.
38
38
39
39
```azurecli
40
40
az webapp connection list-support-types --output table
Copy file name to clipboardExpand all lines: articles/service-connector/quickstart-cli-container-apps.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.topic: quickstart
8
-
ms.date: 08/09/2022
8
+
ms.date: 04/13/2023
9
9
ms.devlang: azurecli
10
10
---
11
11
@@ -29,17 +29,20 @@ This quickstart shows you how to connect Azure Container Apps to other Cloud res
29
29
30
30
- The Container Apps extension must be installed in the Azure CLI or the Cloud Shell. To install it, run `az extension add --name containerapp`.
31
31
32
-
## Prepare to create a connection
32
+
## Initial set-up
33
33
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.
35
35
36
-
```azurecli-interactive
36
+
```azurecli
37
37
az provider register -n Microsoft.ServiceLinker
38
38
```
39
39
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.
41
42
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
43
46
az containerapp connection list-support-types --output table
44
47
```
45
48
@@ -51,7 +54,7 @@ You can create a connection using an access key or a managed identity.
51
54
52
55
1. Run the `az containerapp connection create` command to create a service connection between Container Apps and Azure Blob Storage with an access key.
53
56
54
-
```azurecli-interactive
57
+
```azurecli
55
58
az containerapp connection create storage-blob --secret
56
59
```
57
60
@@ -75,7 +78,7 @@ You can create a connection using an access key or a managed identity.
75
78
76
79
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.
77
80
78
-
```azurecli-interactive
81
+
```azurecli
79
82
az containerapp connection create storage-blob --system-identity
80
83
```
81
84
@@ -98,7 +101,7 @@ You can create a connection using an access key or a managed identity.
98
101
99
102
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.
100
103
101
-
```azurecli-interactive
104
+
```azurecli
102
105
az containerapp connection list -g "<container-app-resource-group>" --name "<container-app-name>" --output table
@@ -29,17 +29,21 @@ Service Connector lets you quickly connect compute services to cloud services, w
29
29
30
30
- 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`.
31
31
32
-
## Prepare to create a connection
32
+
## Initial set up
33
33
34
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.
35
35
36
-
```azurecli-interactive
36
+
```azurecli
37
37
az provider register -n Microsoft.ServiceLinker
38
38
```
39
39
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.
41
42
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
43
47
az spring connection list-support-types --output table
44
48
```
45
49
@@ -54,7 +58,7 @@ You can create a connection from Azure Spring Apps using an access key or a mana
54
58
55
59
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.
0 commit comments