alicloud.ebs.DiskReplicaPair
Explore with Pulumi AI
Provides a Elastic Block Storage(EBS) Disk Replica Pair resource.
For information about Elastic Block Storage(EBS) Disk Replica Pair and how to use it, see What is Disk Replica Pair.
NOTE: Available since v1.196.0.
Create DiskReplicaPair Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DiskReplicaPair(name: string, args: DiskReplicaPairArgs, opts?: CustomResourceOptions);
@overload
def DiskReplicaPair(resource_name: str,
args: DiskReplicaPairArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DiskReplicaPair(resource_name: str,
opts: Optional[ResourceOptions] = None,
disk_id: Optional[str] = None,
source_zone_id: Optional[str] = None,
destination_disk_id: Optional[str] = None,
destination_region_id: Optional[str] = None,
destination_zone_id: Optional[str] = None,
pair_name: Optional[str] = None,
disk_replica_pair_name: Optional[str] = None,
one_shot: Optional[bool] = None,
bandwidth: Optional[int] = None,
payment_type: Optional[str] = None,
period: Optional[int] = None,
period_unit: Optional[str] = None,
resource_group_id: Optional[str] = None,
reverse_replicate: Optional[bool] = None,
rpo: Optional[int] = None,
description: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewDiskReplicaPair(ctx *Context, name string, args DiskReplicaPairArgs, opts ...ResourceOption) (*DiskReplicaPair, error)
public DiskReplicaPair(string name, DiskReplicaPairArgs args, CustomResourceOptions? opts = null)
public DiskReplicaPair(String name, DiskReplicaPairArgs args)
public DiskReplicaPair(String name, DiskReplicaPairArgs args, CustomResourceOptions options)
type: alicloud:ebs:DiskReplicaPair
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DiskReplicaPairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DiskReplicaPairArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DiskReplicaPairArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiskReplicaPairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DiskReplicaPairArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var diskReplicaPairResource = new AliCloud.Ebs.DiskReplicaPair("diskReplicaPairResource", new()
{
DiskId = "string",
SourceZoneId = "string",
DestinationDiskId = "string",
DestinationRegionId = "string",
DestinationZoneId = "string",
DiskReplicaPairName = "string",
OneShot = false,
Bandwidth = 0,
PaymentType = "string",
Period = 0,
PeriodUnit = "string",
ResourceGroupId = "string",
ReverseReplicate = false,
Rpo = 0,
Description = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := ebs.NewDiskReplicaPair(ctx, "diskReplicaPairResource", &ebs.DiskReplicaPairArgs{
DiskId: pulumi.String("string"),
SourceZoneId: pulumi.String("string"),
DestinationDiskId: pulumi.String("string"),
DestinationRegionId: pulumi.String("string"),
DestinationZoneId: pulumi.String("string"),
DiskReplicaPairName: pulumi.String("string"),
OneShot: pulumi.Bool(false),
Bandwidth: pulumi.Int(0),
PaymentType: pulumi.String("string"),
Period: pulumi.Int(0),
PeriodUnit: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
ReverseReplicate: pulumi.Bool(false),
Rpo: pulumi.Int(0),
Description: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var diskReplicaPairResource = new DiskReplicaPair("diskReplicaPairResource", DiskReplicaPairArgs.builder()
.diskId("string")
.sourceZoneId("string")
.destinationDiskId("string")
.destinationRegionId("string")
.destinationZoneId("string")
.diskReplicaPairName("string")
.oneShot(false)
.bandwidth(0)
.paymentType("string")
.period(0)
.periodUnit("string")
.resourceGroupId("string")
.reverseReplicate(false)
.rpo(0)
.description("string")
.tags(Map.of("string", "string"))
.build());
disk_replica_pair_resource = alicloud.ebs.DiskReplicaPair("diskReplicaPairResource",
disk_id="string",
source_zone_id="string",
destination_disk_id="string",
destination_region_id="string",
destination_zone_id="string",
disk_replica_pair_name="string",
one_shot=False,
bandwidth=0,
payment_type="string",
period=0,
period_unit="string",
resource_group_id="string",
reverse_replicate=False,
rpo=0,
description="string",
tags={
"string": "string",
})
const diskReplicaPairResource = new alicloud.ebs.DiskReplicaPair("diskReplicaPairResource", {
diskId: "string",
sourceZoneId: "string",
destinationDiskId: "string",
destinationRegionId: "string",
destinationZoneId: "string",
diskReplicaPairName: "string",
oneShot: false,
bandwidth: 0,
paymentType: "string",
period: 0,
periodUnit: "string",
resourceGroupId: "string",
reverseReplicate: false,
rpo: 0,
description: "string",
tags: {
string: "string",
},
});
type: alicloud:ebs:DiskReplicaPair
properties:
bandwidth: 0
description: string
destinationDiskId: string
destinationRegionId: string
destinationZoneId: string
diskId: string
diskReplicaPairName: string
oneShot: false
paymentType: string
period: 0
periodUnit: string
resourceGroupId: string
reverseReplicate: false
rpo: 0
sourceZoneId: string
tags:
string: string
DiskReplicaPair Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DiskReplicaPair resource accepts the following input properties:
- Destination
Disk stringId - The ID of the standby disk.
- Destination
Region stringId - The ID of the region to which the disaster recovery site belongs.
- Destination
Zone stringId - The ID of the zone to which the disaster recovery site belongs.
- Disk
Id string - The ID of the primary disk.
- Source
Zone stringId - The ID of the zone to which the production site belongs.
- Bandwidth int
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 string
- 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 stringPair Name - 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 (-).
- One
Shot bool Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- Pair
Name string - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- Payment
Type string - The payment type of the resource
- Period int
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- Period
Unit string The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- Resource
Group stringId - The ID of the resource group
- Reverse
Replicate bool - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- Rpo int
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- Dictionary<string, string>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- Destination
Disk stringId - The ID of the standby disk.
- Destination
Region stringId - The ID of the region to which the disaster recovery site belongs.
- Destination
Zone stringId - The ID of the zone to which the disaster recovery site belongs.
- Disk
Id string - The ID of the primary disk.
- Source
Zone stringId - The ID of the zone to which the production site belongs.
- Bandwidth int
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 string
- 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 stringPair Name - 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 (-).
- One
Shot bool Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- Pair
Name string - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- Payment
Type string - The payment type of the resource
- Period int
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- Period
Unit string The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- Resource
Group stringId - The ID of the resource group
- Reverse
Replicate bool - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- Rpo int
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- map[string]string
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- destination
Disk StringId - The ID of the standby disk.
- destination
Region StringId - The ID of the region to which the disaster recovery site belongs.
- destination
Zone StringId - The ID of the zone to which the disaster recovery site belongs.
- disk
Id String - The ID of the primary disk.
- source
Zone StringId - The ID of the zone to which the production site belongs.
- bandwidth Integer
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 String
- 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 StringPair Name - 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 (-).
- one
Shot Boolean Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- pair
Name String - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- payment
Type String - The payment type of the resource
- period Integer
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- period
Unit String The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- resource
Group StringId - The ID of the resource group
- reverse
Replicate Boolean - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- rpo Integer
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- Map<String,String>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- destination
Disk stringId - The ID of the standby disk.
- destination
Region stringId - The ID of the region to which the disaster recovery site belongs.
- destination
Zone stringId - The ID of the zone to which the disaster recovery site belongs.
- disk
Id string - The ID of the primary disk.
- source
Zone stringId - The ID of the zone to which the production site belongs.
- bandwidth number
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 string
- 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 stringPair Name - 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 (-).
- one
Shot boolean Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- pair
Name string - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- payment
Type string - The payment type of the resource
- period number
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- period
Unit string The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- resource
Group stringId - The ID of the resource group
- reverse
Replicate boolean - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- rpo number
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- {[key: string]: string}
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- destination_
disk_ strid - The ID of the standby disk.
- destination_
region_ strid - The ID of the region to which the disaster recovery site belongs.
- destination_
zone_ strid - The ID of the zone to which the disaster recovery site belongs.
- disk_
id str - The ID of the primary disk.
- source_
zone_ strid - The ID of the zone to which the production site belongs.
- bandwidth int
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 str
- 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_ strpair_ name - 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 (-).
- one_
shot bool Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- pair_
name str - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- payment_
type str - The payment type of the resource
- period int
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- period_
unit str The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- resource_
group_ strid - The ID of the resource group
- reverse_
replicate bool - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- rpo int
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- Mapping[str, str]
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- destination
Disk StringId - The ID of the standby disk.
- destination
Region StringId - The ID of the region to which the disaster recovery site belongs.
- destination
Zone StringId - The ID of the zone to which the disaster recovery site belongs.
- disk
Id String - The ID of the primary disk.
- source
Zone StringId - The ID of the zone to which the production site belongs.
- bandwidth Number
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 String
- 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 StringPair Name - 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 (-).
- one
Shot Boolean Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- pair
Name String - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- payment
Type String - The payment type of the resource
- period Number
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- period
Unit String The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- resource
Group StringId - The ID of the resource group
- reverse
Replicate Boolean - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- rpo Number
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- Map<String>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
Outputs
All input properties are implicitly available as output properties. Additionally, the DiskReplicaPair resource produces the following output properties:
- Create
Time int - The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - The region ID of the resource
- Status string
- The status of the resource
- Create
Time int - The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - The region ID of the resource
- Status string
- The status of the resource
- create
Time Integer - The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - The region ID of the resource
- status String
- The status of the resource
- create
Time number - The creation time of the resource
- id string
- The provider-assigned unique ID for this managed resource.
- region
Id string - The region ID of the resource
- status string
- The status of the resource
- create_
time int - The creation time of the resource
- id str
- The provider-assigned unique ID for this managed resource.
- region_
id str - The region ID of the resource
- status str
- The status of the resource
- create
Time Number - The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - The region ID of the resource
- status String
- The status of the resource
Look up Existing DiskReplicaPair Resource
Get an existing DiskReplicaPair resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DiskReplicaPairState, opts?: CustomResourceOptions): DiskReplicaPair
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[int] = None,
create_time: Optional[int] = None,
description: Optional[str] = None,
destination_disk_id: Optional[str] = None,
destination_region_id: Optional[str] = None,
destination_zone_id: Optional[str] = None,
disk_id: Optional[str] = None,
disk_replica_pair_name: Optional[str] = None,
one_shot: Optional[bool] = None,
pair_name: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[int] = None,
period_unit: Optional[str] = None,
region_id: Optional[str] = None,
resource_group_id: Optional[str] = None,
reverse_replicate: Optional[bool] = None,
rpo: Optional[int] = None,
source_zone_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> DiskReplicaPair
func GetDiskReplicaPair(ctx *Context, name string, id IDInput, state *DiskReplicaPairState, opts ...ResourceOption) (*DiskReplicaPair, error)
public static DiskReplicaPair Get(string name, Input<string> id, DiskReplicaPairState? state, CustomResourceOptions? opts = null)
public static DiskReplicaPair get(String name, Output<String> id, DiskReplicaPairState state, CustomResourceOptions options)
resources: _: type: alicloud:ebs:DiskReplicaPair get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bandwidth int
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.
- Create
Time int - The creation time of the resource
- Description string
- The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
- Destination
Disk stringId - The ID of the standby disk.
- Destination
Region stringId - The ID of the region to which the disaster recovery site belongs.
- Destination
Zone stringId - The ID of the zone to which the disaster recovery site belongs.
- Disk
Id string - The ID of the primary disk.
- Disk
Replica stringPair Name - 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 (-).
- One
Shot bool Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- Pair
Name string - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- Payment
Type string - The payment type of the resource
- Period int
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- Period
Unit string The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- Region
Id string - The region ID of the resource
- Resource
Group stringId - The ID of the resource group
- Reverse
Replicate bool - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- Rpo int
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- Source
Zone stringId - The ID of the zone to which the production site belongs.
- Status string
- The status of the resource
- Dictionary<string, string>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- Bandwidth int
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.
- Create
Time int - The creation time of the resource
- Description string
- The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
- Destination
Disk stringId - The ID of the standby disk.
- Destination
Region stringId - The ID of the region to which the disaster recovery site belongs.
- Destination
Zone stringId - The ID of the zone to which the disaster recovery site belongs.
- Disk
Id string - The ID of the primary disk.
- Disk
Replica stringPair Name - 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 (-).
- One
Shot bool Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- Pair
Name string - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- Payment
Type string - The payment type of the resource
- Period int
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- Period
Unit string The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- Region
Id string - The region ID of the resource
- Resource
Group stringId - The ID of the resource group
- Reverse
Replicate bool - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- Rpo int
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- Source
Zone stringId - The ID of the zone to which the production site belongs.
- Status string
- The status of the resource
- map[string]string
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth Integer
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.
- create
Time Integer - The creation time of the resource
- description String
- The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
- destination
Disk StringId - The ID of the standby disk.
- destination
Region StringId - The ID of the region to which the disaster recovery site belongs.
- destination
Zone StringId - The ID of the zone to which the disaster recovery site belongs.
- disk
Id String - The ID of the primary disk.
- disk
Replica StringPair Name - 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 (-).
- one
Shot Boolean Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- pair
Name String - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- payment
Type String - The payment type of the resource
- period Integer
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- period
Unit String The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- region
Id String - The region ID of the resource
- resource
Group StringId - The ID of the resource group
- reverse
Replicate Boolean - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- rpo Integer
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- source
Zone StringId - The ID of the zone to which the production site belongs.
- status String
- The status of the resource
- Map<String,String>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth number
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.
- create
Time number - The creation time of the resource
- description string
- The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
- destination
Disk stringId - The ID of the standby disk.
- destination
Region stringId - The ID of the region to which the disaster recovery site belongs.
- destination
Zone stringId - The ID of the zone to which the disaster recovery site belongs.
- disk
Id string - The ID of the primary disk.
- disk
Replica stringPair Name - 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 (-).
- one
Shot boolean Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- pair
Name string - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- payment
Type string - The payment type of the resource
- period number
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- period
Unit string The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- region
Id string - The region ID of the resource
- resource
Group stringId - The ID of the resource group
- reverse
Replicate boolean - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- rpo number
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- source
Zone stringId - The ID of the zone to which the production site belongs.
- status string
- The status of the resource
- {[key: string]: string}
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth int
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.
- create_
time int - The creation time of the resource
- description str
- The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
- destination_
disk_ strid - The ID of the standby disk.
- destination_
region_ strid - The ID of the region to which the disaster recovery site belongs.
- destination_
zone_ strid - The ID of the zone to which the disaster recovery site belongs.
- disk_
id str - The ID of the primary disk.
- disk_
replica_ strpair_ name - 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 (-).
- one_
shot bool Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- pair_
name str - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- payment_
type str - The payment type of the resource
- period int
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- period_
unit str The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- region_
id str - The region ID of the resource
- resource_
group_ strid - The ID of the resource group
- reverse_
replicate bool - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- rpo int
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- source_
zone_ strid - The ID of the zone to which the production site belongs.
- status str
- The status of the resource
- Mapping[str, str]
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth Number
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.
- create
Time Number - The creation time of the resource
- description String
- The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
- destination
Disk StringId - The ID of the standby disk.
- destination
Region StringId - The ID of the region to which the disaster recovery site belongs.
- destination
Zone StringId - The ID of the zone to which the disaster recovery site belongs.
- disk
Id String - The ID of the primary disk.
- disk
Replica StringPair Name - 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 (-).
- one
Shot Boolean Whether to synchronize immediately. Value range:
- true: Start data synchronization immediately.
- false: Data Synchronization starts after the RPO time period.
Default value: false.
- pair
Name String - . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
- payment
Type String - The payment type of the resource
- period Number
- 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 = Week', the value range of this parameter is 1, 2, 3, and 4.
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
- period
Unit String The unit of the purchase time of the asynchronous replication relationship. Value range:
- Week: Week.
- Month: Month.
Default value: Month.
- region
Id String - The region ID of the resource
- resource
Group StringId - The ID of the resource group
- reverse
Replicate Boolean - Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
- rpo Number
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- source
Zone StringId - The ID of the zone to which the production site belongs.
- status String
- The status of the resource
- Map<String>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
Import
Elastic Block Storage(EBS) Disk Replica Pair can be imported using the id, e.g.
$ pulumi import alicloud:ebs/diskReplicaPair:DiskReplicaPair example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.