Skip to content

Commit 612f5a4

Browse files
authored
Merge pull request #104467 from john-par/1669724-update-documents-with-correct-azure-cli-tags-02-13
1669724, update documents with correct azure cli tags 02-13
2 parents 06592fd + c851918 commit 612f5a4

14 files changed

+38
-35
lines changed

articles/app-service/app-service-web-get-started-html.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ In the following example, replace <app_name> with a unique app name.
4545

4646
```bash
4747
cd html-docs-hello-world
48+
```
4849

50+
```azurecli
4951
az webapp up --location westeurope --name <app_name> --html
5052
```
5153

@@ -97,7 +99,7 @@ Save your changes and exit nano. Use the command `^O` to save and `^X` to exit.
9799

98100
You'll now redeploy the app with the same `az webapp up` command.
99101

100-
```bash
102+
```azurecli
101103
az webapp up --location westeurope --name <app_name> --html
102104
```
103105

@@ -125,7 +127,7 @@ The left menu provides different pages for configuring your app.
125127

126128
In the preceding steps, you created Azure resources in a resource group. If you don't expect to need these resources in the future, delete the resource group by running the following command in the Cloud Shell. Remember that the resource group name was automatically generated for you in the [create a web app](#create-a-web-app) step.
127129

128-
```bash
130+
```azurecli
129131
az group delete --name appsvc_rg_Windows_westeurope
130132
```
131133

articles/azure-functions/durable/durable-functions-event-publishing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,29 @@ Create an Event Grid topic for sending events from Durable Functions. The follow
3131

3232
Create a resource group with the `az group create` command. Currently, Azure Event Grid doesn't support all regions. For information about which regions are supported, see the [Azure Event Grid overview](../../event-grid/overview.md).
3333

34-
```bash
34+
```azurecli
3535
az group create --name eventResourceGroup --location westus2
3636
```
3737

3838
### Create a custom topic
3939

4040
An Event Grid topic provides a user-defined endpoint that you post your event to. Replace `<topic_name>` with a unique name for your topic. The topic name must be unique because it becomes a DNS entry.
4141

42-
```bash
42+
```azurecli
4343
az eventgrid topic create --name <topic_name> -l westus2 -g eventResourceGroup
4444
```
4545

4646
## Get the endpoint and key
4747

4848
Get the endpoint of the topic. Replace `<topic_name>` with the name you chose.
4949

50-
```bash
50+
```azurecli
5151
az eventgrid topic show --name <topic_name> -g eventResourceGroup --query "endpoint" --output tsv
5252
```
5353

5454
Get the topic key. Replace `<topic_name>` with the name you chose.
5555

56-
```bash
56+
```azurecli
5757
az eventgrid topic key list --name <topic_name> -g eventResourceGroup --query "key1" --output tsv
5858
```
5959

articles/azure-resource-manager/templates/template-tutorial-create-linked-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To complete this article, you need:
3737
* Visual Studio Code with Resource Manager Tools extension. See [Use Visual Studio Code to create Azure Resource Manager templates](use-vs-code-to-create-template.md).
3838
* To increase security, use a generated password for the virtual machine administrator account. Here is a sample for generating a password:
3939

40-
```azurecli-interactive
40+
```console
4141
openssl rand -base64 32
4242
```
4343

articles/azure-resource-manager/templates/template-tutorial-create-templates-with-dependent-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To complete this article, you need:
3131
* Visual Studio Code with Resource Manager Tools extension. See [Use Visual Studio Code to create Azure Resource Manager templates](use-vs-code-to-create-template.md).
3232
* To increase security, use a generated password for the virtual machine administrator account. Here is a sample for generating a password:
3333

34-
```azurecli-interactive
34+
```console
3535
openssl rand -base64 32
3636
```
3737
Azure Key Vault is designed to safeguard cryptographic keys and other secrets. For more information, see [Tutorial: Integrate Azure Key Vault in Resource Manager Template deployment](./template-tutorial-use-key-vault.md). We also recommend you to update your password every three months.

articles/azure-resource-manager/templates/template-tutorial-deploy-sql-extensions-bacpac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To complete this article, you need:
3131
* Visual Studio Code with the Resource Manager Tools extension. See [Use Visual Studio Code to create Azure Resource Manager templates](./use-vs-code-to-create-template.md).
3232
* To increase security, use a generated password for the Azure SQL Server administrator account. Here's a sample you can use to generate a password:
3333

34-
```azurecli-interactive
34+
```console
3535
openssl rand -base64 32
3636
```
3737

articles/azure-resource-manager/templates/template-tutorial-deploy-vm-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To complete this article, you need:
2929
* Visual Studio Code with Resource Manager Tools extension. See [Use Visual Studio Code to create Azure Resource Manager templates](use-vs-code-to-create-template.md).
3030
* To increase security, use a generated password for the virtual machine administrator account. Here is a sample for generating a password:
3131

32-
```azurecli-interactive
32+
```console
3333
openssl rand -base64 32
3434
```
3535

articles/azure-resource-manager/templates/template-tutorial-secure-artifacts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To complete this article, you need:
3434
* Review [Tutorial: Import SQL BACPAC files with Azure Resource Manager templates](./template-tutorial-deploy-sql-extensions-bacpac.md). The template used in this tutorial is the one developed in that tutorial. A download link of the completed template is provided in this article.
3535
* To increase security, use a generated password for the SQL Server administrator account. Here's a sample you can use to generate a password:
3636

37-
```azurecli-interactive
37+
```console
3838
openssl rand -base64 32
3939
```
4040

articles/azure-resource-manager/templates/template-tutorial-use-conditions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To complete this article, you need:
3939
* Visual Studio Code with Resource Manager Tools extension. See [Use Visual Studio Code to create Azure Resource Manager templates](use-vs-code-to-create-template.md).
4040
* To increase security, use a generated password for the virtual machine administrator account. Here is a sample for generating a password:
4141

42-
```azurecli-interactive
42+
```console
4343
openssl rand -base64 32
4444
```
4545

articles/azure-resource-manager/templates/template-tutorial-use-key-vault.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To complete this article, you need:
3737
* Visual Studio Code with Resource Manager Tools extension. See [Use Visual Studio Code to create Azure Resource Manager templates](use-vs-code-to-create-template.md).
3838
* To increase security, use a generated password for the VM administrator account. Here's a sample for generating a password:
3939

40-
```azurecli-interactive
40+
```console
4141
openssl rand -base64 32
4242
```
4343
Verify that the generated password meets the VM password requirements. Each Azure service has specific password requirements. For the VM password requirements, see [What are the password requirements when you create a VM?](../../virtual-machines/windows/faq.md#what-are-the-password-requirements-when-creating-a-vm).

articles/backup/backup-azure-delete-vault.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ To delete existing Recovery services vault, perform the below:
282282

283283
- To stop protection and delete the backup data
284284

285-
```CLI
285+
```azurecli
286286
az backup protection disable --container-name
287287
--item-name
288288
[--delete-backup-data {false, true}]
@@ -297,7 +297,7 @@ To delete existing Recovery services vault, perform the below:
297297
298298
- Delete an existing Recovery services vault:
299299
300-
```CLI
300+
```azurecli
301301
az backup vault delete [--force]
302302
[--ids]
303303
[--name]

0 commit comments

Comments
 (0)