alicloud.ebs.DiskReplicaPair
Explore with Pulumi AI
Provides a Ebs Disk Replica Pair resource.
For information about 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,
                    bandwidth: Optional[str] = None,
                    payment_type: Optional[str] = None,
                    period: Optional[str] = None,
                    period_unit: Optional[str] = None,
                    replica_pair_id: Optional[str] = None,
                    rpo: Optional[str] = None,
                    description: Optional[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",
    PairName = "string",
    Bandwidth = "string",
    PaymentType = "string",
    Period = "string",
    PeriodUnit = "string",
    ReplicaPairId = "string",
    Rpo = "string",
    Description = "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"),
	PairName:            pulumi.String("string"),
	Bandwidth:           pulumi.String("string"),
	PaymentType:         pulumi.String("string"),
	Period:              pulumi.String("string"),
	PeriodUnit:          pulumi.String("string"),
	ReplicaPairId:       pulumi.String("string"),
	Rpo:                 pulumi.String("string"),
	Description:         pulumi.String("string"),
})
var diskReplicaPairResource = new DiskReplicaPair("diskReplicaPairResource", DiskReplicaPairArgs.builder()
    .diskId("string")
    .sourceZoneId("string")
    .destinationDiskId("string")
    .destinationRegionId("string")
    .destinationZoneId("string")
    .pairName("string")
    .bandwidth("string")
    .paymentType("string")
    .period("string")
    .periodUnit("string")
    .replicaPairId("string")
    .rpo("string")
    .description("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",
    pair_name="string",
    bandwidth="string",
    payment_type="string",
    period="string",
    period_unit="string",
    replica_pair_id="string",
    rpo="string",
    description="string")
const diskReplicaPairResource = new alicloud.ebs.DiskReplicaPair("diskReplicaPairResource", {
    diskId: "string",
    sourceZoneId: "string",
    destinationDiskId: "string",
    destinationRegionId: "string",
    destinationZoneId: "string",
    pairName: "string",
    bandwidth: "string",
    paymentType: "string",
    period: "string",
    periodUnit: "string",
    replicaPairId: "string",
    rpo: "string",
    description: "string",
});
type: alicloud:ebs:DiskReplicaPair
properties:
    bandwidth: string
    description: string
    destinationDiskId: string
    destinationRegionId: string
    destinationZoneId: string
    diskId: string
    pairName: string
    paymentType: string
    period: string
    periodUnit: string
    replicaPairId: string
    rpo: string
    sourceZoneId: 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:
- DestinationDisk stringId 
- The ID of the standby disk.
- DestinationRegion stringId 
- The ID of the region to which the disaster recovery site belongs.
- DestinationZone stringId 
- The ID of the zone to which the disaster recovery site belongs.
- DiskId string
- The ID of the primary disk.
- SourceZone stringId 
- The ID of the zone to which the production site belongs.
- Bandwidth string
- 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 POSTPAY. 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.
- PairName string
- 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 string
- The payment type of the resource
- Period string
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- PeriodUnit string
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- ReplicaPair stringId 
- The first ID of the resource.
- Rpo string
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- DestinationDisk stringId 
- The ID of the standby disk.
- DestinationRegion stringId 
- The ID of the region to which the disaster recovery site belongs.
- DestinationZone stringId 
- The ID of the zone to which the disaster recovery site belongs.
- DiskId string
- The ID of the primary disk.
- SourceZone stringId 
- The ID of the zone to which the production site belongs.
- Bandwidth string
- 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 POSTPAY. 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.
- PairName string
- 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 string
- The payment type of the resource
- Period string
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- PeriodUnit string
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- ReplicaPair stringId 
- The first ID of the resource.
- Rpo string
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- destinationDisk StringId 
- The ID of the standby disk.
- destinationRegion StringId 
- The ID of the region to which the disaster recovery site belongs.
- destinationZone StringId 
- The ID of the zone to which the disaster recovery site belongs.
- diskId String
- The ID of the primary disk.
- sourceZone StringId 
- The ID of the zone to which the production site belongs.
- bandwidth String
- 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 POSTPAY. 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.
- pairName String
- 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 String
- The payment type of the resource
- period String
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- periodUnit String
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- replicaPair StringId 
- The first ID of the resource.
- rpo String
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- destinationDisk stringId 
- The ID of the standby disk.
- destinationRegion stringId 
- The ID of the region to which the disaster recovery site belongs.
- destinationZone stringId 
- The ID of the zone to which the disaster recovery site belongs.
- diskId string
- The ID of the primary disk.
- sourceZone stringId 
- The ID of the zone to which the production site belongs.
- bandwidth string
- 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 POSTPAY. 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.
- pairName string
- 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 string
- The payment type of the resource
- period string
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- periodUnit string
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- replicaPair stringId 
- The first ID of the resource.
- rpo string
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- 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 str
- 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 POSTPAY. 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.
- pair_name str
- 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_type str
- The payment type of the resource
- period str
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- period_unit str
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- replica_pair_ strid 
- The first ID of the resource.
- rpo str
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- destinationDisk StringId 
- The ID of the standby disk.
- destinationRegion StringId 
- The ID of the region to which the disaster recovery site belongs.
- destinationZone StringId 
- The ID of the zone to which the disaster recovery site belongs.
- diskId String
- The ID of the primary disk.
- sourceZone StringId 
- The ID of the zone to which the production site belongs.
- bandwidth String
- 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 POSTPAY. 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.
- pairName String
- 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 String
- The payment type of the resource
- period String
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- periodUnit String
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- replicaPair StringId 
- The first ID of the resource.
- rpo String
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
Outputs
All input properties are implicitly available as output properties. Additionally, the DiskReplicaPair resource produces the following output properties:
- CreateTime string
- The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- ResourceGroup stringId 
- The ID of the resource group
- Status string
- The status of the resource
- CreateTime string
- The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- ResourceGroup stringId 
- The ID of the resource group
- Status string
- The status of the resource
- createTime String
- The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- resourceGroup StringId 
- The ID of the resource group
- status String
- The status of the resource
- createTime string
- The creation time of the resource
- id string
- The provider-assigned unique ID for this managed resource.
- resourceGroup stringId 
- The ID of the resource group
- status string
- The status of the resource
- create_time str
- The creation time of the resource
- id str
- The provider-assigned unique ID for this managed resource.
- resource_group_ strid 
- The ID of the resource group
- status str
- The status of the resource
- createTime String
- The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- resourceGroup StringId 
- The ID of the resource group
- 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[str] = None,
        create_time: Optional[str] = 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,
        pair_name: Optional[str] = None,
        payment_type: Optional[str] = None,
        period: Optional[str] = None,
        period_unit: Optional[str] = None,
        replica_pair_id: Optional[str] = None,
        resource_group_id: Optional[str] = None,
        rpo: Optional[str] = None,
        source_zone_id: Optional[str] = None,
        status: Optional[str] = None) -> DiskReplicaPairfunc 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 string
- 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 POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
- CreateTime string
- 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.
- DestinationDisk stringId 
- The ID of the standby disk.
- DestinationRegion stringId 
- The ID of the region to which the disaster recovery site belongs.
- DestinationZone stringId 
- The ID of the zone to which the disaster recovery site belongs.
- DiskId string
- The ID of the primary disk.
- PairName string
- 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 string
- The payment type of the resource
- Period string
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- PeriodUnit string
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- ReplicaPair stringId 
- The first ID of the resource.
- ResourceGroup stringId 
- The ID of the resource group
- Rpo string
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- SourceZone stringId 
- The ID of the zone to which the production site belongs.
- Status string
- The status of the resource
- Bandwidth string
- 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 POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
- CreateTime string
- 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.
- DestinationDisk stringId 
- The ID of the standby disk.
- DestinationRegion stringId 
- The ID of the region to which the disaster recovery site belongs.
- DestinationZone stringId 
- The ID of the zone to which the disaster recovery site belongs.
- DiskId string
- The ID of the primary disk.
- PairName string
- 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 string
- The payment type of the resource
- Period string
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- PeriodUnit string
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- ReplicaPair stringId 
- The first ID of the resource.
- ResourceGroup stringId 
- The ID of the resource group
- Rpo string
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- SourceZone stringId 
- The ID of the zone to which the production site belongs.
- Status string
- The status of the resource
- bandwidth String
- 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 POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
- createTime String
- 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.
- destinationDisk StringId 
- The ID of the standby disk.
- destinationRegion StringId 
- The ID of the region to which the disaster recovery site belongs.
- destinationZone StringId 
- The ID of the zone to which the disaster recovery site belongs.
- diskId String
- The ID of the primary disk.
- pairName String
- 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 String
- The payment type of the resource
- period String
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- periodUnit String
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- replicaPair StringId 
- The first ID of the resource.
- resourceGroup StringId 
- The ID of the resource group
- rpo String
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- sourceZone StringId 
- The ID of the zone to which the production site belongs.
- status String
- The status of the resource
- bandwidth string
- 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 POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
- createTime string
- 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.
- destinationDisk stringId 
- The ID of the standby disk.
- destinationRegion stringId 
- The ID of the region to which the disaster recovery site belongs.
- destinationZone stringId 
- The ID of the zone to which the disaster recovery site belongs.
- diskId string
- The ID of the primary disk.
- pairName string
- 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 string
- The payment type of the resource
- period string
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- periodUnit string
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- replicaPair stringId 
- The first ID of the resource.
- resourceGroup stringId 
- The ID of the resource group
- rpo string
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- sourceZone stringId 
- The ID of the zone to which the production site belongs.
- status string
- The status of the resource
- bandwidth str
- 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 POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
- create_time str
- 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.
- pair_name str
- 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_type str
- The payment type of the resource
- period str
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- period_unit str
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- replica_pair_ strid 
- The first ID of the resource.
- resource_group_ strid 
- The ID of the resource group
- rpo str
- 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
- bandwidth String
- 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 POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
- createTime String
- 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.
- destinationDisk StringId 
- The ID of the standby disk.
- destinationRegion StringId 
- The ID of the region to which the disaster recovery site belongs.
- destinationZone StringId 
- The ID of the zone to which the disaster recovery site belongs.
- diskId String
- The ID of the primary disk.
- pairName String
- 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 String
- The payment type of the resource
- period String
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1,2,3and4. When PeriodUnit=Month, the parameter takes on the values1,2,3,4,5,6,7,8,9,12,24,36,48,60.
- periodUnit String
- The units of asynchronous replication relationship purchase length. Valid values: WeekandMonth. Default value:Month.
- replicaPair StringId 
- The first ID of the resource.
- resourceGroup StringId 
- The ID of the resource group
- rpo String
- The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
- sourceZone StringId 
- The ID of the zone to which the production site belongs.
- status String
- The status of the resource
Import
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 alicloudTerraform Provider.