Skip to content

Commit

Permalink
{AzureDataProtection} fixes #21183 (#21551)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
navba-MSFT authored Nov 28, 2022
1 parent 495363b commit 610dd79
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 610dd79

Please sign in to comment.