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. |
DestinationDiskId
Required
DestinationDiskId interface{}
- Type: interface{}
Property destinationDiskId: The ID of the standby disk.
DestinationRegionId
Required
DestinationRegionId interface{}
- Type: interface{}
Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
DestinationZoneId
Required
DestinationZoneId interface{}
- Type: interface{}
Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
DiskId
Required
DiskId interface{}
- Type: interface{}
Property diskId: The ID of the primary disk.
SourceZoneId
Required
SourceZoneId interface{}
- Type: interface{}
Property sourceZoneId: The ID of the zone to which the production site belongs.
Bandwidth
Optional
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.
Description
Optional
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.
DiskReplicaPairName
Optional
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 (-).
PaymentType
Optional
PaymentType interface{}
- Type: interface{}
Property paymentType: The payment type of the resource.
Period
Optional
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.
PeriodUnit
Optional
PeriodUnit interface{}
- Type: interface{}
Property periodUnit: The unit of the purchase time of the asynchronous replication relationship.
Value range:
- Month.Default value: Month.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
Rpo
Optional
Rpo interface{}
- Type: interface{}
Property rpo: The RPO value set by the consistency group in seconds.
Currently only 900 seconds are supported.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags of disk replica pair.