Skip to content

DiskReplicaPairProps

Properties for defining a DiskReplicaPair.

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

Initializer

import ros_cdk_ebs
ros_cdk_ebs.DiskReplicaPairProps(
  destination_disk_id: typing.Union[str, IResolvable],
  destination_region_id: typing.Union[str, IResolvable],
  destination_zone_id: typing.Union[str, IResolvable],
  disk_id: typing.Union[str, IResolvable],
  source_zone_id: typing.Union[str, IResolvable],
  bandwidth: typing.Union[typing.Union[int, float], IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  disk_replica_pair_name: typing.Union[str, IResolvable] = None,
  payment_type: typing.Union[str, IResolvable] = None,
  period: typing.Union[typing.Union[int, float], IResolvable] = None,
  period_unit: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  rpo: typing.Union[typing.Union[int, float], IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
destination_disk_id typing.Union[str, ros_cdk_core.IResolvable] Property destinationDiskId: The ID of the standby disk.
destination_region_id typing.Union[str, ros_cdk_core.IResolvable] Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
destination_zone_id typing.Union[str, ros_cdk_core.IResolvable] Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
disk_id typing.Union[str, ros_cdk_core.IResolvable] Property diskId: The ID of the primary disk.
source_zone_id typing.Union[str, ros_cdk_core.IResolvable] Property sourceZoneId: The ID of the zone to which the production site belongs.
bandwidth typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property bandwidth: The bandwidth for asynchronous data replication between cloud disks.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the asynchronous replication relationship.
disk_replica_pair_name typing.Union[str, ros_cdk_core.IResolvable] Property diskReplicaPairName: The name of the asynchronous replication relationship.
payment_type typing.Union[str, ros_cdk_core.IResolvable] Property paymentType: The payment type of the resource.
period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property period: The purchase duration of the asynchronous replication relationship.
period_unit typing.Union[str, ros_cdk_core.IResolvable] Property periodUnit: The unit of the purchase time of the asynchronous replication relationship.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.
rpo typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property rpo: The RPO value set by the consistency group in seconds.
tags typing.List[TagsProperty] Property tags: Tags of disk replica pair.

destination_disk_idRequired

destination_disk_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property destinationDiskId: The ID of the standby disk.


destination_region_idRequired

destination_region_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


destination_zone_idRequired

destination_zone_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


disk_idRequired

disk_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property diskId: The ID of the primary disk.


source_zone_idRequired

source_zone_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


bandwidthOptional

bandwidth: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


disk_replica_pair_nameOptional

disk_replica_pair_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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 (-).


payment_typeOptional

payment_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property paymentType: The payment type of the resource.


periodOptional

period: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.

period_unitOptional

period_unit: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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

Value range:

  • Month.Default value: Month.

resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: The ID of the resource group.


rpoOptional

rpo: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

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

Currently only 900 seconds are supported.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags of disk replica pair.