Vault
This class encapsulates and extends the ROS resource type DATASOURCE::HBR::Vault
.
Initializers
import { datasource } from '@alicloud/ros-cdk-hbr'
new datasource.Vault(scope: Construct, id: string, props: VaultProps, enableResourcePropertyConstraint?: boolean)
Name | Type | Description |
---|---|---|
scope |
@alicloud/ros-cdk-core.Construct |
No description. |
id |
string |
No description. |
props |
VaultProps |
No description. |
enableResourcePropertyConstraint |
boolean |
No description. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: VaultProps
enableResourcePropertyConstraint
Optional
- Type: boolean
Methods
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
addCondition |
No description. |
addCount |
No description. |
addDependency |
No description. |
addResourceDesc |
No description. |
applyRemovalPolicy |
No description. |
getAtt |
No description. |
setMetadata |
No description. |
toString
public toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import { datasource } from '@alicloud/ros-cdk-hbr'
datasource.Vault.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
Name | Type | Description |
---|---|---|
node |
@alicloud/ros-cdk-core.ConstructNode |
The construct tree node associated with this construct. |
ref |
string |
No description. |
stack |
@alicloud/ros-cdk-core.Stack |
The stack in which this resource is defined. |
resource |
@alicloud/ros-cdk-core.RosResource |
No description. |
attrBackupPlanStatistics |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackupPlanStatistics: The statistics of backup plans that use the backup vault. |
attrBytesDone |
@alicloud/ros-cdk-core.IResolvable |
Attribute BytesDone: The amount of data that is backed up. |
attrCreateTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreateTime: The creation time of the backup vault. |
attrDedup |
@alicloud/ros-cdk-core.IResolvable |
Attribute Dedup: Indicates whether the deduplication feature is enabled. |
attrDescription |
@alicloud/ros-cdk-core.IResolvable |
Attribute Description: The description of the backup vault. |
attrIndexAvailable |
@alicloud/ros-cdk-core.IResolvable |
Attribute IndexAvailable: Indicates whether indexes are available. |
attrIndexLevel |
@alicloud/ros-cdk-core.IResolvable |
Attribute IndexLevel: The index level. |
attrIndexUpdateTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute IndexUpdateTime: The time when the index was updated. |
attrLatestReplicationTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute LatestReplicationTime: The time when the last remote backup was synchronized. |
attrPaymentType |
@alicloud/ros-cdk-core.IResolvable |
Attribute PaymentType: The payment type of the backup vault. |
attrRedundancyType |
@alicloud/ros-cdk-core.IResolvable |
Attribute RedundancyType: The data redundancy type of the backup vault. |
attrReplication |
@alicloud/ros-cdk-core.IResolvable |
Attribute Replication: Indicates whether the backup vault is a remote backup vault. |
attrReplicationProgress |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReplicationProgress: The progress of data synchronization from the backup vault to the mirror vault. |
attrReplicationSourceRegionId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReplicationSourceRegionId: The ID of the region in which the source vault resides. |
attrReplicationSourceVaultId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReplicationSourceVaultId: The ID of the source vault that corresponds to the remote backup vault. |
attrResourceGroupId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ResourceGroupId: The ID of the resource group. |
attrRetention |
@alicloud/ros-cdk-core.IResolvable |
Attribute Retention: The retention period of the backup vault. |
attrSearchEnabled |
@alicloud/ros-cdk-core.IResolvable |
Attribute SearchEnabled: Indicates whether the backup search feature is enabled. |
attrSourceTypes |
@alicloud/ros-cdk-core.IResolvable |
Attribute SourceTypes: The data source types of the backup vault. |
attrStorageSize |
@alicloud/ros-cdk-core.IResolvable |
Attribute StorageSize: The usage of the backup vault. |
attrTags |
@alicloud/ros-cdk-core.IResolvable |
Attribute Tags: The tags of the backup vault. |
attrTrialInfo |
@alicloud/ros-cdk-core.IResolvable |
Attribute TrialInfo: The free trial information. |
attrUpdatedTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute UpdatedTime: The time when the backup vault was updated. |
attrVaultId |
@alicloud/ros-cdk-core.IResolvable |
Attribute VaultId: The ID of the backup vault. |
attrVaultName |
@alicloud/ros-cdk-core.IResolvable |
Attribute VaultName: The name of the backup vault. |
attrVaultStatusMessage |
@alicloud/ros-cdk-core.IResolvable |
Attribute VaultStatusMessage: The status message that is returned when the backup vault is in the ERROR state. |
attrVaultStorageClass |
@alicloud/ros-cdk-core.IResolvable |
Attribute VaultStorageClass: Backup repository storage type. |
attrVaultType |
@alicloud/ros-cdk-core.IResolvable |
Attribute VaultType: The type of the backup vault. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrBackupPlanStatistics
Required
public readonly attrBackupPlanStatistics: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackupPlanStatistics: The statistics of backup plans that use the backup vault.
attrBytesDone
Required
public readonly attrBytesDone: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BytesDone: The amount of data that is backed up.
Unit: bytes.
attrCreateTime
Required
public readonly attrCreateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreateTime: The creation time of the backup vault.
attrDedup
Required
public readonly attrDedup: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Dedup: Indicates whether the deduplication feature is enabled.
attrDescription
Required
public readonly attrDescription: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Description: The description of the backup vault.
attrIndexAvailable
Required
public readonly attrIndexAvailable: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute IndexAvailable: Indicates whether indexes are available.
Indexes are available when they are not being updated.
attrIndexLevel
Required
public readonly attrIndexLevel: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute IndexLevel: The index level.
attrIndexUpdateTime
Required
public readonly attrIndexUpdateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute IndexUpdateTime: The time when the index was updated.
attrLatestReplicationTime
Required
public readonly attrLatestReplicationTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LatestReplicationTime: The time when the last remote backup was synchronized.
The value is a UNIX timestamp. Unit: seconds.
attrPaymentType
Required
public readonly attrPaymentType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PaymentType: The payment type of the backup vault.
attrRedundancyType
Required
public readonly attrRedundancyType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute RedundancyType: The data redundancy type of the backup vault.
attrReplication
Required
public readonly attrReplication: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Replication: Indicates whether the backup vault is a remote backup vault.
attrReplicationProgress
Required
public readonly attrReplicationProgress: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ReplicationProgress: The progress of data synchronization from the backup vault to the mirror vault.
attrReplicationSourceRegionId
Required
public readonly attrReplicationSourceRegionId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ReplicationSourceRegionId: The ID of the region in which the source vault resides.
This parameter is valid only for remote backup vaults.
attrReplicationSourceVaultId
Required
public readonly attrReplicationSourceVaultId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ReplicationSourceVaultId: The ID of the source vault that corresponds to the remote backup vault.
attrResourceGroupId
Required
public readonly attrResourceGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attrRetention
Required
public readonly attrRetention: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Retention: The retention period of the backup vault.
Unit: days.
attrSearchEnabled
Required
public readonly attrSearchEnabled: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SearchEnabled: Indicates whether the backup search feature is enabled.
attrSourceTypes
Required
public readonly attrSourceTypes: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SourceTypes: The data source types of the backup vault.
attrStorageSize
Required
public readonly attrStorageSize: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute StorageSize: The usage of the backup vault.
Unit: bytes.
attrTags
Required
public readonly attrTags: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Tags: The tags of the backup vault.
attrTrialInfo
Required
public readonly attrTrialInfo: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute TrialInfo: The free trial information.
attrUpdatedTime
Required
public readonly attrUpdatedTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute UpdatedTime: The time when the backup vault was updated.
The value is a UNIX timestamp. Unit: seconds.
attrVaultId
Required
public readonly attrVaultId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VaultId: The ID of the backup vault.
attrVaultName
Required
public readonly attrVaultName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VaultName: The name of the backup vault.
attrVaultStatusMessage
Required
public readonly attrVaultStatusMessage: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VaultStatusMessage: The status message that is returned when the backup vault is in the ERROR state.
This parameter is valid only for remote backup vaults.
attrVaultStorageClass
Required
public readonly attrVaultStorageClass: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VaultStorageClass: Backup repository storage type.
The value is only STANDARD, which indicates STANDARD storage.
attrVaultType
Required
public readonly attrVaultType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VaultType: The type of the backup vault.