Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
sinbai committed Dec 8, 2023
1 parent acbf1ae commit 4586113
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func resourceDataProtectionBackupVault() *pluginsdk.Resource {
},
}

// Confirm with the service team that `SnapshotStore` has been replaced with `OperationalStore`.
// Confirmed with the service team that `SnapshotStore` has been replaced with `OperationalStore`.
if !features.FourPointOhBeta() {
resource.Schema["datastore_type"] = &pluginsdk.Schema{
Type: pluginsdk.TypeString,
Expand All @@ -84,6 +84,7 @@ func resourceDataProtectionBackupVault() *pluginsdk.Resource {
ValidateFunc: validation.StringInSlice([]string{
string(backupvaults.StorageSettingStoreTypesArchiveStore),
"SnapshotStore",
string(backupvaults.StorageSettingStoreTypesOperationalStore),
string(backupvaults.StorageSettingStoreTypesVaultStore),
}, false),
}
Expand Down
4 changes: 3 additions & 1 deletion website/docs/r/data_protection_backup_vault.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ The following arguments are supported:

* `location` - (Required) The Azure Region where the Backup Vault should exist. Changing this forces a new Backup Vault to be created.

* `datastore_type` - (Required) Specifies the type of the data store. Possible values are `ArchiveStore`, `SnapshotStore` and `VaultStore`. Changing this forces a new resource to be created.
* `datastore_type` - (Required) Specifies the type of the data store. Possible values are `ArchiveStore`, `OperationalStore`, `SnapshotStore` and `VaultStore`. Changing this forces a new resource to be created.

-> **Note:** The `SnapshotStore` will be removed in version 4.0 as it has been replaced by `OperationalStore`.

* `redundancy` - (Required) Specifies the backup storage redundancy. Possible values are `GeoRedundant` and `LocallyRedundant`. Changing this forces a new Backup Vault to be created.

Expand Down

0 comments on commit 4586113

Please sign in to comment.