Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi
alicloud.ebs.DiskReplicaGroup
Explore with Pulumi AI
Provides a EBS Disk Replica Group resource.
For information about EBS Disk Replica Group and how to use it, see What is Disk Replica Group.
NOTE: Available since v1.187.0.
Create DiskReplicaGroup Resource
new DiskReplicaGroup(name: string, args: DiskReplicaGroupArgs, opts?: CustomResourceOptions);
@overload
def DiskReplicaGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
destination_region_id: Optional[str] = None,
destination_zone_id: Optional[str] = None,
group_name: Optional[str] = None,
rpo: Optional[int] = None,
source_region_id: Optional[str] = None,
source_zone_id: Optional[str] = None)
@overload
def DiskReplicaGroup(resource_name: str,
args: DiskReplicaGroupArgs,
opts: Optional[ResourceOptions] = None)
func NewDiskReplicaGroup(ctx *Context, name string, args DiskReplicaGroupArgs, opts ...ResourceOption) (*DiskReplicaGroup, error)
public DiskReplicaGroup(string name, DiskReplicaGroupArgs args, CustomResourceOptions? opts = null)
public DiskReplicaGroup(String name, DiskReplicaGroupArgs args)
public DiskReplicaGroup(String name, DiskReplicaGroupArgs args, CustomResourceOptions options)
type: alicloud:ebs:DiskReplicaGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiskReplicaGroupArgs
- 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 DiskReplicaGroupArgs
- 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 DiskReplicaGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiskReplicaGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DiskReplicaGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DiskReplicaGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DiskReplicaGroup resource accepts the following input properties:
- 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.
- Source
Region stringId - The ID of the region to which the production site belongs.
- Source
Zone stringId - The ID of the zone to which the production site belongs.
- Description string
- The description of the consistent replication group.
- Group
Name string - Consistent replication group name.
- Rpo int
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- 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.
- Source
Region stringId - The ID of the region to which the production site belongs.
- Source
Zone stringId - The ID of the zone to which the production site belongs.
- Description string
- The description of the consistent replication group.
- Group
Name string - Consistent replication group name.
- Rpo int
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- 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.
- source
Region StringId - The ID of the region to which the production site belongs.
- source
Zone StringId - The ID of the zone to which the production site belongs.
- description String
- The description of the consistent replication group.
- group
Name String - Consistent replication group name.
- rpo Integer
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- 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.
- source
Region stringId - The ID of the region to which the production site belongs.
- source
Zone stringId - The ID of the zone to which the production site belongs.
- description string
- The description of the consistent replication group.
- group
Name string - Consistent replication group name.
- rpo number
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- 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.
- source_
region_ strid - The ID of the region to which the production site belongs.
- source_
zone_ strid - The ID of the zone to which the production site belongs.
- description str
- The description of the consistent replication group.
- group_
name str - Consistent replication group name.
- rpo int
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- 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.
- source
Region StringId - The ID of the region to which the production site belongs.
- source
Zone StringId - The ID of the zone to which the production site belongs.
- description String
- The description of the consistent replication group.
- group
Name String - Consistent replication group name.
- rpo Number
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
Outputs
All input properties are implicitly available as output properties. Additionally, the DiskReplicaGroup resource produces the following output properties:
Look up Existing DiskReplicaGroup Resource
Get an existing DiskReplicaGroup 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?: DiskReplicaGroupState, opts?: CustomResourceOptions): DiskReplicaGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
destination_region_id: Optional[str] = None,
destination_zone_id: Optional[str] = None,
group_name: Optional[str] = None,
rpo: Optional[int] = None,
source_region_id: Optional[str] = None,
source_zone_id: Optional[str] = None,
status: Optional[str] = None) -> DiskReplicaGroup
func GetDiskReplicaGroup(ctx *Context, name string, id IDInput, state *DiskReplicaGroupState, opts ...ResourceOption) (*DiskReplicaGroup, error)
public static DiskReplicaGroup Get(string name, Input<string> id, DiskReplicaGroupState? state, CustomResourceOptions? opts = null)
public static DiskReplicaGroup get(String name, Output<String> id, DiskReplicaGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Description string
- The description of the consistent replication group.
- 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.
- Group
Name string - Consistent replication group name.
- Rpo int
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- Source
Region stringId - The ID of the region to which the production site belongs.
- Source
Zone stringId - The ID of the zone to which the production site belongs.
- Status string
- The status of the consistent replication group.
- Description string
- The description of the consistent replication group.
- 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.
- Group
Name string - Consistent replication group name.
- Rpo int
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- Source
Region stringId - The ID of the region to which the production site belongs.
- Source
Zone stringId - The ID of the zone to which the production site belongs.
- Status string
- The status of the consistent replication group.
- description String
- The description of the consistent replication group.
- 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.
- group
Name String - Consistent replication group name.
- rpo Integer
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- source
Region StringId - The ID of the region to which the production site belongs.
- source
Zone StringId - The ID of the zone to which the production site belongs.
- status String
- The status of the consistent replication group.
- description string
- The description of the consistent replication group.
- 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.
- group
Name string - Consistent replication group name.
- rpo number
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- source
Region stringId - The ID of the region to which the production site belongs.
- source
Zone stringId - The ID of the zone to which the production site belongs.
- status string
- The status of the consistent replication group.
- description str
- The description of the consistent replication group.
- 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.
- group_
name str - Consistent replication group name.
- rpo int
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- source_
region_ strid - The ID of the region to which the production site belongs.
- source_
zone_ strid - The ID of the zone to which the production site belongs.
- status str
- The status of the consistent replication group.
- description String
- The description of the consistent replication group.
- 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.
- group
Name String - Consistent replication group name.
- rpo Number
- The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
- source
Region StringId - The ID of the region to which the production site belongs.
- source
Zone StringId - The ID of the zone to which the production site belongs.
- status String
- The status of the consistent replication group.
Import
EBS Disk Replica Group can be imported using the id, e.g.
$ pulumi import alicloud:ebs/diskReplicaGroup:DiskReplicaGroup example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.