Skip to content

Commit affb0cc

Browse files
committed
updates4
1 parent fbc2041 commit affb0cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/backup/quick-backup-vm-terraform.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,25 +86,25 @@ In this quickstart, you create an Azure Windows virtual machine (VM) and associa
8686

8787
1. Get the Azure resource group name.
8888

89-
```Terraform
89+
```console
9090
resource_group_name = $(terraform outout -raw azurerm_resource_group_name)
9191
```
9292

9393
1. Get the Backup recovery services vault name.
9494

95-
```Terraform
95+
```console
9696
recovery_services_vault_name = $(terraform output -raw azurerm_recovery_services_vault_name)
9797
```
9898

9999
1. Get the Windows VM name.
100100

101-
```Terraform
101+
```console
102102
windows_virtual_machine_name = $(terraform output -raw azurerm_windows_virtual_machine_name)
103103
```
104104

105105
1. Run [az backup protection backup-now]( /cli/azure/backup/protection #az-backup-protection-backup-now) to start a backup job.
106106

107-
```Terraform
107+
```azcli
108108
az backup protection backup-now --resource-group $resource_group_name \
109109
--vault-name $recovery_services_vault_name \
110110
--container-name $windows_virtual_machine_name \
@@ -114,7 +114,7 @@ az backup protection backup-now --resource-group $resource_group_name \
114114

115115
1. Run [az backup job list]( /cli/azure/backup/job #az-backup-job-list) to monitor the backup job.
116116

117-
```Terraform
117+
```azcli
118118
az backup job list --resource-group $resource_group_name \
119119
--vault-name $recovery_services_vault_name \
120120
--output table

0 commit comments

Comments
 (0)