Skip to content

DiskReplicaGroup

This class encapsulates and extends the ROS resource type ALIYUN::EBS::DiskReplicaGroup.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Ebs;
new DiskReplicaGroup(Construct Scope, string Id, DiskReplicaGroupProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props DiskReplicaGroupProps 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.Ebs;
DiskReplicaGroup.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.
AttrDescription object Attribute Description: The description of the consistent replication group.
AttrDestinationRegionId object Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs.
AttrDestinationZoneId object Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs.
AttrDiskReplicaGroupName object Attribute DiskReplicaGroupName: Consistent replication group name.
AttrLastRecoverPoint object Attribute LastRecoverPoint: The time when the last asynchronous replication operation of the consistent replication group completed.
AttrPairIds object Attribute PairIds: List of replication pair IDs contained in a consistent replication group.
AttrPairNumber object Attribute PairNumber: The number of replication pairs contained in a consistent replication group.
AttrPrimaryRegion object Attribute PrimaryRegion: The initial source region of the replication group.
AttrPrimaryZone object Attribute PrimaryZone: The initial source available area of the replication group.
AttrReplicaGroupId object Attribute ReplicaGroupId: The ID of the consistent replication group.
AttrResourceGroupId object Attribute ResourceGroupId: resource group ID of enterprise.
AttrRpo object Attribute RPO: The RPO value set by the consistency group in seconds.
AttrSite object Attribute Site: Site information sources for replication pairs and consistent replication groups.
AttrSourceRegionId object Attribute SourceRegionId: The ID of the region to which the production site belongs.
AttrSourceZoneId object Attribute SourceZoneId: The ID of the zone to which the production site belongs.
AttrStandbyRegion object Attribute StandbyRegion: The initial destination region of the replication group.
AttrStandbyZone object Attribute StandbyZone: The initial destination zone of the replication group.
AttrTags object Attribute Tags: The tags of the disk replica group.
Props DiskReplicaGroupProps 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

AttrDescriptionRequired

public object AttrDescription { get; }
  • Type: object

Attribute Description: The description of the consistent replication group.


AttrDestinationRegionIdRequired

public object AttrDestinationRegionId { get; }
  • Type: object

Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs.


AttrDestinationZoneIdRequired

public object AttrDestinationZoneId { get; }
  • Type: object

Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs.


AttrDiskReplicaGroupNameRequired

public object AttrDiskReplicaGroupName { get; }
  • Type: object

Attribute DiskReplicaGroupName: Consistent replication group name.


AttrLastRecoverPointRequired

public object AttrLastRecoverPoint { get; }
  • Type: object

Attribute LastRecoverPoint: The time when the last asynchronous replication operation of the consistent replication group completed.

This parameter provides the return value as a timestamp. Unit: seconds.


AttrPairIdsRequired

public object AttrPairIds { get; }
  • Type: object

Attribute PairIds: List of replication pair IDs contained in a consistent replication group.


AttrPairNumberRequired

public object AttrPairNumber { get; }
  • Type: object

Attribute PairNumber: The number of replication pairs contained in a consistent replication group.


AttrPrimaryRegionRequired

public object AttrPrimaryRegion { get; }
  • Type: object

Attribute PrimaryRegion: The initial source region of the replication group.


AttrPrimaryZoneRequired

public object AttrPrimaryZone { get; }
  • Type: object

Attribute PrimaryZone: The initial source available area of the replication group.


AttrReplicaGroupIdRequired

public object AttrReplicaGroupId { get; }
  • Type: object

Attribute ReplicaGroupId: The ID of the consistent replication group.


AttrResourceGroupIdRequired

public object AttrResourceGroupId { get; }
  • Type: object

Attribute ResourceGroupId: resource group ID of enterprise.


AttrRpoRequired

public object AttrRpo { get; }
  • Type: object

Attribute RPO: The RPO value set by the consistency group in seconds.


AttrSiteRequired

public object AttrSite { get; }
  • Type: object

Attribute Site: Site information sources for replication pairs and consistent replication groups.

Possible values:


AttrSourceRegionIdRequired

public object AttrSourceRegionId { get; }
  • Type: object

Attribute SourceRegionId: The ID of the region to which the production site belongs.


AttrSourceZoneIdRequired

public object AttrSourceZoneId { get; }
  • Type: object

Attribute SourceZoneId: The ID of the zone to which the production site belongs.


AttrStandbyRegionRequired

public object AttrStandbyRegion { get; }
  • Type: object

Attribute StandbyRegion: The initial destination region of the replication group.


AttrStandbyZoneRequired

public object AttrStandbyZone { get; }
  • Type: object

Attribute StandbyZone: The initial destination zone of the replication group.


AttrTagsRequired

public object AttrTags { get; }
  • Type: object

Attribute Tags: The tags of the disk replica group.


PropsRequired

public DiskReplicaGroupProps Props { get; }