published on Monday, Sep 21, 2026 by tencentcloudstack
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:
- Protect
Group stringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - Recovery
Point doubleObjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- Site
Pair stringId - The ID of the disaster recovery site pair to which the protect group belongs.
- Bdrc
Disaster stringRecovery Protect Group Id - ID of the resource.
- Data
Direction string - Data replication direction. Valid values:
POSITIVE,REVERSE. - Protect
Group stringName - Name of the protect group, up to 60 characters.
- Protect
Group stringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - Recovery
Point float64Objective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- Site
Pair stringId - The ID of the disaster recovery site pair to which the protect group belongs.
- Bdrc
Disaster stringRecovery Protect Group Id - ID of the resource.
- Data
Direction string - Data replication direction. Valid values:
POSITIVE,REVERSE. - Protect
Group stringName - Name of the protect group, up to 60 characters.
- protect_
group_ stringtype - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - recovery_
point_ numberobjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site_
pair_ stringid - The ID of the disaster recovery site pair to which the protect group belongs.
- bdrc_
disaster_ stringrecovery_ protect_ group_ id - ID of the resource.
- data_
direction string - Data replication direction. Valid values:
POSITIVE,REVERSE. - protect_
group_ stringname - Name of the protect group, up to 60 characters.
- protect
Group StringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - recovery
Point DoubleObjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site
Pair StringId - The ID of the disaster recovery site pair to which the protect group belongs.
- bdrc
Disaster StringRecovery Protect Group Id - ID of the resource.
- data
Direction String - Data replication direction. Valid values:
POSITIVE,REVERSE. - protect
Group StringName - Name of the protect group, up to 60 characters.
- protect
Group stringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - recovery
Point numberObjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site
Pair stringId - The ID of the disaster recovery site pair to which the protect group belongs.
- bdrc
Disaster stringRecovery Protect Group Id - ID of the resource.
- data
Direction string - Data replication direction. Valid values:
POSITIVE,REVERSE. - protect
Group stringName - Name of the protect group, up to 60 characters.
- protect_
group_ strtype - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - recovery_
point_ floatobjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site_
pair_ strid - The ID of the disaster recovery site pair to which the protect group belongs.
- bdrc_
disaster_ strrecovery_ protect_ group_ id - ID of the resource.
- data_
direction str - Data replication direction. Valid values:
POSITIVE,REVERSE. - protect_
group_ strname - Name of the protect group, up to 60 characters.
- protect
Group StringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - recovery
Point NumberObjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site
Pair StringId - The ID of the disaster recovery site pair to which the protect group belongs.
- bdrc
Disaster StringRecovery Protect Group Id - ID of the resource.
- data
Direction String - Data replication direction. Valid values:
POSITIVE,REVERSE. - protect
Group StringName - 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:
- Account
Uin string - Account Uin of the protect group owner.
- App
Id double - User AppId.
- Bind
Protected doubleResource Count - 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 stringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- Error
Recovery doublePoint Objective Count - 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 stringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- Protect
Group stringId - Protect Group ID.
- Protected
Resource List<BdrcStatus Sets Disaster Recovery Protect Group Protected Resource Status Set> - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- Site
Pair stringName - Name of the disaster recovery site pair.
- Source
Region string - Source region.
- Source
Vpc string - Source VPC.
- Source
Zone string - Source zone.
- Sub
Account stringUin - Sub account Uin of the protect group creator.
- Target
Region string - Target region.
- Target
Vpc string - Target VPC.
- Target
Zone string - Target zone.
- Account
Uin string - Account Uin of the protect group owner.
- App
Id float64 - User AppId.
- Bind
Protected float64Resource Count - 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 stringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- Error
Recovery float64Point Objective Count - 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 stringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- Protect
Group stringId - Protect Group ID.
- Protected
Resource []BdrcStatus Sets Disaster Recovery Protect Group Protected Resource Status Set - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- Site
Pair stringName - Name of the disaster recovery site pair.
- Source
Region string - Source region.
- Source
Vpc string - Source VPC.
- Source
Zone string - Source zone.
- Sub
Account stringUin - Sub account Uin of the protect group creator.
- Target
Region string - Target region.
- Target
Vpc string - Target VPC.
- Target
Zone string - Target zone.
- account_
uin string - Account Uin of the protect group owner.
- app_
id number - User AppId.
- bind_
protected_ numberresource_ count - 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_ stringtype - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error_
recovery_ numberpoint_ objective_ count - 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_ stringname - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect_
group_ stringid - Protect Group ID.
- protected_
resource_ list(object)status_ sets - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- site_
pair_ stringname - Name of the disaster recovery site pair.
- source_
region string - Source region.
- source_
vpc string - Source VPC.
- source_
zone string - Source zone.
- sub_
account_ stringuin - Sub account Uin of the protect group creator.
- target_
region string - Target region.
- target_
vpc string - Target VPC.
- target_
zone string - Target zone.
- account
Uin String - Account Uin of the protect group owner.
- app
Id Double - User AppId.
- bind
Protected DoubleResource Count - 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 StringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error
Recovery DoublePoint Objective Count - 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 StringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect
Group StringId - Protect Group ID.
- protected
Resource List<BdrcStatus Sets Disaster Recovery Protect Group Protected Resource Status Set> - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- site
Pair StringName - Name of the disaster recovery site pair.
- source
Region String - Source region.
- source
Vpc String - Source VPC.
- source
Zone String - Source zone.
- sub
Account StringUin - Sub account Uin of the protect group creator.
- target
Region String - Target region.
- target
Vpc String - Target VPC.
- target
Zone String - Target zone.
- account
Uin string - Account Uin of the protect group owner.
- app
Id number - User AppId.
- bind
Protected numberResource Count - 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 stringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error
Recovery numberPoint Objective Count - 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 stringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect
Group stringId - Protect Group ID.
- protected
Resource BdrcStatus Sets Disaster Recovery Protect Group Protected Resource Status Set[] - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- site
Pair stringName - Name of the disaster recovery site pair.
- source
Region string - Source region.
- source
Vpc string - Source VPC.
- source
Zone string - Source zone.
- sub
Account stringUin - Sub account Uin of the protect group creator.
- target
Region string - Target region.
- target
Vpc string - Target VPC.
- target
Zone string - Target zone.
- account_
uin str - Account Uin of the protect group owner.
- app_
id float - User AppId.
- bind_
protected_ floatresource_ count - 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_ strtype - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error_
recovery_ floatpoint_ objective_ count - 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_ strname - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect_
group_ strid - Protect Group ID.
- protected_
resource_ Sequence[Bdrcstatus_ sets Disaster Recovery Protect Group Protected Resource Status Set] - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- site_
pair_ strname - Name of the disaster recovery site pair.
- source_
region str - Source region.
- source_
vpc str - Source VPC.
- source_
zone str - Source zone.
- sub_
account_ struin - Sub account Uin of the protect group creator.
- target_
region str - Target region.
- target_
vpc str - Target VPC.
- target_
zone str - Target zone.
- account
Uin String - Account Uin of the protect group owner.
- app
Id Number - User AppId.
- bind
Protected NumberResource Count - 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 StringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error
Recovery NumberPoint Objective Count - 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 StringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect
Group StringId - Protect Group ID.
- protected
Resource List<Property Map>Status Sets - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- site
Pair StringName - Name of the disaster recovery site pair.
- source
Region String - Source region.
- source
Vpc String - Source VPC.
- source
Zone String - Source zone.
- sub
Account StringUin - Sub account Uin of the protect group creator.
- target
Region String - Target region.
- target
Vpc String - Target VPC.
- target
Zone 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) -> BdrcDisasterRecoveryProtectGroupfunc 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.
- Account
Uin string - Account Uin of the protect group owner.
- App
Id double - User AppId.
- Bdrc
Disaster stringRecovery Protect Group Id - ID of the resource.
- Bind
Protected doubleResource Count - 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 stringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- Error
Recovery doublePoint Objective Count - 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 stringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- Protect
Group stringId - Protect Group ID.
- Protect
Group stringName - Name of the protect group, up to 60 characters.
- Protect
Group stringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - Protected
Resource List<BdrcStatus Sets Disaster Recovery Protect Group Protected Resource Status Set> - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- Recovery
Point doubleObjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- Site
Pair stringId - The ID of the disaster recovery site pair to which the protect group belongs.
- Site
Pair stringName - Name of the disaster recovery site pair.
- Source
Region string - Source region.
- Source
Vpc string - Source VPC.
- Source
Zone string - Source zone.
- Sub
Account stringUin - Sub account Uin of the protect group creator.
- Target
Region string - Target region.
- Target
Vpc string - Target VPC.
- Target
Zone string - Target zone.
- Account
Uin string - Account Uin of the protect group owner.
- App
Id float64 - User AppId.
- Bdrc
Disaster stringRecovery Protect Group Id - ID of the resource.
- Bind
Protected float64Resource Count - 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 stringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- Error
Recovery float64Point Objective Count - 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 stringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- Protect
Group stringId - Protect Group ID.
- Protect
Group stringName - Name of the protect group, up to 60 characters.
- Protect
Group stringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - Protected
Resource []BdrcStatus Sets Disaster Recovery Protect Group Protected Resource Status Set Args - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- Recovery
Point float64Objective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- Site
Pair stringId - The ID of the disaster recovery site pair to which the protect group belongs.
- Site
Pair stringName - Name of the disaster recovery site pair.
- Source
Region string - Source region.
- Source
Vpc string - Source VPC.
- Source
Zone string - Source zone.
- Sub
Account stringUin - Sub account Uin of the protect group creator.
- Target
Region string - Target region.
- Target
Vpc string - Target VPC.
- Target
Zone string - Target zone.
- account_
uin string - Account Uin of the protect group owner.
- app_
id number - User AppId.
- bdrc_
disaster_ stringrecovery_ protect_ group_ id - ID of the resource.
- bind_
protected_ numberresource_ count - 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_ stringtype - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error_
recovery_ numberpoint_ objective_ count - 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_ stringname - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect_
group_ stringid - Protect Group ID.
- protect_
group_ stringname - Name of the protect group, up to 60 characters.
- protect_
group_ stringtype - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - protected_
resource_ list(object)status_ sets - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- recovery_
point_ numberobjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site_
pair_ stringid - The ID of the disaster recovery site pair to which the protect group belongs.
- site_
pair_ stringname - Name of the disaster recovery site pair.
- source_
region string - Source region.
- source_
vpc string - Source VPC.
- source_
zone string - Source zone.
- sub_
account_ stringuin - Sub account Uin of the protect group creator.
- target_
region string - Target region.
- target_
vpc string - Target VPC.
- target_
zone string - Target zone.
- account
Uin String - Account Uin of the protect group owner.
- app
Id Double - User AppId.
- bdrc
Disaster StringRecovery Protect Group Id - ID of the resource.
- bind
Protected DoubleResource Count - 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 StringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error
Recovery DoublePoint Objective Count - 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 StringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect
Group StringId - Protect Group ID.
- protect
Group StringName - Name of the protect group, up to 60 characters.
- protect
Group StringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - protected
Resource List<BdrcStatus Sets Disaster Recovery Protect Group Protected Resource Status Set> - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- recovery
Point DoubleObjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site
Pair StringId - The ID of the disaster recovery site pair to which the protect group belongs.
- site
Pair StringName - Name of the disaster recovery site pair.
- source
Region String - Source region.
- source
Vpc String - Source VPC.
- source
Zone String - Source zone.
- sub
Account StringUin - Sub account Uin of the protect group creator.
- target
Region String - Target region.
- target
Vpc String - Target VPC.
- target
Zone String - Target zone.
- account
Uin string - Account Uin of the protect group owner.
- app
Id number - User AppId.
- bdrc
Disaster stringRecovery Protect Group Id - ID of the resource.
- bind
Protected numberResource Count - 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 stringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error
Recovery numberPoint Objective Count - 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 stringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect
Group stringId - Protect Group ID.
- protect
Group stringName - Name of the protect group, up to 60 characters.
- protect
Group stringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - protected
Resource BdrcStatus Sets Disaster Recovery Protect Group Protected Resource Status Set[] - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- recovery
Point numberObjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site
Pair stringId - The ID of the disaster recovery site pair to which the protect group belongs.
- site
Pair stringName - Name of the disaster recovery site pair.
- source
Region string - Source region.
- source
Vpc string - Source VPC.
- source
Zone string - Source zone.
- sub
Account stringUin - Sub account Uin of the protect group creator.
- target
Region string - Target region.
- target
Vpc string - Target VPC.
- target
Zone string - Target zone.
- account_
uin str - Account Uin of the protect group owner.
- app_
id float - User AppId.
- bdrc_
disaster_ strrecovery_ protect_ group_ id - ID of the resource.
- bind_
protected_ floatresource_ count - 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_ strtype - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error_
recovery_ floatpoint_ objective_ count - 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_ strname - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect_
group_ strid - Protect Group ID.
- protect_
group_ strname - Name of the protect group, up to 60 characters.
- protect_
group_ strtype - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - protected_
resource_ Sequence[Bdrcstatus_ sets Disaster Recovery Protect Group Protected Resource Status Set Args] - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- recovery_
point_ floatobjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site_
pair_ strid - The ID of the disaster recovery site pair to which the protect group belongs.
- site_
pair_ strname - Name of the disaster recovery site pair.
- source_
region str - Source region.
- source_
vpc str - Source VPC.
- source_
zone str - Source zone.
- sub_
account_ struin - Sub account Uin of the protect group creator.
- target_
region str - Target region.
- target_
vpc str - Target VPC.
- target_
zone str - Target zone.
- account
Uin String - Account Uin of the protect group owner.
- app
Id Number - User AppId.
- bdrc
Disaster StringRecovery Protect Group Id - ID of the resource.
- bind
Protected NumberResource Count - 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 StringType - Disaster recovery type (CROSS_ZONE / CROSS_REGION / CROSS_CLOUD).
- error
Recovery NumberPoint Objective Count - 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 StringName - Peer cloud name (only returned when DisasterRecoveryType is CROSS_CLOUD).
- protect
Group StringId - Protect Group ID.
- protect
Group StringName - Name of the protect group, up to 60 characters.
- protect
Group StringType - Product type of the disaster recovery protect group. Valid values:
DISK,INSTANCE,CFS. - protected
Resource List<Property Map>Status Sets - Protected resource status statistics, key is the replication pair status, value is the resource count under that status.
- recovery
Point NumberObjective - Expected RPO of the protect group, in minutes (currently only 15 is supported).
- site
Pair StringId - The ID of the disaster recovery site pair to which the protect group belongs.
- site
Pair StringName - Name of the disaster recovery site pair.
- source
Region String - Source region.
- source
Vpc String - Source VPC.
- source
Zone String - Source zone.
- sub
Account StringUin - Sub account Uin of the protect group creator.
- target
Region String - Target region.
- target
Vpc String - Target VPC.
- target
Zone String - Target zone.
Supporting Types
BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSet, BdrcDisasterRecoveryProtectGroupProtectedResourceStatusSetArgs
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
tencentcloudTerraform Provider.
published on Monday, Sep 21, 2026 by tencentcloudstack