-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataProtection/BackupVaults] Failed to create backupVaults with datastoreType value set to SnapshotStore #21183
Comments
@sinbai Apologies for the late reply. Thanks for reaching out to us and reporting this issue. It seems like the valid enum values for the storage settings are So could you please try to specify either of the above enum values instead of In the meantime, I will be creating a PR to get this addressed. |
@navba-MSFT thanks for your reply. Since the enum values for the storage settings are listed in the latest API as Refer to the original terraform issue: hashicorp/terraform-provider-azurerm#18826 |
@sinbai Thanks for getting back. As mentioned in my above comment, I will be creating a PR to update the same and this will be reviewed by the Service team later. |
@navba-MSFT thanks for your time:). |
fixes #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
fixes #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
{AzureDataProtection} fixes Azure/azure-rest-api-specs#21183 (Azure#21551) 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
{AzureDataProtection} fixes Azure/azure-rest-api-specs#21183 (Azure#21551) 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
{AzureDataProtection} fixes Azure/azure-rest-api-specs#21183 (Azure#21551) 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
{AzureDataProtection} fixes Azure/azure-rest-api-specs#21183 (Azure#21551) 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
{AzureDataProtection} fixes Azure/azure-rest-api-specs#21183 (Azure#21551) 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
{AzureDataProtection} fixes Azure/azure-rest-api-specs#21183 (Azure#21551) 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
fixes Azure#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
fixes Azure#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
When creating the backupVaults with the datastoreType value set to
SnapshotStore
via the latest version API, the error occurs as follows.Error:
Request URL: https://management.azure.com/subscriptions/xxx/resourceGroups/1019/providers/Microsoft.DataProtection/backupVaults/sft-3?api-version=2022-05-01
Request Body:
{"location":"eastus","properties":{"storageSettings":[{"datastoreType":"SnapshotStore","type":"LocallyRedundant"}]},"tags":{}}
The text was updated successfully, but these errors were encountered: