Skip to content

Vault

  • Implements: github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr.datasource.IVault

This class encapsulates and extends the ROS resource type DATASOURCE::HBR::Vault, which is used to query the information about a backup vault.

Initializers

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr/datasource"
datasource.NewVault(scope Construct, id *string, props VaultProps, enableResourcePropertyConstraint *bool) Vault
Name Type Description
scope github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct No description.
id *string No description.
props VaultProps No description.
enableResourcePropertyConstraint *bool No description.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func ToString() *string

Returns a string representation of this construct.

Synthesize

func Synthesize(session ISynthesisSession)

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: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

FetchCondition

func FetchCondition() RosCondition

FetchDependency

func FetchDependency() *[]*string

FetchResourceDesc

func FetchResourceDesc() *string

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

  • Type: interface{}

Static Functions

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

IsConstruct

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr/datasource"
datasource.Vault_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

xRequired

  • Type: interface{}

Properties

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

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node associated with this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func Ref() *string
  • Type: *string

StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


ResourceOptional

func Resource() RosResource
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource

AttrBackupPlanStatisticsRequired

func AttrBackupPlanStatistics() interface{}
  • Type: interface{}

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


AttrBytesDoneRequired

func AttrBytesDone() interface{}
  • Type: interface{}

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

Unit: bytes.


AttrCreateTimeRequired

func AttrCreateTime() interface{}
  • Type: interface{}

Attribute CreateTime: The creation time of the backup vault.


AttrDedupRequired

func AttrDedup() interface{}
  • Type: interface{}

Attribute Dedup: Indicates whether the deduplication feature is enabled.


AttrDescriptionRequired

func AttrDescription() interface{}
  • Type: interface{}

Attribute Description: The description of the backup vault.


AttrIndexAvailableRequired

func AttrIndexAvailable() interface{}
  • Type: interface{}

Attribute IndexAvailable: Indicates whether indexes are available.

Indexes are available when they are not being updated.


AttrIndexLevelRequired

func AttrIndexLevel() interface{}
  • Type: interface{}

Attribute IndexLevel: The index level.


AttrIndexUpdateTimeRequired

func AttrIndexUpdateTime() interface{}
  • Type: interface{}

Attribute IndexUpdateTime: The time when the index was updated.


AttrLatestReplicationTimeRequired

func AttrLatestReplicationTime() interface{}
  • Type: interface{}

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

The value is a UNIX timestamp. Unit: seconds.


AttrPaymentTypeRequired

func AttrPaymentType() interface{}
  • Type: interface{}

Attribute PaymentType: The payment type of the backup vault.


AttrRedundancyTypeRequired

func AttrRedundancyType() interface{}
  • Type: interface{}

Attribute RedundancyType: The data redundancy type of the backup vault.


AttrReplicationRequired

func AttrReplication() interface{}
  • Type: interface{}

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


AttrReplicationProgressRequired

func AttrReplicationProgress() interface{}
  • Type: interface{}

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


AttrReplicationSourceRegionIdRequired

func AttrReplicationSourceRegionId() interface{}
  • Type: interface{}

Attribute ReplicationSourceRegionId: The ID of the region in which the source vault resides.

This parameter is valid only for remote backup vaults.


AttrReplicationSourceVaultIdRequired

func AttrReplicationSourceVaultId() interface{}
  • Type: interface{}

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


AttrResourceGroupIdRequired

func AttrResourceGroupId() interface{}
  • Type: interface{}

Attribute ResourceGroupId: The ID of the resource group.


AttrRetentionRequired

func AttrRetention() interface{}
  • Type: interface{}

Attribute Retention: The retention period of the backup vault.

Unit: days.


AttrSearchEnabledRequired

func AttrSearchEnabled() interface{}
  • Type: interface{}

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


AttrSourceTypesRequired

func AttrSourceTypes() interface{}
  • Type: interface{}

Attribute SourceTypes: The data source types of the backup vault.


AttrStorageSizeRequired

func AttrStorageSize() interface{}
  • Type: interface{}

Attribute StorageSize: The usage of the backup vault.

Unit: bytes.


AttrTagsRequired

func AttrTags() interface{}
  • Type: interface{}

Attribute Tags: The tags of the backup vault.


AttrTrialInfoRequired

func AttrTrialInfo() interface{}
  • Type: interface{}

Attribute TrialInfo: The free trial information.


AttrUpdatedTimeRequired

func AttrUpdatedTime() interface{}
  • Type: interface{}

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

The value is a UNIX timestamp. Unit: seconds.


AttrVaultIdRequired

func AttrVaultId() interface{}
  • Type: interface{}

Attribute VaultId: The ID of the backup vault.


AttrVaultNameRequired

func AttrVaultName() interface{}
  • Type: interface{}

Attribute VaultName: The name of the backup vault.


AttrVaultStatusMessageRequired

func AttrVaultStatusMessage() interface{}
  • Type: interface{}

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.


AttrVaultStorageClassRequired

func AttrVaultStorageClass() interface{}
  • Type: interface{}

Attribute VaultStorageClass: Backup repository storage type.

The value is only STANDARD, which indicates STANDARD storage.


AttrVaultTypeRequired

func AttrVaultType() interface{}
  • Type: interface{}

Attribute VaultType: The type of the backup vault.


PropsRequired

func Props() VaultProps