1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. BdrcDisasterRecoveryProtectGroup
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack

    Provides a resource to create a BDRC disaster recovery protect group.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.BdrcDisasterRecoverySitePair("example", {
        disasterRecoveryType: "CROSS_ZONE",
        sourceRegion: "ap-shanghai",
        sourceZone: "ap-shanghai-3",
        targetRegion: "ap-shanghai",
        targetZone: "ap-shanghai-4",
        sourceVpc: "vpc-lx6q09ji",
        targetVpc: "vpc-jktad5e6",
        sitePairProductType: "INSTANCE",
        sitePairName: "tf-example",
        copyType: "ASY",
    });
    const exampleBdrcDisasterRecoveryProtectGroup = new tencentcloud.BdrcDisasterRecoveryProtectGroup("example", {
        sitePairId: example.sitePairId,
        protectGroupName: "tf-example",
        dataDirection: "POSITIVE",
        protectGroupType: "INSTANCE",
        recoveryPointObjective: 15,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.BdrcDisasterRecoverySitePair("example",
        disaster_recovery_type="CROSS_ZONE",
        source_region="ap-shanghai",
        source_zone="ap-shanghai-3",
        target_region="ap-shanghai",
        target_zone="ap-shanghai-4",
        source_vpc="vpc-lx6q09ji",
        target_vpc="vpc-jktad5e6",
        site_pair_product_type="INSTANCE",
        site_pair_name="tf-example",
        copy_type="ASY")
    example_bdrc_disaster_recovery_protect_group = tencentcloud.BdrcDisasterRecoveryProtectGroup("example",
        site_pair_id=example.site_pair_id,
        protect_group_name="tf-example",
        data_direction="POSITIVE",
        protect_group_type="INSTANCE",
        recovery_point_objective=15)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewBdrcDisasterRecoverySitePair(ctx, "example", &tencentcloud.BdrcDisasterRecoverySitePairArgs{
    			DisasterRecoveryType: pulumi.String("CROSS_ZONE"),
    			SourceRegion:         pulumi.String("ap-shanghai"),
    			SourceZone:           pulumi.String("ap-shanghai-3"),
    			TargetRegion:         pulumi.String("ap-shanghai"),
    			TargetZone:           pulumi.String("ap-shanghai-4"),
    			SourceVpc:            pulumi.String("vpc-lx6q09ji"),
    			TargetVpc:            pulumi.String("vpc-jktad5e6"),
    			SitePairProductType:  pulumi.String("INSTANCE"),
    			SitePairName:         pulumi.String("tf-example"),
    			CopyType:             pulumi.String("ASY"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewBdrcDisasterRecoveryProtectGroup(ctx, "example", &tencentcloud.BdrcDisasterRecoveryProtectGroupArgs{
    			SitePairId:             example.SitePairId,
    			ProtectGroupName:       pulumi.String("tf-example"),
    			DataDirection:          pulumi.String("POSITIVE"),
    			ProtectGroupType:       pulumi.String("INSTANCE"),
    			RecoveryPointObjective: pulumi.Float64(15),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.BdrcDisasterRecoverySitePair("example", new()
        {
            DisasterRecoveryType = "CROSS_ZONE",
            SourceRegion = "ap-shanghai",
            SourceZone = "ap-shanghai-3",
            TargetRegion = "ap-shanghai",
            TargetZone = "ap-shanghai-4",
            SourceVpc = "vpc-lx6q09ji",
            TargetVpc = "vpc-jktad5e6",
            SitePairProductType = "INSTANCE",
            SitePairName = "tf-example",
            CopyType = "ASY",
        });
    
        var exampleBdrcDisasterRecoveryProtectGroup = new Tencentcloud.BdrcDisasterRecoveryProtectGroup("example", new()
        {
            SitePairId = example.SitePairId,
            ProtectGroupName = "tf-example",
            DataDirection = "POSITIVE",
            ProtectGroupType = "INSTANCE",
            RecoveryPointObjective = 15,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.BdrcDisasterRecoverySitePair;
    import com.pulumi.tencentcloud.BdrcDisasterRecoverySitePairArgs;
    import com.pulumi.tencentcloud.BdrcDisasterRecoveryProtectGroup;
    import com.pulumi.tencentcloud.BdrcDisasterRecoveryProtectGroupArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new BdrcDisasterRecoverySitePair("example", BdrcDisasterRecoverySitePairArgs.builder()
                .disasterRecoveryType("CROSS_ZONE")
                .sourceRegion("ap-shanghai")
                .sourceZone("ap-shanghai-3")
                .targetRegion("ap-shanghai")
                .targetZone("ap-shanghai-4")
                .sourceVpc("vpc-lx6q09ji")
                .targetVpc("vpc-jktad5e6")
                .sitePairProductType("INSTANCE")
                .sitePairName("tf-example")
                .copyType("ASY")
                .build());
    
            var exampleBdrcDisasterRecoveryProtectGroup = new BdrcDisasterRecoveryProtectGroup("exampleBdrcDisasterRecoveryProtectGroup", BdrcDisasterRecoveryProtectGroupArgs.builder()
                .sitePairId(example.sitePairId())
                .protectGroupName("tf-example")
                .dataDirection("POSITIVE")
                .protectGroupType("INSTANCE")
                .recoveryPointObjective(15.0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:BdrcDisasterRecoverySitePair
        properties:
          disasterRecoveryType: CROSS_ZONE
          sourceRegion: ap-shanghai
          sourceZone: ap-shanghai-3
          targetRegion: ap-shanghai
          targetZone: ap-shanghai-4
          sourceVpc: vpc-lx6q09ji
          targetVpc: vpc-jktad5e6
          sitePairProductType: INSTANCE
          sitePairName: tf-example
          copyType: ASY
      exampleBdrcDisasterRecoveryProtectGroup:
        type: tencentcloud:BdrcDisasterRecoveryProtectGroup
        name: example
        properties:
          sitePairId: ${example.sitePairId}
          protectGroupName: tf-example
          dataDirection: POSITIVE
          protectGroupType: INSTANCE
          recoveryPointObjective: 15
    
    Example coming soon!
    

    Create BdrcDisasterRecoveryProtectGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BdrcDisasterRecoveryProtectGroup(name: string, args: BdrcDisasterRecoveryProtectGroupArgs, opts?: CustomResourceOptions);
    @overload
    def BdrcDisasterRecoveryProtectGroup(resource_name: str,
                                         args: BdrcDisasterRecoveryProtectGroupArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def BdrcDisasterRecoveryProtectGroup(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         protect_group_type: Optional[str] = None,
                                         recovery_point_objective: Optional[float] = None,
                                         site_pair_id: Optional[str] = None,
                                         bdrc_disaster_recovery_protect_group_id: Optional[str] = None,
                                         data_direction: Optional[str] = None,
                                         protect_group_name: Optional[str] = None)
    func NewBdrcDisasterRecoveryProtectGroup(ctx *Context, name string, args BdrcDisasterRecoveryProtectGroupArgs, opts ...ResourceOption) (*BdrcDisasterRecoveryProtectGroup, error)
    public BdrcDisasterRecoveryProtectGroup(string name, BdrcDisasterRecoveryProtectGroupArgs args, CustomResourceOptions? opts = null)
    public BdrcDisasterRecoveryProtectGroup(String name, BdrcDisasterRecoveryProtectGroupArgs args)
    public BdrcDisasterRecoveryProtectGroup(String name, BdrcDisasterRecoveryProtectGroupArgs args, CustomResourceOptions options)
    
    type: tencentcloud:BdrcDisasterRecoveryProtectGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_bdrc_disaster_recovery_protect_group" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BdrcDisasterRecoveryProtectGroupArgs
    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 BdrcDisasterRecoveryProtectGroupArgs
    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 BdrcDisasterRecoveryProtectGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BdrcDisasterRecoveryProtectGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BdrcDisasterRecoveryProtectGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BdrcDisasterRecoveryProtectGroup 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 BdrcDisasterRecoveryProtectGroup resource accepts the following input properties:

    ProtectGroupType string
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    RecoveryPointObjective double
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    SitePairId string
    The ID of the disaster recovery site pair to which the protect group belongs.
    BdrcDisasterRecoveryProtectGroupId string
    ID of the resource.
    DataDirection string
    Data replication direction. Valid values: POSITIVE, REVERSE.
    ProtectGroupName string
    Name of the protect group, up to 60 characters.
    ProtectGroupType string
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    RecoveryPointObjective float64
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    SitePairId string
    The ID of the disaster recovery site pair to which the protect group belongs.
    BdrcDisasterRecoveryProtectGroupId string
    ID of the resource.
    DataDirection string
    Data replication direction. Valid values: POSITIVE, REVERSE.
    ProtectGroupName string
    Name of the protect group, up to 60 characters.
    protect_group_type string
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    recovery_point_objective number
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    site_pair_id string
    The ID of the disaster recovery site pair to which the protect group belongs.
    bdrc_disaster_recovery_protect_group_id string
    ID of the resource.
    data_direction string
    Data replication direction. Valid values: POSITIVE, REVERSE.
    protect_group_name string
    Name of the protect group, up to 60 characters.
    protectGroupType String
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    recoveryPointObjective Double
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    sitePairId String
    The ID of the disaster recovery site pair to which the protect group belongs.
    bdrcDisasterRecoveryProtectGroupId String
    ID of the resource.
    dataDirection String
    Data replication direction. Valid values: POSITIVE, REVERSE.
    protectGroupName String
    Name of the protect group, up to 60 characters.
    protectGroupType string
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    recoveryPointObjective number
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    sitePairId string
    The ID of the disaster recovery site pair to which the protect group belongs.
    bdrcDisasterRecoveryProtectGroupId string
    ID of the resource.
    dataDirection string
    Data replication direction. Valid values: POSITIVE, REVERSE.
    protectGroupName string
    Name of the protect group, up to 60 characters.
    protect_group_type str
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    recovery_point_objective float
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    site_pair_id str
    The ID of the disaster recovery site pair to which the protect group belongs.
    bdrc_disaster_recovery_protect_group_id str
    ID of the resource.
    data_direction str
    Data replication direction. Valid values: POSITIVE, REVERSE.
    protect_group_name str
    Name of the protect group, up to 60 characters.
    protectGroupType String
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    recoveryPointObjective Number
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    sitePairId String
    The ID of the disaster recovery site pair to which the protect group belongs.
    bdrcDisasterRecoveryProtectGroupId String
    ID of the resource.
    dataDirection String
    Data replication direction. Valid values: POSITIVE, REVERSE.
    protectGroupName String
    Name of the protect group, up to 60 characters.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BdrcDisasterRecoveryProtectGroup resource produces the following output properties:

    AccountUin string
    Account Uin of the protect group owner.
    AppId double
    User AppId.
    BindProtectedResourceCount double
    Number of protected resources bound to the protect group.
    CopyType string
    Replication technology (SYN sync / ASY async).
    CreateFrom string
    Creation source (LOCAL local / PEER peer).
    CreateTime string
    Creation time.
    DisasterRecoveryType string
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    ErrorRecoveryPointObjectiveCount double
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    Id string
    The provider-assigned unique ID for this managed resource.
    LifeState string
    Lifecycle state.
    ModifyTime string
    Modification time.
    PeerCloudName string
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    ProtectGroupId string
    Protect Group ID.
    ProtectedResourceStatusSets List<BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet>
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    SitePairName string
    Name of the disaster recovery site pair.
    SourceRegion string
    Source region.
    SourceVpc string
    Source VPC.
    SourceZone string
    Source zone.
    SubAccountUin string
    Sub account Uin of the protect group creator.
    TargetRegion string
    Target region.
    TargetVpc string
    Target VPC.
    TargetZone string
    Target zone.
    AccountUin string
    Account Uin of the protect group owner.
    AppId float64
    User AppId.
    BindProtectedResourceCount float64
    Number of protected resources bound to the protect group.
    CopyType string
    Replication technology (SYN sync / ASY async).
    CreateFrom string
    Creation source (LOCAL local / PEER peer).
    CreateTime string
    Creation time.
    DisasterRecoveryType string
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    ErrorRecoveryPointObjectiveCount float64
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    Id string
    The provider-assigned unique ID for this managed resource.
    LifeState string
    Lifecycle state.
    ModifyTime string
    Modification time.
    PeerCloudName string
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    ProtectGroupId string
    Protect Group ID.
    ProtectedResourceStatusSets []BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    SitePairName string
    Name of the disaster recovery site pair.
    SourceRegion string
    Source region.
    SourceVpc string
    Source VPC.
    SourceZone string
    Source zone.
    SubAccountUin string
    Sub account Uin of the protect group creator.
    TargetRegion string
    Target region.
    TargetVpc string
    Target VPC.
    TargetZone string
    Target zone.
    account_uin string
    Account Uin of the protect group owner.
    app_id number
    User AppId.
    bind_protected_resource_count number
    Number of protected resources bound to the protect group.
    copy_type string
    Replication technology (SYN sync / ASY async).
    create_from string
    Creation source (LOCAL local / PEER peer).
    create_time string
    Creation time.
    disaster_recovery_type string
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    error_recovery_point_objective_count number
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    id string
    The provider-assigned unique ID for this managed resource.
    life_state string
    Lifecycle state.
    modify_time string
    Modification time.
    peer_cloud_name string
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protect_group_id string
    Protect Group ID.
    protected_resource_status_sets list(object)
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    site_pair_name string
    Name of the disaster recovery site pair.
    source_region string
    Source region.
    source_vpc string
    Source VPC.
    source_zone string
    Source zone.
    sub_account_uin string
    Sub account Uin of the protect group creator.
    target_region string
    Target region.
    target_vpc string
    Target VPC.
    target_zone string
    Target zone.
    accountUin String
    Account Uin of the protect group owner.
    appId Double
    User AppId.
    bindProtectedResourceCount Double
    Number of protected resources bound to the protect group.
    copyType String
    Replication technology (SYN sync / ASY async).
    createFrom String
    Creation source (LOCAL local / PEER peer).
    createTime String
    Creation time.
    disasterRecoveryType String
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    errorRecoveryPointObjectiveCount Double
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    id String
    The provider-assigned unique ID for this managed resource.
    lifeState String
    Lifecycle state.
    modifyTime String
    Modification time.
    peerCloudName String
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protectGroupId String
    Protect Group ID.
    protectedResourceStatusSets List<BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet>
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    sitePairName String
    Name of the disaster recovery site pair.
    sourceRegion String
    Source region.
    sourceVpc String
    Source VPC.
    sourceZone String
    Source zone.
    subAccountUin String
    Sub account Uin of the protect group creator.
    targetRegion String
    Target region.
    targetVpc String
    Target VPC.
    targetZone String
    Target zone.
    accountUin string
    Account Uin of the protect group owner.
    appId number
    User AppId.
    bindProtectedResourceCount number
    Number of protected resources bound to the protect group.
    copyType string
    Replication technology (SYN sync / ASY async).
    createFrom string
    Creation source (LOCAL local / PEER peer).
    createTime string
    Creation time.
    disasterRecoveryType string
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    errorRecoveryPointObjectiveCount number
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    id string
    The provider-assigned unique ID for this managed resource.
    lifeState string
    Lifecycle state.
    modifyTime string
    Modification time.
    peerCloudName string
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protectGroupId string
    Protect Group ID.
    protectedResourceStatusSets BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet[]
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    sitePairName string
    Name of the disaster recovery site pair.
    sourceRegion string
    Source region.
    sourceVpc string
    Source VPC.
    sourceZone string
    Source zone.
    subAccountUin string
    Sub account Uin of the protect group creator.
    targetRegion string
    Target region.
    targetVpc string
    Target VPC.
    targetZone string
    Target zone.
    account_uin str
    Account Uin of the protect group owner.
    app_id float
    User AppId.
    bind_protected_resource_count float
    Number of protected resources bound to the protect group.
    copy_type str
    Replication technology (SYN sync / ASY async).
    create_from str
    Creation source (LOCAL local / PEER peer).
    create_time str
    Creation time.
    disaster_recovery_type str
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    error_recovery_point_objective_count float
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    id str
    The provider-assigned unique ID for this managed resource.
    life_state str
    Lifecycle state.
    modify_time str
    Modification time.
    peer_cloud_name str
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protect_group_id str
    Protect Group ID.
    protected_resource_status_sets Sequence[BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet]
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    site_pair_name str
    Name of the disaster recovery site pair.
    source_region str
    Source region.
    source_vpc str
    Source VPC.
    source_zone str
    Source zone.
    sub_account_uin str
    Sub account Uin of the protect group creator.
    target_region str
    Target region.
    target_vpc str
    Target VPC.
    target_zone str
    Target zone.
    accountUin String
    Account Uin of the protect group owner.
    appId Number
    User AppId.
    bindProtectedResourceCount Number
    Number of protected resources bound to the protect group.
    copyType String
    Replication technology (SYN sync / ASY async).
    createFrom String
    Creation source (LOCAL local / PEER peer).
    createTime String
    Creation time.
    disasterRecoveryType String
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    errorRecoveryPointObjectiveCount Number
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    id String
    The provider-assigned unique ID for this managed resource.
    lifeState String
    Lifecycle state.
    modifyTime String
    Modification time.
    peerCloudName String
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protectGroupId String
    Protect Group ID.
    protectedResourceStatusSets List<Property Map>
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    sitePairName String
    Name of the disaster recovery site pair.
    sourceRegion String
    Source region.
    sourceVpc String
    Source VPC.
    sourceZone String
    Source zone.
    subAccountUin String
    Sub account Uin of the protect group creator.
    targetRegion String
    Target region.
    targetVpc String
    Target VPC.
    targetZone String
    Target zone.

    Look up Existing BdrcDisasterRecoveryProtectGroup Resource

    Get an existing BdrcDisasterRecoveryProtectGroup 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?: BdrcDisasterRecoveryProtectGroupState, opts?: CustomResourceOptions): BdrcDisasterRecoveryProtectGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_uin: Optional[str] = None,
            app_id: Optional[float] = None,
            bdrc_disaster_recovery_protect_group_id: Optional[str] = None,
            bind_protected_resource_count: Optional[float] = None,
            copy_type: Optional[str] = None,
            create_from: Optional[str] = None,
            create_time: Optional[str] = None,
            data_direction: Optional[str] = None,
            disaster_recovery_type: Optional[str] = None,
            error_recovery_point_objective_count: Optional[float] = None,
            life_state: Optional[str] = None,
            modify_time: Optional[str] = None,
            peer_cloud_name: Optional[str] = None,
            protect_group_id: Optional[str] = None,
            protect_group_name: Optional[str] = None,
            protect_group_type: Optional[str] = None,
            protected_resource_status_sets: Optional[Sequence[BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSetArgs]] = None,
            recovery_point_objective: Optional[float] = None,
            site_pair_id: Optional[str] = None,
            site_pair_name: Optional[str] = None,
            source_region: Optional[str] = None,
            source_vpc: Optional[str] = None,
            source_zone: Optional[str] = None,
            sub_account_uin: Optional[str] = None,
            target_region: Optional[str] = None,
            target_vpc: Optional[str] = None,
            target_zone: Optional[str] = None) -> BdrcDisasterRecoveryProtectGroup
    func GetBdrcDisasterRecoveryProtectGroup(ctx *Context, name string, id IDInput, state *BdrcDisasterRecoveryProtectGroupState, opts ...ResourceOption) (*BdrcDisasterRecoveryProtectGroup, error)
    public static BdrcDisasterRecoveryProtectGroup Get(string name, Input<string> id, BdrcDisasterRecoveryProtectGroupState? state, CustomResourceOptions? opts = null)
    public static BdrcDisasterRecoveryProtectGroup get(String name, Output<String> id, BdrcDisasterRecoveryProtectGroupState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:BdrcDisasterRecoveryProtectGroup    get:      id: ${id}
    import {
      to = tencentcloud_bdrc_disaster_recovery_protect_group.example
      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.
    The following state arguments are supported:
    AccountUin string
    Account Uin of the protect group owner.
    AppId double
    User AppId.
    BdrcDisasterRecoveryProtectGroupId string
    ID of the resource.
    BindProtectedResourceCount double
    Number of protected resources bound to the protect group.
    CopyType string
    Replication technology (SYN sync / ASY async).
    CreateFrom string
    Creation source (LOCAL local / PEER peer).
    CreateTime string
    Creation time.
    DataDirection string
    Data replication direction. Valid values: POSITIVE, REVERSE.
    DisasterRecoveryType string
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    ErrorRecoveryPointObjectiveCount double
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    LifeState string
    Lifecycle state.
    ModifyTime string
    Modification time.
    PeerCloudName string
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    ProtectGroupId string
    Protect Group ID.
    ProtectGroupName string
    Name of the protect group, up to 60 characters.
    ProtectGroupType string
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    ProtectedResourceStatusSets List<BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet>
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    RecoveryPointObjective double
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    SitePairId string
    The ID of the disaster recovery site pair to which the protect group belongs.
    SitePairName string
    Name of the disaster recovery site pair.
    SourceRegion string
    Source region.
    SourceVpc string
    Source VPC.
    SourceZone string
    Source zone.
    SubAccountUin string
    Sub account Uin of the protect group creator.
    TargetRegion string
    Target region.
    TargetVpc string
    Target VPC.
    TargetZone string
    Target zone.
    AccountUin string
    Account Uin of the protect group owner.
    AppId float64
    User AppId.
    BdrcDisasterRecoveryProtectGroupId string
    ID of the resource.
    BindProtectedResourceCount float64
    Number of protected resources bound to the protect group.
    CopyType string
    Replication technology (SYN sync / ASY async).
    CreateFrom string
    Creation source (LOCAL local / PEER peer).
    CreateTime string
    Creation time.
    DataDirection string
    Data replication direction. Valid values: POSITIVE, REVERSE.
    DisasterRecoveryType string
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    ErrorRecoveryPointObjectiveCount float64
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    LifeState string
    Lifecycle state.
    ModifyTime string
    Modification time.
    PeerCloudName string
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    ProtectGroupId string
    Protect Group ID.
    ProtectGroupName string
    Name of the protect group, up to 60 characters.
    ProtectGroupType string
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    ProtectedResourceStatusSets []BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSetArgs
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    RecoveryPointObjective float64
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    SitePairId string
    The ID of the disaster recovery site pair to which the protect group belongs.
    SitePairName string
    Name of the disaster recovery site pair.
    SourceRegion string
    Source region.
    SourceVpc string
    Source VPC.
    SourceZone string
    Source zone.
    SubAccountUin string
    Sub account Uin of the protect group creator.
    TargetRegion string
    Target region.
    TargetVpc string
    Target VPC.
    TargetZone string
    Target zone.
    account_uin string
    Account Uin of the protect group owner.
    app_id number
    User AppId.
    bdrc_disaster_recovery_protect_group_id string
    ID of the resource.
    bind_protected_resource_count number
    Number of protected resources bound to the protect group.
    copy_type string
    Replication technology (SYN sync / ASY async).
    create_from string
    Creation source (LOCAL local / PEER peer).
    create_time string
    Creation time.
    data_direction string
    Data replication direction. Valid values: POSITIVE, REVERSE.
    disaster_recovery_type string
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    error_recovery_point_objective_count number
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    life_state string
    Lifecycle state.
    modify_time string
    Modification time.
    peer_cloud_name string
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protect_group_id string
    Protect Group ID.
    protect_group_name string
    Name of the protect group, up to 60 characters.
    protect_group_type string
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    protected_resource_status_sets list(object)
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    recovery_point_objective number
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    site_pair_id string
    The ID of the disaster recovery site pair to which the protect group belongs.
    site_pair_name string
    Name of the disaster recovery site pair.
    source_region string
    Source region.
    source_vpc string
    Source VPC.
    source_zone string
    Source zone.
    sub_account_uin string
    Sub account Uin of the protect group creator.
    target_region string
    Target region.
    target_vpc string
    Target VPC.
    target_zone string
    Target zone.
    accountUin String
    Account Uin of the protect group owner.
    appId Double
    User AppId.
    bdrcDisasterRecoveryProtectGroupId String
    ID of the resource.
    bindProtectedResourceCount Double
    Number of protected resources bound to the protect group.
    copyType String
    Replication technology (SYN sync / ASY async).
    createFrom String
    Creation source (LOCAL local / PEER peer).
    createTime String
    Creation time.
    dataDirection String
    Data replication direction. Valid values: POSITIVE, REVERSE.
    disasterRecoveryType String
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    errorRecoveryPointObjectiveCount Double
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    lifeState String
    Lifecycle state.
    modifyTime String
    Modification time.
    peerCloudName String
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protectGroupId String
    Protect Group ID.
    protectGroupName String
    Name of the protect group, up to 60 characters.
    protectGroupType String
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    protectedResourceStatusSets List<BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet>
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    recoveryPointObjective Double
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    sitePairId String
    The ID of the disaster recovery site pair to which the protect group belongs.
    sitePairName String
    Name of the disaster recovery site pair.
    sourceRegion String
    Source region.
    sourceVpc String
    Source VPC.
    sourceZone String
    Source zone.
    subAccountUin String
    Sub account Uin of the protect group creator.
    targetRegion String
    Target region.
    targetVpc String
    Target VPC.
    targetZone String
    Target zone.
    accountUin string
    Account Uin of the protect group owner.
    appId number
    User AppId.
    bdrcDisasterRecoveryProtectGroupId string
    ID of the resource.
    bindProtectedResourceCount number
    Number of protected resources bound to the protect group.
    copyType string
    Replication technology (SYN sync / ASY async).
    createFrom string
    Creation source (LOCAL local / PEER peer).
    createTime string
    Creation time.
    dataDirection string
    Data replication direction. Valid values: POSITIVE, REVERSE.
    disasterRecoveryType string
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    errorRecoveryPointObjectiveCount number
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    lifeState string
    Lifecycle state.
    modifyTime string
    Modification time.
    peerCloudName string
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protectGroupId string
    Protect Group ID.
    protectGroupName string
    Name of the protect group, up to 60 characters.
    protectGroupType string
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    protectedResourceStatusSets BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet[]
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    recoveryPointObjective number
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    sitePairId string
    The ID of the disaster recovery site pair to which the protect group belongs.
    sitePairName string
    Name of the disaster recovery site pair.
    sourceRegion string
    Source region.
    sourceVpc string
    Source VPC.
    sourceZone string
    Source zone.
    subAccountUin string
    Sub account Uin of the protect group creator.
    targetRegion string
    Target region.
    targetVpc string
    Target VPC.
    targetZone string
    Target zone.
    account_uin str
    Account Uin of the protect group owner.
    app_id float
    User AppId.
    bdrc_disaster_recovery_protect_group_id str
    ID of the resource.
    bind_protected_resource_count float
    Number of protected resources bound to the protect group.
    copy_type str
    Replication technology (SYN sync / ASY async).
    create_from str
    Creation source (LOCAL local / PEER peer).
    create_time str
    Creation time.
    data_direction str
    Data replication direction. Valid values: POSITIVE, REVERSE.
    disaster_recovery_type str
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    error_recovery_point_objective_count float
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    life_state str
    Lifecycle state.
    modify_time str
    Modification time.
    peer_cloud_name str
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protect_group_id str
    Protect Group ID.
    protect_group_name str
    Name of the protect group, up to 60 characters.
    protect_group_type str
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    protected_resource_status_sets Sequence[BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSetArgs]
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    recovery_point_objective float
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    site_pair_id str
    The ID of the disaster recovery site pair to which the protect group belongs.
    site_pair_name str
    Name of the disaster recovery site pair.
    source_region str
    Source region.
    source_vpc str
    Source VPC.
    source_zone str
    Source zone.
    sub_account_uin str
    Sub account Uin of the protect group creator.
    target_region str
    Target region.
    target_vpc str
    Target VPC.
    target_zone str
    Target zone.
    accountUin String
    Account Uin of the protect group owner.
    appId Number
    User AppId.
    bdrcDisasterRecoveryProtectGroupId String
    ID of the resource.
    bindProtectedResourceCount Number
    Number of protected resources bound to the protect group.
    copyType String
    Replication technology (SYN sync / ASY async).
    createFrom String
    Creation source (LOCAL local / PEER peer).
    createTime String
    Creation time.
    dataDirection String
    Data replication direction. Valid values: POSITIVE, REVERSE.
    disasterRecoveryType String
    Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
    errorRecoveryPointObjectiveCount Number
    Number of replication pairs whose RPO is abnormal (not synced for more than 15 minutes).
    lifeState String
    Lifecycle state.
    modifyTime String
    Modification time.
    peerCloudName String
    Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
    protectGroupId String
    Protect Group ID.
    protectGroupName String
    Name of the protect group, up to 60 characters.
    protectGroupType String
    Product type of the disaster recovery protect group. Valid values: DISK, INSTANCE, CFS.
    protectedResourceStatusSets List<Property Map>
    Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
    recoveryPointObjective Number
    Expected RPO of the protect group, in minutes (currently only 15 is supported).
    sitePairId String
    The ID of the disaster recovery site pair to which the protect group belongs.
    sitePairName String
    Name of the disaster recovery site pair.
    sourceRegion String
    Source region.
    sourceVpc String
    Source VPC.
    sourceZone String
    Source zone.
    subAccountUin String
    Sub account Uin of the protect group creator.
    targetRegion String
    Target region.
    targetVpc String
    Target VPC.
    targetZone String
    Target zone.

    Supporting Types

    BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet, BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSetArgs

    Count double
    Resource count under this status.
    Status string
    Replication pair status.
    Count float64
    Resource count under this status.
    Status string
    Replication pair status.
    count number
    Resource count under this status.
    status string
    Replication pair status.
    count Double
    Resource count under this status.
    status String
    Replication pair status.
    count number
    Resource count under this status.
    status string
    Replication pair status.
    count float
    Resource count under this status.
    status str
    Replication pair status.
    count Number
    Resource count under this status.
    status String
    Replication pair status.

    Import

    BDRC disaster recovery protect group can be imported using the protectGroupId#protectGroupType, e.g.

    $ pulumi import tencentcloud:index/bdrcDisasterRecoveryProtectGroup:BdrcDisasterRecoveryProtectGroup example pg-l5xwdgsn#INSTANCE
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.33
    published on Monday, Sep 21, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial