Skip to content

DiskReplicaGroup

This class encapsulates and extends the ROS resource type ALIYUN::EBS::DiskReplicaGroup, which is used to create a replication pair-consistent group.

Initializers

import com.aliyun.ros.cdk.ebs.DiskReplicaGroup;
DiskReplicaGroup.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .destinationRegionId(java.lang.String)
    .destinationRegionId(IResolvable)
    .destinationZoneId(java.lang.String)
    .destinationZoneId(IResolvable)
    .sourceRegionId(java.lang.String)
    .sourceRegionId(IResolvable)
    .sourceZoneId(java.lang.String)
    .sourceZoneId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .diskReplicaGroupName(java.lang.String)
//  .diskReplicaGroupName(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .rpo(java.lang.Number)
//  .rpo(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
destinationRegionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
destinationZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
sourceRegionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceRegionId: The ID of the region to which the production site belongs.
sourceZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceZoneId: The ID of the zone to which the production site belongs.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the consistent replication group.
diskReplicaGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property diskReplicaGroupName: Consistent replication group name.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of resource group.
rpo java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property rpo: The RPO value set by the consistency group in seconds.
tags java.util.List<TagsProperty> Property tags: Tags of disk replica group.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

destinationRegionIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.


destinationZoneIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.


sourceRegionIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sourceRegionId: The ID of the region to which the production site belongs.


sourceZoneIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sourceZoneId: The ID of the zone to which the production site belongs.


descriptionOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the consistent replication group.


diskReplicaGroupNameOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property diskReplicaGroupName: Consistent replication group name.


resourceGroupIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of resource group.


rpoOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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


tagsOptional

Property tags: Tags of disk replica group.


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 java.lang.String toString()

Returns a string representation of this construct.

synthesize

public 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: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

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

isConstruct

import com.aliyun.ros.cdk.ebs.DiskReplicaGroup;
DiskReplicaGroup.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrDescription com.aliyun.ros.cdk.core.IResolvable Attribute Description: The description of the consistent replication group.
attrDestinationRegionId com.aliyun.ros.cdk.core.IResolvable Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs.
attrDestinationZoneId com.aliyun.ros.cdk.core.IResolvable Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs.
attrDiskReplicaGroupName com.aliyun.ros.cdk.core.IResolvable Attribute DiskReplicaGroupName: Consistent replication group name.
attrLastRecoverPoint com.aliyun.ros.cdk.core.IResolvable Attribute LastRecoverPoint: The time when the last asynchronous replication operation of the consistent replication group completed.
attrPairIds com.aliyun.ros.cdk.core.IResolvable Attribute PairIds: List of replication pair IDs contained in a consistent replication group.
attrPairNumber com.aliyun.ros.cdk.core.IResolvable Attribute PairNumber: The number of replication pairs contained in a consistent replication group.
attrPrimaryRegion com.aliyun.ros.cdk.core.IResolvable Attribute PrimaryRegion: The initial source region of the replication group.
attrPrimaryZone com.aliyun.ros.cdk.core.IResolvable Attribute PrimaryZone: The initial source available area of the replication group.
attrReplicaGroupId com.aliyun.ros.cdk.core.IResolvable Attribute ReplicaGroupId: The ID of the consistent replication group.
attrResourceGroupId com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: resource group ID of enterprise.
attrRpo com.aliyun.ros.cdk.core.IResolvable Attribute RPO: The RPO value set by the consistency group in seconds.
attrSite com.aliyun.ros.cdk.core.IResolvable Attribute Site: Site information sources for replication pairs and consistent replication groups.
attrSourceRegionId com.aliyun.ros.cdk.core.IResolvable Attribute SourceRegionId: The ID of the region to which the production site belongs.
attrSourceZoneId com.aliyun.ros.cdk.core.IResolvable Attribute SourceZoneId: The ID of the zone to which the production site belongs.
attrStandbyRegion com.aliyun.ros.cdk.core.IResolvable Attribute StandbyRegion: The initial destination region of the replication group.
attrStandbyZone com.aliyun.ros.cdk.core.IResolvable Attribute StandbyZone: The initial destination zone of the replication group.
attrTags com.aliyun.ros.cdk.core.IResolvable Attribute Tags: The tags of the disk replica group.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrDescriptionRequired

public IResolvable getAttrDescription();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Description: The description of the consistent replication group.


attrDestinationRegionIdRequired

public IResolvable getAttrDestinationRegionId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrDestinationZoneIdRequired

public IResolvable getAttrDestinationZoneId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrDiskReplicaGroupNameRequired

public IResolvable getAttrDiskReplicaGroupName();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DiskReplicaGroupName: Consistent replication group name.


attrLastRecoverPointRequired

public IResolvable getAttrLastRecoverPoint();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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 IResolvable getAttrPairIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrPairNumberRequired

public IResolvable getAttrPairNumber();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrPrimaryRegionRequired

public IResolvable getAttrPrimaryRegion();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrPrimaryZoneRequired

public IResolvable getAttrPrimaryZone();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrReplicaGroupIdRequired

public IResolvable getAttrReplicaGroupId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ReplicaGroupId: The ID of the consistent replication group.


attrResourceGroupIdRequired

public IResolvable getAttrResourceGroupId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ResourceGroupId: resource group ID of enterprise.


attrRpoRequired

public IResolvable getAttrRpo();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrSiteRequired

public IResolvable getAttrSite();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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

Possible values:


attrSourceRegionIdRequired

public IResolvable getAttrSourceRegionId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrSourceZoneIdRequired

public IResolvable getAttrSourceZoneId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrStandbyRegionRequired

public IResolvable getAttrStandbyRegion();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrStandbyZoneRequired

public IResolvable getAttrStandbyZone();
  • Type: com.aliyun.ros.cdk.core.IResolvable

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


attrTagsRequired

public IResolvable getAttrTags();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Tags: The tags of the disk replica group.