Skip to content

DiskReplicaPairProps

Properties for defining a DiskReplicaPair.

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

Initializer

import { DiskReplicaPairProps } from '@alicloud/ros-cdk-ebs'
const diskReplicaPairProps: DiskReplicaPairProps = { ... }

Properties

Name Type Description
destinationDiskId string | @alicloud/ros-cdk-core.IResolvable Property destinationDiskId: The ID of the standby disk.
destinationRegionId string | @alicloud/ros-cdk-core.IResolvable Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
destinationZoneId string | @alicloud/ros-cdk-core.IResolvable Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
diskId string | @alicloud/ros-cdk-core.IResolvable Property diskId: The ID of the primary disk.
sourceZoneId string | @alicloud/ros-cdk-core.IResolvable Property sourceZoneId: The ID of the zone to which the production site belongs.
bandwidth number | @alicloud/ros-cdk-core.IResolvable Property bandwidth: The bandwidth for asynchronous data replication between cloud disks.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the asynchronous replication relationship.
diskReplicaPairName string | @alicloud/ros-cdk-core.IResolvable Property diskReplicaPairName: The name of the asynchronous replication relationship.
paymentType string | @alicloud/ros-cdk-core.IResolvable Property paymentType: The payment type of the resource.
period number | @alicloud/ros-cdk-core.IResolvable Property period: The purchase duration of the asynchronous replication relationship.
periodUnit string | @alicloud/ros-cdk-core.IResolvable Property periodUnit: The unit of the purchase time of the asynchronous replication relationship.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.
rpo number | @alicloud/ros-cdk-core.IResolvable Property rpo: The RPO value set by the consistency group in seconds.
tags TagsProperty[] Property tags: Tags of disk replica pair.

destinationDiskIdRequired

public readonly destinationDiskId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property destinationDiskId: The ID of the standby disk.


destinationRegionIdRequired

public readonly destinationRegionId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


destinationZoneIdRequired

public readonly destinationZoneId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


diskIdRequired

public readonly diskId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property diskId: The ID of the primary disk.


sourceZoneIdRequired

public readonly sourceZoneId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


bandwidthOptional

public readonly bandwidth: number | IResolvable;
  • Type: number | @alicloud/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 readonly description: string | IResolvable;
  • Type: string | @alicloud/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 readonly diskReplicaPairName: string | IResolvable;
  • Type: string | @alicloud/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 readonly paymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property paymentType: The payment type of the resource.


periodOptional

public readonly period: number | IResolvable;
  • Type: number | @alicloud/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 readonly periodUnit: string | IResolvable;
  • Type: string | @alicloud/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 readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group.


rpoOptional

public readonly rpo: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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

Currently only 900 seconds are supported.


tagsOptional

public readonly tags: TagsProperty[];

Property tags: Tags of disk replica pair.