1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ebs
  5. DiskReplicaGroup
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.ebs.DiskReplicaGroup

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

    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:

    DestinationRegionId string
    The ID of the region to which the disaster recovery site belongs.
    DestinationZoneId string
    The ID of the zone to which the disaster recovery site belongs.
    SourceRegionId string
    The ID of the region to which the production site belongs.
    SourceZoneId string
    The ID of the zone to which the production site belongs.
    Description string
    The description of the consistent replication group.
    GroupName string
    Consistent replication group name.
    Rpo int
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    DestinationRegionId string
    The ID of the region to which the disaster recovery site belongs.
    DestinationZoneId string
    The ID of the zone to which the disaster recovery site belongs.
    SourceRegionId string
    The ID of the region to which the production site belongs.
    SourceZoneId string
    The ID of the zone to which the production site belongs.
    Description string
    The description of the consistent replication group.
    GroupName string
    Consistent replication group name.
    Rpo int
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    destinationRegionId String
    The ID of the region to which the disaster recovery site belongs.
    destinationZoneId String
    The ID of the zone to which the disaster recovery site belongs.
    sourceRegionId String
    The ID of the region to which the production site belongs.
    sourceZoneId String
    The ID of the zone to which the production site belongs.
    description String
    The description of the consistent replication group.
    groupName String
    Consistent replication group name.
    rpo Integer
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    destinationRegionId string
    The ID of the region to which the disaster recovery site belongs.
    destinationZoneId string
    The ID of the zone to which the disaster recovery site belongs.
    sourceRegionId string
    The ID of the region to which the production site belongs.
    sourceZoneId string
    The ID of the zone to which the production site belongs.
    description string
    The description of the consistent replication group.
    groupName string
    Consistent replication group name.
    rpo number
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    destination_region_id str
    The ID of the region to which the disaster recovery site belongs.
    destination_zone_id str
    The ID of the zone to which the disaster recovery site belongs.
    source_region_id str
    The ID of the region to which the production site belongs.
    source_zone_id str
    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.
    destinationRegionId String
    The ID of the region to which the disaster recovery site belongs.
    destinationZoneId String
    The ID of the zone to which the disaster recovery site belongs.
    sourceRegionId String
    The ID of the region to which the production site belongs.
    sourceZoneId String
    The ID of the zone to which the production site belongs.
    description String
    The description of the consistent replication group.
    groupName 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the consistent replication group.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the consistent replication group.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the consistent replication group.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the consistent replication group.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the consistent replication group.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the consistent replication group.

    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.
    The following state arguments are supported:
    Description string
    The description of the consistent replication group.
    DestinationRegionId string
    The ID of the region to which the disaster recovery site belongs.
    DestinationZoneId string
    The ID of the zone to which the disaster recovery site belongs.
    GroupName string
    Consistent replication group name.
    Rpo int
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    SourceRegionId string
    The ID of the region to which the production site belongs.
    SourceZoneId string
    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.
    DestinationRegionId string
    The ID of the region to which the disaster recovery site belongs.
    DestinationZoneId string
    The ID of the zone to which the disaster recovery site belongs.
    GroupName string
    Consistent replication group name.
    Rpo int
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    SourceRegionId string
    The ID of the region to which the production site belongs.
    SourceZoneId string
    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.
    destinationRegionId String
    The ID of the region to which the disaster recovery site belongs.
    destinationZoneId String
    The ID of the zone to which the disaster recovery site belongs.
    groupName String
    Consistent replication group name.
    rpo Integer
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    sourceRegionId String
    The ID of the region to which the production site belongs.
    sourceZoneId String
    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.
    destinationRegionId string
    The ID of the region to which the disaster recovery site belongs.
    destinationZoneId string
    The ID of the zone to which the disaster recovery site belongs.
    groupName string
    Consistent replication group name.
    rpo number
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    sourceRegionId string
    The ID of the region to which the production site belongs.
    sourceZoneId string
    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_id str
    The ID of the region to which the disaster recovery site belongs.
    destination_zone_id str
    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_id str
    The ID of the region to which the production site belongs.
    source_zone_id str
    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.
    destinationRegionId String
    The ID of the region to which the disaster recovery site belongs.
    destinationZoneId String
    The ID of the zone to which the disaster recovery site belongs.
    groupName String
    Consistent replication group name.
    rpo Number
    The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
    sourceRegionId String
    The ID of the region to which the production site belongs.
    sourceZoneId String
    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.
    alicloud logo
    Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi