Skip to content

Commit b646589

Browse files
authored
Merge pull request #195761 from ddematheu2/ddematheu2-cli-inline
CLI Inline test for ACS
2 parents c27839f + 6148223 commit b646589

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/communication-services/quickstarts/create-communication-resource.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.service: azure-communication-services
1212
ms.subservice: arm
1313
zone_pivot_groups: acs-plat-azp-azcli-net-ps
1414
ms.custom: mode-other, devx-track-azurecli
15-
ms.devlang: azurecli
15+
ms.devlang: azurecli
1616
---
1717
# Quickstart: Create and manage Communication Services resources
1818

@@ -54,19 +54,19 @@ After navigating to your Communication Services resource, select **Keys** from t
5454
You can also access key information using Azure CLI, like your resource group or the keys for a specific resource.
5555

5656
Install [Azure CLI](/cli/azure/install-azure-cli-windows?tabs=azure-cli) and use the following command to login. You will need to provide your credentials to connect with your Azure account.
57-
```azurecli
57+
```azurepowershell-interactive
5858
az login
5959
```
6060

6161
Now you can access important information about your resources.
62-
```azurecli
62+
```azurepowershell-interactive
6363
az communication list --resource-group "<resourceGroup>"
6464
6565
az communication list-key --name "<communicationName>" --resource-group "<resourceGroup>"
6666
```
6767

6868
If you would like to select a specific subscription you can also specify the ```--subscription``` flag and provide the subscription ID.
69-
```
69+
```azurepowershell-interactive
7070
az communication list --resource-group "resourceGroup>" --subscription "<subscriptionID>"
7171
7272
az communication list-key --name "<communicationName>" --resource-group "resourceGroup>" --subscription "<subscriptionID>"

articles/communication-services/quickstarts/includes/create-resource-azcli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ Note that if you're planning on using phone numbers, you can't use the free tria
1717

1818
To create an Azure Communication Services resource, [sign in to Azure CLI](/cli/azure/authenticate-azure-cli). You can do this through the terminal using the ```az login``` command and providing your credentials. Run the following command to create the resource:
1919

20-
```azurecli
20+
```azurepowershell-interactive
2121
az communication create --name "<communicationName>" --location "Global" --data-location "United States" --resource-group "<resourceGroup>"
2222
```
2323

2424
If you would like to select a specific subscription you can also specify the ```--subscription``` flag and provide the subscription ID.
25-
```
25+
```azurepowershell-interactive
2626
az communication create --name "<communicationName>" --location "Global" --data-location "United States" --resource-group "<resourceGroup> --subscription "<subscriptionID>"
2727
```
2828

@@ -38,7 +38,7 @@ In the next step, you can assign tags to the resource. Tags can be used to organ
3838

3939
To add tags to your Communication Services resource, run the following commands. You can target a specific subscription as well.
4040

41-
```azurecli
41+
```azurepowershell-interactive
4242
az communication update --name "<communicationName>" --tags newTag="newVal1" --resource-group "<resourceGroup>"
4343
4444
az communication update --name "<communicationName>" --tags newTag="newVal2" --resource-group "<resourceGroup>" --subscription "<subscriptionID>"

0 commit comments

Comments
 (0)