Skip to content

DiskReplicaPairProps

Properties for defining a DiskReplicaPair.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ebs-diskreplicapair

Initializer

import com.aliyun.ros.cdk.ebs.DiskReplicaPairProps;
DiskReplicaPairProps.builder()
    .destinationDiskId(java.lang.String)
    .destinationDiskId(IResolvable)
    .destinationRegionId(java.lang.String)
    .destinationRegionId(IResolvable)
    .destinationZoneId(java.lang.String)
    .destinationZoneId(IResolvable)
    .diskId(java.lang.String)
    .diskId(IResolvable)
    .sourceZoneId(java.lang.String)
    .sourceZoneId(IResolvable)
//  .bandwidth(java.lang.Number)
//  .bandwidth(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .diskReplicaPairName(java.lang.String)
//  .diskReplicaPairName(IResolvable)
//  .paymentType(java.lang.String)
//  .paymentType(IResolvable)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .periodUnit(java.lang.String)
//  .periodUnit(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .rpo(java.lang.Number)
//  .rpo(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
destinationDiskId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property destinationDiskId: The ID of the standby disk.
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.
diskId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property diskId: The ID of the primary disk.
sourceZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceZoneId: The ID of the zone to which the production site belongs.
bandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property bandwidth: The bandwidth for asynchronous data replication between cloud disks.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the asynchronous replication relationship.
diskReplicaPairName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property diskReplicaPairName: The name of the asynchronous replication relationship.
paymentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property paymentType: The payment type of the resource.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: The purchase duration of the asynchronous replication relationship.
periodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property periodUnit: The unit of the purchase time of the asynchronous replication relationship.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the 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 pair.

destinationDiskIdRequired

public java.lang.Object getDestinationDiskId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property destinationDiskId: The ID of the standby disk.


destinationRegionIdRequired

public java.lang.Object getDestinationRegionId();
  • 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

public java.lang.Object getDestinationZoneId();
  • 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.


diskIdRequired

public java.lang.Object getDiskId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property diskId: The ID of the primary disk.


sourceZoneIdRequired

public java.lang.Object getSourceZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


bandwidthOptional

public java.lang.Object getBandwidth();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property bandwidth: The bandwidth for asynchronous data replication between cloud disks.

The unit is Kbps. Value range:

  • 10240 Kbps: equal to 10 Mbps.
  • 20480 Kbps: equal to 20 Mbps.
  • 51200 Kbps: equal to 50 Mbps.
  • 102400 Kbps: equal to 100 Mbps. Default value: 10240. This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.

descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the asynchronous replication relationship.

2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.


diskReplicaPairNameOptional

public java.lang.Object getDiskReplicaPairName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property diskReplicaPairName: The name of the asynchronous replication relationship.

The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).


paymentTypeOptional

public java.lang.Object getPaymentType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property paymentType: The payment type of the resource.


periodOptional

public java.lang.Object getPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property period: The purchase duration of the asynchronous replication relationship.

This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:

  • When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 6, 12, 24, 36, 60.

periodUnitOptional

public java.lang.Object getPeriodUnit();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property periodUnit: The unit of the purchase time of the asynchronous replication relationship.

Value range:

  • Month.Default value: Month.

resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.


rpoOptional

public java.lang.Object getRpo();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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

Currently only 900 seconds are supported.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags of disk replica pair.