Skip to content

Commit

Permalink
{AzureDataProtection} fixes Azure#21183 (Azure#21551)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
navba-MSFT authored and kayousef committed Dec 21, 2022
1 parent 750ff25 commit e6f5be7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6113,7 +6113,7 @@
"description": "Gets or sets the type of the datastore.",
"enum": [
"ArchiveStore",
"SnapshotStore",
"OperationalStore",
"VaultStore"
],
"type": "string",
Expand Down

0 comments on commit e6f5be7

Please sign in to comment.