Documentation
¶
Index ¶
- func NewBdrcRunCopyPairTasks() action.Action
- func ResourceTencentCloudBdrcDisasterRecoveryProtectGroup() *schema.Resource
- func ResourceTencentCloudBdrcDisasterRecoverySitePair() *schema.Resource
- func ResourceTencentCloudBdrcDisasterRecoveryVpcMapping() *schema.Resource
- func ResourceTencentCloudBdrcInstanceCopyPair() *schema.Resource
- func ResourceTencentCloudBdrcSecurityGroupMapping() *schema.Resource
- type BdrcRunCopyPairTasks
- func (a *BdrcRunCopyPairTasks) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
- func (a *BdrcRunCopyPairTasks) Metadata(_ context.Context, _ action.MetadataRequest, resp *action.MetadataResponse)
- func (a *BdrcRunCopyPairTasks) Schema(_ context.Context, _ action.SchemaRequest, resp *action.SchemaResponse)
- type BdrcRunCopyPairTasksModel
- type BdrcService
- func (me *BdrcService) DescribeBdrcInstanceCopyPairById(ctx context.Context, copyPairId string) (ret *bdrcv20260330.CopyPair, errRet error)
- func (me *BdrcService) DescribeDisasterRecoveryProtectGroupById(ctx context.Context, protectGroupId, protectGroupType string) (ret *bdrcv20260330.ProtectGroup, errRet error)
- func (me *BdrcService) DescribeDisasterRecoverySitePairById(ctx context.Context, sitePairId, sitePairType string) (ret *bdrcv20260330.SitePair, errRet error)
- func (me *BdrcService) DescribeSecurityGroupMappingByFilter(ctx context.Context, ...) (ret *bdrcv20260330.SecurityGroupMapping, errRet error)
- func (me *BdrcService) DescribeSecurityGroupMappingById(ctx context.Context, sitePairId, securityGroupMappingId string) (ret *bdrcv20260330.SecurityGroupMapping, errRet error)
- func (me *BdrcService) RunCopyPairTasks(ctx context.Context, copyPairIds []*string, copyPairType string) (errRet error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBdrcRunCopyPairTasks ¶
NewBdrcRunCopyPairTasks is the factory referenced by tencentcloud/framework/registry.go to register this action.
Types ¶
type BdrcRunCopyPairTasks ¶
type BdrcRunCopyPairTasks struct {
fw.ActionWithConfigure
}
BdrcRunCopyPairTasks implements action.Action for tencentcloud_bdrc_copy_pair_tasks.
func (*BdrcRunCopyPairTasks) Invoke ¶
func (a *BdrcRunCopyPairTasks) Invoke(ctx context.Context, req action.InvokeRequest, resp *action.InvokeResponse)
Invoke is called to run the logic of the action.
func (*BdrcRunCopyPairTasks) Metadata ¶
func (a *BdrcRunCopyPairTasks) Metadata(_ context.Context, _ action.MetadataRequest, resp *action.MetadataResponse)
func (*BdrcRunCopyPairTasks) Schema ¶
func (a *BdrcRunCopyPairTasks) Schema(_ context.Context, _ action.SchemaRequest, resp *action.SchemaResponse)
type BdrcRunCopyPairTasksModel ¶
type BdrcRunCopyPairTasksModel struct {
CopyPairIds types.List `tfsdk:"copy_pair_ids"`
CopyPairType types.String `tfsdk:"copy_pair_type"`
}
BdrcRunCopyPairTasksModel maps the schema attributes.
type BdrcService ¶
type BdrcService struct {
// contains filtered or unexported fields
}
func NewBdrcService ¶
func NewBdrcService(client *connectivity.TencentCloudClient) BdrcService
func (*BdrcService) DescribeBdrcInstanceCopyPairById ¶
func (me *BdrcService) DescribeBdrcInstanceCopyPairById(ctx context.Context, copyPairId string) (ret *bdrcv20260330.CopyPair, errRet error)
func (*BdrcService) DescribeDisasterRecoveryProtectGroupById ¶
func (me *BdrcService) DescribeDisasterRecoveryProtectGroupById(ctx context.Context, protectGroupId, protectGroupType string) (ret *bdrcv20260330.ProtectGroup, errRet error)
func (*BdrcService) DescribeDisasterRecoverySitePairById ¶
func (me *BdrcService) DescribeDisasterRecoverySitePairById(ctx context.Context, sitePairId, sitePairType string) (ret *bdrcv20260330.SitePair, errRet error)
func (*BdrcService) DescribeSecurityGroupMappingByFilter ¶
func (me *BdrcService) DescribeSecurityGroupMappingByFilter(ctx context.Context, sitePairId, srcSecurityGroupId, targetSecurityGroupId string) (ret *bdrcv20260330.SecurityGroupMapping, errRet error)
func (*BdrcService) DescribeSecurityGroupMappingById ¶
func (me *BdrcService) DescribeSecurityGroupMappingById(ctx context.Context, sitePairId, securityGroupMappingId string) (ret *bdrcv20260330.SecurityGroupMapping, errRet error)
func (*BdrcService) RunCopyPairTasks ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.