Skip to content

Commit 417ac44

Browse files
committed
Change output blocks to json
1 parent 48c4644 commit 417ac44

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/backup/backup-managed-disks-cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Before you create a Backup vault, choose the storage redundancy of the data with
3434
az dataprotection backup-vault create -g testBkpVaultRG --vault-name TestBkpVault -l westus --type SystemAssigned --storage-settings datastore-type="VaultStore" type="LocallyRedundant"
3535
```
3636

37-
```output
37+
```json
3838
{
3939
"eTag": null,
4040
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/testBkpVaultRG/providers/Microsoft.DataProtection/BackupVaults/TestBkpVault",
@@ -71,7 +71,7 @@ To understand the inner components of a Backup policy for Azure Disk Backup, ret
7171
az dataprotection backup-policy get-default-policy-template --datasource-type AzureDisk
7272
```
7373

74-
```output
74+
```json
7575
{
7676
"datasourceTypes": [
7777
"Microsoft.Compute/disks"
@@ -182,7 +182,7 @@ az dataprotection backup-policy get-default-policy-template --datasource-type Az
182182
az dataprotection backup-policy create -g testBkpVaultRG --vault-name TestBkpVault -n mypolicy --policy policy.json
183183
```
184184

185-
```output
185+
```json
186186
{
187187
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testBkpVaultRG/providers/Microsoft.DataProtection/backupVaults/TestBkpVault/backupPolicies/mypolicy",
188188
"name": "mypolicy",
@@ -334,7 +334,7 @@ Use the edited JSON file to create a backup instance of the Azure Managed Disk.
334334
az dataprotection backup-instance create -g testBkpVaultRG --vault-name TestBkpVault --backup-instance backup_instance.json
335335
```
336336

337-
```output
337+
```json
338338
{
339339
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/testBkpVaultRG/providers/Microsoft.DataProtection/BackupVaults/TestBkpVault/backupInstances/diskrg-CLITestDisk-3df6ac08-9496-4839-8fb5-8b78e594f166",
340340
"name": "diskrg-CLITestDisk-3df6ac08-9496-4839-8fb5-8b78e594f166",
@@ -388,7 +388,7 @@ List all backup instances within a vault using [az dataprotection backup-instanc
388388
az dataprotection backup-instance list-from-resourcegraph --datasource-type AzureDisk --datasource-id /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx/resourcegroups/diskrg/providers/Microsoft.Compute/disks/CLITestDisk
389389
```
390390

391-
```output
391+
```json
392392
[
393393
{
394394
"datasourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx/resourcegroups/diskrg/providers/Microsoft.Compute/disks/CLITestDisk",

0 commit comments

Comments
 (0)