Documentation ¶
Index ¶
- Constants
- func DataSourceTencentCloudDtsCompareTasks() *schema.Resource
- func DataSourceTencentCloudDtsMigrateDbInstances() *schema.Resource
- func DataSourceTencentCloudDtsMigrateJobs() *schema.Resource
- func DataSourceTencentCloudDtsSyncJobs() *schema.Resource
- func ResourceTencentCloudDtsCompareTask() *schema.Resource
- func ResourceTencentCloudDtsCompareTaskStopOperation() *schema.Resource
- func ResourceTencentCloudDtsMigrateJob() *schema.Resource
- func ResourceTencentCloudDtsMigrateJobConfig() *schema.Resource
- func ResourceTencentCloudDtsMigrateJobResumeOperation() *schema.Resource
- func ResourceTencentCloudDtsMigrateJobStartOperation() *schema.Resource
- func ResourceTencentCloudDtsMigrateService() *schema.Resource
- func ResourceTencentCloudDtsSyncCheckJobOperation() *schema.Resource
- func ResourceTencentCloudDtsSyncConfig() *schema.Resource
- func ResourceTencentCloudDtsSyncJob() *schema.Resource
- func ResourceTencentCloudDtsSyncJobContinueOperation() *schema.Resource
- func ResourceTencentCloudDtsSyncJobIsolateOperation() *schema.Resource
- func ResourceTencentCloudDtsSyncJobPauseOperation() *schema.Resource
- func ResourceTencentCloudDtsSyncJobRecoverOperation() *schema.Resource
- func ResourceTencentCloudDtsSyncJobResizeOperation() *schema.Resource
- func ResourceTencentCloudDtsSyncJobResumeOperation() *schema.Resource
- func ResourceTencentCloudDtsSyncJobStartOperation() *schema.Resource
- func ResourceTencentCloudDtsSyncJobStopOperation() *schema.Resource
- type DtsService
- func (me *DtsService) DeleteDtsCompareTaskById(ctx context.Context, jobId, compareTaskId string) (errRet error)
- func (me *DtsService) DeleteDtsMigrateServiceById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) DeleteDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) DescribeDtsCompareTask(ctx context.Context, jobId, compareTaskId *string) (tasks []*dts.CompareTaskItem, errRet error)
- func (me *DtsService) DescribeDtsCompareTaskStopOperationById(ctx context.Context, jobId string, compareTaskId string) (result *dts.DescribeCompareReportResponseParams, errRet error)
- func (me *DtsService) DescribeDtsCompareTasksByFilter(ctx context.Context, param map[string]interface{}) (compareTasks []*dts.CompareTaskItem, errRet error)
- func (me *DtsService) DescribeDtsMigrateCheckById(ctx context.Context, jobId string) (migrateCheckJob *dts.DescribeMigrationCheckJobResponseParams, errRet error)
- func (me *DtsService) DescribeDtsMigrateDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (migrateDbInstances []*dts.MigrateDBItem, errRet error)
- func (me *DtsService) DescribeDtsMigrateJobById(ctx context.Context, jobId string) (migrateJob *dts.DescribeMigrationDetailResponseParams, errRet error)
- func (me *DtsService) DescribeDtsMigrateJobsByFilter(ctx context.Context, param map[string]interface{}) (migrateJobs []*dts.JobItem, errRet error)
- func (me *DtsService) DescribeDtsMigrateServiceById(ctx context.Context, jobId string) (migrateService *dts.DescribeMigrationDetailResponseParams, errRet error)
- func (me *DtsService) DescribeDtsSyncCheckJobOperationById(ctx context.Context, jobId string) (syncCheckJobOperation *dts.DescribeCheckSyncJobResultResponseParams, ...)
- func (me *DtsService) DescribeDtsSyncConfigById(ctx context.Context, jobId string) (syncConfig *dts.SyncJobInfo, errRet error)
- func (me *DtsService) DescribeDtsSyncJob(ctx context.Context, jobId *string) (jobInfo *dts.SyncJobInfo, errRet error)
- func (me *DtsService) DescribeDtsSyncJobResumeOperationById(ctx context.Context, jobId string) (syncJobResumeOperation *dts.DescribeSyncJobsResponseParams, errRet error)
- func (me *DtsService) DescribeDtsSyncJobsByFilter(ctx context.Context, param map[string]interface{}) (syncJobs []*dts.SyncJobInfo, errRet error)
- func (me *DtsService) DestroyDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) DtsMigrateCheckConfigStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsMigrateJobConfigStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsMigrateJobResumeOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsMigrateJobStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsMigrateServiceStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncCheckJobOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobConfigDeleteStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobConfigIsolateStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobResumeOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobStateRefreshFunc(jobId, defaultStatus string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) DtsSyncJobTradeStateRefreshFunc(jobId, defaultStatus string, failStates []string) resource.StateRefreshFunc
- func (me *DtsService) IsolateDtsMigrateJobById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) IsolateDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
- func (me *DtsService) PollingCompareTaskStatusUntil(ctx context.Context, jobId, compareTaskId, targetStatus string) error
- func (me *DtsService) PollingMigrateJobStatusUntil(ctx context.Context, jobId, statusType string, targetStatus []string) error
- func (me *DtsService) PollingSyncJobStatusUntil(ctx context.Context, jobId string, targetStatus string) error
- func (me *DtsService) StopDtsCompareById(ctx context.Context, jobId, compareTaskId string) (errRet error)
Constants ¶
View Source
const ( DTS_MIGRATE_ACTION_PAUSE = "pause" DTS_MIGRATE_ACTION_CONTINUE = "continue" DTS_MIGRATE_ACTION_COMPLETE = "complete" DTS_MIGRATE_ACTION_RECOVER = "recover" DTS_MIGRATE_ACTION_STOP = "stop" DTS_MIGRATE_ACTION_RESUME = "resume" DTS_MIGRATE_ACTION_ISOLATE = "isolate" )
View Source
const ( DTSJobStatus = "Status" DTSTradeStatus = "TradeStatus" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DtsService ¶
type DtsService struct {
// contains filtered or unexported fields
}
func NewDtsService ¶
func NewDtsService(client *connectivity.TencentCloudClient) DtsService
func (*DtsService) DeleteDtsCompareTaskById ¶
func (me *DtsService) DeleteDtsCompareTaskById(ctx context.Context, jobId, compareTaskId string) (errRet error)
func (*DtsService) DeleteDtsMigrateServiceById ¶
func (me *DtsService) DeleteDtsMigrateServiceById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) DeleteDtsSyncJobById ¶
func (me *DtsService) DeleteDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) DescribeDtsCompareTask ¶
func (me *DtsService) DescribeDtsCompareTask(ctx context.Context, jobId, compareTaskId *string) (tasks []*dts.CompareTaskItem, errRet error)
func (*DtsService) DescribeDtsCompareTaskStopOperationById ¶
func (me *DtsService) DescribeDtsCompareTaskStopOperationById(ctx context.Context, jobId string, compareTaskId string) (result *dts.DescribeCompareReportResponseParams, errRet error)
func (*DtsService) DescribeDtsCompareTasksByFilter ¶
func (me *DtsService) DescribeDtsCompareTasksByFilter(ctx context.Context, param map[string]interface{}) (compareTasks []*dts.CompareTaskItem, errRet error)
compare task
func (*DtsService) DescribeDtsMigrateCheckById ¶
func (me *DtsService) DescribeDtsMigrateCheckById(ctx context.Context, jobId string) (migrateCheckJob *dts.DescribeMigrationCheckJobResponseParams, errRet error)
func (*DtsService) DescribeDtsMigrateDbInstancesByFilter ¶
func (me *DtsService) DescribeDtsMigrateDbInstancesByFilter(ctx context.Context, param map[string]interface{}) (migrateDbInstances []*dts.MigrateDBItem, errRet error)
func (*DtsService) DescribeDtsMigrateJobById ¶
func (me *DtsService) DescribeDtsMigrateJobById(ctx context.Context, jobId string) (migrateJob *dts.DescribeMigrationDetailResponseParams, errRet error)
func (*DtsService) DescribeDtsMigrateJobsByFilter ¶
func (me *DtsService) DescribeDtsMigrateJobsByFilter(ctx context.Context, param map[string]interface{}) (migrateJobs []*dts.JobItem, errRet error)
migration job
func (*DtsService) DescribeDtsMigrateServiceById ¶
func (me *DtsService) DescribeDtsMigrateServiceById(ctx context.Context, jobId string) (migrateService *dts.DescribeMigrationDetailResponseParams, errRet error)
func (*DtsService) DescribeDtsSyncCheckJobOperationById ¶
func (me *DtsService) DescribeDtsSyncCheckJobOperationById(ctx context.Context, jobId string) (syncCheckJobOperation *dts.DescribeCheckSyncJobResultResponseParams, errRet error)
func (*DtsService) DescribeDtsSyncConfigById ¶
func (me *DtsService) DescribeDtsSyncConfigById(ctx context.Context, jobId string) (syncConfig *dts.SyncJobInfo, errRet error)
func (*DtsService) DescribeDtsSyncJob ¶
func (me *DtsService) DescribeDtsSyncJob(ctx context.Context, jobId *string) (jobInfo *dts.SyncJobInfo, errRet error)
sync job
func (*DtsService) DescribeDtsSyncJobResumeOperationById ¶
func (me *DtsService) DescribeDtsSyncJobResumeOperationById(ctx context.Context, jobId string) (syncJobResumeOperation *dts.DescribeSyncJobsResponseParams, errRet error)
func (*DtsService) DescribeDtsSyncJobsByFilter ¶
func (me *DtsService) DescribeDtsSyncJobsByFilter(ctx context.Context, param map[string]interface{}) (syncJobs []*dts.SyncJobInfo, errRet error)
func (*DtsService) DestroyDtsSyncJobById ¶
func (me *DtsService) DestroyDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) DtsMigrateCheckConfigStateRefreshFunc ¶
func (me *DtsService) DtsMigrateCheckConfigStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsMigrateJobConfigStateRefreshFunc ¶
func (me *DtsService) DtsMigrateJobConfigStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsMigrateJobResumeOperationStateRefreshFunc ¶
func (me *DtsService) DtsMigrateJobResumeOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsMigrateJobStateRefreshFunc ¶
func (me *DtsService) DtsMigrateJobStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsMigrateServiceStateRefreshFunc ¶
func (me *DtsService) DtsMigrateServiceStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncCheckJobOperationStateRefreshFunc ¶
func (me *DtsService) DtsSyncCheckJobOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobConfigDeleteStateRefreshFunc ¶
func (me *DtsService) DtsSyncJobConfigDeleteStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobConfigIsolateStateRefreshFunc ¶
func (me *DtsService) DtsSyncJobConfigIsolateStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobResumeOperationStateRefreshFunc ¶
func (me *DtsService) DtsSyncJobResumeOperationStateRefreshFunc(jobId string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobStateRefreshFunc ¶
func (me *DtsService) DtsSyncJobStateRefreshFunc(jobId, defaultStatus string, failStates []string) resource.StateRefreshFunc
func (*DtsService) DtsSyncJobTradeStateRefreshFunc ¶
func (me *DtsService) DtsSyncJobTradeStateRefreshFunc(jobId, defaultStatus string, failStates []string) resource.StateRefreshFunc
func (*DtsService) IsolateDtsMigrateJobById ¶
func (me *DtsService) IsolateDtsMigrateJobById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) IsolateDtsSyncJobById ¶
func (me *DtsService) IsolateDtsSyncJobById(ctx context.Context, jobId string) (errRet error)
func (*DtsService) PollingCompareTaskStatusUntil ¶
func (me *DtsService) PollingCompareTaskStatusUntil(ctx context.Context, jobId, compareTaskId, targetStatus string) error
func (*DtsService) PollingMigrateJobStatusUntil ¶
func (*DtsService) PollingSyncJobStatusUntil ¶
func (*DtsService) StopDtsCompareById ¶
func (me *DtsService) StopDtsCompareById(ctx context.Context, jobId, compareTaskId string) (errRet error)
Source Files ¶
- data_source_tc_dts_compare_tasks.go
- data_source_tc_dts_migrate_db_instances.go
- data_source_tc_dts_migrate_jobs.go
- data_source_tc_dts_sync_jobs.go
- extension_dts.go
- resource_tc_dts_compare_task.go
- resource_tc_dts_compare_task_stop_operation.go
- resource_tc_dts_migrate_job.go
- resource_tc_dts_migrate_job_config.go
- resource_tc_dts_migrate_job_resume_operation.go
- resource_tc_dts_migrate_job_start_operation.go
- resource_tc_dts_migrate_service.go
- resource_tc_dts_sync_check_job_operation.go
- resource_tc_dts_sync_config.go
- resource_tc_dts_sync_job.go
- resource_tc_dts_sync_job_continue_operation.go
- resource_tc_dts_sync_job_isolate_operation.go
- resource_tc_dts_sync_job_pause_operation.go
- resource_tc_dts_sync_job_recover_operation.go
- resource_tc_dts_sync_job_resize_operation.go
- resource_tc_dts_sync_job_resume_operation.go
- resource_tc_dts_sync_job_start_operation.go
- resource_tc_dts_sync_job_stop_operation.go
- service_tencentcloud_dts.go
Click to show internal directories.
Click to hide internal directories.