From d540735b4e6a0eacd79d2e312f41f4ccf80a46a2 Mon Sep 17 00:00:00 2001 From: Zubair Abid Date: Wed, 2 Aug 2023 12:34:55 +0530 Subject: [PATCH] AKS Hooks and migration to 2023-05-01 half-done --- .../backup-instance/_adhoc-backup.md | 11 + .../dataprotection/backup-instance/_create.md | 11 + .../dataprotection/backup-instance/_delete.md | 11 + .../dataprotection/backup-instance/_list.md | 11 + .../backup-instance/_resume-protection.md | 11 + .../dataprotection/backup-instance/_show.md | 11 + .../backup-instance/_stop-protection.md | 11 + .../backup-instance/_suspend-backup.md | 11 + .../dataprotection/backup-instance/_update.md | 4 + .../backup-instance/_validate-for-backup.md | 6 +- .../backup-instance/_validate-for-restore.md | 6 +- .../dataprotection/backup-instance/readme.md | 4 +- .../backup-instance/restore/_trigger.md | 4 + .../dataprotection/backup-policy/_create.md | 11 + .../dataprotection/backup-policy/_delete.md | 11 + .../dataprotection/backup-policy/_list.md | 11 + .../dataprotection/backup-policy/_show.md | 11 + .../dataprotection/backup-policy/_update.md | 4 + .../dataprotection/backup-vault/_create.md | 16 + .../dataprotection/backup-vault/_delete.md | 11 + Commands/dataprotection/backup-vault/_list.md | 17 + Commands/dataprotection/backup-vault/_show.md | 16 + .../dataprotection/backup-vault/_update.md | 11 + Commands/dataprotection/job/_list.md | 11 + Commands/dataprotection/job/_show.md | 11 + .../dataprotection/recovery-point/_list.md | 11 + .../dataprotection/recovery-point/_show.md | 11 + .../dataprotection/resource-guard/_create.md | 11 + .../dataprotection/resource-guard/_delete.md | 11 + .../dataprotection/resource-guard/_list.md | 17 + .../dataprotection/resource-guard/_show.md | 11 + .../dataprotection/resource-guard/_update.md | 11 + .../restorable-time-range/_find.md | 11 + Commands/tree.json | 614 ++++++- .../2023-05-01.json | 1 + .../2023-05-01.xml | 413 +++++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 215 +++ .../2023-05-01.md | 1 + .../2023-05-01.json | 1 + .../2023-05-01.xml | 1070 +++++++++++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 263 +++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 1373 ++++++++++++++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 89 + .../2023-05-01.json | 1 + .../2023-05-01.xml | 121 ++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 134 ++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 127 ++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 532 ++++++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 55 + .../2023-05-01.json | 1 + .../2023-05-01.xml | 55 + .../2023-05-01.json | 1 + .../2023-05-01.xml | 55 + .../2023-05-01.json | 1 + .../2023-05-01.xml | 532 ++++++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 173 ++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 174 ++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 266 +++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 1618 +++++++++++++++++ .../2023-05-01.json | 1 + .../2023-05-01.xml | 366 ++++ .../2023-05-01.md | 1 + .../2023-05-01.json | 1 + .../2023-05-01.xml | 457 +++++ 76 files changed, 9061 insertions(+), 10 deletions(-) create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.xml diff --git a/Commands/dataprotection/backup-instance/_adhoc-backup.md b/Commands/dataprotection/backup-instance/_adhoc-backup.md index 2fcf7a9ea..d57f6fe34 100644 --- a/Commands/dataprotection/backup-instance/_adhoc-backup.md +++ b/Commands/dataprotection/backup-instance/_adhoc-backup.md @@ -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** + + + +#### 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" + ``` diff --git a/Commands/dataprotection/backup-instance/_create.md b/Commands/dataprotection/backup-instance/_create.md index 250a4e9b7..c1aef5ee5 100644 --- a/Commands/dataprotection/backup-instance/_create.md +++ b/Commands/dataprotection/backup-instance/_create.md @@ -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** + + + +#### examples + +- create a backup instance in a backup vault + ```bash + dataprotection backup-instance create -g MyResourceGroup --vault-name MyVault --backup-instance backupinstance.json + ``` diff --git a/Commands/dataprotection/backup-instance/_delete.md b/Commands/dataprotection/backup-instance/_delete.md index d2fe5e619..16235f686 100644 --- a/Commands/dataprotection/backup-instance/_delete.md +++ b/Commands/dataprotection/backup-instance/_delete.md @@ -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** + + + +#### examples + +- Delete BackupInstance + ```bash + dataprotection backup-instance delete --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" + ``` diff --git a/Commands/dataprotection/backup-instance/_list.md b/Commands/dataprotection/backup-instance/_list.md index 6bf23e60c..1c1139a7a 100644 --- a/Commands/dataprotection/backup-instance/_list.md +++ b/Commands/dataprotection/backup-instance/_list.md @@ -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** + + + +#### examples + +- List backup instances in a vault + ```bash + dataprotection backup-instance list --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" + ``` diff --git a/Commands/dataprotection/backup-instance/_resume-protection.md b/Commands/dataprotection/backup-instance/_resume-protection.md index 3898b03f5..161dfb7ff 100644 --- a/Commands/dataprotection/backup-instance/_resume-protection.md +++ b/Commands/dataprotection/backup-instance/_resume-protection.md @@ -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** + + + +#### examples + +- Resume protection + ```bash + dataprotection backup-instance resume-protection --name "testbi" --resource-group "testrg" --vault-name "testvault" + ``` diff --git a/Commands/dataprotection/backup-instance/_show.md b/Commands/dataprotection/backup-instance/_show.md index e79cab8b7..f7286bdeb 100644 --- a/Commands/dataprotection/backup-instance/_show.md +++ b/Commands/dataprotection/backup-instance/_show.md @@ -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** + + + +#### examples + +- Get BackupInstance + ```bash + dataprotection backup-instance show --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" + ``` diff --git a/Commands/dataprotection/backup-instance/_stop-protection.md b/Commands/dataprotection/backup-instance/_stop-protection.md index ad3dc086f..086407e8d 100644 --- a/Commands/dataprotection/backup-instance/_stop-protection.md +++ b/Commands/dataprotection/backup-instance/_stop-protection.md @@ -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** + + + +#### examples + +- Stop protection + ```bash + dataprotection backup-instance stop-protection --name "testbi" --resource-group "testrg" --vault-name "testvault" + ``` diff --git a/Commands/dataprotection/backup-instance/_suspend-backup.md b/Commands/dataprotection/backup-instance/_suspend-backup.md index ba0f5d0d9..fffe2d209 100644 --- a/Commands/dataprotection/backup-instance/_suspend-backup.md +++ b/Commands/dataprotection/backup-instance/_suspend-backup.md @@ -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** + + + +#### examples + +- Suspend backups + ```bash + dataprotection backup-instance suspend-backup --name "testbi" --resource-group "testrg" --vault-name "testvault" + ``` diff --git a/Commands/dataprotection/backup-instance/_update.md b/Commands/dataprotection/backup-instance/_update.md index b6e5f18ae..c86345bac 100644 --- a/Commands/dataprotection/backup-instance/_update.md +++ b/Commands/dataprotection/backup-instance/_update.md @@ -7,3 +7,7 @@ Update a backup instance in a backup vault ### [2023-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-01-01.xml) **Experimental** + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml) **Experimental** + + diff --git a/Commands/dataprotection/backup-instance/_validate-for-backup.md b/Commands/dataprotection/backup-instance/_validate-for-backup.md index d84d851f7..c58189312 100644 --- a/Commands/dataprotection/backup-instance/_validate-for-backup.md +++ b/Commands/dataprotection/backup-instance/_validate-for-backup.md @@ -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 @@ -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** + + diff --git a/Commands/dataprotection/backup-instance/_validate-for-restore.md b/Commands/dataprotection/backup-instance/_validate-for-restore.md index a4bc9aaa7..f601989f2 100644 --- a/Commands/dataprotection/backup-instance/_validate-for-restore.md +++ b/Commands/dataprotection/backup-instance/_validate-for-restore.md @@ -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 @@ -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** + + diff --git a/Commands/dataprotection/backup-instance/readme.md b/Commands/dataprotection/backup-instance/readme.md index ca4519d7a..8439a0db6 100644 --- a/Commands/dataprotection/backup-instance/readme.md +++ b/Commands/dataprotection/backup-instance/readme.md @@ -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 diff --git a/Commands/dataprotection/backup-instance/restore/_trigger.md b/Commands/dataprotection/backup-instance/restore/_trigger.md index 1abfd6594..fdd0ddd1e 100644 --- a/Commands/dataprotection/backup-instance/restore/_trigger.md +++ b/Commands/dataprotection/backup-instance/restore/_trigger.md @@ -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** + + diff --git a/Commands/dataprotection/backup-policy/_create.md b/Commands/dataprotection/backup-policy/_create.md index 13a84bcea..adc8d6c29 100644 --- a/Commands/dataprotection/backup-policy/_create.md +++ b/Commands/dataprotection/backup-policy/_create.md @@ -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** + + + +#### examples + +- Create Backup Policy + ```bash + dataprotection backup-policy create -g sarath-rg --vault-name sarath-vault -n mypolicy --policy policy.json + ``` diff --git a/Commands/dataprotection/backup-policy/_delete.md b/Commands/dataprotection/backup-policy/_delete.md index c39cea213..d939026b4 100644 --- a/Commands/dataprotection/backup-policy/_delete.md +++ b/Commands/dataprotection/backup-policy/_delete.md @@ -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** + + + +#### examples + +- Delete Backup Policy + ```bash + dataprotection backup-policy delete --name "OSSDBPolicy" --resource-group "000pikumar" --vault-name "PrivatePreviewVault" + ``` diff --git a/Commands/dataprotection/backup-policy/_list.md b/Commands/dataprotection/backup-policy/_list.md index 1723cc289..45eb5c45e 100644 --- a/Commands/dataprotection/backup-policy/_list.md +++ b/Commands/dataprotection/backup-policy/_list.md @@ -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** + + + +#### examples + +- List Backup Policies + ```bash + dataprotection backup-policy list --resource-group "000pikumar" --vault-name "PrivatePreviewVault" + ``` diff --git a/Commands/dataprotection/backup-policy/_show.md b/Commands/dataprotection/backup-policy/_show.md index 69ce75de5..b2908179f 100644 --- a/Commands/dataprotection/backup-policy/_show.md +++ b/Commands/dataprotection/backup-policy/_show.md @@ -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** + + + +#### examples + +- Get Backup Policy + ```bash + dataprotection backup-policy show --name "OSSDBPolicy" --resource-group "000pikumar" --vault-name "PrivatePreviewVault" + ``` diff --git a/Commands/dataprotection/backup-policy/_update.md b/Commands/dataprotection/backup-policy/_update.md index 98e5a6ff6..0e058237a 100644 --- a/Commands/dataprotection/backup-policy/_update.md +++ b/Commands/dataprotection/backup-policy/_update.md @@ -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** + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml) **Experimental** + + diff --git a/Commands/dataprotection/backup-vault/_create.md b/Commands/dataprotection/backup-vault/_create.md index 1a9471336..58a6faf84 100644 --- a/Commands/dataprotection/backup-vault/_create.md +++ b/Commands/dataprotection/backup-vault/_create.md @@ -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** + + + +#### 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" + ``` diff --git a/Commands/dataprotection/backup-vault/_delete.md b/Commands/dataprotection/backup-vault/_delete.md index 5e2dc25e4..5fef052aa 100644 --- a/Commands/dataprotection/backup-vault/_delete.md +++ b/Commands/dataprotection/backup-vault/_delete.md @@ -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** + + + +#### examples + +- Delete BackupVault + ```bash + dataprotection backup-vault delete --resource-group "SampleResourceGroup" --vault-name "swaggerExample" + ``` diff --git a/Commands/dataprotection/backup-vault/_list.md b/Commands/dataprotection/backup-vault/_list.md index f16f8c77e..3f86d537a 100644 --- a/Commands/dataprotection/backup-vault/_list.md +++ b/Commands/dataprotection/backup-vault/_list.md @@ -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** + + + + +#### 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 + ``` diff --git a/Commands/dataprotection/backup-vault/_show.md b/Commands/dataprotection/backup-vault/_show.md index 709c60f40..0489675de 100644 --- a/Commands/dataprotection/backup-vault/_show.md +++ b/Commands/dataprotection/backup-vault/_show.md @@ -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** + + + +#### 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" + ``` diff --git a/Commands/dataprotection/backup-vault/_update.md b/Commands/dataprotection/backup-vault/_update.md index 0fd9bb143..b61d57b1e 100644 --- a/Commands/dataprotection/backup-vault/_update.md +++ b/Commands/dataprotection/backup-vault/_update.md @@ -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** + + + +#### examples + +- Patch BackupVault + ```bash + dataprotection backup-vault update --azure-monitor-alerts-for-job-failures "Enabled" --tags newKey="newVal" --resource-group "SampleResourceGroup" --vault-name "swaggerExample" + ``` diff --git a/Commands/dataprotection/job/_list.md b/Commands/dataprotection/job/_list.md index 807283368..d4c940212 100644 --- a/Commands/dataprotection/job/_list.md +++ b/Commands/dataprotection/job/_list.md @@ -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** + + + +#### examples + +- Get Jobs + ```bash + dataprotection job list --resource-group "BugBash1" --vault-name "BugBashVaultForCCYv11" + ``` diff --git a/Commands/dataprotection/job/_show.md b/Commands/dataprotection/job/_show.md index 39da32ab0..5a30f1637 100644 --- a/Commands/dataprotection/job/_show.md +++ b/Commands/dataprotection/job/_show.md @@ -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** + + + +#### examples + +- Get Job + ```bash + dataprotection job show --job-id "3c60cb49-63e8-4b21-b9bd-26277b3fdfae" --resource-group "BugBash1" --vault-name "BugBashVaultForCCYv11" + ``` diff --git a/Commands/dataprotection/recovery-point/_list.md b/Commands/dataprotection/recovery-point/_list.md index 24a7b10bb..2e2144837 100644 --- a/Commands/dataprotection/recovery-point/_list.md +++ b/Commands/dataprotection/recovery-point/_list.md @@ -14,3 +14,14 @@ Returns a list of Recovery Points for a DataSource in a vault. ```bash dataprotection recovery-point list --backup-instance-name "testInstance1" --resource- group "000pikumar" --vault-name "PratikPrivatePreviewVault1" ``` + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.xml) **Experimental** + + + +#### examples + +- List Recovery Points in a Vault + ```bash + dataprotection recovery-point list --backup-instance-name "testInstance1" --resource- group "000pikumar" --vault-name "PratikPrivatePreviewVault1" + ``` diff --git a/Commands/dataprotection/recovery-point/_show.md b/Commands/dataprotection/recovery-point/_show.md index 904b34e89..ebaa283c0 100644 --- a/Commands/dataprotection/recovery-point/_show.md +++ b/Commands/dataprotection/recovery-point/_show.md @@ -14,3 +14,14 @@ Get a Recovery Point using recoveryPointId for a Datasource. ```bash dataprotection recovery-point show --backup-instance-name "testInstance1" --recovery- point-id "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" ``` + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.xml) **Experimental** + + + +#### examples + +- Get Recovery Point + ```bash + dataprotection recovery-point show --backup-instance-name "testInstance1" --recovery- point-id "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" + ``` diff --git a/Commands/dataprotection/resource-guard/_create.md b/Commands/dataprotection/resource-guard/_create.md index de92eba42..0e48e6e3e 100644 --- a/Commands/dataprotection/resource-guard/_create.md +++ b/Commands/dataprotection/resource-guard/_create.md @@ -14,3 +14,14 @@ Creates or updates a ResourceGuard resource belonging to a resource group. ```bash dataprotection resource-guard create --location "WestUS" --tags key1="val1" --resource-group "SampleResourceGroup" --resource-guard-name "swaggerExample" ``` + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.xml) **Experimental** + + + +#### examples + +- Create ResourceGuard + ```bash + dataprotection resource-guard create --location "WestUS" --tags key1="val1" --resource-group "SampleResourceGroup" --resource-guard-name "swaggerExample" + ``` diff --git a/Commands/dataprotection/resource-guard/_delete.md b/Commands/dataprotection/resource-guard/_delete.md index 2a5466bca..121ee8bdb 100644 --- a/Commands/dataprotection/resource-guard/_delete.md +++ b/Commands/dataprotection/resource-guard/_delete.md @@ -14,3 +14,14 @@ Deletes a ResourceGuard resource from the resource group. ```bash dataprotection resource-guard delete --resource-group "SampleResourceGroup" --resource-guard-name "swaggerExample" ``` + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.xml) **Experimental** + + + +#### examples + +- Delete ResourceGuard + ```bash + dataprotection resource-guard delete --resource-group "SampleResourceGroup" --resource-guard-name "swaggerExample" + ``` diff --git a/Commands/dataprotection/resource-guard/_list.md b/Commands/dataprotection/resource-guard/_list.md index 8f9838f4a..7502f9628 100644 --- a/Commands/dataprotection/resource-guard/_list.md +++ b/Commands/dataprotection/resource-guard/_list.md @@ -20,3 +20,20 @@ Gets list of ResourceGuards in a subscription or in a resource group. ```bash dataprotection resource-guard list -g sarath-rg ``` + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.xml) **Experimental** + + + + +#### examples + +- List ResourceGuards in a subscription + ```bash + dataprotection resource-guard list + ``` + +- List ResourceGuards in a resource group + ```bash + dataprotection resource-guard list -g sarath-rg + ``` diff --git a/Commands/dataprotection/resource-guard/_show.md b/Commands/dataprotection/resource-guard/_show.md index 89545bafc..fbecd32ea 100644 --- a/Commands/dataprotection/resource-guard/_show.md +++ b/Commands/dataprotection/resource-guard/_show.md @@ -14,3 +14,14 @@ Returns a ResourceGuard belonging to a resource group. ```bash dataprotection resource-guard show --resource-group "SampleResourceGroup" --resource-guard-name "swaggerExample" ``` + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.xml) **Experimental** + + + +#### examples + +- Get ResourceGuard + ```bash + dataprotection resource-guard show --resource-group "SampleResourceGroup" --resource-guard-name "swaggerExample" + ``` diff --git a/Commands/dataprotection/resource-guard/_update.md b/Commands/dataprotection/resource-guard/_update.md index 85b583d95..d7e1a7649 100644 --- a/Commands/dataprotection/resource-guard/_update.md +++ b/Commands/dataprotection/resource-guard/_update.md @@ -14,3 +14,14 @@ Updates protected operations associated with a ResourceGuard. ```bash dataprotection resource-guard update --resource-group "SampleResourceGroup" --resource-guard-name "swaggerExample" --resource-type "Microsoft.RecoveryServices/vaults" --critical-operation-exclusion-list deleteProtection getSecurityPIN updatePolicy ``` + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.xml) **Experimental** + + + +#### examples + +- Update ResourceGuard + ```bash + dataprotection resource-guard update --resource-group "SampleResourceGroup" --resource-guard-name "swaggerExample" --resource-type "Microsoft.RecoveryServices/vaults" --critical-operation-exclusion-list deleteProtection getSecurityPIN updatePolicy + ``` diff --git a/Commands/dataprotection/restorable-time-range/_find.md b/Commands/dataprotection/restorable-time-range/_find.md index ab609cdcf..844d829ed 100644 --- a/Commands/dataprotection/restorable-time-range/_find.md +++ b/Commands/dataprotection/restorable-time-range/_find.md @@ -14,3 +14,14 @@ Finds the valid recovery point in time ranges for the restore. ```bash dataprotection restorable-time-range find --backup-instance-name "zblobbackuptestsa58" --end-time "2021-02-24T00:35:17.6829685Z" --source-data-store-type "OperationalStore" --start-time "2020-10-17T23:28:17.6829685Z" --resource-group "Blob-Backup" --vault-name "ZBlobBackupVaultBVTD3" ``` + +### [2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.xml) **Experimental** + + + +#### examples + +- Find Restorable Time Ranges + ```bash + dataprotection restorable-time-range find --backup-instance-name "zblobbackuptestsa58" --end-time "2021-02-24T00:35:17.6829685Z" --source-data-store-type "OperationalStore" --start-time "2020-10-17T23:28:17.6829685Z" --resource-group "Blob-Backup" --vault-name "ZBlobBackupVaultBVTD3" + ``` diff --git a/Commands/tree.json b/Commands/tree.json index bc54fd2b7..5f4a7ced7 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -4848,6 +4848,17 @@ } ], "stage": "Experimental" + }, + { + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/restore", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] } @@ -4891,6 +4902,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-instance adhoc-backup --name \"testInstance1\" --rule-name \"BackupWeekly\" --retention-tag-override \"yearly\" --resource-group \"000pikumar\" --vault-name \"PratikPrivatePreviewVault1\"" + ], + "name": "Trigger Adhoc Backup" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/backup", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -4922,6 +4952,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-instance create -g MyResourceGroup --vault-name MyVault --backup-instance backupinstance.json" + ], + "name": "create a backup instance in a backup vault" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -4953,6 +5002,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-instance delete --name \"testInstance1\" --resource-group \"000pikumar\" --vault-name \"PratikPrivatePreviewVault1\"" + ], + "name": "Delete BackupInstance" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -4984,6 +5052,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-instance list --resource-group \"000pikumar\" --vault-name \"PratikPrivatePreviewVault1\"" + ], + "name": "List backup instances in a vault" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5015,6 +5102,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-instance resume-protection --name \"testbi\" --resource-group \"testrg\" --vault-name \"testvault\"" + ], + "name": "Resume protection" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/resumeprotection", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5046,6 +5152,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-instance show --name \"testInstance1\" --resource-group \"000pikumar\" --vault-name \"PratikPrivatePreviewVault1\"" + ], + "name": "Get BackupInstance" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5077,6 +5202,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-instance stop-protection --name \"testbi\" --resource-group \"testrg\" --vault-name \"testvault\"" + ], + "name": "Stop protection" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/stopprotection", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5108,6 +5252,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-instance suspend-backup --name \"testbi\" --resource-group \"testrg\" --vault-name \"testvault\"" + ], + "name": "Suspend backups" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/suspendbackups", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5131,12 +5294,23 @@ } ], "stage": "Experimental" + }, + { + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, "validate-for-backup": { "help": { - "short": "Validate whether configure backup will be successful or not." + "short": "Validate whether adhoc backup will be successful or not" }, "names": [ "dataprotection", @@ -5162,12 +5336,23 @@ } ], "stage": "Experimental" + }, + { + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/validateforbackup", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, "validate-for-restore": { "help": { - "short": "Validates if restore can be triggered for a datasource" + "short": "Validates if Restore can be triggered for a DataSource" }, "names": [ "dataprotection", @@ -5193,6 +5378,17 @@ } ], "stage": "Experimental" + }, + { + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/validaterestore", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] } @@ -5235,6 +5431,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-policy create -g sarath-rg --vault-name sarath-vault -n mypolicy --policy policy.json" + ], + "name": "Create Backup Policy" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5266,6 +5481,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-policy delete --name \"OSSDBPolicy\" --resource-group \"000pikumar\" --vault-name \"PrivatePreviewVault\"" + ], + "name": "Delete Backup Policy" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5297,6 +5531,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-policy list --resource-group \"000pikumar\" --vault-name \"PrivatePreviewVault\"" + ], + "name": "List Backup Policies" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5328,6 +5581,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-policy show --name \"OSSDBPolicy\" --resource-group \"000pikumar\" --vault-name \"PrivatePreviewVault\"" + ], + "name": "Get Backup Policy" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5351,6 +5623,17 @@ } ], "stage": "Experimental" + }, + { + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] } @@ -5424,6 +5707,31 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "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\"" + ], + "name": "Create BackupVault" + }, + { + "commands": [ + "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\"" + ], + "name": "Create BackupVault With MSI" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5446,12 +5754,31 @@ "name": "Delete BackupVault" } ], - "name": "2022-12-01", + "name": "2022-12-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", + "plane": "mgmt-plane", + "version": "2022-12-01" + } + ], + "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault delete --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Delete BackupVault" + } + ], + "name": "2023-01-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "plane": "mgmt-plane", - "version": "2022-12-01" + "version": "2023-01-01" } ], "stage": "Experimental" @@ -5465,12 +5792,12 @@ "name": "Delete BackupVault" } ], - "name": "2023-01-01", + "name": "2023-05-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "plane": "mgmt-plane", - "version": "2023-01-01" + "version": "2023-05-01" } ], "stage": "Experimental" @@ -5546,6 +5873,36 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault list" + ], + "name": "List backup vault in a subscription" + }, + { + "commands": [ + "dataprotection backup-vault list -g sarath-rg" + ], + "name": "List backup vault in a resource group" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.dataprotection/backupvaults", + "plane": "mgmt-plane", + "version": "2023-05-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5608,6 +5965,31 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault show --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Get BackupVault" + }, + { + "commands": [ + "dataprotection backup-vault show --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Get BackupVault With MSI" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5658,6 +6040,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault update --azure-monitor-alerts-for-job-failures \"Enabled\" --tags newKey=\"newVal\" --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Patch BackupVault" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] } @@ -5700,6 +6101,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection job list --resource-group \"BugBash1\" --vault-name \"BugBashVaultForCCYv11\"" + ], + "name": "Get Jobs" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupjobs", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5731,6 +6151,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection job show --job-id \"3c60cb49-63e8-4b21-b9bd-26277b3fdfae\" --resource-group \"BugBash1\" --vault-name \"BugBashVaultForCCYv11\"" + ], + "name": "Get Job" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupjobs/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] } @@ -5773,6 +6212,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection recovery-point list --backup-instance-name \"testInstance1\" --resource- group \"000pikumar\" --vault-name \"PratikPrivatePreviewVault1\"" + ], + "name": "List Recovery Points in a Vault" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/recoverypoints", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5804,6 +6262,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection recovery-point show --backup-instance-name \"testInstance1\" --recovery- point-id \"7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25\" --resource-group \"000pikumar\" --vault-name \"PratikPrivatePreviewVault1\"" + ], + "name": "Get Recovery Point" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/recoverypoints/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] } @@ -5846,6 +6323,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection resource-guard create --location \"WestUS\" --tags key1=\"val1\" --resource-group \"SampleResourceGroup\" --resource-guard-name \"swaggerExample\"" + ], + "name": "Create ResourceGuard" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5877,6 +6373,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection resource-guard delete --resource-group \"SampleResourceGroup\" --resource-guard-name \"swaggerExample\"" + ], + "name": "Delete ResourceGuard" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5919,6 +6434,36 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection resource-guard list" + ], + "name": "List ResourceGuards in a subscription" + }, + { + "commands": [ + "dataprotection resource-guard list -g sarath-rg" + ], + "name": "List ResourceGuards in a resource group" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.dataprotection/resourceguards", + "plane": "mgmt-plane", + "version": "2023-05-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5950,6 +6495,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection resource-guard show --resource-group \"SampleResourceGroup\" --resource-guard-name \"swaggerExample\"" + ], + "name": "Get ResourceGuard" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] }, @@ -5981,6 +6545,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection resource-guard update --resource-group \"SampleResourceGroup\" --resource-guard-name \"swaggerExample\" --resource-type \"Microsoft.RecoveryServices/vaults\" --critical-operation-exclusion-list deleteProtection getSecurityPIN updatePolicy" + ], + "name": "Update ResourceGuard" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] } @@ -6023,6 +6606,25 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection restorable-time-range find --backup-instance-name \"zblobbackuptestsa58\" --end-time \"2021-02-24T00:35:17.6829685Z\" --source-data-store-type \"OperationalStore\" --start-time \"2020-10-17T23:28:17.6829685Z\" --resource-group \"Blob-Backup\" --vault-name \"ZBlobBackupVaultBVTD3\"" + ], + "name": "Find Restorable Time Ranges" + } + ], + "name": "2023-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/findrestorabletimeranges", + "plane": "mgmt-plane", + "version": "2023-05-01" + } + ], + "stage": "Experimental" } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.json new file mode 100644 index 000000000..c498d132e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dataprotection/backupvaults", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFQcm90ZWN0aW9uL2JhY2t1cFZhdWx0cw==/V/MjAyMy0wNS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRz/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "list", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dataprotection/backupvaults", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFQcm90ZWN0aW9uL2JhY2t1cFZhdWx0cw==/V/MjAyMy0wNS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRz/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_BackupVaults_GetInResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_BackupVaults_GetInSubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_BackupVaults_GetInResourceGroup"], "operationId": "BackupVaults_GetInResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_BackupVaults_GetInSubscription"], "operationId": "BackupVaults_GetInSubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.xml new file mode 100644 index 000000000..30d5a6376 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.xml @@ -0,0 +1,413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.json new file mode 100644 index 000000000..33a20db1e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dataprotection/resourceguards", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFQcm90ZWN0aW9uL3Jlc291cmNlR3VhcmRz/V/MjAyMy0wNS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vcmVzb3VyY2VHdWFyZHM=/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection resource-guard", "commands": [{"name": "list", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dataprotection/resourceguards", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFQcm90ZWN0aW9uL3Jlc291cmNlR3VhcmRz/V/MjAyMy0wNS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vcmVzb3VyY2VHdWFyZHM=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_ResourceGuards_GetResourcesInResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_ResourceGuards_GetResourcesInSubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_ResourceGuards_GetResourcesInResourceGroup"], "operationId": "ResourceGuards_GetResourcesInResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/resourceGuards/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "boolean", "name": "allowAutoApprovals"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array", "name": "resourceGuardOperations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "requestResourceType"}, {"readOnly": true, "type": "string", "name": "vaultCriticalOperation"}]}}, {"type": "array", "name": "vaultCriticalOperationExclusionList", "item": {"type": "string"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_ResourceGuards_GetResourcesInSubscription"], "operationId": "ResourceGuards_GetResourcesInSubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/resourceGuards/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "boolean", "name": "allowAutoApprovals"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array", "name": "resourceGuardOperations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "requestResourceType"}, {"readOnly": true, "type": "string", "name": "vaultCriticalOperation"}]}}, {"type": "array", "name": "vaultCriticalOperationExclusionList", "item": {"type": "string"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.xml new file mode 100644 index 000000000..b61c0a67a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.xml @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.md new file mode 100644 index 000000000..c8dae5960 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.dataprotection/backupvaults 2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2023-05-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.json new file mode 100644 index 000000000..1d81e53a7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "show", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "FeatureSettings", "args": [{"type": "object", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings", "options": ["cross-region-restore-settings"], "group": "FeatureSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["state"], "help": {"short": "CrossRegionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be either SystemAssigned or None"}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-setting"], "required": true, "group": "Properties", "help": {"short": "Storage Settings. Usage: --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\"", "lines": ["Multiple actions can be specified by using more than one --storage-setting argument.", "The \"--storage-settings\" parameter exists for backwards compatibility. The updated command is --storage-setting.", "Usage for --storage-settings: --storage-settings type=XX datastore-type=XX."]}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}}, {"type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "FeatureSettings", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings", "options": ["cross-region-restore-settings"], "group": "FeatureSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["state"], "help": {"short": "CrossRegionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be either SystemAssigned or None"}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "hide": true, "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-settings"], "hide": true, "group": "Properties", "help": {"short": "Storage Settings"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"nullable": true, "type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.xml new file mode 100644 index 000000000..201bead85 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2023-05-01.xml @@ -0,0 +1,1070 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.json new file mode 100644 index 000000000..546f8c25e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcw==/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "list", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcw==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupInstances_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "currentProtectionState", "enum": {"items": [{"value": "BackupSchedulesSuspended"}, {"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "Invalid"}, {"value": "NotProtected"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionError"}, {"value": "ProtectionStopped"}, {"value": "RetentionSchedulesSuspended"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}, {"value": "UpdatingProtection"}]}}, {"type": "object", "name": "dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "object", "name": "resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true}], "cls": "BaseResourceProperties_read"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "@BaseResourceProperties_read", "name": "resourceProperties"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri"}, {"type": "string", "name": "value"}]}]}]}, {"type": "string", "name": "friendlyName"}, {"type": "object", "name": "identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true}, {"type": "object", "name": "policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "required": true}, {"type": "object", "name": "policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "BlobBackupDatasourceParameters"}, {"value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId"}]}]}}]}, {"readOnly": true, "type": "string", "name": "policyVersion"}]}, {"readOnly": true, "type": "@UserFacingError_read", "name": "protectionErrorDetails"}, {"type": "object", "name": "protectionStatus", "props": [{"type": "object", "name": "errorDetails", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionStopped"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.xml new file mode 100644 index 000000000..810183edd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2Vz/2023-05-01.xml @@ -0,0 +1,263 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.json new file mode 100644 index 000000000..b8158af13 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "show", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupInstances_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "currentProtectionState", "enum": {"items": [{"value": "BackupSchedulesSuspended"}, {"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "Invalid"}, {"value": "NotProtected"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionError"}, {"value": "ProtectionStopped"}, {"value": "RetentionSchedulesSuspended"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}, {"value": "UpdatingProtection"}]}}, {"type": "object", "name": "dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "object", "name": "resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true}], "cls": "BaseResourceProperties_read"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "@BaseResourceProperties_read", "name": "resourceProperties"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri"}, {"type": "string", "name": "value"}]}]}]}, {"type": "string", "name": "friendlyName"}, {"type": "object", "name": "identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true}, {"type": "object", "name": "policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "required": true}, {"type": "object", "name": "policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "BlobBackupDatasourceParameters"}, {"value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId"}]}]}}]}, {"readOnly": true, "type": "string", "name": "policyVersion"}]}, {"readOnly": true, "type": "@UserFacingError_read", "name": "protectionErrorDetails"}, {"type": "object", "name": "protectionStatus", "props": [{"type": "object", "name": "errorDetails", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionStopped"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupInstances_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Proxy Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.dataSourceInfo", "options": ["data-source-info"], "group": "Properties", "help": {"short": "Gets or sets the data source information."}, "args": [{"type": "string", "var": "$parameters.properties.dataSourceInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "object", "var": "$parameters.properties.dataSourceInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"type": "string", "var": "@BaseResourceProperties_create.objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of the specific object - used for deserializing"}}], "cls": "BaseResourceProperties_create"}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.properties.dataSourceSetInfo", "options": ["data-source-set-info"], "group": "Properties", "help": {"short": "Gets or sets the data source set information."}, "args": [{"type": "string", "var": "$parameters.properties.dataSourceSetInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "@BaseResourceProperties_create", "var": "$parameters.properties.dataSourceSetInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.properties.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "group": "Properties", "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"type": "object", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "required": true, "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}]}, {"type": "string", "var": "$parameters.properties.friendlyName", "options": ["friendly-name"], "group": "Properties", "help": {"short": "Gets or sets the Backup Instance friendly name."}}, {"type": "object", "var": "$parameters.properties.identityDetails", "options": ["identity-details"], "group": "Properties", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"type": "boolean", "var": "$parameters.properties.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"type": "string", "var": "$parameters.properties.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}, {"type": "string", "var": "$parameters.properties.objectType", "options": ["object-type"], "group": "Properties"}, {"type": "object", "var": "$parameters.properties.policyInfo", "options": ["policy-info"], "group": "Properties", "help": {"short": "Gets or sets the policy information."}, "args": [{"type": "string", "var": "$parameters.properties.policyInfo.policyId", "options": ["policy-id"], "required": true}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters", "options": ["policy-parameters"], "help": {"short": "Policy parameters for the backup instance"}, "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList", "options": ["backup-datasource-parameters-list"], "help": {"short": "Gets or sets the Backup Data Source Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "options": ["blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "required": true, "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "options": ["kubernetes-cluster-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "options": ["backup-hook-references"], "help": {"short": "Gets or sets the backup hook references. This property sets the hook reference to be executed during backup."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name", "options": ["name"], "help": {"short": "Name of the resource"}}, {"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace", "options": ["namespace"], "help": {"short": "Namespace in which the resource exists"}}]}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "options": ["excluded-namespaces"], "help": {"short": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "options": ["excluded-resource-types"], "help": {"short": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "options": ["include-cluster-scope-resources"], "required": true, "help": {"short": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore."}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "options": ["included-namespaces"], "help": {"short": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "options": ["included-resource-types"], "help": {"short": "Gets or sets the include resource types property. This property sets the resource types to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "options": ["label-selectors"], "help": {"short": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "options": ["snapshot-volumes"], "required": true, "help": {"short": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore."}}]}]}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList", "options": ["data-store-parameters-list"], "help": {"short": "Gets or sets the DataStore Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "options": ["azure-operational-store-parameters"], "args": [{"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Gets or sets the Snapshot Resource Group Uri."}}]}, {"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "options": ["data-store-type"], "required": true, "help": {"short": "type of datastore; Operational/Vault/Archive"}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}]}}]}]}, {"type": "string", "var": "$parameters.properties.validationType", "options": ["validation-type"], "group": "Properties", "help": {"short": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again."}, "enum": {"items": [{"name": "DeepValidation", "value": "DeepValidation"}, {"name": "ShallowValidation", "value": "ShallowValidation"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupInstances_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "dataSourceInfo", "arg": "$parameters.properties.dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.properties.dataSourceInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.dataSourceInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.properties.dataSourceInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.properties.dataSourceInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.properties.dataSourceInfo.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "$parameters.properties.dataSourceInfo.resourceProperties", "props": [{"type": "string", "name": "objectType", "arg": "@BaseResourceProperties_create.objectType", "required": true}], "cls": "BaseResourceProperties_create"}, {"type": "string", "name": "resourceType", "arg": "$parameters.properties.dataSourceInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.properties.dataSourceInfo.resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "arg": "$parameters.properties.dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.properties.dataSourceSetInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.dataSourceSetInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.properties.dataSourceSetInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.properties.dataSourceSetInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.properties.dataSourceSetInfo.resourceName"}, {"type": "@BaseResourceProperties_create", "name": "resourceProperties", "arg": "$parameters.properties.dataSourceSetInfo.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "$parameters.properties.dataSourceSetInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.properties.dataSourceSetInfo.resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.properties.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}]}, {"type": "string", "name": "friendlyName", "arg": "$parameters.properties.friendlyName"}, {"type": "object", "name": "identityDetails", "arg": "$parameters.properties.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.properties.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.properties.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.objectType", "required": true}, {"type": "object", "name": "policyInfo", "arg": "$parameters.properties.policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "arg": "$parameters.properties.policyInfo.policyId", "required": true}, {"type": "object", "name": "policyParameters", "arg": "$parameters.properties.policyInfo.policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "value": "BlobBackupDatasourceParameters"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name"}, {"type": "string", "name": "namespace", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "labelSelectors", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId"}]}]}}]}]}, {"type": "string", "name": "validationType", "arg": "$parameters.properties.validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "currentProtectionState", "enum": {"items": [{"value": "BackupSchedulesSuspended"}, {"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "Invalid"}, {"value": "NotProtected"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionError"}, {"value": "ProtectionStopped"}, {"value": "RetentionSchedulesSuspended"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}, {"value": "UpdatingProtection"}]}}, {"type": "object", "name": "dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "object", "name": "resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true}], "cls": "BaseResourceProperties_read"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "@BaseResourceProperties_read", "name": "resourceProperties"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri"}, {"type": "string", "name": "value"}]}]}]}, {"type": "string", "name": "friendlyName"}, {"type": "object", "name": "identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true}, {"type": "object", "name": "policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "required": true}, {"type": "object", "name": "policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "BlobBackupDatasourceParameters"}, {"value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId"}]}]}}]}, {"readOnly": true, "type": "string", "name": "policyVersion"}]}, {"readOnly": true, "type": "@UserFacingError_read", "name": "protectionErrorDetails"}, {"type": "object", "name": "protectionStatus", "props": [{"type": "object", "name": "errorDetails", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionStopped"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Proxy Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.dataSourceInfo", "options": ["data-source-info"], "group": "Properties", "help": {"short": "Gets or sets the data source information."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceID", "options": ["resource-id"], "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.dataSourceInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"type": "string", "var": "@BaseResourceProperties_update.objectType", "options": ["object-type"], "help": {"short": "Type of the specific object - used for deserializing"}}], "cls": "BaseResourceProperties_update"}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.dataSourceSetInfo", "options": ["data-source-set-info"], "group": "Properties", "help": {"short": "Gets or sets the data source set information."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceID", "options": ["resource-id"], "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"nullable": true, "type": "@BaseResourceProperties_update", "var": "$parameters.properties.dataSourceSetInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.datasourceAuthCredentials", "options": ["datasource-auth-creds", "datasource-auth-credentials"], "group": "Properties", "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.friendlyName", "options": ["friendly-name"], "group": "Properties", "help": {"short": "Gets or sets the Backup Instance friendly name."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.identityDetails", "options": ["identity-details"], "group": "Properties", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}, {"type": "string", "var": "$parameters.properties.objectType", "options": ["object-type"], "group": "Properties", "help": {"short": "Type of Backup or Restore Instance for request body."}}, {"type": "object", "var": "$parameters.properties.policyInfo", "options": ["policy-info"], "group": "Properties", "help": {"short": "Gets or sets the policy information."}, "args": [{"type": "string", "var": "$parameters.properties.policyInfo.policyId", "options": ["policy-id"]}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.validationType", "options": ["validation-type"], "group": "Properties", "help": {"short": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again."}, "enum": {"items": [{"name": "DeepValidation", "value": "DeepValidation"}, {"name": "ShallowValidation", "value": "ShallowValidation"}]}}]}], "operations": [{"operationId": "BackupInstances_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "currentProtectionState", "enum": {"items": [{"value": "BackupSchedulesSuspended"}, {"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "Invalid"}, {"value": "NotProtected"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionError"}, {"value": "ProtectionStopped"}, {"value": "RetentionSchedulesSuspended"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}, {"value": "UpdatingProtection"}]}}, {"type": "object", "name": "dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "object", "name": "resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true}], "cls": "BaseResourceProperties_read"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "@BaseResourceProperties_read", "name": "resourceProperties"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri"}, {"type": "string", "name": "value"}]}]}]}, {"type": "string", "name": "friendlyName"}, {"type": "object", "name": "identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true}, {"type": "object", "name": "policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "required": true}, {"type": "object", "name": "policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "BlobBackupDatasourceParameters"}, {"value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId"}]}]}}]}, {"readOnly": true, "type": "string", "name": "policyVersion"}]}, {"readOnly": true, "type": "@UserFacingError_read", "name": "protectionErrorDetails"}, {"type": "object", "name": "protectionStatus", "props": [{"type": "object", "name": "errorDetails", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionStopped"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "BackupInstanceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "dataSourceInfo", "arg": "$parameters.properties.dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.properties.dataSourceInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.dataSourceInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.properties.dataSourceInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.properties.dataSourceInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.properties.dataSourceInfo.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "$parameters.properties.dataSourceInfo.resourceProperties", "props": [{"type": "string", "name": "objectType", "arg": "@BaseResourceProperties_update.objectType", "required": true}], "cls": "BaseResourceProperties_update"}, {"type": "string", "name": "resourceType", "arg": "$parameters.properties.dataSourceInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.properties.dataSourceInfo.resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "arg": "$parameters.properties.dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.properties.dataSourceSetInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.dataSourceSetInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.properties.dataSourceSetInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.properties.dataSourceSetInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.properties.dataSourceSetInfo.resourceName"}, {"type": "@BaseResourceProperties_update", "name": "resourceProperties", "arg": "$parameters.properties.dataSourceSetInfo.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "$parameters.properties.dataSourceSetInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.properties.dataSourceSetInfo.resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.properties.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}]}, {"type": "string", "name": "friendlyName", "arg": "$parameters.properties.friendlyName"}, {"type": "object", "name": "identityDetails", "arg": "$parameters.properties.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.properties.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.properties.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.objectType", "required": true}, {"type": "object", "name": "policyInfo", "arg": "$parameters.properties.policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "arg": "$parameters.properties.policyInfo.policyId", "required": true}]}, {"type": "string", "name": "validationType", "arg": "$parameters.properties.validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupInstances_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BackupInstanceResource_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml new file mode 100644 index 000000000..0a22dfd06 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2023-05-01.xml @@ -0,0 +1,1373 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.json new file mode 100644 index 000000000..5a214a2ab --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/backup", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9iYWNrdXA=/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "adhoc-backup", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/backup", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9iYWNrdXA=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "Backup Rule Options", "args": [{"type": "string", "var": "$parameters.backupRuleOptions.ruleName", "options": ["rule-name"], "required": true, "group": "Backup Rule Options", "help": {"short": "Specify backup policy rule name."}}]}, {"name": "Backup Rule Options Trigger Option", "args": [{"type": "string", "var": "$parameters.backupRuleOptions.triggerOption.retentionTagOverride", "options": ["retention-tag-override"], "group": "Backup Rule Options Trigger Option", "help": {"short": "Specify retention override tag."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_AdhocBackup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "backupRuleOptions", "required": true, "props": [{"type": "string", "name": "ruleName", "arg": "$parameters.backupRuleOptions.ruleName", "required": true}, {"type": "object", "name": "triggerOption", "required": true, "props": [{"type": "string", "name": "retentionTagOverride", "arg": "$parameters.backupRuleOptions.triggerOption.retentionTagOverride"}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "jobId"}, {"const": true, "default": {"value": "OperationJobExtendedInfo"}, "type": "string", "name": "objectType", "required": true}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.xml new file mode 100644 index 000000000..fff63fd81 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2JhY2t1cA==/2023-05-01.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.json new file mode 100644 index 000000000..8dff31f13 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/findrestorabletimeranges", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9maW5kUmVzdG9yYWJsZVRpbWVSYW5nZXM=/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection restorable-time-range", "commands": [{"name": "find", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/findrestorabletimeranges", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9maW5kUmVzdG9yYWJsZVRpbWVSYW5nZXM=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$parameters.endTime", "options": ["end-time"], "group": "", "help": {"short": "End time for the List Restore Ranges request. ISO 8601 format."}}, {"type": "string", "var": "$parameters.sourceDataStoreType", "options": ["source-data-store-type"], "required": true, "group": "", "help": {"short": "Gets or sets the type of the source data store."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "$parameters.startTime", "options": ["start-time"], "group": "", "help": {"short": "Start time for the List Restore Ranges request. ISO 8601 format."}}]}, {"name": "Resource Id", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["backup-instance-name"], "required": true, "group": "Resource Id", "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "group": "Resource Id", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "RestorableTimeRanges_Find", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/findRestorableTimeRanges", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "endTime", "arg": "$parameters.endTime"}, {"type": "string", "name": "sourceDataStoreType", "arg": "$parameters.sourceDataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "startTime", "arg": "$parameters.startTime"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "objectType"}, {"type": "array", "name": "restorableTimeRanges", "item": {"type": "object", "props": [{"type": "string", "name": "endTime", "required": true}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "startTime", "required": true}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.xml new file mode 100644 index 000000000..8efe0780d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L2ZpbmRyZXN0b3JhYmxldGltZXJhbmdlcw==/2023-05-01.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.json new file mode 100644 index 000000000..965fa1db8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/recoverypoints", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9yZWNvdmVyeVBvaW50cw==/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection recovery-point", "commands": [{"name": "list", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/recoverypoints", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9yZWNvdmVyeVBvaW50cw==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter options."}}, {"type": "string", "var": "$Query.skipToken", "options": ["skip-token"], "help": {"short": "skipToken Filter."}}]}], "operations": [{"operationId": "RecoveryPoints_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$skipToken", "arg": "$Query.skipToken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/backupVaults/{}/backupInstances/{}/recoveryPoints/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupDiscreteRecoveryPoint"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupDiscreteRecoveryPoint", "props": [{"readOnly": true, "type": "dateTime", "name": "expiryTime"}, {"type": "string", "name": "friendlyName"}, {"type": "string", "name": "policyName"}, {"type": "string", "name": "policyVersion"}, {"type": "array", "name": "recoveryPointDataStoresDetails", "item": {"type": "object", "props": [{"type": "dateTime", "name": "creationTime"}, {"type": "dateTime", "name": "expiryTime"}, {"type": "string", "name": "id"}, {"type": "string", "name": "metaData"}, {"readOnly": true, "type": "dateTime", "name": "rehydrationExpiryTime"}, {"readOnly": true, "type": "string", "name": "rehydrationStatus", "enum": {"items": [{"value": "COMPLETED"}, {"value": "CREATE_IN_PROGRESS"}, {"value": "DELETED"}, {"value": "DELETE_IN_PROGRESS"}, {"value": "FAILED"}]}}, {"type": "string", "name": "state"}, {"type": "string", "name": "type"}, {"type": "boolean", "name": "visible"}]}}, {"type": "string", "name": "recoveryPointId"}, {"type": "dateTime", "name": "recoveryPointTime", "required": true}, {"type": "string", "name": "recoveryPointType"}, {"type": "string", "name": "retentionTagName"}, {"type": "string", "name": "retentionTagVersion"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.xml new file mode 100644 index 000000000..8235a2a84 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRz/2023-05-01.xml @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.json new file mode 100644 index 000000000..decb9c3c3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/recoverypoints/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9yZWNvdmVyeVBvaW50cy97cmVjb3ZlcnlQb2ludElkfQ==/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection recovery-point", "commands": [{"name": "show", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/recoverypoints/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9yZWNvdmVyeVBvaW50cy97cmVjb3ZlcnlQb2ludElkfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource Id Arguments", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["backup-instance-name"], "required": true, "group": "Resource Id Arguments", "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "string", "var": "$Path.recoveryPointId", "options": ["recovery-point-id"], "required": true, "group": "Resource Id Arguments", "idPart": "child_name_2", "help": {"short": "Id of the recovery point."}}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "group": "Resource Id Arguments", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "RecoveryPoints_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "recoveryPointId", "arg": "$Path.recoveryPointId", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/backupVaults/{}/backupInstances/{}/recoveryPoints/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupDiscreteRecoveryPoint"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupDiscreteRecoveryPoint", "props": [{"readOnly": true, "type": "dateTime", "name": "expiryTime"}, {"type": "string", "name": "friendlyName"}, {"type": "string", "name": "policyName"}, {"type": "string", "name": "policyVersion"}, {"type": "array", "name": "recoveryPointDataStoresDetails", "item": {"type": "object", "props": [{"type": "dateTime", "name": "creationTime"}, {"type": "dateTime", "name": "expiryTime"}, {"type": "string", "name": "id"}, {"type": "string", "name": "metaData"}, {"readOnly": true, "type": "dateTime", "name": "rehydrationExpiryTime"}, {"readOnly": true, "type": "string", "name": "rehydrationStatus", "enum": {"items": [{"value": "COMPLETED"}, {"value": "CREATE_IN_PROGRESS"}, {"value": "DELETED"}, {"value": "DELETE_IN_PROGRESS"}, {"value": "FAILED"}]}}, {"type": "string", "name": "state"}, {"type": "string", "name": "type"}, {"type": "boolean", "name": "visible"}]}}, {"type": "string", "name": "recoveryPointId"}, {"type": "dateTime", "name": "recoveryPointTime", "required": true}, {"type": "string", "name": "recoveryPointType"}, {"type": "string", "name": "retentionTagName"}, {"type": "string", "name": "retentionTagVersion"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.xml new file mode 100644 index 000000000..170b14077 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3JlY292ZXJ5cG9pbnRzL3t9/2023-05-01.xml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.json new file mode 100644 index 000000000..d184e771a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/restore", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9yZXN0b3Jl/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance restore", "commands": [{"name": "trigger", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/restore", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9yZXN0b3Jl/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.identityDetails", "options": ["identity-details"], "group": "Parameters", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"type": "boolean", "var": "$parameters.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"type": "string", "var": "$parameters.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.AzureBackupRecoveryPointBasedRestoreRequest", "options": ["azure-backup-recovery-point-based-restore-request"], "group": "Properties", "help": {"short": "-"}, "args": [{"type": "string", "var": "$parameters.AzureBackupRecoveryPointBasedRestoreRequest.recoveryPointId", "options": ["recovery-point-id"], "required": true}]}, {"type": "object", "var": "$parameters.AzureBackupRecoveryTimeBasedRestoreRequest", "options": ["azure-backup-recovery-time-based-restore-request"], "group": "Properties", "help": {"short": "-"}, "args": [{"type": "string", "var": "$parameters.AzureBackupRecoveryTimeBasedRestoreRequest.recoveryPointTime", "options": ["recovery-point-time"], "required": true, "help": {"short": "The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z."}}]}, {"type": "object", "var": "$parameters.AzureBackupRestoreWithRehydrationRequest", "options": ["azure-backup-restore-with-rehydration-request"], "group": "Properties", "help": {"short": "-"}, "args": [{"type": "string", "var": "$parameters.AzureBackupRestoreWithRehydrationRequest.recoveryPointId", "options": ["recovery-point-id"], "required": true}, {"type": "string", "var": "$parameters.AzureBackupRestoreWithRehydrationRequest.rehydrationPriority", "options": ["rehydration-priority"], "required": true, "help": {"short": "Priority to be used for rehydration. Values High or Standard"}, "enum": {"items": [{"name": "High", "value": "High"}, {"name": "Invalid", "value": "Invalid"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.AzureBackupRestoreWithRehydrationRequest.rehydrationRetentionDuration", "options": ["rehydration-retention-duration"], "required": true, "help": {"short": "Retention duration in ISO 8601 format i.e P10D ."}}]}, {"type": "object", "var": "$parameters.restoreTargetInfo", "options": ["restore-target-info"], "required": true, "group": "Properties", "help": {"short": "Gets or sets the restore target information."}, "args": [{"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo", "options": ["item-level-restore-target-info"], "args": [{"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "group": "ItemLevelRestoreTargetInfo", "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"type": "object", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "required": true, "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"type": "string", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}], "cls": "AuthCredentials_create"}, {"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceInfo", "options": ["datasource-info"], "required": true, "group": "ItemLevelRestoreTargetInfo", "help": {"short": "Information of target DS"}, "args": [{"type": "string", "var": "@Datasource_create.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "@Datasource_create.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "@Datasource_create.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "@Datasource_create.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "@Datasource_create.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "object", "var": "@Datasource_create.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"type": "string", "var": "@BaseResourceProperties_create.objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of the specific object - used for deserializing"}}], "cls": "BaseResourceProperties_create"}, {"type": "string", "var": "@Datasource_create.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "@Datasource_create.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}], "cls": "Datasource_create"}, {"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceSetInfo", "options": ["datasource-set-info"], "group": "ItemLevelRestoreTargetInfo", "help": {"short": "Information of target DS Set"}, "args": [{"type": "string", "var": "@DatasourceSet_create.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "@DatasourceSet_create.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "@DatasourceSet_create.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "@DatasourceSet_create.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "@DatasourceSet_create.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "@BaseResourceProperties_create", "var": "@DatasourceSet_create.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"type": "string", "var": "@DatasourceSet_create.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "@DatasourceSet_create.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}], "cls": "DatasourceSet_create"}, {"type": "array", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria", "options": ["restore-criteria"], "required": true, "group": "ItemLevelRestoreTargetInfo", "help": {"short": "Restore Criteria"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria", "options": ["item-path-based-restore-criteria"], "args": [{"type": "boolean", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.isPathRelativeToBackupItem", "options": ["is-path-relative-to-backup-item"], "required": true, "help": {"short": "Flag to specify if the path is relative to backup item or full path"}}, {"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.itemPath", "options": ["item-path"], "required": true, "help": {"short": "The path of the item to be restored. It could be the full path of the item or the path relative to the backup item"}}, {"type": "array", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.subItemPathPrefix", "options": ["sub-item-path-prefix"], "help": {"short": "The list of prefix strings to be used as filter criteria during restore. These are relative to the item path specified."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria", "options": ["kubernetes-cluster-restore-criteria"], "args": [{"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.conflictPolicy", "options": ["conflict-policy"], "help": {"short": "Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore."}, "enum": {"items": [{"name": "Patch", "value": "Patch"}, {"name": "Skip", "value": "Skip"}]}}, {"type": "array", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.excludedNamespaces", "options": ["excluded-namespaces"], "help": {"short": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.excludedResourceTypes", "options": ["excluded-resource-types"], "help": {"short": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includeClusterScopeResources", "options": ["include-cluster-scope-resources"], "required": true, "help": {"short": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore."}}, {"type": "array", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includedNamespaces", "options": ["included-namespaces"], "help": {"short": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includedResourceTypes", "options": ["included-resource-types"], "help": {"short": "Gets or sets the include resource types property. This property sets the resource types to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.labelSelectors", "options": ["label-selectors"], "help": {"short": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore."}, "item": {"type": "string"}}, {"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.namespaceMappings", "options": ["namespace-mappings"], "help": {"short": "Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.persistentVolumeRestoreMode", "options": ["persistent-volume-restore-mode"], "help": {"short": "Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored."}, "enum": {"items": [{"name": "RestoreWithVolumeData", "value": "RestoreWithVolumeData"}, {"name": "RestoreWithoutVolumeData", "value": "RestoreWithoutVolumeData"}]}}, {"type": "array", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences", "options": ["restore-hook-references"], "help": {"short": "Gets or sets the restore hook references. This property sets the hook reference to be executed during restore."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences[].name", "options": ["name"], "help": {"short": "Name of the resource"}}, {"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences[].namespace", "options": ["namespace"], "help": {"short": "Namespace in which the resource exists"}}]}}]}, {"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria", "options": ["kubernetes-pv-restore-criteria"], "args": [{"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria.name", "options": ["name"], "help": {"short": "Selected persistent volume claim name"}}, {"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria.storageClassName", "options": ["storage-class-name"], "help": {"short": "Selected storage class name for restore operation"}}]}, {"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria", "options": ["kubernetes-storage-class-restore-criteria"], "args": [{"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria.provisioner", "options": ["provisioner"], "help": {"short": "Provisioner of the storage class"}}, {"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria.selectedStorageClassName", "options": ["selected-storage-class-name"], "help": {"short": "Selected storage class name"}}]}, {"type": "object", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria", "options": ["range-based-item-level-restore-criteria"], "args": [{"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria.maxMatchingValue", "options": ["max-matching-value"], "help": {"short": "maximum value for range prefix match"}}, {"type": "string", "var": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria.minMatchingValue", "options": ["min-matching-value"], "help": {"short": "minimum value for range prefix match"}}]}]}}]}, {"type": "object", "var": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo", "options": ["restore-files-target-info"], "args": [{"type": "object", "var": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails", "options": ["target-details"], "required": true, "help": {"short": "Destination of RestoreAsFiles operation, when destination is not a datasource"}, "args": [{"type": "string", "var": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.filePrefix", "options": ["file-prefix"], "required": true, "group": "", "help": {"short": "Restore operation may create multiple files inside location pointed by Url Below will be the common prefix for all of them"}}, {"type": "string", "var": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.restoreTargetLocationType", "options": ["restore-target-location-type"], "required": true, "group": "", "help": {"short": "Denotes the target location where the data will be restored, string value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}"}, "enum": {"items": [{"name": "AzureBlobs", "value": "AzureBlobs"}, {"name": "AzureFiles", "value": "AzureFiles"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.targetResourceArmId", "options": ["target-resource-arm-id"], "group": "", "help": {"short": "Full ARM Id denoting the restore destination. It is the ARM Id pointing to container / file share This is optional if the target subscription can be identified with the URL field. If not then this is needed if CrossSubscriptionRestore field of BackupVault is in any of the disabled states"}}, {"type": "string", "var": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.url", "options": ["url"], "required": true, "help": {"short": "Url denoting the restore destination. It can point to container / file share etc"}}]}]}, {"type": "object", "var": "$parameters.restoreTargetInfo.RestoreTargetInfo", "options": ["restore-target-info"], "args": [{"type": "@AuthCredentials_create", "var": "$parameters.restoreTargetInfo.RestoreTargetInfo.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "group": "RestoreTargetInfo", "help": {"short": "Credentials to use to authenticate with data source provider."}}, {"type": "@Datasource_create", "var": "$parameters.restoreTargetInfo.RestoreTargetInfo.datasourceInfo", "options": ["datasource-info"], "required": true, "group": "RestoreTargetInfo", "help": {"short": "Information of target DS"}}, {"type": "@DatasourceSet_create", "var": "$parameters.restoreTargetInfo.RestoreTargetInfo.datasourceSetInfo", "options": ["datasource-set-info"], "group": "RestoreTargetInfo", "help": {"short": "Information of target DS Set"}}]}, {"type": "string", "var": "$parameters.restoreTargetInfo.recoveryOption", "options": ["recovery-option"], "required": true, "help": {"short": "Recovery Option"}, "enum": {"items": [{"name": "FailIfExists", "value": "FailIfExists"}]}}, {"type": "string", "var": "$parameters.restoreTargetInfo.restoreLocation", "options": ["restore-location"], "help": {"short": "Target Restore region"}}]}, {"type": "string", "var": "$parameters.sourceDataStoreType", "options": ["source-data-store-type"], "required": true, "group": "Properties", "help": {"short": "Gets or sets the type of the source data store."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "SnapshotStore", "value": "SnapshotStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "$parameters.sourceResourceId", "options": ["source-resource-id"], "group": "Properties", "help": {"short": "Fully qualified Azure Resource Manager ID of the datasource which is being recovered."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_TriggerRestore", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "identityDetails", "arg": "$parameters.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.AzureBackupRecoveryPointBasedRestoreRequest", "value": "AzureBackupRecoveryPointBasedRestoreRequest"}, {"arg": "$parameters.AzureBackupRecoveryTimeBasedRestoreRequest", "value": "AzureBackupRecoveryTimeBasedRestoreRequest"}, {"arg": "$parameters.AzureBackupRestoreWithRehydrationRequest", "value": "AzureBackupRestoreWithRehydrationRequest"}]}}, {"type": "object", "name": "restoreTargetInfo", "arg": "$parameters.restoreTargetInfo", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo", "value": "ItemLevelRestoreTargetInfo"}, {"arg": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo", "value": "RestoreFilesTargetInfo"}, {"arg": "$parameters.restoreTargetInfo.RestoreTargetInfo", "value": "RestoreTargetInfo"}]}}, {"type": "string", "name": "recoveryOption", "arg": "$parameters.restoreTargetInfo.recoveryOption", "required": true, "enum": {"items": [{"value": "FailIfExists"}]}}, {"type": "string", "name": "restoreLocation", "arg": "$parameters.restoreTargetInfo.restoreLocation"}], "discriminators": [{"property": "objectType", "value": "ItemLevelRestoreTargetInfo", "props": [{"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}], "cls": "AuthCredentials_create"}, {"type": "object", "name": "datasourceInfo", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "@Datasource_create.datasourceType"}, {"type": "string", "name": "objectType", "arg": "@Datasource_create.objectType"}, {"type": "string", "name": "resourceID", "arg": "@Datasource_create.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "@Datasource_create.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "@Datasource_create.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "@Datasource_create.resourceProperties", "props": [{"type": "string", "name": "objectType", "arg": "@BaseResourceProperties_create.objectType", "required": true}], "cls": "BaseResourceProperties_create"}, {"type": "string", "name": "resourceType", "arg": "@Datasource_create.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "@Datasource_create.resourceUri"}], "cls": "Datasource_create"}, {"type": "object", "name": "datasourceSetInfo", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "@DatasourceSet_create.datasourceType"}, {"type": "string", "name": "objectType", "arg": "@DatasourceSet_create.objectType"}, {"type": "string", "name": "resourceID", "arg": "@DatasourceSet_create.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "@DatasourceSet_create.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "@DatasourceSet_create.resourceName"}, {"type": "@BaseResourceProperties_create", "name": "resourceProperties", "arg": "@DatasourceSet_create.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "@DatasourceSet_create.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "@DatasourceSet_create.resourceUri"}], "cls": "DatasourceSet_create"}, {"type": "array", "name": "restoreCriteria", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria", "value": "ItemPathBasedRestoreCriteria"}, {"arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria", "value": "KubernetesClusterRestoreCriteria"}, {"arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria", "value": "KubernetesPVRestoreCriteria"}, {"arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria", "value": "KubernetesStorageClassRestoreCriteria"}, {"arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria", "value": "RangeBasedItemLevelRestoreCriteria"}]}}], "discriminators": [{"property": "objectType", "value": "ItemPathBasedRestoreCriteria", "props": [{"type": "boolean", "name": "isPathRelativeToBackupItem", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.isPathRelativeToBackupItem", "required": true}, {"type": "string", "name": "itemPath", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.itemPath", "required": true}, {"type": "array", "name": "subItemPathPrefix", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.subItemPathPrefix", "item": {"type": "string"}}]}, {"property": "objectType", "value": "KubernetesClusterRestoreCriteria", "props": [{"type": "string", "name": "conflictPolicy", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.conflictPolicy", "enum": {"items": [{"value": "Patch"}, {"value": "Skip"}]}}, {"type": "array", "name": "excludedNamespaces", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "labelSelectors", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.labelSelectors", "item": {"type": "string"}}, {"type": "object", "name": "namespaceMappings", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.namespaceMappings", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "persistentVolumeRestoreMode", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.persistentVolumeRestoreMode", "enum": {"items": [{"value": "RestoreWithVolumeData"}, {"value": "RestoreWithoutVolumeData"}]}}, {"type": "array", "name": "restoreHookReferences", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences[].name"}, {"type": "string", "name": "namespace", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences[].namespace"}]}}]}, {"property": "objectType", "value": "KubernetesPVRestoreCriteria", "props": [{"type": "string", "name": "name", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria.name"}, {"type": "string", "name": "storageClassName", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria.storageClassName"}]}, {"property": "objectType", "value": "KubernetesStorageClassRestoreCriteria", "props": [{"type": "string", "name": "provisioner", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria.provisioner"}, {"type": "string", "name": "selectedStorageClassName", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria.selectedStorageClassName"}]}, {"property": "objectType", "value": "RangeBasedItemLevelRestoreCriteria", "props": [{"type": "string", "name": "maxMatchingValue", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria.maxMatchingValue"}, {"type": "string", "name": "minMatchingValue", "arg": "$parameters.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria.minMatchingValue"}]}]}}]}, {"property": "objectType", "value": "RestoreFilesTargetInfo", "props": [{"type": "object", "name": "targetDetails", "arg": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails", "required": true, "props": [{"type": "string", "name": "filePrefix", "arg": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.filePrefix", "required": true}, {"type": "string", "name": "restoreTargetLocationType", "arg": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.restoreTargetLocationType", "required": true, "enum": {"items": [{"value": "AzureBlobs"}, {"value": "AzureFiles"}, {"value": "Invalid"}]}}, {"type": "string", "name": "targetResourceArmId", "arg": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.targetResourceArmId"}, {"type": "string", "name": "url", "arg": "$parameters.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.url", "required": true}]}]}, {"property": "objectType", "value": "RestoreTargetInfo", "props": [{"type": "@AuthCredentials_create", "name": "datasourceAuthCredentials", "arg": "$parameters.restoreTargetInfo.RestoreTargetInfo.datasourceAuthCredentials"}, {"type": "@Datasource_create", "name": "datasourceInfo", "arg": "$parameters.restoreTargetInfo.RestoreTargetInfo.datasourceInfo", "required": true}, {"type": "@DatasourceSet_create", "name": "datasourceSetInfo", "arg": "$parameters.restoreTargetInfo.RestoreTargetInfo.datasourceSetInfo"}]}]}, {"type": "string", "name": "sourceDataStoreType", "arg": "$parameters.sourceDataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "SnapshotStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "sourceResourceId", "arg": "$parameters.sourceResourceId"}], "discriminators": [{"property": "objectType", "value": "AzureBackupRecoveryPointBasedRestoreRequest", "props": [{"type": "string", "name": "recoveryPointId", "arg": "$parameters.AzureBackupRecoveryPointBasedRestoreRequest.recoveryPointId", "required": true}]}, {"property": "objectType", "value": "AzureBackupRecoveryTimeBasedRestoreRequest", "props": [{"type": "string", "name": "recoveryPointTime", "arg": "$parameters.AzureBackupRecoveryTimeBasedRestoreRequest.recoveryPointTime", "required": true}]}, {"property": "objectType", "value": "AzureBackupRestoreWithRehydrationRequest", "props": [{"type": "string", "name": "recoveryPointId", "arg": "$parameters.AzureBackupRestoreWithRehydrationRequest.recoveryPointId", "required": true}, {"type": "string", "name": "rehydrationPriority", "arg": "$parameters.AzureBackupRestoreWithRehydrationRequest.rehydrationPriority", "required": true, "enum": {"items": [{"value": "High"}, {"value": "Invalid"}, {"value": "Standard"}]}}, {"type": "string", "name": "rehydrationRetentionDuration", "arg": "$parameters.AzureBackupRestoreWithRehydrationRequest.rehydrationRetentionDuration", "required": true}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "jobId"}, {"const": true, "default": {"value": "OperationJobExtendedInfo"}, "type": "string", "name": "objectType", "required": true}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.xml new file mode 100644 index 000000000..4ac07bbd8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3RvcmU=/2023-05-01.xml @@ -0,0 +1,532 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.json new file mode 100644 index 000000000..bba2579d6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/resumeprotection", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9yZXN1bWVQcm90ZWN0aW9u/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "resume-protection", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/resumeprotection", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9yZXN1bWVQcm90ZWN0aW9u/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupInstances_ResumeProtection", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeProtection", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.xml new file mode 100644 index 000000000..ad792bda2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3Jlc3VtZXByb3RlY3Rpb24=/2023-05-01.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.json new file mode 100644 index 000000000..e0e176097 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/stopprotection", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9zdG9wUHJvdGVjdGlvbg==/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "stop-protection", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/stopprotection", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9zdG9wUHJvdGVjdGlvbg==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupInstances_StopProtection", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.xml new file mode 100644 index 000000000..c1cb5cc6e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N0b3Bwcm90ZWN0aW9u/2023-05-01.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.json new file mode 100644 index 000000000..4872d7df8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/suspendbackups", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9zdXNwZW5kQmFja3Vwcw==/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "suspend-backup", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/suspendbackups", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS9zdXNwZW5kQmFja3Vwcw==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupInstances_SuspendBackups", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.xml new file mode 100644 index 000000000..62ccc3122 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3N1c3BlbmRiYWNrdXBz/2023-05-01.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.json new file mode 100644 index 000000000..90b7855eb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/validaterestore", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS92YWxpZGF0ZVJlc3RvcmU=/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "validate-for-restore", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/validaterestore", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS92YWxpZGF0ZVJlc3RvcmU=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.restoreRequestObject", "options": ["restore-request-object"], "required": true, "group": "Parameters", "help": {"short": "Gets or sets the restore request object."}, "args": [{"type": "object", "var": "$parameters.restoreRequestObject.AzureBackupRecoveryPointBasedRestoreRequest", "options": ["azure-backup-recovery-point-based-restore-request"], "args": [{"type": "string", "var": "$parameters.restoreRequestObject.AzureBackupRecoveryPointBasedRestoreRequest.recoveryPointId", "options": ["recovery-point-id"], "required": true}]}, {"type": "object", "var": "$parameters.restoreRequestObject.AzureBackupRecoveryTimeBasedRestoreRequest", "options": ["azure-backup-recovery-time-based-restore-request"], "args": [{"type": "string", "var": "$parameters.restoreRequestObject.AzureBackupRecoveryTimeBasedRestoreRequest.recoveryPointTime", "options": ["recovery-point-time"], "required": true, "help": {"short": "The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z."}}]}, {"type": "object", "var": "$parameters.restoreRequestObject.AzureBackupRestoreWithRehydrationRequest", "options": ["azure-backup-restore-with-rehydration-request"], "args": [{"type": "string", "var": "$parameters.restoreRequestObject.AzureBackupRestoreWithRehydrationRequest.recoveryPointId", "options": ["recovery-point-id"], "required": true}, {"type": "string", "var": "$parameters.restoreRequestObject.AzureBackupRestoreWithRehydrationRequest.rehydrationPriority", "options": ["rehydration-priority"], "required": true, "help": {"short": "Priority to be used for rehydration. Values High or Standard"}, "enum": {"items": [{"name": "High", "value": "High"}, {"name": "Invalid", "value": "Invalid"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.restoreRequestObject.AzureBackupRestoreWithRehydrationRequest.rehydrationRetentionDuration", "options": ["rehydration-retention-duration"], "required": true, "help": {"short": "Retention duration in ISO 8601 format i.e P10D ."}}]}, {"type": "object", "var": "$parameters.restoreRequestObject.identityDetails", "options": ["identity-details"], "group": "", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"type": "boolean", "var": "$parameters.restoreRequestObject.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"type": "string", "var": "$parameters.restoreRequestObject.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo", "options": ["restore-target-info"], "required": true, "help": {"short": "Gets or sets the restore target information."}, "args": [{"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo", "options": ["item-level-restore-target-info"], "args": [{"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"type": "object", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "required": true, "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"type": "string", "var": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}], "cls": "AuthCredentials_create"}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceInfo", "options": ["datasource-info"], "required": true, "help": {"short": "Information of target DS"}, "args": [{"type": "string", "var": "@Datasource_create.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "@Datasource_create.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "@Datasource_create.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "@Datasource_create.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "@Datasource_create.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "object", "var": "@Datasource_create.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"type": "string", "var": "@BaseResourceProperties_create.objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of the specific object - used for deserializing"}}], "cls": "BaseResourceProperties_create"}, {"type": "string", "var": "@Datasource_create.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "@Datasource_create.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}], "cls": "Datasource_create"}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceSetInfo", "options": ["datasource-set-info"], "help": {"short": "Information of target DS Set"}, "args": [{"type": "string", "var": "@DatasourceSet_create.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "@DatasourceSet_create.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "@DatasourceSet_create.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "@DatasourceSet_create.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "@DatasourceSet_create.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "@BaseResourceProperties_create", "var": "@DatasourceSet_create.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"type": "string", "var": "@DatasourceSet_create.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "@DatasourceSet_create.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}], "cls": "DatasourceSet_create"}, {"type": "array", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria", "options": ["restore-criteria"], "required": true, "help": {"short": "Restore Criteria"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria", "options": ["item-path-based-restore-criteria"], "args": [{"type": "boolean", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.isPathRelativeToBackupItem", "options": ["is-path-relative-to-backup-item"], "required": true, "help": {"short": "Flag to specify if the path is relative to backup item or full path"}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.itemPath", "options": ["item-path"], "required": true, "help": {"short": "The path of the item to be restored. It could be the full path of the item or the path relative to the backup item"}}, {"type": "array", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.subItemPathPrefix", "options": ["sub-item-path-prefix"], "help": {"short": "The list of prefix strings to be used as filter criteria during restore. These are relative to the item path specified."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria", "options": ["kubernetes-cluster-restore-criteria"], "args": [{"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.conflictPolicy", "options": ["conflict-policy"], "help": {"short": "Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore."}, "enum": {"items": [{"name": "Patch", "value": "Patch"}, {"name": "Skip", "value": "Skip"}]}}, {"type": "array", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.excludedNamespaces", "options": ["excluded-namespaces"], "help": {"short": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.excludedResourceTypes", "options": ["excluded-resource-types"], "help": {"short": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includeClusterScopeResources", "options": ["include-cluster-scope-resources"], "required": true, "help": {"short": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore."}}, {"type": "array", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includedNamespaces", "options": ["included-namespaces"], "help": {"short": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includedResourceTypes", "options": ["included-resource-types"], "help": {"short": "Gets or sets the include resource types property. This property sets the resource types to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.labelSelectors", "options": ["label-selectors"], "help": {"short": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore."}, "item": {"type": "string"}}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.namespaceMappings", "options": ["namespace-mappings"], "help": {"short": "Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.persistentVolumeRestoreMode", "options": ["persistent-volume-restore-mode"], "help": {"short": "Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored."}, "enum": {"items": [{"name": "RestoreWithVolumeData", "value": "RestoreWithVolumeData"}, {"name": "RestoreWithoutVolumeData", "value": "RestoreWithoutVolumeData"}]}}, {"type": "array", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences", "options": ["restore-hook-references"], "help": {"short": "Gets or sets the restore hook references. This property sets the hook reference to be executed during restore."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences[].name", "options": ["name"], "help": {"short": "Name of the resource"}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences[].namespace", "options": ["namespace"], "help": {"short": "Namespace in which the resource exists"}}]}}]}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria", "options": ["kubernetes-pv-restore-criteria"], "args": [{"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria.name", "options": ["name"], "help": {"short": "Selected persistent volume claim name"}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria.storageClassName", "options": ["storage-class-name"], "help": {"short": "Selected storage class name for restore operation"}}]}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria", "options": ["kubernetes-storage-class-restore-criteria"], "args": [{"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria.provisioner", "options": ["provisioner"], "help": {"short": "Provisioner of the storage class"}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria.selectedStorageClassName", "options": ["selected-storage-class-name"], "help": {"short": "Selected storage class name"}}]}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria", "options": ["range-based-item-level-restore-criteria"], "args": [{"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria.maxMatchingValue", "options": ["max-matching-value"], "help": {"short": "maximum value for range prefix match"}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria.minMatchingValue", "options": ["min-matching-value"], "help": {"short": "minimum value for range prefix match"}}]}]}}]}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo", "options": ["restore-files-target-info"], "args": [{"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails", "options": ["target-details"], "required": true, "help": {"short": "Destination of RestoreAsFiles operation, when destination is not a datasource"}, "args": [{"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.filePrefix", "options": ["file-prefix"], "required": true, "group": "", "help": {"short": "Restore operation may create multiple files inside location pointed by Url Below will be the common prefix for all of them"}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.restoreTargetLocationType", "options": ["restore-target-location-type"], "required": true, "group": "", "help": {"short": "Denotes the target location where the data will be restored, string value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}"}, "enum": {"items": [{"name": "AzureBlobs", "value": "AzureBlobs"}, {"name": "AzureFiles", "value": "AzureFiles"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.targetResourceArmId", "options": ["target-resource-arm-id"], "group": "", "help": {"short": "Full ARM Id denoting the restore destination. It is the ARM Id pointing to container / file share. This is optional if the target subscription can be identified with the URL field. If not then this is needed if CrossSubscriptionRestore field of BackupVault is in any of the disabled states"}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.url", "options": ["url"], "required": true, "help": {"short": "Url denoting the restore destination. It can point to container / file share etc"}}]}]}, {"type": "object", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreTargetInfo", "options": ["restore-target-info"], "args": [{"type": "@AuthCredentials_create", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreTargetInfo.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "help": {"short": "Credentials to use to authenticate with data source provider."}}, {"type": "@Datasource_create", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreTargetInfo.datasourceInfo", "options": ["datasource-info"], "required": true, "help": {"short": "Information of target DS"}}, {"type": "@DatasourceSet_create", "var": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreTargetInfo.datasourceSetInfo", "options": ["datasource-set-info"], "help": {"short": "Information of target DS Set"}}]}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.recoveryOption", "options": ["recovery-option"], "required": true, "help": {"short": "Recovery Option"}, "enum": {"items": [{"name": "FailIfExists", "value": "FailIfExists"}]}}, {"type": "string", "var": "$parameters.restoreRequestObject.restoreTargetInfo.restoreLocation", "options": ["restore-location"], "help": {"short": "Target Restore region"}}]}, {"type": "string", "var": "$parameters.restoreRequestObject.sourceDataStoreType", "options": ["source-data-store-type"], "required": true, "help": {"short": "Gets or sets the type of the source data store."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "SnapshotStore", "value": "SnapshotStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "$parameters.restoreRequestObject.sourceResourceId", "options": ["source-resource-id"], "help": {"short": "Fully qualified Azure Resource Manager ID of the datasource which is being recovered."}}]}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_ValidateForRestore", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "restoreRequestObject", "arg": "$parameters.restoreRequestObject", "required": true, "props": [{"type": "object", "name": "identityDetails", "arg": "$parameters.restoreRequestObject.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.restoreRequestObject.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.restoreRequestObject.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.restoreRequestObject.AzureBackupRecoveryPointBasedRestoreRequest", "value": "AzureBackupRecoveryPointBasedRestoreRequest"}, {"arg": "$parameters.restoreRequestObject.AzureBackupRecoveryTimeBasedRestoreRequest", "value": "AzureBackupRecoveryTimeBasedRestoreRequest"}, {"arg": "$parameters.restoreRequestObject.AzureBackupRestoreWithRehydrationRequest", "value": "AzureBackupRestoreWithRehydrationRequest"}]}}, {"type": "object", "name": "restoreTargetInfo", "arg": "$parameters.restoreRequestObject.restoreTargetInfo", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo", "value": "ItemLevelRestoreTargetInfo"}, {"arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo", "value": "RestoreFilesTargetInfo"}, {"arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreTargetInfo", "value": "RestoreTargetInfo"}]}}, {"type": "string", "name": "recoveryOption", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.recoveryOption", "required": true, "enum": {"items": [{"value": "FailIfExists"}]}}, {"type": "string", "name": "restoreLocation", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.restoreLocation"}], "discriminators": [{"property": "objectType", "value": "ItemLevelRestoreTargetInfo", "props": [{"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "@AuthCredentials_create.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}], "cls": "AuthCredentials_create"}, {"type": "object", "name": "datasourceInfo", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "@Datasource_create.datasourceType"}, {"type": "string", "name": "objectType", "arg": "@Datasource_create.objectType"}, {"type": "string", "name": "resourceID", "arg": "@Datasource_create.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "@Datasource_create.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "@Datasource_create.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "@Datasource_create.resourceProperties", "props": [{"type": "string", "name": "objectType", "arg": "@BaseResourceProperties_create.objectType", "required": true}], "cls": "BaseResourceProperties_create"}, {"type": "string", "name": "resourceType", "arg": "@Datasource_create.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "@Datasource_create.resourceUri"}], "cls": "Datasource_create"}, {"type": "object", "name": "datasourceSetInfo", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.datasourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "@DatasourceSet_create.datasourceType"}, {"type": "string", "name": "objectType", "arg": "@DatasourceSet_create.objectType"}, {"type": "string", "name": "resourceID", "arg": "@DatasourceSet_create.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "@DatasourceSet_create.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "@DatasourceSet_create.resourceName"}, {"type": "@BaseResourceProperties_create", "name": "resourceProperties", "arg": "@DatasourceSet_create.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "@DatasourceSet_create.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "@DatasourceSet_create.resourceUri"}], "cls": "DatasourceSet_create"}, {"type": "array", "name": "restoreCriteria", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria", "value": "ItemPathBasedRestoreCriteria"}, {"arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria", "value": "KubernetesClusterRestoreCriteria"}, {"arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria", "value": "KubernetesPVRestoreCriteria"}, {"arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria", "value": "KubernetesStorageClassRestoreCriteria"}, {"arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria", "value": "RangeBasedItemLevelRestoreCriteria"}]}}], "discriminators": [{"property": "objectType", "value": "ItemPathBasedRestoreCriteria", "props": [{"type": "boolean", "name": "isPathRelativeToBackupItem", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.isPathRelativeToBackupItem", "required": true}, {"type": "string", "name": "itemPath", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.itemPath", "required": true}, {"type": "array", "name": "subItemPathPrefix", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].ItemPathBasedRestoreCriteria.subItemPathPrefix", "item": {"type": "string"}}]}, {"property": "objectType", "value": "KubernetesClusterRestoreCriteria", "props": [{"type": "string", "name": "conflictPolicy", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.conflictPolicy", "enum": {"items": [{"value": "Patch"}, {"value": "Skip"}]}}, {"type": "array", "name": "excludedNamespaces", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "labelSelectors", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.labelSelectors", "item": {"type": "string"}}, {"type": "object", "name": "namespaceMappings", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.namespaceMappings", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "persistentVolumeRestoreMode", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.persistentVolumeRestoreMode", "enum": {"items": [{"value": "RestoreWithVolumeData"}, {"value": "RestoreWithoutVolumeData"}]}}, {"type": "array", "name": "restoreHookReferences", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences[].name"}, {"type": "string", "name": "namespace", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesClusterRestoreCriteria.restoreHookReferences[].namespace"}]}}]}, {"property": "objectType", "value": "KubernetesPVRestoreCriteria", "props": [{"type": "string", "name": "name", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria.name"}, {"type": "string", "name": "storageClassName", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesPVRestoreCriteria.storageClassName"}]}, {"property": "objectType", "value": "KubernetesStorageClassRestoreCriteria", "props": [{"type": "string", "name": "provisioner", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria.provisioner"}, {"type": "string", "name": "selectedStorageClassName", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].KubernetesStorageClassRestoreCriteria.selectedStorageClassName"}]}, {"property": "objectType", "value": "RangeBasedItemLevelRestoreCriteria", "props": [{"type": "string", "name": "maxMatchingValue", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria.maxMatchingValue"}, {"type": "string", "name": "minMatchingValue", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.ItemLevelRestoreTargetInfo.restoreCriteria[].RangeBasedItemLevelRestoreCriteria.minMatchingValue"}]}]}}]}, {"property": "objectType", "value": "RestoreFilesTargetInfo", "props": [{"type": "object", "name": "targetDetails", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails", "required": true, "props": [{"type": "string", "name": "filePrefix", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.filePrefix", "required": true}, {"type": "string", "name": "restoreTargetLocationType", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.restoreTargetLocationType", "required": true, "enum": {"items": [{"value": "AzureBlobs"}, {"value": "AzureFiles"}, {"value": "Invalid"}]}}, {"type": "string", "name": "targetResourceArmId", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.targetResourceArmId"}, {"type": "string", "name": "url", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreFilesTargetInfo.targetDetails.url", "required": true}]}]}, {"property": "objectType", "value": "RestoreTargetInfo", "props": [{"type": "@AuthCredentials_create", "name": "datasourceAuthCredentials", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreTargetInfo.datasourceAuthCredentials"}, {"type": "@Datasource_create", "name": "datasourceInfo", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreTargetInfo.datasourceInfo", "required": true}, {"type": "@DatasourceSet_create", "name": "datasourceSetInfo", "arg": "$parameters.restoreRequestObject.restoreTargetInfo.RestoreTargetInfo.datasourceSetInfo"}]}]}, {"type": "string", "name": "sourceDataStoreType", "arg": "$parameters.restoreRequestObject.sourceDataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "SnapshotStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "sourceResourceId", "arg": "$parameters.restoreRequestObject.sourceResourceId"}], "discriminators": [{"property": "objectType", "value": "AzureBackupRecoveryPointBasedRestoreRequest", "props": [{"type": "string", "name": "recoveryPointId", "arg": "$parameters.restoreRequestObject.AzureBackupRecoveryPointBasedRestoreRequest.recoveryPointId", "required": true}]}, {"property": "objectType", "value": "AzureBackupRecoveryTimeBasedRestoreRequest", "props": [{"type": "string", "name": "recoveryPointTime", "arg": "$parameters.restoreRequestObject.AzureBackupRecoveryTimeBasedRestoreRequest.recoveryPointTime", "required": true}]}, {"property": "objectType", "value": "AzureBackupRestoreWithRehydrationRequest", "props": [{"type": "string", "name": "recoveryPointId", "arg": "$parameters.restoreRequestObject.AzureBackupRestoreWithRehydrationRequest.recoveryPointId", "required": true}, {"type": "string", "name": "rehydrationPriority", "arg": "$parameters.restoreRequestObject.AzureBackupRestoreWithRehydrationRequest.rehydrationPriority", "required": true, "enum": {"items": [{"value": "High"}, {"value": "Invalid"}, {"value": "Standard"}]}}, {"type": "string", "name": "rehydrationRetentionDuration", "arg": "$parameters.restoreRequestObject.AzureBackupRestoreWithRehydrationRequest.rehydrationRetentionDuration", "required": true}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "jobId"}, {"const": true, "default": {"value": "OperationJobExtendedInfo"}, "type": "string", "name": "objectType", "required": true}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.xml new file mode 100644 index 000000000..03c6eb719 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlcmVzdG9yZQ==/2023-05-01.xml @@ -0,0 +1,532 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.json new file mode 100644 index 000000000..edb6df2df --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupjobs", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEpvYnM=/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection job", "commands": [{"name": "list", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupjobs", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEpvYnM=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "Jobs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/backupVaults/{}/backupJobs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "activityID", "required": true}, {"type": "string", "name": "backupInstanceFriendlyName", "required": true}, {"readOnly": true, "type": "string", "name": "backupInstanceId"}, {"type": "string", "name": "dataSourceId", "required": true}, {"type": "string", "name": "dataSourceLocation", "required": true}, {"type": "string", "name": "dataSourceName", "required": true}, {"type": "string", "name": "dataSourceSetName"}, {"type": "string", "name": "dataSourceType", "required": true}, {"type": "string", "name": "destinationDataStoreName"}, {"type": "string", "name": "duration"}, {"readOnly": true, "type": "dateTime", "name": "endTime"}, {"readOnly": true, "type": "array", "name": "errorDetails", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}}, {"type": "string", "name": "etag"}, {"type": "object", "name": "extendedInfo", "props": [{"type": "object", "name": "additionalDetails", "additionalProps": {"item": {"readOnly": true, "type": "string"}}}, {"readOnly": true, "type": "string", "name": "backupInstanceState"}, {"readOnly": true, "type": "float64", "name": "dataTransferredInBytes"}, {"readOnly": true, "type": "string", "name": "recoveryDestination"}, {"type": "object", "name": "sourceRecoverPoint", "props": [{"type": "string", "name": "recoveryPointID"}, {"type": "dateTime", "name": "recoveryPointTime"}], "cls": "RestoreJobRecoveryPointDetails_read"}, {"readOnly": true, "type": "array", "name": "subTasks", "item": {"type": "object", "props": [{"type": "object", "name": "additionalDetails", "additionalProps": {"item": {"readOnly": true, "type": "string"}}}, {"type": "integer32", "name": "taskId", "required": true}, {"type": "string", "name": "taskName", "required": true}, {"readOnly": true, "type": "string", "name": "taskProgress"}, {"type": "string", "name": "taskStatus", "required": true}]}}, {"readOnly": true, "type": "@RestoreJobRecoveryPointDetails_read", "name": "targetRecoverPoint"}]}, {"type": "boolean", "name": "isUserTriggered", "required": true}, {"type": "string", "name": "operation", "required": true}, {"type": "string", "name": "operationCategory", "required": true}, {"readOnly": true, "type": "string", "name": "policyId"}, {"readOnly": true, "type": "string", "name": "policyName"}, {"type": "boolean", "name": "progressEnabled", "required": true}, {"readOnly": true, "type": "string", "name": "progressUrl"}, {"readOnly": true, "type": "string", "name": "rehydrationPriority"}, {"readOnly": true, "type": "string", "name": "restoreType"}, {"type": "string", "name": "sourceDataStoreName"}, {"type": "string", "name": "sourceResourceGroup", "required": true}, {"type": "string", "name": "sourceSubscriptionID", "required": true}, {"type": "dateTime", "name": "startTime", "required": true}, {"type": "string", "name": "status", "required": true}, {"type": "string", "name": "subscriptionId", "required": true}, {"type": "array", "name": "supportedActions", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "vaultName", "required": true}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.xml new file mode 100644 index 000000000..c4da30c33 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icw==/2023-05-01.xml @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.json new file mode 100644 index 000000000..0460ddf06 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupjobs/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEpvYnMve2pvYklkfQ==/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection job", "commands": [{"name": "show", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupjobs/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEpvYnMve2pvYklkfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource Id Arguments", "args": [{"type": "string", "var": "$Path.jobId", "options": ["job-id"], "required": true, "group": "Resource Id Arguments", "idPart": "child_name_1", "help": {"short": "The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)."}}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "group": "Resource Id Arguments", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "Jobs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobId", "arg": "$Path.jobId", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/backupVaults/{}/backupJobs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "activityID", "required": true}, {"type": "string", "name": "backupInstanceFriendlyName", "required": true}, {"readOnly": true, "type": "string", "name": "backupInstanceId"}, {"type": "string", "name": "dataSourceId", "required": true}, {"type": "string", "name": "dataSourceLocation", "required": true}, {"type": "string", "name": "dataSourceName", "required": true}, {"type": "string", "name": "dataSourceSetName"}, {"type": "string", "name": "dataSourceType", "required": true}, {"type": "string", "name": "destinationDataStoreName"}, {"type": "string", "name": "duration"}, {"readOnly": true, "type": "dateTime", "name": "endTime"}, {"readOnly": true, "type": "array", "name": "errorDetails", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}}, {"type": "string", "name": "etag"}, {"type": "object", "name": "extendedInfo", "props": [{"type": "object", "name": "additionalDetails", "additionalProps": {"item": {"readOnly": true, "type": "string"}}}, {"readOnly": true, "type": "string", "name": "backupInstanceState"}, {"readOnly": true, "type": "float64", "name": "dataTransferredInBytes"}, {"readOnly": true, "type": "string", "name": "recoveryDestination"}, {"type": "object", "name": "sourceRecoverPoint", "props": [{"type": "string", "name": "recoveryPointID"}, {"type": "dateTime", "name": "recoveryPointTime"}], "cls": "RestoreJobRecoveryPointDetails_read"}, {"readOnly": true, "type": "array", "name": "subTasks", "item": {"type": "object", "props": [{"type": "object", "name": "additionalDetails", "additionalProps": {"item": {"readOnly": true, "type": "string"}}}, {"type": "integer32", "name": "taskId", "required": true}, {"type": "string", "name": "taskName", "required": true}, {"readOnly": true, "type": "string", "name": "taskProgress"}, {"type": "string", "name": "taskStatus", "required": true}]}}, {"readOnly": true, "type": "@RestoreJobRecoveryPointDetails_read", "name": "targetRecoverPoint"}]}, {"type": "boolean", "name": "isUserTriggered", "required": true}, {"type": "string", "name": "operation", "required": true}, {"type": "string", "name": "operationCategory", "required": true}, {"readOnly": true, "type": "string", "name": "policyId"}, {"readOnly": true, "type": "string", "name": "policyName"}, {"type": "boolean", "name": "progressEnabled", "required": true}, {"readOnly": true, "type": "string", "name": "progressUrl"}, {"readOnly": true, "type": "string", "name": "rehydrationPriority"}, {"readOnly": true, "type": "string", "name": "restoreType"}, {"type": "string", "name": "sourceDataStoreName"}, {"type": "string", "name": "sourceResourceGroup", "required": true}, {"type": "string", "name": "sourceSubscriptionID", "required": true}, {"type": "dateTime", "name": "startTime", "required": true}, {"type": "string", "name": "status", "required": true}, {"type": "string", "name": "subscriptionId", "required": true}, {"type": "array", "name": "supportedActions", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "vaultName", "required": true}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.xml new file mode 100644 index 000000000..df9d176da --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3Vwam9icy97fQ==/2023-05-01.xml @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.json new file mode 100644 index 000000000..5e0891808 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cFBvbGljaWVz/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-policy", "commands": [{"name": "list", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cFBvbGljaWVz/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupPolicies_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/backupVaults/{}/backupPolicies/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "datasourceTypes", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "BackupPolicy"}]}}], "discriminators": [{"property": "objectType", "value": "BackupPolicy", "props": [{"type": "array", "name": "policyRules", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupRule"}, {"value": "AzureRetentionRule"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupRule", "props": [{"type": "object", "name": "backupParameters", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupParams"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupParams", "props": [{"type": "string", "name": "backupType", "required": true}]}]}, {"type": "object", "name": "dataStore", "required": true, "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true}], "cls": "DataStoreInfoBase_read"}, {"type": "object", "name": "trigger", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AdhocBasedTriggerContext"}, {"value": "ScheduleBasedTriggerContext"}]}}], "discriminators": [{"property": "objectType", "value": "AdhocBasedTriggerContext", "props": [{"type": "object", "name": "taggingCriteria", "required": true, "props": [{"type": "object", "name": "tagInfo", "props": [{"readOnly": true, "type": "string", "name": "eTag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "tagName", "required": true}], "cls": "RetentionTag_read"}]}]}, {"property": "objectType", "value": "ScheduleBasedTriggerContext", "props": [{"type": "object", "name": "schedule", "required": true, "props": [{"type": "array", "name": "repeatingTimeIntervals", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "timeZone"}]}, {"type": "array", "name": "taggingCriteria", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "criteria", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "ScheduleBasedBackupCriteria"}]}}], "discriminators": [{"property": "objectType", "value": "ScheduleBasedBackupCriteria", "props": [{"type": "array", "name": "absoluteCriteria", "item": {"type": "string", "enum": {"items": [{"value": "AllBackup"}, {"value": "FirstOfDay"}, {"value": "FirstOfMonth"}, {"value": "FirstOfWeek"}, {"value": "FirstOfYear"}]}}}, {"type": "array", "name": "daysOfMonth", "item": {"type": "object", "props": [{"type": "integer32", "name": "date"}, {"type": "boolean", "name": "isLast"}]}}, {"type": "array", "name": "daysOfTheWeek", "item": {"type": "string", "enum": {"items": [{"value": "Friday"}, {"value": "Monday"}, {"value": "Saturday"}, {"value": "Sunday"}, {"value": "Thursday"}, {"value": "Tuesday"}, {"value": "Wednesday"}]}}}, {"type": "array", "name": "monthsOfYear", "item": {"type": "string", "enum": {"items": [{"value": "April"}, {"value": "August"}, {"value": "December"}, {"value": "February"}, {"value": "January"}, {"value": "July"}, {"value": "June"}, {"value": "March"}, {"value": "May"}, {"value": "November"}, {"value": "October"}, {"value": "September"}]}}}, {"type": "array", "name": "scheduleTimes", "item": {"type": "dateTime"}}, {"type": "array", "name": "weeksOfTheMonth", "item": {"type": "string", "enum": {"items": [{"value": "First"}, {"value": "Fourth"}, {"value": "Last"}, {"value": "Second"}, {"value": "Third"}]}}}]}]}}, {"type": "boolean", "name": "isDefault", "required": true}, {"type": "@RetentionTag_read", "name": "tagInfo", "required": true}, {"type": "integer64", "name": "taggingPriority", "required": true}]}}]}]}]}, {"property": "objectType", "value": "AzureRetentionRule", "props": [{"type": "boolean", "name": "isDefault"}, {"type": "array", "name": "lifecycles", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "deleteAfter", "required": true, "props": [{"type": "string", "name": "duration", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AbsoluteDeleteOption"}]}}]}, {"type": "@DataStoreInfoBase_read", "name": "sourceDataStore", "required": true}, {"type": "array", "name": "targetDataStoreCopySettings", "item": {"type": "object", "props": [{"type": "object", "name": "copyAfter", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "CopyOnExpiryOption"}, {"value": "CustomCopyOption"}, {"value": "ImmediateCopyOption"}]}}], "discriminators": [{"property": "objectType", "value": "CustomCopyOption", "props": [{"type": "string", "name": "duration"}]}]}, {"type": "@DataStoreInfoBase_read", "name": "dataStore", "required": true}]}}]}}]}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.xml new file mode 100644 index 000000000..8705f3bb3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXM=/2023-05-01.xml @@ -0,0 +1,266 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.json new file mode 100644 index 000000000..75b15c5da --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cFBvbGljaWVzL3tiYWNrdXBQb2xpY3lOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-policy", "commands": [{"name": "show", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cFBvbGljaWVzL3tiYWNrdXBQb2xpY3lOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupPolicyName", "options": ["n", "name", "backup-policy-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the policy"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupPolicies_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "backupPolicyName", "arg": "$Path.backupPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/backupVaults/{}/backupPolicies/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "datasourceTypes", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "BackupPolicy"}]}}], "discriminators": [{"property": "objectType", "value": "BackupPolicy", "props": [{"type": "array", "name": "policyRules", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupRule"}, {"value": "AzureRetentionRule"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupRule", "props": [{"type": "object", "name": "backupParameters", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupParams"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupParams", "props": [{"type": "string", "name": "backupType", "required": true}]}]}, {"type": "object", "name": "dataStore", "required": true, "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true}], "cls": "DataStoreInfoBase_read"}, {"type": "object", "name": "trigger", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AdhocBasedTriggerContext"}, {"value": "ScheduleBasedTriggerContext"}]}}], "discriminators": [{"property": "objectType", "value": "AdhocBasedTriggerContext", "props": [{"type": "object", "name": "taggingCriteria", "required": true, "props": [{"type": "object", "name": "tagInfo", "props": [{"readOnly": true, "type": "string", "name": "eTag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "tagName", "required": true}], "cls": "RetentionTag_read"}]}]}, {"property": "objectType", "value": "ScheduleBasedTriggerContext", "props": [{"type": "object", "name": "schedule", "required": true, "props": [{"type": "array", "name": "repeatingTimeIntervals", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "timeZone"}]}, {"type": "array", "name": "taggingCriteria", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "criteria", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "ScheduleBasedBackupCriteria"}]}}], "discriminators": [{"property": "objectType", "value": "ScheduleBasedBackupCriteria", "props": [{"type": "array", "name": "absoluteCriteria", "item": {"type": "string", "enum": {"items": [{"value": "AllBackup"}, {"value": "FirstOfDay"}, {"value": "FirstOfMonth"}, {"value": "FirstOfWeek"}, {"value": "FirstOfYear"}]}}}, {"type": "array", "name": "daysOfMonth", "item": {"type": "object", "props": [{"type": "integer32", "name": "date"}, {"type": "boolean", "name": "isLast"}]}}, {"type": "array", "name": "daysOfTheWeek", "item": {"type": "string", "enum": {"items": [{"value": "Friday"}, {"value": "Monday"}, {"value": "Saturday"}, {"value": "Sunday"}, {"value": "Thursday"}, {"value": "Tuesday"}, {"value": "Wednesday"}]}}}, {"type": "array", "name": "monthsOfYear", "item": {"type": "string", "enum": {"items": [{"value": "April"}, {"value": "August"}, {"value": "December"}, {"value": "February"}, {"value": "January"}, {"value": "July"}, {"value": "June"}, {"value": "March"}, {"value": "May"}, {"value": "November"}, {"value": "October"}, {"value": "September"}]}}}, {"type": "array", "name": "scheduleTimes", "item": {"type": "dateTime"}}, {"type": "array", "name": "weeksOfTheMonth", "item": {"type": "string", "enum": {"items": [{"value": "First"}, {"value": "Fourth"}, {"value": "Last"}, {"value": "Second"}, {"value": "Third"}]}}}]}]}}, {"type": "boolean", "name": "isDefault", "required": true}, {"type": "@RetentionTag_read", "name": "tagInfo", "required": true}, {"type": "integer64", "name": "taggingPriority", "required": true}]}}]}]}]}, {"property": "objectType", "value": "AzureRetentionRule", "props": [{"type": "boolean", "name": "isDefault"}, {"type": "array", "name": "lifecycles", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "deleteAfter", "required": true, "props": [{"type": "string", "name": "duration", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AbsoluteDeleteOption"}]}}]}, {"type": "@DataStoreInfoBase_read", "name": "sourceDataStore", "required": true}, {"type": "array", "name": "targetDataStoreCopySettings", "item": {"type": "object", "props": [{"type": "object", "name": "copyAfter", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "CopyOnExpiryOption"}, {"value": "CustomCopyOption"}, {"value": "ImmediateCopyOption"}]}}], "discriminators": [{"property": "objectType", "value": "CustomCopyOption", "props": [{"type": "string", "name": "duration"}]}]}, {"type": "@DataStoreInfoBase_read", "name": "dataStore", "required": true}]}}]}}]}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cFBvbGljaWVzL3tiYWNrdXBQb2xpY3lOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupPolicyName", "options": ["n", "name", "backup-policy-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the policy"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupPolicies_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "backupPolicyName", "arg": "$Path.backupPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cFBvbGljaWVzL3tiYWNrdXBQb2xpY3lOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupPolicyName", "options": ["n", "name", "backup-policy-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the policy"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}, {"type": "object", "var": "$parameters.properties.BackupPolicy", "options": ["policy"], "group": "", "help": {"short": "Request body for operation Expected value: json-string/@json-file."}, "args": [{"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules", "options": ["policy-rules"], "required": true, "group": "Policy", "help": {"short": "Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule", "options": ["azure-backup-rule"], "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters.AzureBackupParams", "options": ["azure-backup-params"], "group": "AzureBackupRule", "args": [{"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters.AzureBackupParams.backupType", "options": ["backup-type"], "required": true, "help": {"short": "BackupType ; Full/Incremental etc"}}]}, {"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.dataStore", "options": ["data-store"], "required": true, "group": "AzureBackupRule", "help": {"short": "DataStoreInfo base"}, "args": [{"type": "string", "var": "@DataStoreInfoBase_create.dataStoreType", "options": ["data-store-type"], "required": true, "help": {"short": "type of datastore; Operational/Vault/Archive"}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "@DataStoreInfoBase_create.objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}], "cls": "DataStoreInfoBase_create"}, {"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext", "options": ["adhoc-based-trigger-context"], "group": "AzureBackupRule", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext.taggingCriteria", "options": ["tagging-criteria"], "required": true, "help": {"short": "Tagging Criteria containing retention tag for adhoc backup."}, "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext.taggingCriteria.tagInfo", "options": ["tag-info"], "help": {"short": "Retention tag information"}, "args": [{"type": "string", "var": "@RetentionTag_create.tagName", "options": ["tag-name"], "required": true, "help": {"short": "Retention Tag Name to relate it to retention rule."}}], "cls": "RetentionTag_create"}]}]}, {"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext", "options": ["schedule-based-trigger-context"], "group": "AzureBackupRule", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule", "options": ["schedule"], "required": true, "help": {"short": "Schedule for this backup"}, "args": [{"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule.repeatingTimeIntervals", "options": ["repeating-time-intervals"], "required": true, "help": {"short": "ISO 8601 repeating time interval format"}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule.timeZone", "options": ["time-zone"], "help": {"short": "Time zone for a schedule. Example: Pacific Standard Time"}}]}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria", "options": ["tagging-criteria"], "required": true, "help": {"short": "List of tags that can be applicable for given schedule."}, "item": {"type": "object", "args": [{"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria", "options": ["criteria"], "help": {"short": "Criteria which decides whether the tag can be applied to a triggered backup."}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria", "options": ["schedule-based-backup-criteria"], "args": [{"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.absoluteCriteria", "options": ["absolute-criteria"], "group": "", "help": {"short": "it contains absolute values like \"AllBackup\" / \"FirstOfDay\" / \"FirstOfWeek\" / \"FirstOfMonth\" and should be a part of AbsoluteMarker enum"}, "item": {"type": "string", "enum": {"items": [{"name": "AllBackup", "value": "AllBackup"}, {"name": "FirstOfDay", "value": "FirstOfDay"}, {"name": "FirstOfMonth", "value": "FirstOfMonth"}, {"name": "FirstOfWeek", "value": "FirstOfWeek"}, {"name": "FirstOfYear", "value": "FirstOfYear"}]}}}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth", "options": ["days-of-month"], "help": {"short": "This is day of the month from 1 to 28 other wise last of month"}, "item": {"type": "object", "args": [{"type": "integer32", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth[].date", "options": ["date"], "help": {"short": "Date of the month"}}, {"type": "boolean", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth[].isLast", "options": ["is-last"], "help": {"short": "Whether Date is last date of month"}}]}}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfTheWeek", "options": ["days-of-the-week"], "help": {"short": "It should be Sunday/Monday/T..../Saturday"}, "item": {"type": "string", "enum": {"items": [{"name": "Friday", "value": "Friday"}, {"name": "Monday", "value": "Monday"}, {"name": "Saturday", "value": "Saturday"}, {"name": "Sunday", "value": "Sunday"}, {"name": "Thursday", "value": "Thursday"}, {"name": "Tuesday", "value": "Tuesday"}, {"name": "Wednesday", "value": "Wednesday"}]}}}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.monthsOfYear", "options": ["months-of-year"], "help": {"short": "It should be January/February/....../December"}, "item": {"type": "string", "enum": {"items": [{"name": "April", "value": "April"}, {"name": "August", "value": "August"}, {"name": "December", "value": "December"}, {"name": "February", "value": "February"}, {"name": "January", "value": "January"}, {"name": "July", "value": "July"}, {"name": "June", "value": "June"}, {"name": "March", "value": "March"}, {"name": "May", "value": "May"}, {"name": "November", "value": "November"}, {"name": "October", "value": "October"}, {"name": "September", "value": "September"}]}}}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.scheduleTimes", "options": ["schedule-times"], "help": {"short": "List of schedule times for backup"}, "item": {"type": "dateTime"}}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.weeksOfTheMonth", "options": ["weeks-of-the-month"], "help": {"short": "It should be First/Second/Third/Fourth/Last"}, "item": {"type": "string", "enum": {"items": [{"name": "First", "value": "First"}, {"name": "Fourth", "value": "Fourth"}, {"name": "Last", "value": "Last"}, {"name": "Second", "value": "Second"}, {"name": "Third", "value": "Third"}]}}}]}]}}, {"type": "boolean", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].isDefault", "options": ["is-default"], "required": true, "help": {"short": "Specifies if tag is default."}}, {"type": "@RetentionTag_create", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].tagInfo", "options": ["tag-info"], "required": true, "help": {"short": "Retention tag information"}}, {"type": "integer64", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].taggingPriority", "options": ["tagging-priority"], "required": true, "help": {"short": "Retention Tag priority."}}]}}]}]}, {"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule", "options": ["azure-retention-rule"], "args": [{"type": "boolean", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.isDefault", "options": ["is-default"]}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles", "options": ["lifecycles"], "required": true, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter", "options": ["delete-after"], "required": true, "help": {"short": "Delete Option"}, "args": [{"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter.duration", "options": ["duration"], "required": true, "help": {"short": "Duration of deletion after given timespan"}}, {"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter.objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of the specific object - used for deserializing"}, "enum": {"items": [{"name": "AbsoluteDeleteOption", "value": "AbsoluteDeleteOption"}]}}]}, {"type": "@DataStoreInfoBase_create", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].sourceDataStore", "options": ["source-data-store"], "required": true}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings", "options": ["target-data-store-copy-settings"], "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter", "options": ["copy-after"], "required": true, "help": {"short": "It can be CustomCopyOption or ImmediateCopyOption."}, "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter.CustomCopyOption", "options": ["custom-copy-option"], "args": [{"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter.CustomCopyOption.duration", "options": ["duration"], "help": {"short": "Data copied after given timespan"}}]}]}, {"type": "@DataStoreInfoBase_create", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].dataStore", "options": ["data-store"], "required": true, "help": {"short": "Info of target datastore"}}]}}]}}]}, {"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].name", "options": ["name"], "required": true}]}}]}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.datasourceTypes", "options": ["datasource-types"], "hide": true, "group": "Properties", "help": {"short": "Type of datasource for the backup management"}, "item": {"type": "string"}}]}], "operations": [{"operationId": "BackupPolicies_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "backupPolicyName", "arg": "$Path.backupPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "datasourceTypes", "arg": "$parameters.properties.datasourceTypes", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy", "value": "BackupPolicy"}]}}], "discriminators": [{"property": "objectType", "value": "BackupPolicy", "props": [{"type": "array", "name": "policyRules", "arg": "$parameters.properties.BackupPolicy.policyRules", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.BackupPolicy.policyRules[].name", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule", "value": "AzureBackupRule"}, {"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule", "value": "AzureRetentionRule"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupRule", "props": [{"type": "object", "name": "backupParameters", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters.AzureBackupParams", "value": "AzureBackupParams"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupParams", "props": [{"type": "string", "name": "backupType", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters.AzureBackupParams.backupType", "required": true}]}]}, {"type": "object", "name": "dataStore", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.dataStore", "required": true, "props": [{"type": "string", "name": "dataStoreType", "arg": "@DataStoreInfoBase_create.dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "arg": "@DataStoreInfoBase_create.objectType", "required": true}], "cls": "DataStoreInfoBase_create"}, {"type": "object", "name": "trigger", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext", "value": "AdhocBasedTriggerContext"}, {"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext", "value": "ScheduleBasedTriggerContext"}]}}], "discriminators": [{"property": "objectType", "value": "AdhocBasedTriggerContext", "props": [{"type": "object", "name": "taggingCriteria", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext.taggingCriteria", "required": true, "props": [{"type": "object", "name": "tagInfo", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext.taggingCriteria.tagInfo", "props": [{"type": "string", "name": "tagName", "arg": "@RetentionTag_create.tagName", "required": true}], "cls": "RetentionTag_create"}]}]}, {"property": "objectType", "value": "ScheduleBasedTriggerContext", "props": [{"type": "object", "name": "schedule", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule", "required": true, "props": [{"type": "array", "name": "repeatingTimeIntervals", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule.repeatingTimeIntervals", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "timeZone", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule.timeZone"}]}, {"type": "array", "name": "taggingCriteria", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "criteria", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria", "value": "ScheduleBasedBackupCriteria"}]}}], "discriminators": [{"property": "objectType", "value": "ScheduleBasedBackupCriteria", "props": [{"type": "array", "name": "absoluteCriteria", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.absoluteCriteria", "item": {"type": "string", "enum": {"items": [{"value": "AllBackup"}, {"value": "FirstOfDay"}, {"value": "FirstOfMonth"}, {"value": "FirstOfWeek"}, {"value": "FirstOfYear"}]}}}, {"type": "array", "name": "daysOfMonth", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth", "item": {"type": "object", "props": [{"type": "integer32", "name": "date", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth[].date"}, {"type": "boolean", "name": "isLast", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth[].isLast"}]}}, {"type": "array", "name": "daysOfTheWeek", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfTheWeek", "item": {"type": "string", "enum": {"items": [{"value": "Friday"}, {"value": "Monday"}, {"value": "Saturday"}, {"value": "Sunday"}, {"value": "Thursday"}, {"value": "Tuesday"}, {"value": "Wednesday"}]}}}, {"type": "array", "name": "monthsOfYear", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.monthsOfYear", "item": {"type": "string", "enum": {"items": [{"value": "April"}, {"value": "August"}, {"value": "December"}, {"value": "February"}, {"value": "January"}, {"value": "July"}, {"value": "June"}, {"value": "March"}, {"value": "May"}, {"value": "November"}, {"value": "October"}, {"value": "September"}]}}}, {"type": "array", "name": "scheduleTimes", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.scheduleTimes", "item": {"type": "dateTime"}}, {"type": "array", "name": "weeksOfTheMonth", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.weeksOfTheMonth", "item": {"type": "string", "enum": {"items": [{"value": "First"}, {"value": "Fourth"}, {"value": "Last"}, {"value": "Second"}, {"value": "Third"}]}}}]}]}}, {"type": "boolean", "name": "isDefault", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].isDefault", "required": true}, {"type": "@RetentionTag_create", "name": "tagInfo", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].tagInfo", "required": true}, {"type": "integer64", "name": "taggingPriority", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].taggingPriority", "required": true}]}}]}]}]}, {"property": "objectType", "value": "AzureRetentionRule", "props": [{"type": "boolean", "name": "isDefault", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.isDefault"}, {"type": "array", "name": "lifecycles", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "deleteAfter", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter", "required": true, "props": [{"type": "string", "name": "duration", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter.duration", "required": true}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter.objectType", "required": true, "enum": {"items": [{"value": "AbsoluteDeleteOption"}]}}]}, {"type": "@DataStoreInfoBase_create", "name": "sourceDataStore", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].sourceDataStore", "required": true}, {"type": "array", "name": "targetDataStoreCopySettings", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings", "item": {"type": "object", "props": [{"type": "object", "name": "copyAfter", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "CopyOnExpiryOption"}, {"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter.CustomCopyOption", "value": "CustomCopyOption"}, {"value": "ImmediateCopyOption"}]}}], "discriminators": [{"property": "objectType", "value": "CustomCopyOption", "props": [{"type": "string", "name": "duration", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter.CustomCopyOption.duration"}]}]}, {"type": "@DataStoreInfoBase_create", "name": "dataStore", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].dataStore", "required": true}]}}]}}]}]}}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/backupVaults/{}/backupPolicies/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "datasourceTypes", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "BackupPolicy"}]}}], "discriminators": [{"property": "objectType", "value": "BackupPolicy", "props": [{"type": "array", "name": "policyRules", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupRule"}, {"value": "AzureRetentionRule"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupRule", "props": [{"type": "object", "name": "backupParameters", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupParams"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupParams", "props": [{"type": "string", "name": "backupType", "required": true}]}]}, {"type": "object", "name": "dataStore", "required": true, "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true}], "cls": "DataStoreInfoBase_read"}, {"type": "object", "name": "trigger", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AdhocBasedTriggerContext"}, {"value": "ScheduleBasedTriggerContext"}]}}], "discriminators": [{"property": "objectType", "value": "AdhocBasedTriggerContext", "props": [{"type": "object", "name": "taggingCriteria", "required": true, "props": [{"type": "object", "name": "tagInfo", "props": [{"readOnly": true, "type": "string", "name": "eTag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "tagName", "required": true}], "cls": "RetentionTag_read"}]}]}, {"property": "objectType", "value": "ScheduleBasedTriggerContext", "props": [{"type": "object", "name": "schedule", "required": true, "props": [{"type": "array", "name": "repeatingTimeIntervals", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "timeZone"}]}, {"type": "array", "name": "taggingCriteria", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "criteria", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "ScheduleBasedBackupCriteria"}]}}], "discriminators": [{"property": "objectType", "value": "ScheduleBasedBackupCriteria", "props": [{"type": "array", "name": "absoluteCriteria", "item": {"type": "string", "enum": {"items": [{"value": "AllBackup"}, {"value": "FirstOfDay"}, {"value": "FirstOfMonth"}, {"value": "FirstOfWeek"}, {"value": "FirstOfYear"}]}}}, {"type": "array", "name": "daysOfMonth", "item": {"type": "object", "props": [{"type": "integer32", "name": "date"}, {"type": "boolean", "name": "isLast"}]}}, {"type": "array", "name": "daysOfTheWeek", "item": {"type": "string", "enum": {"items": [{"value": "Friday"}, {"value": "Monday"}, {"value": "Saturday"}, {"value": "Sunday"}, {"value": "Thursday"}, {"value": "Tuesday"}, {"value": "Wednesday"}]}}}, {"type": "array", "name": "monthsOfYear", "item": {"type": "string", "enum": {"items": [{"value": "April"}, {"value": "August"}, {"value": "December"}, {"value": "February"}, {"value": "January"}, {"value": "July"}, {"value": "June"}, {"value": "March"}, {"value": "May"}, {"value": "November"}, {"value": "October"}, {"value": "September"}]}}}, {"type": "array", "name": "scheduleTimes", "item": {"type": "dateTime"}}, {"type": "array", "name": "weeksOfTheMonth", "item": {"type": "string", "enum": {"items": [{"value": "First"}, {"value": "Fourth"}, {"value": "Last"}, {"value": "Second"}, {"value": "Third"}]}}}]}]}}, {"type": "boolean", "name": "isDefault", "required": true}, {"type": "@RetentionTag_read", "name": "tagInfo", "required": true}, {"type": "integer64", "name": "taggingPriority", "required": true}]}}]}]}]}, {"property": "objectType", "value": "AzureRetentionRule", "props": [{"type": "boolean", "name": "isDefault"}, {"type": "array", "name": "lifecycles", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "deleteAfter", "required": true, "props": [{"type": "string", "name": "duration", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AbsoluteDeleteOption"}]}}]}, {"type": "@DataStoreInfoBase_read", "name": "sourceDataStore", "required": true}, {"type": "array", "name": "targetDataStoreCopySettings", "item": {"type": "object", "props": [{"type": "object", "name": "copyAfter", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "CopyOnExpiryOption"}, {"value": "CustomCopyOption"}, {"value": "ImmediateCopyOption"}]}}], "discriminators": [{"property": "objectType", "value": "CustomCopyOption", "props": [{"type": "string", "name": "duration"}]}]}, {"type": "@DataStoreInfoBase_read", "name": "dataStore", "required": true}]}}]}}]}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backuppolicies/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cFBvbGljaWVzL3tiYWNrdXBQb2xpY3lOYW1lfQ==/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupPolicyName", "options": ["n", "name", "backup-policy-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the policy"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy", "options": ["policy"], "group": "Properties", "help": {"short": "Request body for operation Expected value: json- string/@json-file."}, "args": [{"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules", "options": ["policy-rules"], "help": {"short": "Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc"}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule", "options": ["azure-backup-rule"], "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters", "options": ["backup-parameters"], "help": {"short": "BackupParameters base"}, "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters.AzureBackupParams", "options": ["azure-backup-params"], "args": [{"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters.AzureBackupParams.backupType", "options": ["backup-type"], "help": {"short": "BackupType ; Full/Incremental etc"}}]}]}, {"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.dataStore", "options": ["data-store"], "help": {"short": "DataStoreInfo base"}, "args": [{"type": "string", "var": "@DataStoreInfoBase_update.dataStoreType", "options": ["data-store-type"], "help": {"short": "type of datastore; Operational/Vault/Archive"}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "@DataStoreInfoBase_update.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}], "cls": "DataStoreInfoBase_update"}, {"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger", "options": ["trigger"], "help": {"short": "Trigger context"}, "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext", "options": ["adhoc-based-trigger-context"], "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext.taggingCriteria", "options": ["tagging-criteria"], "help": {"short": "Tagging Criteria containing retention tag for adhoc backup."}, "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext.taggingCriteria.tagInfo", "options": ["tag-info"], "help": {"short": "Retention tag information"}, "args": [{"type": "string", "var": "@RetentionTag_update.tagName", "options": ["tag-name"], "help": {"short": "Retention Tag Name to relate it to retention rule."}}], "cls": "RetentionTag_update"}]}]}, {"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext", "options": ["schedule-based-trigger-context"], "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule", "options": ["schedule"], "help": {"short": "Schedule for this backup"}, "args": [{"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule.repeatingTimeIntervals", "options": ["repeating-time-intervals"], "help": {"short": "ISO 8601 repeating time interval format"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule.timeZone", "options": ["time-zone"], "help": {"short": "Time zone for a schedule. Example: Pacific Standard Time"}}]}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria", "options": ["tagging-criteria"], "help": {"short": "List of tags that can be applicable for given schedule."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria", "options": ["criteria"], "help": {"short": "Criteria which decides whether the tag can be applied to a triggered backup."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria", "options": ["schedule-based-backup-criteria"], "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.absoluteCriteria", "options": ["absolute-criteria"], "group": "", "help": {"short": "it contains absolute values like \"AllBackup\" / \"FirstOfDay\" / \"FirstOfWeek\" / \"FirstOfMonth\" and should be a part of AbsoluteMarker enum"}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "AllBackup", "value": "AllBackup"}, {"name": "FirstOfDay", "value": "FirstOfDay"}, {"name": "FirstOfMonth", "value": "FirstOfMonth"}, {"name": "FirstOfWeek", "value": "FirstOfWeek"}, {"name": "FirstOfYear", "value": "FirstOfYear"}]}}}, {"nullable": true, "type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth", "options": ["days-of-month"], "help": {"short": "This is day of the month from 1 to 28 other wise last of month"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer32", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth[].date", "options": ["date"], "help": {"short": "Date of the month"}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth[].isLast", "options": ["is-last"], "help": {"short": "Whether Date is last date of month"}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfTheWeek", "options": ["days-of-the-week"], "help": {"short": "It should be Sunday/Monday/T..../Saturday"}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Friday", "value": "Friday"}, {"name": "Monday", "value": "Monday"}, {"name": "Saturday", "value": "Saturday"}, {"name": "Sunday", "value": "Sunday"}, {"name": "Thursday", "value": "Thursday"}, {"name": "Tuesday", "value": "Tuesday"}, {"name": "Wednesday", "value": "Wednesday"}]}}}, {"nullable": true, "type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.monthsOfYear", "options": ["months-of-year"], "help": {"short": "It should be January/February/....../December"}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "April", "value": "April"}, {"name": "August", "value": "August"}, {"name": "December", "value": "December"}, {"name": "February", "value": "February"}, {"name": "January", "value": "January"}, {"name": "July", "value": "July"}, {"name": "June", "value": "June"}, {"name": "March", "value": "March"}, {"name": "May", "value": "May"}, {"name": "November", "value": "November"}, {"name": "October", "value": "October"}, {"name": "September", "value": "September"}]}}}, {"nullable": true, "type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.scheduleTimes", "options": ["schedule-times"], "help": {"short": "List of schedule times for backup"}, "item": {"nullable": true, "type": "dateTime"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.weeksOfTheMonth", "options": ["weeks-of-the-month"], "help": {"short": "It should be First/Second/Third/Fourth/Last"}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "First", "value": "First"}, {"name": "Fourth", "value": "Fourth"}, {"name": "Last", "value": "Last"}, {"name": "Second", "value": "Second"}, {"name": "Third", "value": "Third"}]}}}]}]}}, {"type": "boolean", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].isDefault", "options": ["is-default"], "help": {"short": "Specifies if tag is default."}}, {"type": "@RetentionTag_update", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].tagInfo", "options": ["tag-info"], "help": {"short": "Retention tag information"}}, {"type": "integer64", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].taggingPriority", "options": ["tagging-priority"], "help": {"short": "Retention Tag priority."}}]}}]}]}]}, {"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule", "options": ["azure-retention-rule"], "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.isDefault", "options": ["is-default"]}, {"type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles", "options": ["lifecycles"], "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter", "options": ["delete-after"], "help": {"short": "Delete Option"}, "args": [{"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter.duration", "options": ["duration"], "help": {"short": "Duration of deletion after given timespan"}}, {"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter.objectType", "options": ["object-type"], "help": {"short": "Type of the specific object - used for deserializing"}, "enum": {"items": [{"name": "AbsoluteDeleteOption", "value": "AbsoluteDeleteOption"}]}}]}, {"type": "@DataStoreInfoBase_update", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].sourceDataStore", "options": ["source-data-store"]}, {"nullable": true, "type": "array", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings", "options": ["target-data-store-copy-settings"], "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter", "options": ["copy-after"], "help": {"short": "It can be CustomCopyOption or ImmediateCopyOption."}, "args": [{"type": "object", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter.CustomCopyOption", "options": ["custom-copy-option"], "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter.CustomCopyOption.duration", "options": ["duration"], "help": {"short": "Data copied after given timespan"}}]}]}, {"type": "@DataStoreInfoBase_update", "var": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].dataStore", "options": ["data-store"], "help": {"short": "Info of target datastore"}}]}}]}}]}, {"type": "string", "var": "$parameters.properties.BackupPolicy.policyRules[].name", "options": ["name"]}]}}]}, {"type": "array", "var": "$parameters.properties.datasourceTypes", "options": ["datasource-types"], "group": "Properties", "help": {"short": "Type of datasource for the backup management"}, "item": {"nullable": true, "type": "string"}}]}], "operations": [{"operationId": "BackupPolicies_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "backupPolicyName", "arg": "$Path.backupPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/backupVaults/{}/backupPolicies/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "datasourceTypes", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "BackupPolicy"}]}}], "discriminators": [{"property": "objectType", "value": "BackupPolicy", "props": [{"type": "array", "name": "policyRules", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupRule"}, {"value": "AzureRetentionRule"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupRule", "props": [{"type": "object", "name": "backupParameters", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureBackupParams"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupParams", "props": [{"type": "string", "name": "backupType", "required": true}]}]}, {"type": "object", "name": "dataStore", "required": true, "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true}], "cls": "DataStoreInfoBase_read"}, {"type": "object", "name": "trigger", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AdhocBasedTriggerContext"}, {"value": "ScheduleBasedTriggerContext"}]}}], "discriminators": [{"property": "objectType", "value": "AdhocBasedTriggerContext", "props": [{"type": "object", "name": "taggingCriteria", "required": true, "props": [{"type": "object", "name": "tagInfo", "props": [{"readOnly": true, "type": "string", "name": "eTag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "tagName", "required": true}], "cls": "RetentionTag_read"}]}]}, {"property": "objectType", "value": "ScheduleBasedTriggerContext", "props": [{"type": "object", "name": "schedule", "required": true, "props": [{"type": "array", "name": "repeatingTimeIntervals", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "timeZone"}]}, {"type": "array", "name": "taggingCriteria", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "criteria", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "ScheduleBasedBackupCriteria"}]}}], "discriminators": [{"property": "objectType", "value": "ScheduleBasedBackupCriteria", "props": [{"type": "array", "name": "absoluteCriteria", "item": {"type": "string", "enum": {"items": [{"value": "AllBackup"}, {"value": "FirstOfDay"}, {"value": "FirstOfMonth"}, {"value": "FirstOfWeek"}, {"value": "FirstOfYear"}]}}}, {"type": "array", "name": "daysOfMonth", "item": {"type": "object", "props": [{"type": "integer32", "name": "date"}, {"type": "boolean", "name": "isLast"}]}}, {"type": "array", "name": "daysOfTheWeek", "item": {"type": "string", "enum": {"items": [{"value": "Friday"}, {"value": "Monday"}, {"value": "Saturday"}, {"value": "Sunday"}, {"value": "Thursday"}, {"value": "Tuesday"}, {"value": "Wednesday"}]}}}, {"type": "array", "name": "monthsOfYear", "item": {"type": "string", "enum": {"items": [{"value": "April"}, {"value": "August"}, {"value": "December"}, {"value": "February"}, {"value": "January"}, {"value": "July"}, {"value": "June"}, {"value": "March"}, {"value": "May"}, {"value": "November"}, {"value": "October"}, {"value": "September"}]}}}, {"type": "array", "name": "scheduleTimes", "item": {"type": "dateTime"}}, {"type": "array", "name": "weeksOfTheMonth", "item": {"type": "string", "enum": {"items": [{"value": "First"}, {"value": "Fourth"}, {"value": "Last"}, {"value": "Second"}, {"value": "Third"}]}}}]}]}}, {"type": "boolean", "name": "isDefault", "required": true}, {"type": "@RetentionTag_read", "name": "tagInfo", "required": true}, {"type": "integer64", "name": "taggingPriority", "required": true}]}}]}]}]}, {"property": "objectType", "value": "AzureRetentionRule", "props": [{"type": "boolean", "name": "isDefault"}, {"type": "array", "name": "lifecycles", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "deleteAfter", "required": true, "props": [{"type": "string", "name": "duration", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AbsoluteDeleteOption"}]}}]}, {"type": "@DataStoreInfoBase_read", "name": "sourceDataStore", "required": true}, {"type": "array", "name": "targetDataStoreCopySettings", "item": {"type": "object", "props": [{"type": "object", "name": "copyAfter", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "CopyOnExpiryOption"}, {"value": "CustomCopyOption"}, {"value": "ImmediateCopyOption"}]}}], "discriminators": [{"property": "objectType", "value": "CustomCopyOption", "props": [{"type": "string", "name": "duration"}]}]}, {"type": "@DataStoreInfoBase_read", "name": "dataStore", "required": true}]}}]}}]}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "BaseBackupPolicyResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "datasourceTypes", "arg": "$parameters.properties.datasourceTypes", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy", "value": "BackupPolicy"}]}}], "discriminators": [{"property": "objectType", "value": "BackupPolicy", "props": [{"type": "array", "name": "policyRules", "arg": "$parameters.properties.BackupPolicy.policyRules", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.BackupPolicy.policyRules[].name", "required": true}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule", "value": "AzureBackupRule"}, {"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule", "value": "AzureRetentionRule"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupRule", "props": [{"type": "object", "name": "backupParameters", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters.AzureBackupParams", "value": "AzureBackupParams"}]}}], "discriminators": [{"property": "objectType", "value": "AzureBackupParams", "props": [{"type": "string", "name": "backupType", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.backupParameters.AzureBackupParams.backupType", "required": true}]}]}, {"type": "object", "name": "dataStore", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.dataStore", "required": true, "props": [{"type": "string", "name": "dataStoreType", "arg": "@DataStoreInfoBase_update.dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "arg": "@DataStoreInfoBase_update.objectType", "required": true}], "cls": "DataStoreInfoBase_update"}, {"type": "object", "name": "trigger", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext", "value": "AdhocBasedTriggerContext"}, {"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext", "value": "ScheduleBasedTriggerContext"}]}}], "discriminators": [{"property": "objectType", "value": "AdhocBasedTriggerContext", "props": [{"type": "object", "name": "taggingCriteria", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext.taggingCriteria", "required": true, "props": [{"type": "object", "name": "tagInfo", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.AdhocBasedTriggerContext.taggingCriteria.tagInfo", "props": [{"type": "string", "name": "tagName", "arg": "@RetentionTag_update.tagName", "required": true}], "cls": "RetentionTag_update"}]}]}, {"property": "objectType", "value": "ScheduleBasedTriggerContext", "props": [{"type": "object", "name": "schedule", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule", "required": true, "props": [{"type": "array", "name": "repeatingTimeIntervals", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule.repeatingTimeIntervals", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "timeZone", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.schedule.timeZone"}]}, {"type": "array", "name": "taggingCriteria", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria", "required": true, "item": {"type": "object", "props": [{"type": "array", "name": "criteria", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria", "value": "ScheduleBasedBackupCriteria"}]}}], "discriminators": [{"property": "objectType", "value": "ScheduleBasedBackupCriteria", "props": [{"type": "array", "name": "absoluteCriteria", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.absoluteCriteria", "item": {"type": "string", "enum": {"items": [{"value": "AllBackup"}, {"value": "FirstOfDay"}, {"value": "FirstOfMonth"}, {"value": "FirstOfWeek"}, {"value": "FirstOfYear"}]}}}, {"type": "array", "name": "daysOfMonth", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth", "item": {"type": "object", "props": [{"type": "integer32", "name": "date", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth[].date"}, {"type": "boolean", "name": "isLast", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfMonth[].isLast"}]}}, {"type": "array", "name": "daysOfTheWeek", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.daysOfTheWeek", "item": {"type": "string", "enum": {"items": [{"value": "Friday"}, {"value": "Monday"}, {"value": "Saturday"}, {"value": "Sunday"}, {"value": "Thursday"}, {"value": "Tuesday"}, {"value": "Wednesday"}]}}}, {"type": "array", "name": "monthsOfYear", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.monthsOfYear", "item": {"type": "string", "enum": {"items": [{"value": "April"}, {"value": "August"}, {"value": "December"}, {"value": "February"}, {"value": "January"}, {"value": "July"}, {"value": "June"}, {"value": "March"}, {"value": "May"}, {"value": "November"}, {"value": "October"}, {"value": "September"}]}}}, {"type": "array", "name": "scheduleTimes", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.scheduleTimes", "item": {"type": "dateTime"}}, {"type": "array", "name": "weeksOfTheMonth", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].criteria[].ScheduleBasedBackupCriteria.weeksOfTheMonth", "item": {"type": "string", "enum": {"items": [{"value": "First"}, {"value": "Fourth"}, {"value": "Last"}, {"value": "Second"}, {"value": "Third"}]}}}]}]}}, {"type": "boolean", "name": "isDefault", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].isDefault", "required": true}, {"type": "@RetentionTag_update", "name": "tagInfo", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].tagInfo", "required": true}, {"type": "integer64", "name": "taggingPriority", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureBackupRule.trigger.ScheduleBasedTriggerContext.taggingCriteria[].taggingPriority", "required": true}]}}]}]}]}, {"property": "objectType", "value": "AzureRetentionRule", "props": [{"type": "boolean", "name": "isDefault", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.isDefault"}, {"type": "array", "name": "lifecycles", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "deleteAfter", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter", "required": true, "props": [{"type": "string", "name": "duration", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter.duration", "required": true}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].deleteAfter.objectType", "required": true, "enum": {"items": [{"value": "AbsoluteDeleteOption"}]}}]}, {"type": "@DataStoreInfoBase_update", "name": "sourceDataStore", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].sourceDataStore", "required": true}, {"type": "array", "name": "targetDataStoreCopySettings", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings", "item": {"type": "object", "props": [{"type": "object", "name": "copyAfter", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter", "required": true, "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "CopyOnExpiryOption"}, {"arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter.CustomCopyOption", "value": "CustomCopyOption"}, {"value": "ImmediateCopyOption"}]}}], "discriminators": [{"property": "objectType", "value": "CustomCopyOption", "props": [{"type": "string", "name": "duration", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].copyAfter.CustomCopyOption.duration"}]}]}, {"type": "@DataStoreInfoBase_update", "name": "dataStore", "arg": "$parameters.properties.BackupPolicy.policyRules[].AzureRetentionRule.lifecycles[].targetDataStoreCopySettings[].dataStore", "required": true}]}}]}}]}]}}]}]}], "clientFlatten": true}}}}, {"operationId": "BackupPolicies_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "backupPolicyName", "arg": "$Path.backupPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@BaseBackupPolicyResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml new file mode 100644 index 000000000..a4de79384 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwcG9saWNpZXMve30=/2023-05-01.xml @@ -0,0 +1,1618 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.json new file mode 100644 index 000000000..66947bdc9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/validateforbackup", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L3ZhbGlkYXRlRm9yQmFja3Vw/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "validate-for-backup", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/validateforbackup", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L3ZhbGlkYXRlRm9yQmFja3Vw/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["vault-name"], "required": true, "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.backupInstance", "options": ["backup-instance"], "required": true, "group": "Parameters", "help": {"short": "Backup Instance"}, "args": [{"type": "object", "var": "$parameters.backupInstance.dataSourceInfo", "options": ["data-source-info"], "required": true, "help": {"short": "Gets or sets the data source information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "object", "var": "$parameters.backupInstance.dataSourceInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"type": "string", "var": "@BaseResourceProperties_create.objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of the specific object - used for deserializing"}}], "cls": "BaseResourceProperties_create"}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.backupInstance.dataSourceSetInfo", "options": ["data-source-set-info"], "help": {"short": "Gets or sets the data source set information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "@BaseResourceProperties_create", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "required": true, "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}]}, {"type": "string", "var": "$parameters.backupInstance.friendlyName", "options": ["friendly-name"], "help": {"short": "Gets or sets the Backup Instance friendly name."}}, {"type": "object", "var": "$parameters.backupInstance.identityDetails", "options": ["identity-details"], "group": "", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"type": "boolean", "var": "$parameters.backupInstance.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"type": "string", "var": "$parameters.backupInstance.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}, {"type": "string", "var": "$parameters.backupInstance.objectType", "options": ["object-type"], "required": true}, {"type": "object", "var": "$parameters.backupInstance.policyInfo", "options": ["policy-info"], "required": true, "help": {"short": "Gets or sets the policy information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyId", "options": ["policy-id"], "required": true}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters", "options": ["policy-parameters"], "help": {"short": "Policy parameters for the backup instance"}, "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList", "options": ["backup-datasource-parameters-list"], "help": {"short": "Gets or sets the Backup Data Source Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "options": ["blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "required": true, "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "options": ["kubernetes-cluster-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "options": ["backup-hook-references"], "help": {"short": "Gets or sets the backup hook references. This property sets the hook reference to be executed during backup."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name", "options": ["name"], "help": {"short": "Name of the resource"}}, {"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace", "options": ["namespace"], "help": {"short": "Namespace in which the resource exists"}}]}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "options": ["excluded-namespaces"], "help": {"short": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "options": ["excluded-resource-types"], "help": {"short": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "options": ["include-cluster-scope-resources"], "required": true, "help": {"short": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore."}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "options": ["included-namespaces"], "help": {"short": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "options": ["included-resource-types"], "help": {"short": "Gets or sets the include resource types property. This property sets the resource types to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "options": ["label-selectors"], "help": {"short": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "options": ["snapshot-volumes"], "required": true, "help": {"short": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore."}}]}]}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList", "options": ["data-store-parameters-list"], "help": {"short": "Gets or sets the DataStore Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "options": ["azure-operational-store-parameters"], "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Gets or sets the Snapshot Resource Group Uri."}}]}, {"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "options": ["data-store-type"], "required": true, "help": {"short": "type of datastore; Operational/Vault/Archive"}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}]}}]}]}, {"type": "string", "var": "$parameters.backupInstance.validationType", "options": ["validation-type"], "help": {"short": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again."}, "enum": {"items": [{"name": "DeepValidation", "value": "DeepValidation"}, {"name": "ShallowValidation", "value": "ShallowValidation"}]}}]}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_ValidateForBackup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "backupInstance", "arg": "$parameters.backupInstance", "required": true, "props": [{"type": "object", "name": "dataSourceInfo", "arg": "$parameters.backupInstance.dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.backupInstance.dataSourceInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.dataSourceInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.backupInstance.dataSourceInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.backupInstance.dataSourceInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.backupInstance.dataSourceInfo.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "$parameters.backupInstance.dataSourceInfo.resourceProperties", "props": [{"type": "string", "name": "objectType", "arg": "@BaseResourceProperties_create.objectType", "required": true}], "cls": "BaseResourceProperties_create"}, {"type": "string", "name": "resourceType", "arg": "$parameters.backupInstance.dataSourceInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.backupInstance.dataSourceInfo.resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "arg": "$parameters.backupInstance.dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.backupInstance.dataSourceSetInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.dataSourceSetInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceName"}, {"type": "@BaseResourceProperties_create", "name": "resourceProperties", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.backupInstance.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}]}, {"type": "string", "name": "friendlyName", "arg": "$parameters.backupInstance.friendlyName"}, {"type": "object", "name": "identityDetails", "arg": "$parameters.backupInstance.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.backupInstance.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.backupInstance.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.objectType", "required": true}, {"type": "object", "name": "policyInfo", "arg": "$parameters.backupInstance.policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "arg": "$parameters.backupInstance.policyInfo.policyId", "required": true}, {"type": "object", "name": "policyParameters", "arg": "$parameters.backupInstance.policyInfo.policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "value": "BlobBackupDatasourceParameters"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name"}, {"type": "string", "name": "namespace", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "labelSelectors", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId"}]}]}}]}]}, {"type": "string", "name": "validationType", "arg": "$parameters.backupInstance.validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "jobId"}, {"const": true, "default": {"value": "OperationJobExtendedInfo"}, "type": "string", "name": "objectType", "required": true}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.xml new file mode 100644 index 000000000..6e72d395c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2023-05-01.xml @@ -0,0 +1,366 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.md new file mode 100644 index 000000000..7cbd1de81 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.dataprotection/resourceguards 2023-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcw==/2023-05-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.json new file mode 100644 index 000000000..04f81e44f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vcmVzb3VyY2VHdWFyZHMve3Jlc291cmNlR3VhcmRzTmFtZX0=/V/MjAyMy0wNS0wMQ=="}], "commandGroups": [{"name": "dataprotection resource-guard", "commands": [{"name": "show", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vcmVzb3VyY2VHdWFyZHMve3Jlc291cmNlR3VhcmRzTmFtZX0=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceGuardsName", "options": ["n", "name", "resource-guard-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of ResourceGuard"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ResourceGuards_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGuardsName", "arg": "$Path.resourceGuardsName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/resourceGuards/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "boolean", "name": "allowAutoApprovals"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array", "name": "resourceGuardOperations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "requestResourceType"}, {"readOnly": true, "type": "string", "name": "vaultCriticalOperation"}]}}, {"type": "array", "name": "vaultCriticalOperationExclusionList", "item": {"type": "string"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vcmVzb3VyY2VHdWFyZHMve3Jlc291cmNlR3VhcmRzTmFtZX0=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceGuardsName", "options": ["n", "name", "resource-guard-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of ResourceGuard"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ResourceGuards_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGuardsName", "arg": "$Path.resourceGuardsName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vcmVzb3VyY2VHdWFyZHMve3Jlc291cmNlR3VhcmRzTmFtZX0=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceGuardsName", "options": ["n", "name", "resource-guard-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Resource Guard"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "array", "var": "$parameters.properties.vaultCriticalOperationExclusionList", "options": ["critical-operation-exclusion-list"], "hide": true, "group": "", "help": {"short": "List of critical operations which are not protected by this resourceGuard."}, "item": {"type": "string"}}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "ResourceGuards_Put", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGuardsName", "arg": "$Path.resourceGuardsName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "vaultCriticalOperationExclusionList", "arg": "$parameters.properties.vaultCriticalOperationExclusionList", "item": {"type": "string"}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/resourceGuards/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "boolean", "name": "allowAutoApprovals"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array", "name": "resourceGuardOperations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "requestResourceType"}, {"readOnly": true, "type": "string", "name": "vaultCriticalOperation"}]}}, {"type": "array", "name": "vaultCriticalOperationExclusionList", "item": {"type": "string"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-05-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/resourceguards/{}", "version": "2023-05-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vcmVzb3VyY2VHdWFyZHMve3Jlc291cmNlR3VhcmRzTmFtZX0=/V/MjAyMy0wNS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceGuardsName", "options": ["n", "name", "resource-guard-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Resource Guard"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"nullable": true, "type": "array", "var": "$parameters.properties.vaultCriticalOperationExclusionList", "options": ["critical-operation-exclusion-list"], "group": "", "help": {"short": "List of critical operations which are not protected by this resourceGuard. Allowed values: deleteProtection, getSecurityPIN, updatePolicy, updateProtection."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "hide": true, "group": "Parameters", "help": {"short": "Optional ETag."}}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "Parameters", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}]}], "operations": [{"operationId": "ResourceGuards_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGuardsName", "arg": "$Path.resourceGuardsName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DataProtection/resourceGuards/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "boolean", "name": "allowAutoApprovals"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array", "name": "resourceGuardOperations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "requestResourceType"}, {"readOnly": true, "type": "string", "name": "vaultCriticalOperation"}]}}, {"type": "array", "name": "vaultCriticalOperationExclusionList", "item": {"type": "string"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ResourceGuardResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "vaultCriticalOperationExclusionList", "arg": "$parameters.properties.vaultCriticalOperationExclusionList", "item": {"type": "string"}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "ResourceGuards_Put", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGuardsName", "arg": "$Path.resourceGuardsName", "required": true}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-05-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ResourceGuardResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.xml new file mode 100644 index 000000000..a38221201 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9yZXNvdXJjZWd1YXJkcy97fQ==/2023-05-01.xml @@ -0,0 +1,457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +