DiskReplicaGroup
This class encapsulates and extends the ROS resource type ALIYUN::EBS::DiskReplicaGroup
, which is used to create a replication pair-consistent group.
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. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: DiskReplicaGroupProps
EnableResourcePropertyConstraint
Optional
- 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. |
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.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- 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.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode |
The construct tree node associated with this construct. |
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 |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Description: The description of the consistent replication group. |
AttrDestinationRegionId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs. |
AttrDestinationZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs. |
AttrDiskReplicaGroupName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DiskReplicaGroupName: Consistent replication group name. |
AttrLastRecoverPoint |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LastRecoverPoint: The time when the last asynchronous replication operation of the consistent replication group completed. |
AttrPairIds |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PairIds: List of replication pair IDs contained in a consistent replication group. |
AttrPairNumber |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PairNumber: The number of replication pairs contained in a consistent replication group. |
AttrPrimaryRegion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PrimaryRegion: The initial source region of the replication group. |
AttrPrimaryZone |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PrimaryZone: The initial source available area of the replication group. |
AttrReplicaGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ReplicaGroupId: The ID of the consistent replication group. |
AttrResourceGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ResourceGroupId: resource group ID of enterprise. |
AttrRpo |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute RPO: The RPO value set by the consistency group in seconds. |
AttrSite |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Site: Site information sources for replication pairs and consistent replication groups. |
AttrSourceRegionId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SourceRegionId: The ID of the region to which the production site belongs. |
AttrSourceZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SourceZoneId: The ID of the zone to which the production site belongs. |
AttrStandbyRegion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute StandbyRegion: The initial destination region of the replication group. |
AttrStandbyZone |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute StandbyZone: The initial destination zone of the replication group. |
AttrTags |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Tags: The tags of the disk replica group. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrDescription
Required
public IResolvable AttrDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Description: The description of the consistent replication group.
AttrDestinationRegionId
Required
public IResolvable AttrDestinationRegionId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs.
AttrDestinationZoneId
Required
public IResolvable AttrDestinationZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs.
AttrDiskReplicaGroupName
Required
public IResolvable AttrDiskReplicaGroupName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DiskReplicaGroupName: Consistent replication group name.
AttrLastRecoverPoint
Required
public IResolvable AttrLastRecoverPoint { get; }
- Type: AlibabaCloud.SDK.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.
AttrPairIds
Required
public IResolvable AttrPairIds { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PairIds: List of replication pair IDs contained in a consistent replication group.
AttrPairNumber
Required
public IResolvable AttrPairNumber { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PairNumber: The number of replication pairs contained in a consistent replication group.
AttrPrimaryRegion
Required
public IResolvable AttrPrimaryRegion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PrimaryRegion: The initial source region of the replication group.
AttrPrimaryZone
Required
public IResolvable AttrPrimaryZone { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PrimaryZone: The initial source available area of the replication group.
AttrReplicaGroupId
Required
public IResolvable AttrReplicaGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ReplicaGroupId: The ID of the consistent replication group.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: resource group ID of enterprise.
AttrRpo
Required
public IResolvable AttrRpo { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RPO: The RPO value set by the consistency group in seconds.
AttrSite
Required
public IResolvable AttrSite { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Site: Site information sources for replication pairs and consistent replication groups.
Possible values:
AttrSourceRegionId
Required
public IResolvable AttrSourceRegionId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SourceRegionId: The ID of the region to which the production site belongs.
AttrSourceZoneId
Required
public IResolvable AttrSourceZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SourceZoneId: The ID of the zone to which the production site belongs.
AttrStandbyRegion
Required
public IResolvable AttrStandbyRegion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute StandbyRegion: The initial destination region of the replication group.
AttrStandbyZone
Required
public IResolvable AttrStandbyZone { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute StandbyZone: The initial destination zone of the replication group.
AttrTags
Required
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: The tags of the disk replica group.