Skip to content

Vault

This class encapsulates and extends the ROS resource type ALIYUN::HBR::Vault.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Hbr;
new Vault(Construct Scope, string Id, VaultProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props VaultProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsRequired


EnableResourcePropertyConstraintOptional

  • Type: bool

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.
FetchCondition No description.
FetchDependency No description.
FetchResourceDesc No description.
GetAtt No description.
SetMetadata No description.

ToString

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

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.

SessionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

FetchCondition

private RosCondition FetchCondition()

FetchDependency

private string[] FetchDependency()

FetchResourceDesc

private string FetchResourceDesc()

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Hbr;
Vault.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Ref string No description.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
Resource AlibabaCloud.SDK.ROS.CDK.Core.RosResource No description.
AttrBackupPlanStatistics object Attribute BackupPlanStatistics: The statistics of backup plans that use the backup vault.
AttrBytesDone object Attribute BytesDone: The amount of data that is backed up.
AttrCreateTime object Attribute CreateTime: The time when the backup vault was created.
AttrDedup object Attribute Dedup: Indicates whether the deduplication feature is enabled.
AttrDescription object Attribute Description: The description of the backup vault.
AttrIndexAvailable object Attribute IndexAvailable: Indicates whether indexes are available.
AttrIndexLevel object Attribute IndexLevel: The index level.
AttrIndexUpdateTime object Attribute IndexUpdateTime: The time when the index was updated.
AttrLatestReplicationTime object Attribute LatestReplicationTime: The time when the last remote backup was synchronized.
AttrPaymentType object Attribute PaymentType: PaymentType.
AttrRedundancyType object Attribute RedundancyType: The data redundancy type of the backup vault.
AttrReplication object Attribute Replication: Indicates whether the backup vault is a remote backup vault.
AttrReplicationProgress object Attribute ReplicationProgress: The progress of data synchronization from the backup vault to the mirror vault.
AttrReplicationSourceRegionId object Attribute ReplicationSourceRegionId: The ID of the region where the remote backup vault resides.
AttrReplicationSourceVaultId object Attribute ReplicationSourceVaultId: The ID of the source vault that corresponds to the remote backup vault.
AttrResourceGroupId object Attribute ResourceGroupId: The ID of the resource group.
AttrRetention object Attribute Retention: The retention period of the backup vault.
AttrSearchEnabled object Attribute SearchEnabled: Indicates whether the backup search feature is enabled.
AttrSourceTypes object Attribute SourceTypes: The information about the data source.
AttrStorageSize object Attribute StorageSize: The usage of the backup vault.
AttrTags object Attribute Tags: The tags of the backup vault.
AttrTrialInfo object Attribute TrialInfo: The free trial information.
AttrUpdatedTime object Attribute UpdatedTime: The time when the backup vault was updated.
AttrVaultId object Attribute VaultId: The ID of the backup vault.
AttrVaultName object Attribute VaultName: The name of the backup vault.
AttrVaultStatusMessage object Attribute VaultStatusMessage: The status message that is returned when the backup vault is in the ERROR state.
AttrVaultStorageClass object Attribute VaultStorageClass: The storage type of the backup vault.
AttrVaultType object Attribute VaultType: The type of the backup vault.
Props VaultProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrBackupPlanStatisticsRequired

public object AttrBackupPlanStatistics { get; }
  • Type: object

Attribute BackupPlanStatistics: The statistics of backup plans that use the backup vault.


AttrBytesDoneRequired

public object AttrBytesDone { get; }
  • Type: object

Attribute BytesDone: The amount of data that is backed up.

Unit: bytes.


AttrCreateTimeRequired

public object AttrCreateTime { get; }
  • Type: object

Attribute CreateTime: The time when the backup vault was created.

This value is a UNIX timestamp. Unit: seconds.


AttrDedupRequired

public object AttrDedup { get; }
  • Type: object

Attribute Dedup: Indicates whether the deduplication feature is enabled.


AttrDescriptionRequired

public object AttrDescription { get; }
  • Type: object

Attribute Description: The description of the backup vault.


AttrIndexAvailableRequired

public object AttrIndexAvailable { get; }
  • Type: object

Attribute IndexAvailable: Indicates whether indexes are available.

Indexes are available when they are not being updated.


AttrIndexLevelRequired

public object AttrIndexLevel { get; }
  • Type: object

Attribute IndexLevel: The index level.

  • OFF: No indexes are created.
  • META: Metadata indexes are created.
  • ALL: Full-text indexes are created.

AttrIndexUpdateTimeRequired

public object AttrIndexUpdateTime { get; }
  • Type: object

Attribute IndexUpdateTime: The time when the index was updated.


AttrLatestReplicationTimeRequired

public object AttrLatestReplicationTime { get; }
  • Type: object

Attribute LatestReplicationTime: The time when the last remote backup was synchronized.

This value is a UNIX timestamp. Unit: seconds.


AttrPaymentTypeRequired

public object AttrPaymentType { get; }
  • Type: object

Attribute PaymentType: PaymentType.


AttrRedundancyTypeRequired

public object AttrRedundancyType { get; }
  • Type: object

Attribute 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.

AttrReplicationRequired

public object AttrReplication { get; }
  • Type: object

Attribute Replication: Indicates whether the backup vault is a remote backup vault.

Valid values:

  • true: The backup vault is a remote backup vault.
  • false: The backup vault is an on-premises backup vault.

AttrReplicationProgressRequired

public object AttrReplicationProgress { get; }
  • Type: object

Attribute ReplicationProgress: The progress of data synchronization from the backup vault to the mirror vault.


AttrReplicationSourceRegionIdRequired

public object AttrReplicationSourceRegionId { get; }
  • Type: object

Attribute ReplicationSourceRegionId: The ID of the region where the remote backup vault resides.


AttrReplicationSourceVaultIdRequired

public object AttrReplicationSourceVaultId { get; }
  • Type: object

Attribute ReplicationSourceVaultId: The ID of the source vault that corresponds to the remote backup vault.


AttrResourceGroupIdRequired

public object AttrResourceGroupId { get; }
  • Type: object

Attribute ResourceGroupId: The ID of the resource group.


AttrRetentionRequired

public object AttrRetention { get; }
  • Type: object

Attribute Retention: The retention period of the backup vault.

Unit: days.


AttrSearchEnabledRequired

public object AttrSearchEnabled { get; }
  • Type: object

Attribute SearchEnabled: Indicates whether the backup search feature is enabled.


AttrSourceTypesRequired

public object AttrSourceTypes { get; }
  • Type: object

Attribute SourceTypes: The information about the data source.


AttrStorageSizeRequired

public object AttrStorageSize { get; }
  • Type: object

Attribute StorageSize: The usage of the backup vault.

Unit: bytes.


AttrTagsRequired

public object AttrTags { get; }
  • Type: object

Attribute Tags: The tags of the backup vault.


AttrTrialInfoRequired

public object AttrTrialInfo { get; }
  • Type: object

Attribute TrialInfo: The free trial information.


AttrUpdatedTimeRequired

public object AttrUpdatedTime { get; }
  • Type: object

Attribute UpdatedTime: The time when the backup vault was updated.

This value is a UNIX timestamp. Unit: seconds.


AttrVaultIdRequired

public object AttrVaultId { get; }
  • Type: object

Attribute VaultId: The ID of the backup vault.


AttrVaultNameRequired

public object AttrVaultName { get; }
  • Type: object

Attribute VaultName: The name of the backup vault.


AttrVaultStatusMessageRequired

public object AttrVaultStatusMessage { get; }
  • Type: object

Attribute VaultStatusMessage: The status message that is returned when the backup vault is in the ERROR state.

This parameter is available only for remote backup vaults. Valid values:

  • *UNKNOWN_ERROR: An unknown error occurs.
  • SOURCE_VAULT_ALREADY_HAS_REPLICATION: A mirror vault is configured for the source vault.

AttrVaultStorageClassRequired

public object AttrVaultStorageClass { get; }
  • Type: object

Attribute VaultStorageClass: The storage type of the backup vault.

Valid value: STANDARD, which indicates standard storage.


AttrVaultTypeRequired

public object AttrVaultType { get; }
  • Type: object

Attribute VaultType: The type of the backup vault.

Valid value: STANDARD, which indicates a standard backup vault.


PropsRequired

public VaultProps Props { get; }