Skip to content

Commit

Permalink
AKS Hooks and migration to 2023-05-01 half-done
Browse files Browse the repository at this point in the history
  • Loading branch information
Zubair Abid committed Aug 2, 2023
1 parent 659937b commit d540735
Show file tree
Hide file tree
Showing 76 changed files with 9,061 additions and 10 deletions.
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-instance/_adhoc-backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Trigger adhoc backup.
```bash
dataprotection backup-instance adhoc-backup --name "testInstance1" --rule-name "BackupWeekly" --retention-tag-override "yearly" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/backup 2023-05-01 -->

#### examples

- Trigger Adhoc Backup
```bash
dataprotection backup-instance adhoc-backup --name "testInstance1" --rule-name "BackupWeekly" --retention-tag-override "yearly" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-instance/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Configure backup for a resource in a backup vault
```bash
dataprotection backup-instance create -g MyResourceGroup --vault-name MyVault --backup-instance backupinstance.json
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{} 2023-05-01 -->

#### examples

- create a backup instance in a backup vault
```bash
dataprotection backup-instance create -g MyResourceGroup --vault-name MyVault --backup-instance backupinstance.json
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-instance/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Delete a backup instance in a backup vault
```bash
dataprotection backup-instance delete --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{} 2023-05-01 -->

#### examples

- Delete BackupInstance
```bash
dataprotection backup-instance delete --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-instance/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Gets backup instances belonging to a backup vault.
```bash
dataprotection backup-instance list --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances 2023-05-01 -->

#### examples

- List backup instances in a vault
```bash
dataprotection backup-instance list --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-instance/_resume-protection.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ This operation will resume protection for a stopped backup instance.
```bash
dataprotection backup-instance resume-protection --name "testbi" --resource-group "testrg" --vault-name "testvault"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/resumeprotection 2023-05-01 -->

#### examples

- Resume protection
```bash
dataprotection backup-instance resume-protection --name "testbi" --resource-group "testrg" --vault-name "testvault"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-instance/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get a backup instance with name in a backup vault
```bash
dataprotection backup-instance show --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{} 2023-05-01 -->

#### examples

- Get BackupInstance
```bash
dataprotection backup-instance show --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-instance/_stop-protection.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ This operation will stop protection of a backup instance and data will be held f
```bash
dataprotection backup-instance stop-protection --name "testbi" --resource-group "testrg" --vault-name "testvault"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/stopprotection 2023-05-01 -->

#### examples

- Stop protection
```bash
dataprotection backup-instance stop-protection --name "testbi" --resource-group "testrg" --vault-name "testvault"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-instance/_suspend-backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ This operation will stop backup for a backup instance and retains the backup dat
```bash
dataprotection backup-instance suspend-backup --name "testbi" --resource-group "testrg" --vault-name "testvault"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/suspendbackups 2023-05-01 -->

#### examples

- Suspend backups
```bash
dataprotection backup-instance suspend-backup --name "testbi" --resource-group "testrg" --vault-name "testvault"
```
4 changes: 4 additions & 0 deletions Commands/dataprotection/backup-instance/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Update a backup instance in a backup vault
### [2023-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-01-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{} 2023-01-01 -->

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{} 2023-05-01 -->
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _dataprotection backup-instance validate-for-backup_

Validate whether configure backup will be successful or not.
Validate whether adhoc backup will be successful or not

## Versions

Expand All @@ -14,3 +14,7 @@ Validate whether configure backup will be successful or not.
```bash
dataprotection backup-instance validate-for-backup -g sarath-rg --vault-name sarath-vault --backup-instance backup_instance.json
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/validateforbackup 2023-05-01 -->
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _dataprotection backup-instance validate-for-restore_

Validates if restore can be triggered for a datasource
Validates if Restore can be triggered for a DataSource

## Versions

Expand All @@ -14,3 +14,7 @@ Validates if restore can be triggered for a datasource
```bash
az dataprotection backup-instance validate-for-restore --name "testInstance1" --restore-request-object "restoreRequest.json" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/validaterestore 2023-05-01 -->
4 changes: 2 additions & 2 deletions Commands/dataprotection/backup-instance/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Manage backup instance with dataprotection
: Update a backup instance in a backup vault

- [validate-for-backup](/Commands/dataprotection/backup-instance/_validate-for-backup.md)
: Validate whether configure backup will be successful or not.
: Validate whether adhoc backup will be successful or not

- [validate-for-restore](/Commands/dataprotection/backup-instance/_validate-for-restore.md)
: Validates if restore can be triggered for a datasource
: Validates if Restore can be triggered for a DataSource
4 changes: 4 additions & 0 deletions Commands/dataprotection/backup-instance/restore/_trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ Triggers restore for a BackupInstance
```bash
dataprotection backup-instance restore trigger -g sarath-rg --vault-name sarath-vault --backup-instance-name {backup_instance_name} --restore-request-object restore_request.json
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/restore 2023-05-01 -->
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-policy/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a backup policy belonging to a backup vault.
```bash
dataprotection backup-policy create -g sarath-rg --vault-name sarath-vault -n mypolicy --policy policy.json
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{} 2023-05-01 -->

#### examples

- Create Backup Policy
```bash
dataprotection backup-policy create -g sarath-rg --vault-name sarath-vault -n mypolicy --policy policy.json
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-policy/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Deletes a backup policy belonging to a backup vault.
```bash
dataprotection backup-policy delete --name "OSSDBPolicy" --resource-group "000pikumar" --vault-name "PrivatePreviewVault"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{} 2023-05-01 -->

#### examples

- Delete Backup Policy
```bash
dataprotection backup-policy delete --name "OSSDBPolicy" --resource-group "000pikumar" --vault-name "PrivatePreviewVault"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-policy/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ List list of backup policies belonging to a backup vault
```bash
dataprotection backup-policy list --resource-group "000pikumar" --vault-name "PrivatePreviewVault"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies 2023-05-01 -->

#### examples

- List Backup Policies
```bash
dataprotection backup-policy list --resource-group "000pikumar" --vault-name "PrivatePreviewVault"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-policy/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get a backup policy belonging to a backup vault
```bash
dataprotection backup-policy show --name "OSSDBPolicy" --resource-group "000pikumar" --vault-name "PrivatePreviewVault"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{} 2023-05-01 -->

#### examples

- Get Backup Policy
```bash
dataprotection backup-policy show --name "OSSDBPolicy" --resource-group "000pikumar" --vault-name "PrivatePreviewVault"
```
4 changes: 4 additions & 0 deletions Commands/dataprotection/backup-policy/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Update a backup policy belonging to a backup vault.
### [2023-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-01-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{} 2023-01-01 -->

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{} 2023-05-01 -->
16 changes: 16 additions & 0 deletions Commands/dataprotection/backup-vault/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,19 @@ Create a BackupVault resource belonging to a resource group.
```bash
dataprotection backup-vault create --type "systemAssigned" --location "WestUS" --azure-monitor-alerts-for-job-failures "Enabled" --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" --tags key1="val1" --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{} 2023-05-01 -->

#### examples

- Create BackupVault
```bash
dataprotection backup-vault create --type "None" --location "WestUS" --azure-monitor-alerts-for-job-failures "Enabled" --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" --tags key1="val1" --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```

- Create BackupVault With MSI
```bash
dataprotection backup-vault create --type "systemAssigned" --location "WestUS" --azure-monitor-alerts-for-job-failures "Enabled" --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" --tags key1="val1" --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-vault/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete a BackupVault resource from the resource group.
```bash
dataprotection backup-vault delete --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{} 2023-05-01 -->

#### examples

- Delete BackupVault
```bash
dataprotection backup-vault delete --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```
17 changes: 17 additions & 0 deletions Commands/dataprotection/backup-vault/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ Gets list of backup vault in a subscription or in a resource group.
```bash
dataprotection backup-vault list -g sarath-rg
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.dataprotection/backupvaults 2023-05-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults 2023-05-01 -->

#### examples

- List backup vault in a subscription
```bash
dataprotection backup-vault list
```

- List backup vault in a resource group
```bash
dataprotection backup-vault list -g sarath-rg
```
16 changes: 16 additions & 0 deletions Commands/dataprotection/backup-vault/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,19 @@ Get a resource belonging to a resource group.
```bash
dataprotection backup-vault show --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{} 2023-05-01 -->

#### examples

- Get BackupVault
```bash
dataprotection backup-vault show --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```

- Get BackupVault With MSI
```bash
dataprotection backup-vault show --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/backup-vault/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Updates a BackupVault resource belonging to a resource group. For example, updat
```bash
dataprotection backup-vault update --azure-monitor-alerts-for-job-failures "Enabled" --tags newKey="newVal" --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{} 2023-05-01 -->

#### examples

- Patch BackupVault
```bash
dataprotection backup-vault update --azure-monitor-alerts-for-job-failures "Enabled" --tags newKey="newVal" --resource-group "SampleResourceGroup" --vault-name "swaggerExample"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/job/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Returns list of jobs belonging to a backup vault.
```bash
dataprotection job list --resource-group "BugBash1" --vault-name "BugBashVaultForCCYv11"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupjobs 2023-05-01 -->

#### examples

- Get Jobs
```bash
dataprotection job list --resource-group "BugBash1" --vault-name "BugBashVaultForCCYv11"
```
11 changes: 11 additions & 0 deletions Commands/dataprotection/job/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get a job with id in a backup vault.
```bash
dataprotection job show --job-id "3c60cb49-63e8-4b21-b9bd-26277b3fdfae" --resource-group "BugBash1" --vault-name "BugBashVaultForCCYv11"
```

### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.xml) **Experimental**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupjobs/{} 2023-05-01 -->

#### examples

- Get Job
```bash
dataprotection job show --job-id "3c60cb49-63e8-4b21-b9bd-26277b3fdfae" --resource-group "BugBash1" --vault-name "BugBashVaultForCCYv11"
```
Loading

0 comments on commit d540735

Please sign in to comment.