VaultProps
Properties for defining a Vault
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-vault
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr"
&alicloudroscdkhbr.VaultProps {
VaultName: interface{},
VaultType: interface{},
Description: interface{},
EncryptType: interface{},
KmsKeyId: interface{},
RedundancyType: interface{},
ResourceGroupId: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr.RosVault.TagsProperty,
VaultStorageClass: interface{},
}
Properties
Name | Type | Description |
---|---|---|
VaultName |
interface{} |
Property vaultName: The name of the backup vault. |
VaultType |
interface{} |
Property vaultType: The type of the backup vault. |
Description |
interface{} |
Property description: The description of the backup vault. |
EncryptType |
interface{} |
Property encryptType: The method that is used to encrypt the source data. |
KmsKeyId |
interface{} |
Property kmsKeyId: The customer master key (CMK) created in KMS or the alias of the key. |
RedundancyType |
interface{} |
Property redundancyType: The data redundancy type of the backup vault. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group. |
Tags |
*[]TagsProperty |
Property tags: Tags of The resource attribute field representing the resource tag.. |
VaultStorageClass |
interface{} |
Property vaultStorageClass: The storage type of the backup vault. |
VaultName
Required
VaultName interface{}
- Type: interface{}
Property vaultName: The name of the backup vault.
The name must be 1 to 64 characters in length.
VaultType
Required
VaultType interface{}
- Type: interface{}
Property vaultType: The type of the backup vault.
Valid values:
- STANDARD: standard backup vault.
- OTS_BACKUP: backup vault for Tablestore.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of the backup vault.
The description must be 0 to 255 characters in length.
EncryptType
Optional
EncryptType interface{}
- Type: interface{}
Property encryptType: The method that is used to encrypt the source data.
This parameter is valid only if you set the VaultType parameter to STANDARD or OTS_BACKUP. Valid values:- HBR_PRIVATE: The source data is encrypted by using the built-in encryption method of Hybrid Backup Recovery (HBR).
- KMS: The source data is encrypted by using Key Management Service (KMS).
KmsKeyId
Optional
KmsKeyId interface{}
- Type: interface{}
Property kmsKeyId: The customer master key (CMK) created in KMS or the alias of the key.
This parameter is required only if you set the EncryptType parameter to KMS.
RedundancyType
Optional
RedundancyType interface{}
- Type: interface{}
Property redundancyType: The data redundancy type of the backup vault.
Valid values:
- LRS: Locally redundant storage (LRS) is enabled for the backup vault. HBR stores the copies of each object on multiple devices of different facilities in the same zone. This way, HBR ensures data durability and availability even if hardware failures occur.
- ZRS: Zone-redundant storage (ZRS) is enabled for the backup vault. HBR uses the multi-zone mechanism to distribute data across three zones within the same region. If a zone fails, the data that is stored in the other two zones is still accessible.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags of The resource attribute field representing the resource tag..
VaultStorageClass
Optional
VaultStorageClass interface{}
- Type: interface{}
Property vaultStorageClass: The storage type of the backup vault.
The value is only STANDARD, which indicates STANDARD storage.