From 42afe6fd836f42367c3792ced849e592492cb17c Mon Sep 17 00:00:00 2001 From: navba-MSFT <57353862+navba-MSFT@users.noreply.github.com> Date: Tue, 15 Nov 2022 12:22:31 +0530 Subject: [PATCH] {AzureDataProtection} fixes Azure/azure-rest-api-specs#21183 fixes Azure/azure-rest-api-specs#21183 The enum values for the storage settings are listed in the latest API as `ArchiveStore, SnapshotStore, VaultStore.` However while providing `SnapshotStore` value it fail with `BMSUserErrorInvalidInput` error. Also while trying the same from PS cmdlet using > New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType SnapshotStore -Type LocallyRedundant **Error:** ``` Error: "Unable to match the identifier name SnapshotStore to a valid enumerator name. Specify one of the following enumerator names and try again: ArchiveStore, OperationalStore, VaultStore" ``` This PR fixes the enum value of storage setting --- .../stable/2022-05-01/dataprotection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-05-01/dataprotection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-05-01/dataprotection.json index 93f081237793..981926ed29b0 100644 --- a/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-05-01/dataprotection.json +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-05-01/dataprotection.json @@ -6113,7 +6113,7 @@ "description": "Gets or sets the type of the datastore.", "enum": [ "ArchiveStore", - "SnapshotStore", + "OperationalStore", "VaultStore" ], "type": "string",