Skip to content

DiskReplicaPairProps

Properties for defining a DiskReplicaPair.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkebs"
&alicloudroscdkebs.DiskReplicaPairProps {
    DestinationDiskId: interface{},
    DestinationRegionId: interface{},
    DestinationZoneId: interface{},
    DiskId: interface{},
    SourceZoneId: interface{},
    Bandwidth: interface{},
    Description: interface{},
    DiskReplicaPairName: interface{},
    PaymentType: interface{},
    Period: interface{},
    PeriodUnit: interface{},
    ResourceGroupId: interface{},
    Rpo: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkebs.RosDiskReplicaPair.TagsProperty,
}

Properties

Name Type Description
DestinationDiskId interface{} Property destinationDiskId: The ID of the standby disk.
DestinationRegionId interface{} Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
DestinationZoneId interface{} Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
DiskId interface{} Property diskId: The ID of the primary disk.
SourceZoneId interface{} Property sourceZoneId: The ID of the zone to which the production site belongs.
Bandwidth interface{} Property bandwidth: The bandwidth for asynchronous data replication between cloud disks.
Description interface{} Property description: The description of the asynchronous replication relationship.
DiskReplicaPairName interface{} Property diskReplicaPairName: The name of the asynchronous replication relationship.
PaymentType interface{} Property paymentType: The payment type of the resource.
Period interface{} Property period: The purchase duration of the asynchronous replication relationship.
PeriodUnit interface{} Property periodUnit: The unit of the purchase time of the asynchronous replication relationship.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.
Rpo interface{} Property rpo: The RPO value set by the consistency group in seconds.
Tags *[]TagsProperty Property tags: Tags of disk replica pair.

DestinationDiskIdRequired

DestinationDiskId interface{}
  • Type: interface{}

Property destinationDiskId: The ID of the standby disk.


DestinationRegionIdRequired

DestinationRegionId interface{}
  • Type: interface{}

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


DestinationZoneIdRequired

DestinationZoneId interface{}
  • Type: interface{}

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


DiskIdRequired

DiskId interface{}
  • Type: interface{}

Property diskId: The ID of the primary disk.


SourceZoneIdRequired

SourceZoneId interface{}
  • Type: interface{}

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


BandwidthOptional

Bandwidth interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

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

DiskReplicaPairName interface{}
  • Type: interface{}

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

PaymentType interface{}
  • Type: interface{}

Property paymentType: The payment type of the resource.


PeriodOptional

Period interface{}
  • Type: interface{}

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

PeriodUnit interface{}
  • Type: interface{}

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

Value range:

  • Month.Default value: Month.

ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.


RpoOptional

Rpo interface{}
  • Type: interface{}

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

Currently only 900 seconds are supported.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags of disk replica pair.