Documentation ¶
Index ¶
- type ActionBaseResp
- type ActionParams
- type ActionReq
- type ActionReqActionName
- type ActionReqActionNameEnum
- type AddColumnInfo
- type AlarmNotifyConfig
- type ApiHttpNullResp
- type AsyncActionBaseResp
- type AsyncActionResp
- type AsyncCommitJobResp
- type AsyncCreateJobReq
- type AsyncCreateJobResp
- type AsyncJobResp
- type AsyncJobRespStatus
- type AsyncJobRespStatusEnum
- type AsyncUpdateJobResp
- type BackupFileInfo
- type BackupFileResp
- type BackupInfo
- type BackupInfoFileSource
- type BackupInfoFileSourceEnum
- type BackupInfoResp
- type BackupJobBaseInfo
- type BackupJobBaseInfoEngineType
- type BackupJobBaseInfoEngineTypeEnum
- type BackupJobEndpointInfo
- type BackupRestoreOptionInfo
- type BackupRestoreOptionInfoRecoveryMode
- type BackupRestoreOptionInfoRecoveryModeEnum
- type BaseEndpoint
- type BaseEndpointConfig
- type BaseEndpointEndpointName
- type BaseEndpointEndpointNameEnum
- type BaseResp
- type BatchAddTagReq
- type BatchAsyncCreateJobReq
- type BatchAsyncUpdateJobReq
- type BatchCreateJobsAsyncRequest
- type BatchCreateJobsAsyncRequestXLanguage
- type BatchCreateJobsAsyncRequestXLanguageEnum
- type BatchCreateJobsAsyncResponse
- type BatchCreateTagsRequest
- type BatchCreateTagsRequestResourceType
- type BatchCreateTagsRequestResourceTypeEnum
- type BatchCreateTagsRequestXLanguage
- type BatchCreateTagsRequestXLanguageEnum
- type BatchCreateTagsResponse
- type BatchDealResourceTagReq
- type BatchDealResourceTagReqAction
- type BatchDealResourceTagReqActionEnum
- type BatchDeleteJobReq
- type BatchDeleteJobsByIdRequest
- type BatchDeleteJobsByIdRequestXLanguage
- type BatchDeleteJobsByIdRequestXLanguageEnum
- type BatchDeleteJobsByIdResponse
- type BatchDeleteTagReq
- type BatchDeleteTagsRequest
- type BatchDeleteTagsRequestResourceType
- type BatchDeleteTagsRequestResourceTypeEnum
- type BatchDeleteTagsRequestXLanguage
- type BatchDeleteTagsRequestXLanguageEnum
- type BatchDeleteTagsResponse
- type BatchExecuteJobActionsRequest
- type BatchExecuteJobActionsRequestXLanguage
- type BatchExecuteJobActionsRequestXLanguageEnum
- type BatchExecuteJobActionsResponse
- type BatchJobActionReq
- type BatchResourceTag
- type BatchStopJobActionReq
- type BatchStopJobsActionRequest
- type BatchStopJobsActionRequestXLanguage
- type BatchStopJobsActionRequestXLanguageEnum
- type BatchStopJobsActionResponse
- type BatchTagActionRequest
- type BatchTagActionRequestXLanguage
- type BatchTagActionRequestXLanguageEnum
- type BatchTagActionResponse
- type ChangeToPeriodRequest
- type ChangeToPeriodResponse
- type CheckDataFilterRequest
- type CheckDataFilterRequestXLanguage
- type CheckDataFilterRequestXLanguageEnum
- type CheckDataFilterResponse
- type CheckDataFilterResponseStatus
- type CheckDataFilterResponseStatusEnum
- type CheckJobNameReq
- type CheckJobNameReqType
- type CheckJobNameReqTypeEnum
- type ChildrenJobListResp
- type ChildrenJobListRespChargingMode
- type ChildrenJobListRespChargingModeEnum
- type ChildrenJobListRespEngineType
- type ChildrenJobListRespEngineTypeEnum
- type ChildrenJobListRespJobDirection
- type ChildrenJobListRespJobDirectionEnum
- type ChildrenJobListRespJobMode
- type ChildrenJobListRespJobModeEnum
- type ChildrenJobListRespJobModeRole
- type ChildrenJobListRespJobModeRoleEnum
- type ChildrenJobListRespJobType
- type ChildrenJobListRespJobTypeEnum
- type ChildrenJobListRespNetType
- type ChildrenJobListRespNetTypeEnum
- type ChildrenJobListRespStatus
- type ChildrenJobListRespStatusEnum
- type ChildrenJobListRespTaskType
- type ChildrenJobListRespTaskTypeEnum
- type CleanAlarmsRequest
- type CleanAlarmsResponse
- type CloneJobReq
- type CloneJobReqTaskVersion
- type CloneJobReqTaskVersionEnum
- type CloudBaseInfo
- type CloudVpcInfo
- type CollectColumnsRequest
- type CollectColumnsRequestXLanguage
- type CollectColumnsRequestXLanguageEnum
- type CollectColumnsResponse
- type CollectColumnsResponseStatus
- type CollectColumnsResponseStatusEnum
- type CollectDbObjectsAsyncRequest
- type CollectDbObjectsAsyncRequestType
- type CollectDbObjectsAsyncRequestTypeEnum
- type CollectDbObjectsAsyncRequestXLanguage
- type CollectDbObjectsAsyncRequestXLanguageEnum
- type CollectDbObjectsAsyncResponse
- type CollectDbObjectsAsyncResponseStatus
- type CollectDbObjectsAsyncResponseStatusEnum
- type CollectDbObjectsInfoRequest
- type CollectDbObjectsInfoRequestXLanguage
- type CollectDbObjectsInfoRequestXLanguageEnum
- type CollectDbObjectsInfoResponse
- type CollectDbObjectsInfoResponseStatus
- type CollectDbObjectsInfoResponseStatusEnum
- type CollectPositionAsyncRequest
- type CollectPositionAsyncRequestXLanguage
- type CollectPositionAsyncRequestXLanguageEnum
- type CollectPositionAsyncResponse
- type CollectPositionAsyncResponseStatus
- type CollectPositionAsyncResponseStatusEnum
- type ColumnObject
- type CommitAsyncJobRequest
- type CommitAsyncJobRequestXLanguage
- type CommitAsyncJobRequestXLanguageEnum
- type CommitAsyncJobResponse
- type CompareJobInfo
- type CompareJobInfoStatus
- type CompareJobInfoStatusEnum
- type CompareResultInfo
- type CompareTaskParams
- type CompareTaskParamsType
- type CompareTaskParamsTypeEnum
- type ConnectionConfig
- type ConnectionManagement
- type ConnectionResp
- type ContentCompareDetailInfo
- type ContentCompareOverviewInfo
- type ContentCompareOverviewInfoStatus
- type ContentCompareOverviewInfoStatusEnum
- type ContentDiffDetailInfo
- type ContentDiffDetailVo
- type CopyJobRequest
- type CopyJobRequestXLanguage
- type CopyJobRequestXLanguageEnum
- type CopyJobResponse
- type CountInstanceByTagsRequest
- type CountInstanceByTagsRequestResourceType
- type CountInstanceByTagsRequestResourceTypeEnum
- type CountInstanceByTagsRequestXLanguage
- type CountInstanceByTagsRequestXLanguageEnum
- type CountInstanceByTagsResponse
- type CreateConnectionReq
- type CreateConnectionReqDbType
- type CreateConnectionReqDbTypeEnum
- type CreateConnectionRequest
- type CreateConnectionResponse
- type CreateJobReq
- type CreateJobRequest
- type CreateJobRequestXLanguage
- type CreateJobRequestXLanguageEnum
- type CreateJobResponse
- type CreateOfflineTaskReq
- type CreateReplicationJobRequest
- type CreateReplicationJobResponse
- type CustomizedDns
- type CustomizedDnsSetDnsAction
- type CustomizedDnsSetDnsActionEnum
- type DataFilteringCondition
- type DataFilteringConditionFilteringType
- type DataFilteringConditionFilteringTypeEnum
- type DataProcessInfo
- type DataProcessInfoSource
- type DataProcessInfoSourceEnum
- type DataProcessReq
- type DatabaseObject
- type DatabaseObjectSyncType
- type DatabaseObjectSyncTypeEnum
- type DbObject
- type DbObjectColumnInfo
- type DbObjectFilteringResult
- type DbObjectFilteringResultSource
- type DbObjectFilteringResultSourceEnum
- type DbObjectInfo
- type DbObjectObjectScope
- type DbObjectObjectScopeEnum
- type DbOrTableRenameRule
- type DbOrTableRenameRuleType
- type DbOrTableRenameRuleTypeEnum
- type DbParam
- type DbParamInfo
- type DdlAlarmResp
- type DeleteConnectionRequest
- type DeleteConnectionResponse
- type DeleteDriverReq
- type DeleteJdbcDriverRequest
- type DeleteJdbcDriverRequestXLanguage
- type DeleteJdbcDriverRequestXLanguageEnum
- type DeleteJdbcDriverResponse
- type DeleteJobRequest
- type DeleteJobRequestXLanguage
- type DeleteJobRequestXLanguageEnum
- type DeleteJobResp
- type DeleteJobResponse
- type DeleteReplicationJobRequest
- type DeleteReplicationJobResponse
- type DeleteUserDriverReq
- type DeleteUserDriverReqDriverType
- type DeleteUserDriverReqDriverTypeEnum
- type DeleteUserJdbcDriverRequest
- type DeleteUserJdbcDriverRequestXLanguage
- type DeleteUserJdbcDriverRequestXLanguageEnum
- type DeleteUserJdbcDriverResponse
- type DirtyData
- type DownloadBatchCreateTemplateRequest
- type DownloadBatchCreateTemplateRequestXLanguage
- type DownloadBatchCreateTemplateRequestXLanguageEnum
- type DownloadBatchCreateTemplateResponse
- type DownloadDbObjectTemplateRequest
- type DownloadDbObjectTemplateRequestFileImportDbLevel
- type DownloadDbObjectTemplateRequestFileImportDbLevelEnum
- type DownloadDbObjectTemplateRequestXLanguage
- type DownloadDbObjectTemplateRequestXLanguageEnum
- type DownloadDbObjectTemplateResponse
- type DriverInfo
- type DriverManagement
- type EndpointSslConfig
- type EnterpriseProject
- type ErrorResp
- type ExecuteJobActionRequest
- type ExecuteJobActionRequestXLanguage
- type ExecuteJobActionRequestXLanguageEnum
- type ExecuteJobActionResponse
- type ExportOperationInfoRequest
- type ExportOperationInfoRequestXLanguage
- type ExportOperationInfoRequestXLanguageEnum
- type ExportOperationInfoResponse
- type FailedToBindEipChildInfo
- type FlowCompareData
- type HealthCompareJob
- type ImportBatchCreateJobsRequest
- type ImportBatchCreateJobsRequestBody
- type ImportBatchCreateJobsRequestXLanguage
- type ImportBatchCreateJobsRequestXLanguageEnum
- type ImportBatchCreateJobsResponse
- type ImportErrorMessageResp
- type IncreComponentDetail
- type IncreComponentDetailType
- type IncreComponentDetailTypeEnum
- type JobActionReq
- type JobActions
- type JobActionsCurrentAction
- type JobActionsCurrentActionEnum
- type JobBaseInfo
- type JobBaseInfoChargingMode
- type JobBaseInfoChargingModeEnum
- type JobBaseInfoEngineType
- type JobBaseInfoEngineTypeEnum
- type JobBaseInfoJobDirection
- type JobBaseInfoJobDirectionEnum
- type JobBaseInfoJobType
- type JobBaseInfoJobTypeEnum
- type JobBaseInfoNetType
- type JobBaseInfoNetTypeEnum
- type JobBaseInfoTaskType
- type JobBaseInfoTaskTypeEnum
- type JobDetailResp
- type JobDetailRespIsWritable
- type JobDetailRespIsWritableEnum
- type JobDetailRespStatus
- type JobDetailRespStatusEnum
- type JobEndpointInfo
- type JobEndpointInfoDbType
- type JobEndpointInfoDbTypeEnum
- type JobEndpointInfoEndpointRole
- type JobEndpointInfoEndpointRoleEnum
- type JobEndpointInfoEndpointType
- type JobEndpointInfoEndpointTypeEnum
- type JobLinkResp
- type JobLinkRespClusterModes
- type JobLinkRespClusterModesEnum
- type JobLinkRespEngineType
- type JobLinkRespEngineTypeEnum
- type JobLinkRespJobDirection
- type JobLinkRespJobDirectionEnum
- type JobLinkRespJobType
- type JobLinkRespJobTypeEnum
- type JobLinkRespNetType
- type JobLinkRespNetTypeEnum
- type JobLinkRespSourceEndpointType
- type JobLinkRespSourceEndpointTypeEnum
- type JobLinkRespTargetEndpointType
- type JobLinkRespTargetEndpointTypeEnum
- type JobLinkRespTaskTypes
- type JobLinkRespTaskTypesEnum
- type JobListResp
- type JobListRespChargingMode
- type JobListRespChargingModeEnum
- type JobListRespEngineType
- type JobListRespEngineTypeEnum
- type JobListRespJobDirection
- type JobListRespJobDirectionEnum
- type JobListRespJobMode
- type JobListRespJobModeEnum
- type JobListRespJobModeRole
- type JobListRespJobModeRoleEnum
- type JobListRespJobType
- type JobListRespJobTypeEnum
- type JobListRespNetType
- type JobListRespNetTypeEnum
- type JobListRespStatus
- type JobListRespStatusEnum
- type JobListRespTaskType
- type JobListRespTaskTypeEnum
- type JobNodeBaseInfo
- type JobNodeBaseInfoArch
- type JobNodeBaseInfoArchEnum
- type JobNodeBaseInfoInstanceType
- type JobNodeBaseInfoInstanceTypeEnum
- type JobNodeInfo
- type JobNodeSpecInfo
- type JobNodeSpecInfoNodeType
- type JobNodeSpecInfoNodeTypeEnum
- type JobNodeVpcInfo
- type JobProgressInfo
- type LineCompareOverviewInfo
- type LineCompareOverviewInfoStatus
- type LineCompareOverviewInfoStatusEnum
- type ListAsyncJobDetailRequest
- type ListAsyncJobDetailRequestXLanguage
- type ListAsyncJobDetailRequestXLanguageEnum
- type ListAsyncJobDetailResponse
- type ListAsyncJobsRequest
- type ListAsyncJobsRequestXLanguage
- type ListAsyncJobsRequestXLanguageEnum
- type ListAsyncJobsResponse
- type ListConnectionsRequest
- type ListConnectionsRequestDbType
- type ListConnectionsRequestDbTypeEnum
- type ListConnectionsResponse
- type ListDbObjectsRequest
- type ListDbObjectsRequestXLanguage
- type ListDbObjectsRequestXLanguageEnum
- type ListDbObjectsResponse
- type ListDbObjectsResponseStatus
- type ListDbObjectsResponseStatusEnum
- type ListInstanceByTagsRequest
- type ListInstanceByTagsRequestResourceType
- type ListInstanceByTagsRequestResourceTypeEnum
- type ListInstanceByTagsRequestXLanguage
- type ListInstanceByTagsRequestXLanguageEnum
- type ListInstanceByTagsResponse
- type ListInstanceTagsRequest
- type ListInstanceTagsRequestResourceType
- type ListInstanceTagsRequestResourceTypeEnum
- type ListInstanceTagsRequestXLanguage
- type ListInstanceTagsRequestXLanguageEnum
- type ListInstanceTagsResponse
- type ListJdbcDriversRequest
- type ListJdbcDriversRequestXLanguage
- type ListJdbcDriversRequestXLanguageEnum
- type ListJdbcDriversResponse
- type ListJobDdlsRequest
- type ListJobDdlsRequestStatus
- type ListJobDdlsRequestStatusEnum
- type ListJobDdlsResponse
- type ListJobHistoryParameter
- type ListJobHistoryParametersRequest
- type ListJobHistoryParametersResponse
- type ListJobParametersRequest
- type ListJobParametersResponse
- type ListJobsRequest
- type ListJobsRequestEngineType
- type ListJobsRequestEngineTypeEnum
- type ListJobsRequestJobType
- type ListJobsRequestJobTypeEnum
- type ListJobsRequestNetType
- type ListJobsRequestNetTypeEnum
- type ListJobsRequestStatus
- type ListJobsRequestStatusEnum
- type ListJobsRequestXLanguage
- type ListJobsRequestXLanguageEnum
- type ListJobsResponse
- type ListLinksRequest
- type ListLinksRequestJobType
- type ListLinksRequestJobTypeEnum
- type ListLinksRequestXLanguage
- type ListLinksRequestXLanguageEnum
- type ListLinksResponse
- type ListProjectTagsRequest
- type ListProjectTagsRequestResourceType
- type ListProjectTagsRequestResourceTypeEnum
- type ListProjectTagsRequestXLanguage
- type ListProjectTagsRequestXLanguageEnum
- type ListProjectTagsResponse
- type ListReplicationJobsRequest
- type ListReplicationJobsRequestStatus
- type ListReplicationJobsRequestStatusEnum
- type ListReplicationJobsRequestXLanguage
- type ListReplicationJobsRequestXLanguageEnum
- type ListReplicationJobsResponse
- type ListTagsRequest
- type ListTagsRequestResourceType
- type ListTagsRequestResourceTypeEnum
- type ListTagsRequestXLanguage
- type ListTagsRequestXLanguageEnum
- type ListTagsResponse
- type ListUserJdbcDriversRequest
- type ListUserJdbcDriversRequestDriverType
- type ListUserJdbcDriversRequestDriverTypeEnum
- type ListUserJdbcDriversRequestXLanguage
- type ListUserJdbcDriversRequestXLanguageEnum
- type ListUserJdbcDriversResponse
- type ListsAgencyPermissionsRequest
- type ListsAgencyPermissionsRequestXLanguage
- type ListsAgencyPermissionsRequestXLanguageEnum
- type ListsAgencyPermissionsResponse
- type MigrationObjectOverviewInfo
- type ModifyComparePolicyReq
- type ModifyConnectionRequest
- type ModifyConnectionResponse
- type ModifyOfflineTaskReq
- type ModifyParameterReq
- type ModifyStartPositionReq
- type ModifyTuningParams
- type ObjectsCompareDetailInfo
- type ObjectsCompareOverviewInfo
- type ObjectsCompareOverviewInfoStatus
- type ObjectsCompareOverviewInfoStatusEnum
- type ObjectsCompareOverviewInfoType
- type ObjectsCompareOverviewInfoTypeEnum
- type ObjectsCompareTaskInfo
- type ObjectsCompareTaskInfoStatus
- type ObjectsCompareTaskInfoStatusEnum
- type ObjectsHealthCompareOverviewInfo
- type OfflineTaskInfo
- type OfflineTaskInfoEngineType
- type OfflineTaskInfoEngineTypeEnum
- type OfflineTaskInfoStatus
- type OfflineTaskInfoStatusEnum
- type ParameterConfig
- type ParameterInfo
- type PeriodOrderInfo
- type PeriodOrderInfoIsAutoRenew
- type PeriodOrderInfoIsAutoRenewEnum
- type PeriodOrderInfoPeriodType
- type PeriodOrderInfoPeriodTypeEnum
- type PolicyConfig
- type PolicyConfigConflictPolicy
- type PolicyConfigConflictPolicyEnum
- type PolicyConfigDataSyncTopologyType
- type PolicyConfigDataSyncTopologyTypeEnum
- type PolicyConfigFilterDdlPolicy
- type PolicyConfigFilterDdlPolicyEnum
- type PolicyConfigSupportDdlInfo
- type PolicyConfigSupportDdlInfoEnum
- type PrecheckFailSubJobResult
- type PrecheckResult
- type PrecheckResultResult
- type PrecheckResultResultEnum
- type ProductInfo
- type ProgressCompleteInfo
- type ProjectTag
- type PublicIpConfig
- type PublicIpConfigType
- type PublicIpConfigTypeEnum
- type QueryColumnInfo
- type QueryColumnReq
- type QueryDbPositionReq
- type QueryInstanceByTagReq
- type QueryMetricResult
- type QueryMigrationObjectProgressInfo
- type QueryNetworkResult
- type QueryNetworkResultStatus
- type QueryNetworkResultStatusEnum
- type QueryPreCheckResult
- type QuerySelectObjectInfoReq
- type QueryUserSelectedObjectInfoReq
- type ReplayConfigInfo
- type ReplayConfigInfoCloudType
- type ReplayConfigInfoCloudTypeEnum
- type ReplayConfigInfoDbSource
- type ReplayConfigInfoDbSourceEnum
- type ReplayErrorClassification
- type ReplayErrorSqlResp
- type ReplayErrorSqlTemplateResp
- type ReplayShardStaticsResp
- type ReplaySlowSqlResp
- type ReplaySlowSqlTemplateResp
- type ReplayingSqlResp
- type ResourceInstance
- type ResourceTag
- type ResourceTagInfo
- type SchemaObject
- type SelectDbTableObjectInfo
- type ShowActionsRequest
- type ShowActionsRequestXLanguage
- type ShowActionsRequestXLanguageEnum
- type ShowActionsResponse
- type ShowColumnInfoResultRequest
- type ShowColumnInfoResultRequestXLanguage
- type ShowColumnInfoResultRequestXLanguageEnum
- type ShowColumnInfoResultResponse
- type ShowComparePolicyRequest
- type ShowComparePolicyRequestXLanguage
- type ShowComparePolicyRequestXLanguageEnum
- type ShowComparePolicyResponse
- type ShowComparePolicyResponseStatus
- type ShowComparePolicyResponseStatusEnum
- type ShowDataFilteringResultRequest
- type ShowDataFilteringResultRequestXLanguage
- type ShowDataFilteringResultRequestXLanguageEnum
- type ShowDataFilteringResultResponse
- type ShowDataProcessingRulesResultRequest
- type ShowDataProcessingRulesResultRequestXLanguage
- type ShowDataProcessingRulesResultRequestXLanguageEnum
- type ShowDataProcessingRulesResultResponse
- type ShowDataProcessingRulesResultResponseStatus
- type ShowDataProcessingRulesResultResponseStatusEnum
- type ShowDataProgressRequest
- type ShowDataProgressRequestXLanguage
- type ShowDataProgressRequestXLanguageEnum
- type ShowDataProgressResponse
- type ShowDbObjectCollectionStatusRequest
- type ShowDbObjectCollectionStatusRequestXLanguage
- type ShowDbObjectCollectionStatusRequestXLanguageEnum
- type ShowDbObjectCollectionStatusResponse
- type ShowDbObjectCollectionStatusResponseStatus
- type ShowDbObjectCollectionStatusResponseStatusEnum
- type ShowDbObjectTemplateProgressRequest
- type ShowDbObjectTemplateProgressRequestXLanguage
- type ShowDbObjectTemplateProgressRequestXLanguageEnum
- type ShowDbObjectTemplateProgressResponse
- type ShowDbObjectTemplateResultRequest
- type ShowDbObjectTemplateResultRequestType
- type ShowDbObjectTemplateResultRequestTypeEnum
- type ShowDbObjectTemplateResultRequestXLanguage
- type ShowDbObjectTemplateResultRequestXLanguageEnum
- type ShowDbObjectTemplateResultResponse
- type ShowDbObjectsListRequest
- type ShowDbObjectsListRequestXLanguage
- type ShowDbObjectsListRequestXLanguageEnum
- type ShowDbObjectsListResponse
- type ShowDbObjectsListResponseStatus
- type ShowDbObjectsListResponseStatusEnum
- type ShowDirtyDataRequest
- type ShowDirtyDataRequestXLanguage
- type ShowDirtyDataRequestXLanguageEnum
- type ShowDirtyDataResponse
- type ShowEnterpriseProjectRequest
- type ShowEnterpriseProjectRequestXLanguage
- type ShowEnterpriseProjectRequestXLanguageEnum
- type ShowEnterpriseProjectResponse
- type ShowHealthCompareJobDetailRequest
- type ShowHealthCompareJobDetailRequestXLanguage
- type ShowHealthCompareJobDetailRequestXLanguageEnum
- type ShowHealthCompareJobDetailResponse
- type ShowHealthCompareJobListRequest
- type ShowHealthCompareJobListRequestStatus
- type ShowHealthCompareJobListRequestStatusEnum
- type ShowHealthCompareJobListRequestXLanguage
- type ShowHealthCompareJobListRequestXLanguageEnum
- type ShowHealthCompareJobListResponse
- type ShowHealthObjectCompareJobOverviewRequest
- type ShowHealthObjectCompareJobOverviewRequestXLanguage
- type ShowHealthObjectCompareJobOverviewRequestXLanguageEnum
- type ShowHealthObjectCompareJobOverviewResponse
- type ShowIncrementComponentsDetailRequest
- type ShowIncrementComponentsDetailRequestXLanguage
- type ShowIncrementComponentsDetailRequestXLanguageEnum
- type ShowIncrementComponentsDetailResponse
- type ShowInstanceTagsRequest
- type ShowInstanceTagsRequestResourceType
- type ShowInstanceTagsRequestResourceTypeEnum
- type ShowInstanceTagsRequestXLanguage
- type ShowInstanceTagsRequestXLanguageEnum
- type ShowInstanceTagsResponse
- type ShowJobDetailRequest
- type ShowJobDetailRequestCompareDetailType
- type ShowJobDetailRequestCompareDetailTypeEnum
- type ShowJobDetailRequestCompareType
- type ShowJobDetailRequestCompareTypeEnum
- type ShowJobDetailRequestObjectType
- type ShowJobDetailRequestObjectTypeEnum
- type ShowJobDetailRequestQueryType
- type ShowJobDetailRequestQueryTypeEnum
- type ShowJobDetailRequestType
- type ShowJobDetailRequestTypeEnum
- type ShowJobDetailRequestXLanguage
- type ShowJobDetailRequestXLanguageEnum
- type ShowJobDetailResponse
- type ShowMeteringRequest
- type ShowMeteringRequestXLanguage
- type ShowMeteringRequestXLanguageEnum
- type ShowMeteringResponse
- type ShowMonitorDataRequest
- type ShowMonitorDataRequestXLanguage
- type ShowMonitorDataRequestXLanguageEnum
- type ShowMonitorDataResponse
- type ShowObjectMappingRequest
- type ShowObjectMappingRequestXLanguage
- type ShowObjectMappingRequestXLanguageEnum
- type ShowObjectMappingResponse
- type ShowPositionResultRequest
- type ShowPositionResultRequestXLanguage
- type ShowPositionResultRequestXLanguageEnum
- type ShowPositionResultResponse
- type ShowPositionResultResponseStatus
- type ShowPositionResultResponseStatusEnum
- type ShowProgressDataRequest
- type ShowProgressDataRequestXLanguage
- type ShowProgressDataRequestXLanguageEnum
- type ShowProgressDataResponse
- type ShowReplayResultsRequest
- type ShowReplayResultsRequestSortDir
- type ShowReplayResultsRequestSortDirEnum
- type ShowReplayResultsRequestTargetName
- type ShowReplayResultsRequestTargetNameEnum
- type ShowReplayResultsRequestType
- type ShowReplayResultsRequestTypeEnum
- type ShowReplayResultsRequestXLanguage
- type ShowReplayResultsRequestXLanguageEnum
- type ShowReplayResultsResponse
- type ShowReplicationJobRequest
- type ShowReplicationJobRequestXLanguage
- type ShowReplicationJobRequestXLanguageEnum
- type ShowReplicationJobResponse
- type ShowSupportObjectTypeRequest
- type ShowSupportObjectTypeRequestXLanguage
- type ShowSupportObjectTypeRequestXLanguageEnum
- type ShowSupportObjectTypeResponse
- type ShowUpdateObjectSavingStatusRequest
- type ShowUpdateObjectSavingStatusRequestXLanguage
- type ShowUpdateObjectSavingStatusRequestXLanguageEnum
- type ShowUpdateObjectSavingStatusResponse
- type ShowUpdateObjectSavingStatusResponseStatus
- type ShowUpdateObjectSavingStatusResponseStatusEnum
- type SingleCreateJobReq
- type SingleUpdateJobReq
- type SkipPreCheckInfo
- type SpeedLimitInfo
- type StopJobActionInfo
- type StopJobActionReq
- type StopJobActionRequest
- type StopJobActionRequestXLanguage
- type StopJobActionRequestXLanguageEnum
- type StopJobActionResponse
- type SupportImportFileResult
- type SyncJdbcDriverRequest
- type SyncJdbcDriverRequestXLanguage
- type SyncJdbcDriverRequestXLanguageEnum
- type SyncJdbcDriverResponse
- type SyncUserJdbcDriverRequest
- type SyncUserJdbcDriverRequestXLanguage
- type SyncUserJdbcDriverRequestXLanguageEnum
- type SyncUserJdbcDriverResponse
- type TableLineCompareDetailInfo
- type TableLineCompareDetailInfoStatus
- type TableLineCompareDetailInfoStatusEnum
- type TableObject
- type TableObjectType
- type TableObjectTypeEnum
- type Tag
- type TagMatch
- type TargetRootDb
- type TaskLogInfo
- type ToPeriodReq
- type ToPeriodReqPeriodType
- type ToPeriodReqPeriodTypeEnum
- type TuningParamInfo
- type TuningParameter
- type UpdateBatchAsyncJobsRequest
- type UpdateBatchAsyncJobsRequestXLanguage
- type UpdateBatchAsyncJobsRequestXLanguageEnum
- type UpdateBatchAsyncJobsResponse
- type UpdateComparePolicyRequest
- type UpdateComparePolicyRequestXLanguage
- type UpdateComparePolicyRequestXLanguageEnum
- type UpdateComparePolicyResponse
- type UpdateConnectionReq
- type UpdateDataProgressRequest
- type UpdateDataProgressRequestXLanguage
- type UpdateDataProgressRequestXLanguageEnum
- type UpdateDataProgressResponse
- type UpdateDataProgressResponseStatus
- type UpdateDataProgressResponseStatusEnum
- type UpdateDriverReq
- type UpdateJob
- type UpdateJobConfigurationsRequest
- type UpdateJobConfigurationsResponse
- type UpdateJobReq
- type UpdateJobReqType
- type UpdateJobReqTypeEnum
- type UpdateJobRequest
- type UpdateJobRequestXLanguage
- type UpdateJobRequestXLanguageEnum
- type UpdateJobResponse
- type UpdateReplicationJobRequest
- type UpdateReplicationJobRequestXLanguage
- type UpdateReplicationJobRequestXLanguageEnum
- type UpdateReplicationJobResponse
- type UpdateStartPositionRequest
- type UpdateStartPositionRequestXLanguage
- type UpdateStartPositionRequestXLanguageEnum
- type UpdateStartPositionResponse
- type UpdateUserDriverReq
- type UpdateUserDriverReqDriverType
- type UpdateUserDriverReqDriverTypeEnum
- type UploadDbObjectTemplateRequest
- type UploadDbObjectTemplateRequestBody
- type UploadDbObjectTemplateRequestFileImportDbLevel
- type UploadDbObjectTemplateRequestFileImportDbLevelEnum
- type UploadDbObjectTemplateRequestXLanguage
- type UploadDbObjectTemplateRequestXLanguageEnum
- type UploadDbObjectTemplateResponse
- type UploadJdbcDriverRequest
- type UploadJdbcDriverRequestBody
- type UploadJdbcDriverRequestXLanguage
- type UploadJdbcDriverRequestXLanguageEnum
- type UploadJdbcDriverResponse
- type UploadUserJdbcDriverRequest
- type UploadUserJdbcDriverRequestBody
- type UploadUserJdbcDriverRequestDriverType
- type UploadUserJdbcDriverRequestDriverTypeEnum
- type UploadUserJdbcDriverRequestXLanguage
- type UploadUserJdbcDriverRequestXLanguageEnum
- type UploadUserJdbcDriverResponse
- type UserMigrationInfo
- type UserMigrationList
- type UserMigrationRole
- type ValidateJobNameRequest
- type ValidateJobNameRequestXLanguage
- type ValidateJobNameRequestXLanguageEnum
- type ValidateJobNameResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionBaseResp ¶ added in v0.1.58
type ActionBaseResp struct { // 错误码。 ErrorCode string `json:"error_code"` // 错误描述。 ErrorMsg string `json:"error_msg"` // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` // 操作结果。 Status string `json:"status"` }
ActionBaseResp 操作任务响应体。
func (ActionBaseResp) String ¶ added in v0.1.58
func (o ActionBaseResp) String() string
type ActionParams ¶
type ActionParams struct { // 测试连接数据库信息。 Endpoints *[]JobEndpointInfo `json:"endpoints,omitempty"` // 预检查模式。 PrecheckMode *string `json:"precheck_mode,omitempty"` SkipPrecheckInfo *SkipPreCheckInfo `json:"skip_precheck_info,omitempty"` // 任务暂停模式。 PauseMode *string `json:"pause_mode,omitempty"` // 任务定时启动时间。 StartTime *string `json:"start_time,omitempty"` CompareTaskParam *CompareTaskParams `json:"compare_task_param,omitempty"` // 再编辑任务启动时取值true。 IsSyncReEdit *bool `json:"is_sync_re_edit,omitempty"` // 是否支持只初始化任务。仅支持白名单用户使用,需要提交工单申请才能使用。 IsOnlyInitTask *bool `json:"is_only_init_task,omitempty"` // 强制结束时取值为true。 ForceDelete *bool `json:"force_delete,omitempty"` PublicIpConfig *PublicIpConfig `json:"public_ip_config,omitempty"` ReplayConfig *ReplayConfigInfo `json:"replay_config,omitempty"` }
ActionParams 操作任务动作参数。
func (ActionParams) String ¶
func (o ActionParams) String() string
type ActionReq ¶
type ActionReq struct { // 任务ID (对比任务相关操作,多任务场景传父任务详情返回的master_job_id),批量操作时必填 JobId *string `json:"job_id,omitempty"` // 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务,需要先调用预检查接口并且预检查通过率为100%。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 - bind_eip:绑定公网IP。 - unbind_eip:解绑公网IP。 - set_writable:目标库解除只读。 - cloud_connection:录制回放他云连通性测试。 - set_readonly: 灾备任务目标库设置只读。 ActionName ActionReqActionName `json:"action_name"` ActionParams *ActionParams `json:"action_params,omitempty"` }
ActionReq 测试连接、预检查、启动、暂停、续传、重置、对比、结束等操作任务请求体。
type ActionReqActionName ¶
type ActionReqActionName struct {
// contains filtered or unexported fields
}
func (ActionReqActionName) MarshalJSON ¶
func (c ActionReqActionName) MarshalJSON() ([]byte, error)
func (*ActionReqActionName) UnmarshalJSON ¶
func (c *ActionReqActionName) UnmarshalJSON(b []byte) error
func (ActionReqActionName) Value ¶
func (c ActionReqActionName) Value() string
type ActionReqActionNameEnum ¶
type ActionReqActionNameEnum struct { NETWORK ActionReqActionName PRECHECK ActionReqActionName START ActionReqActionName STOP ActionReqActionName RESTART ActionReqActionName RESET ActionReqActionName TERMINATE ActionReqActionName SKIP_PRECHECK ActionReqActionName CREATE_COMPARE ActionReqActionName CANCEL_COMPARE ActionReqActionName COLUMN_LIMIT ActionReqActionName RELOAD_PARAMETERS ActionReqActionName BIND_EIP ActionReqActionName UNBIND_EIP ActionReqActionName SET_WRITABLE ActionReqActionName CLOUD_CONNECTION ActionReqActionName SET_READONLY ActionReqActionName }
func GetActionReqActionNameEnum ¶
func GetActionReqActionNameEnum() ActionReqActionNameEnum
type AddColumnInfo ¶ added in v0.1.58
type AddColumnInfo struct { // 列类型 ColumnType *string `json:"column_type,omitempty"` // 列名称 ColumnName *string `json:"column_name,omitempty"` // 列填充值 ColumnValue *string `json:"column_value,omitempty"` // 填充列的数据类型 DataType *string `json:"data_type,omitempty"` }
func (AddColumnInfo) String ¶ added in v0.1.58
func (o AddColumnInfo) String() string
type AlarmNotifyConfig ¶
type AlarmNotifyConfig struct { // 异常告警是否通知用户。 AlarmToUser bool `json:"alarm_to_user"` // SMN主题URN。 TopicUrn *string `json:"topic_urn,omitempty"` // 时延阈值(单位为s)。取值: - 最小值:1 - 最大值:3600 - 缺省值:0 - 说明: 1.源数据库和目标数据库之间的同步有时会存在一个时间差,称为时延,单位为秒。 2.时延阈值设置是指时延超过一定的值并持续6分钟后,DRS可以发送通知给指定收件人。(初次进入增量迁移阶段,会有较多数据等待同步,存在较大的时延,属于正常情况,不在此功能的监控范围之内。) 3.只有全量+增量的任务支持此选项。 DelayTime *int64 `json:"delay_time,omitempty"` // RPO时延阈值(单位为s)。取值: - 最小值:1 - 最大值:3600 - 缺省值:0 - 说明: RPO时延阈值设置是业务数据库与DRS实例间同步的时延超过一定的值并持续6分钟后,DRS可以发送通知给指定收件人。(初次进入增量灾备阶段,会有较多数据等待同步,存在较大的时延,属于正常情况,不在此功能的监控范围之内。) RpoDelay *int64 `json:"rpo_delay,omitempty"` // RTO时延阈值(s)。取值: - 最小值:1 - 最大值:3600 - 缺省值:0 - 说明: RTO时延阈值设置是DRS实例与灾备数据库间同步的时延超过一定的值并持续6分钟后,DRS可以发送通知给指定收件人。 RtoDelay *int64 `json:"rto_delay,omitempty"` }
AlarmNotifyConfig 异常通知信息设置信息体。配置该参数时,代表当任务状态异常时,系统将发送通知给指定的SMN Topic。
func (AlarmNotifyConfig) String ¶
func (o AlarmNotifyConfig) String() string
type ApiHttpNullResp ¶ added in v0.1.58
type ApiHttpNullResp struct { }
ApiHttpNullResp 空响应体。
func (ApiHttpNullResp) String ¶ added in v0.1.58
func (o ApiHttpNullResp) String() string
type AsyncActionBaseResp ¶
type AsyncActionBaseResp struct { // 异步操作任务响应查询ID。 QueryId string `json:"query_id"` }
AsyncActionBaseResp 异步操作任务基础响应体。
func (AsyncActionBaseResp) String ¶
func (o AsyncActionBaseResp) String() string
type AsyncActionResp ¶
type AsyncActionResp struct { // 异步操作任务响应查询ID。 QueryId string `json:"query_id"` // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` }
AsyncActionResp 异步操作任务响应体。
func (AsyncActionResp) String ¶
func (o AsyncActionResp) String() string
type AsyncCommitJobResp ¶
type AsyncCommitJobResp struct { // 批量异步任务ID。 AsyncJobId string `json:"async_job_id"` // 批量异步任务状态。 Status string `json:"status"` // 提交指定ID批量异步任务结果信息。 Msg string `json:"msg"` }
AsyncCommitJobResp 提交异步任务响应体。
func (AsyncCommitJobResp) String ¶
func (o AsyncCommitJobResp) String() string
type AsyncCreateJobReq ¶
type AsyncCreateJobReq struct { BaseInfo *JobBaseInfo `json:"base_info"` // 创建任务数据库信息体。 SourceEndpoint []JobEndpointInfo `json:"source_endpoint"` // 创建任务数据库信息体。 TargetEndpoint []JobEndpointInfo `json:"target_endpoint"` AlarmNotify *AlarmNotifyConfig `json:"alarm_notify,omitempty"` // 限速信息体。 - 限速:自定义的最大迁移速度,迁移过程中的迁移速度将不会超过该速度。 - 不限速:对迁移速度不进行限制,通常会最大化使用源数据库的出口带宽。该流速模式同时会对源数据库造成读消耗,消耗取决于源数据库的出口带宽。比如:源数据库的出口带宽为100MB/s,假设高速模式使用了80%带宽,则迁移对源数据库将造成80MB/s的读操作IO消耗。 SpeedLimit *[]SpeedLimitInfo `json:"speed_limit,omitempty"` UserMigration *UserMigrationInfo `json:"user_migration,omitempty"` PolicyConfig *PolicyConfig `json:"policy_config"` DbObject *DbObject `json:"db_object"` DbParam *DbParamInfo `json:"db_param,omitempty"` TuningParams *TuningParamInfo `json:"tuning_params,omitempty"` PeriodOrder *PeriodOrderInfo `json:"period_order,omitempty"` NodeInfo *JobNodeInfo `json:"node_info"` // 指定公网IP的信息 PublicIpList *[]PublicIpConfig `json:"public_ip_list,omitempty"` }
AsyncCreateJobReq 异步创建任务请求体。
func (AsyncCreateJobReq) String ¶
func (o AsyncCreateJobReq) String() string
type AsyncCreateJobResp ¶
type AsyncCreateJobResp struct { // 批量异步创建的任务ID。 AsyncJobId string `json:"async_job_id"` }
AsyncCreateJobResp 创建异步任务响应体。
func (AsyncCreateJobResp) String ¶
func (o AsyncCreateJobResp) String() string
type AsyncJobResp ¶
type AsyncJobResp struct { // 批量异步创建的任务ID。 AsyncJobId string `json:"async_job_id"` // 批量异步创建的任务状态。取值: - ASYNC_JOB_VALIDATING:批量异步任务参数校验中。 - ASYNC_JOB_VALIDATE_FAILED:批量异步任务参数校验失败。 - AUTO_PARAM_VALIDATE_SUCCESS:批量异步任务参数校验成功。 - COMMIT_SUCCESS:批量异步任务提交成功。 Status AsyncJobRespStatus `json:"status"` // 批量异步创建的任务的租户名。 DomainName string `json:"domain_name"` // 批量异步创建的任务的用户名。 UserName string `json:"user_name"` // 批量异步创建的任务的创建时间。 CreateTime string `json:"create_time"` }
AsyncJobResp 批量异步创建任务响应体。
func (AsyncJobResp) String ¶
func (o AsyncJobResp) String() string
type AsyncJobRespStatus ¶
type AsyncJobRespStatus struct {
// contains filtered or unexported fields
}
func (AsyncJobRespStatus) MarshalJSON ¶
func (c AsyncJobRespStatus) MarshalJSON() ([]byte, error)
func (*AsyncJobRespStatus) UnmarshalJSON ¶
func (c *AsyncJobRespStatus) UnmarshalJSON(b []byte) error
func (AsyncJobRespStatus) Value ¶
func (c AsyncJobRespStatus) Value() string
type AsyncJobRespStatusEnum ¶
type AsyncJobRespStatusEnum struct { ASYNC_JOB_VALIDATING AsyncJobRespStatus ASYNC_JOB_VALIDATE_FAILED AsyncJobRespStatus AUTO_PARAM_VALIDATE_SUCCESS AsyncJobRespStatus COMMIT_SUCCESS AsyncJobRespStatus }
func GetAsyncJobRespStatusEnum ¶
func GetAsyncJobRespStatusEnum() AsyncJobRespStatusEnum
type AsyncUpdateJobResp ¶
type AsyncUpdateJobResp struct { // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` // 操作结果。 Status string `json:"status"` // 错误码。 ErrorCode *string `json:"error_code,omitempty"` // 错误描述。 ErrorMsg *string `json:"error_msg,omitempty"` }
AsyncUpdateJobResp 更新异步任务响应体。
func (AsyncUpdateJobResp) String ¶
func (o AsyncUpdateJobResp) String() string
type BackupFileInfo ¶ added in v0.1.117
type BackupFileInfo struct { // 备份文件名称。 Name string `json:"name"` // OBS桶中文件路径。 OBS场景:必选 RDS场景:缺省 ObsPath *string `json:"obs_path,omitempty"` // bak文件数据库版本。 OBS场景:缺省 RDS场景:必选 RdsVersion *string `json:"rds_version,omitempty"` // bak文件所属实例。 OBS场景:缺省 RDS场景:必选 RdsSourceInstanceId *string `json:"rds_source_instance_id,omitempty"` }
BackupFileInfo 备份文件信息。
func (BackupFileInfo) String ¶ added in v0.1.117
func (o BackupFileInfo) String() string
type BackupFileResp ¶ added in v0.1.117
type BackupFileResp struct { // 文件名称。 FileName *string `json:"file_name,omitempty"` // 备份文件大小。 FileSize *string `json:"file_size,omitempty"` // 备份文件最近修改时间。 FileLastModify *string `json:"file_last_modify,omitempty"` }
BackupFileResp 备份文件信息体。
func (BackupFileResp) String ¶ added in v0.1.117
func (o BackupFileResp) String() string
type BackupInfo ¶ added in v0.1.117
type BackupInfo struct { // 备份文件来源:(全部大写) - OBS:存放在OBS中的备份文件。 - RDS:RDS实例的备份文件。 FileSource BackupInfoFileSource `json:"file_source"` // OBS桶名称,使用OBS桶备份文件恢复时必填。 约束:长度范围为3~63个字符,仅支持小写字母、数字、中划线(-)、点(.),且只能以字母或数字开头和结尾,禁止使用IP地址。 如果选择从OBS桶获取备份文件必填,参考登录[客户端登录](https://support.huaweicloud.com/clientogw-obs/zh-cn_topic_0045829058.html)OBS Browser客户端,首页为OBS桶列表,可以获取到备份文件所在桶的名称。 BucketName *string `json:"bucket_name,omitempty"` // 备份文件信息列表。 Files []BackupFileInfo `json:"files"` }
BackupInfo 备份文件信息。
func (BackupInfo) String ¶ added in v0.1.117
func (o BackupInfo) String() string
type BackupInfoFileSource ¶ added in v0.1.117
type BackupInfoFileSource struct {
// contains filtered or unexported fields
}
func (BackupInfoFileSource) MarshalJSON ¶ added in v0.1.117
func (c BackupInfoFileSource) MarshalJSON() ([]byte, error)
func (*BackupInfoFileSource) UnmarshalJSON ¶ added in v0.1.117
func (c *BackupInfoFileSource) UnmarshalJSON(b []byte) error
func (BackupInfoFileSource) Value ¶ added in v0.1.117
func (c BackupInfoFileSource) Value() string
type BackupInfoFileSourceEnum ¶ added in v0.1.117
type BackupInfoFileSourceEnum struct { OBS BackupInfoFileSource RDS BackupInfoFileSource }
func GetBackupInfoFileSourceEnum ¶ added in v0.1.117
func GetBackupInfoFileSourceEnum() BackupInfoFileSourceEnum
type BackupInfoResp ¶ added in v0.1.117
type BackupInfoResp struct { // 备份文件来源,包括OBS和RDS两种。 FileSource *string `json:"file_source,omitempty"` // OBS桶名称。 BucketName *string `json:"bucket_name,omitempty"` // 备份文件列表。 FileInfo *[]BackupFileResp `json:"file_info,omitempty"` }
BackupInfoResp 备份文件信息
func (BackupInfoResp) String ¶ added in v0.1.117
func (o BackupInfoResp) String() string
type BackupJobBaseInfo ¶ added in v0.1.117
type BackupJobBaseInfo struct { // 任务名称。 约束:任务名称在4位到50位之间,不区分大小写,可以包含字母、数字、中划线或下划线,不能包括其他特殊字符。 - 最小长度:4 - 最大长度:50 Name string `json:"name"` // 数据库引擎。 - sqlserver:RDS for SQL Server引擎 EngineType BackupJobBaseInfoEngineType `json:"engine_type"` // 任务描述。 Description *string `json:"description,omitempty"` // 标签信息。 标签的值可以包含任意语种字母、数字、空格和_ . : / = + - @。 Tags *[]ResourceTag `json:"tags,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
BackupJobBaseInfo 创建备份迁移任务基本信息体。
func (BackupJobBaseInfo) String ¶ added in v0.1.117
func (o BackupJobBaseInfo) String() string
type BackupJobBaseInfoEngineType ¶ added in v0.1.117
type BackupJobBaseInfoEngineType struct {
// contains filtered or unexported fields
}
func (BackupJobBaseInfoEngineType) MarshalJSON ¶ added in v0.1.117
func (c BackupJobBaseInfoEngineType) MarshalJSON() ([]byte, error)
func (*BackupJobBaseInfoEngineType) UnmarshalJSON ¶ added in v0.1.117
func (c *BackupJobBaseInfoEngineType) UnmarshalJSON(b []byte) error
func (BackupJobBaseInfoEngineType) Value ¶ added in v0.1.117
func (c BackupJobBaseInfoEngineType) Value() string
type BackupJobBaseInfoEngineTypeEnum ¶ added in v0.1.117
type BackupJobBaseInfoEngineTypeEnum struct {
SQLSERVER BackupJobBaseInfoEngineType
}
func GetBackupJobBaseInfoEngineTypeEnum ¶ added in v0.1.117
func GetBackupJobBaseInfoEngineTypeEnum() BackupJobBaseInfoEngineTypeEnum
type BackupJobEndpointInfo ¶ added in v0.1.117
type BackupJobEndpointInfo struct { // 备份迁移任务恢复目标RDS for SQL Server实例ID。 TargetInstanceId string `json:"target_instance_id"` // 目标实例是否开启FileStream模式。可通过RDS for SQL Server详情接口获取。 MsFileStreamStatus *string `json:"ms_file_stream_status,omitempty"` // RDS for SQL Server备份文件的文件ID,通过RDS全量恢复时必填。可通过云数据库RDS备份管理页面获取。 FileId *string `json:"file_id,omitempty"` }
BackupJobEndpointInfo 备份迁移任务恢复目标RDS for SQL Server实例信息。
func (BackupJobEndpointInfo) String ¶ added in v0.1.117
func (o BackupJobEndpointInfo) String() string
type BackupRestoreOptionInfo ¶ added in v0.1.117
type BackupRestoreOptionInfo struct { // 是否覆盖目标数据库,不填默认为false。 值为“true”表示覆盖。 值为“false”表示不覆盖。 IsCover *bool `json:"is_cover,omitempty"` // 是否默认恢复,默认恢复所有数据库。 “true”是代表默认恢复还原备份文件中的全部数据库。 “false”代表需要在db_names这个字段中指定需要恢复的数据库名。 IsDefaultRestore *bool `json:"is_default_restore,omitempty"` // 一次典型的增量恢复过程,会涉及多次恢复增量备份。每个增量备份恢复均会使目标数据库保持还原中状态,此时数据库不可读写,直至最后一个增量备份恢复完成后,数据库才能变成可用状态。此后数据库将无法继续进行增量恢复,所以确定为最后一个备份的场景有: 一次性全量迁移,后续将不再进行增量恢复时,设置该字段值为“true”。 增量恢复流程中,确定为最后割接阶段的最后一个增量备份时,设置该字段值为“false”。 IsLastBackup bool `json:"is_last_backup"` // 是否执行预校验。 true:执行。 false:不执行。 IsPrecheck bool `json:"is_precheck"` // 恢复模式: “full”表示全量迁移。 “incre”表示增量迁移 。 RecoveryMode BackupRestoreOptionInfoRecoveryMode `json:"recovery_mode"` // 数据库名称。 DbNames *[]string `json:"db_names,omitempty"` // 该字段为一个map,目前使用格式key是\"\",value是新数据库名字。 该功能将忽略备份文件中原有的数据库名,通过DRS将其恢复为指定的新数据库名。 使用条件: - 备份文件中只有一个数据库。 - 备份文件是全量备份类型(待恢复备份类型选择:全量备份),且是一次性恢复(最后一个备份选择:是)。 ResetDbNameMap map[string]string `json:"reset_db_name_map,omitempty"` // 该参数控制使用OBS桶中备份文件恢复时,当任务结束时是否删除下载到RDS for SQL server磁盘中的OBS备份文件,默认删除。 - true 删除 - false 不删除 IsDeleteBackupFile *bool `json:"is_delete_backup_file,omitempty"` }
BackupRestoreOptionInfo 备份迁移参数。
func (BackupRestoreOptionInfo) String ¶ added in v0.1.117
func (o BackupRestoreOptionInfo) String() string
type BackupRestoreOptionInfoRecoveryMode ¶ added in v0.1.117
type BackupRestoreOptionInfoRecoveryMode struct {
// contains filtered or unexported fields
}
func (BackupRestoreOptionInfoRecoveryMode) MarshalJSON ¶ added in v0.1.117
func (c BackupRestoreOptionInfoRecoveryMode) MarshalJSON() ([]byte, error)
func (*BackupRestoreOptionInfoRecoveryMode) UnmarshalJSON ¶ added in v0.1.117
func (c *BackupRestoreOptionInfoRecoveryMode) UnmarshalJSON(b []byte) error
func (BackupRestoreOptionInfoRecoveryMode) Value ¶ added in v0.1.117
func (c BackupRestoreOptionInfoRecoveryMode) Value() string
type BackupRestoreOptionInfoRecoveryModeEnum ¶ added in v0.1.117
type BackupRestoreOptionInfoRecoveryModeEnum struct { FULL BackupRestoreOptionInfoRecoveryMode INCRE BackupRestoreOptionInfoRecoveryMode }
func GetBackupRestoreOptionInfoRecoveryModeEnum ¶ added in v0.1.117
func GetBackupRestoreOptionInfoRecoveryModeEnum() BackupRestoreOptionInfoRecoveryModeEnum
type BaseEndpoint ¶
type BaseEndpoint struct { // 数据库信息ID。 Id *string `json:"id,omitempty"` // 数据库场景类型。取值: - oracle:云下自建Oracle数据库。 - ecs_oracle:华为云ECS自建Oracle数据库。 - cloud_gaussdbv5:华为云数据库GaussDB分布式。 - mysql:他云/本地自建MySQL数据库。 - ecs_mysql:华为云ECS自建MySQL数据库。 - cloud_mysql:华为云数据库RDS for MySQL。 - redis:云下自建Redis数据。 - ecs_redis:华为云ECS自建Redis数据。 - rediscluster:云下自建Redis集群数据库。 - ecs_rediscluster:华为云ECS自建Redis集群数据库。 - cloud_gaussdb_redis:华为云数据库GeminiDB Redis。 - postgresql: 云下自建PostgreSQL数据库。 - ecs_postgresql: 华为云ECS自建PostgreSQL数据库。 - cloud_postgresql: 华为云数据库RDS for PostgreSQL。 - mongodb: 云下自建MongoDB数据库。 - ecs_mongodb: 华为云ECS自建MongoDB数据库。 - cloud_mongodb: 华为云文档数据库服务DDS。 EndpointName BaseEndpointEndpointName `json:"endpoint_name"` // 数据库IP。 约束: - 数据库为自建MongoDB时,数据库IP与端口之间用“:”英文冒号拼接,多个值之间请用“,”英文逗号隔开,最多支持填写3个IP地址或域名。 - 数据库为DDS实例时,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔。 - 数据库为Redis集群时,请填写源端Redis集群所有分片的IP地址和对应端口,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔,并且推荐填写集群分片的Slave节点的IP地址。最多支持填写32个IP地址或域名,多个值之间请用英文逗号隔开。 示例: - MySQL:ip - MongoDB:ip:port,ip:port,ip:port - DDS:ip:port,ip:port - Redis集群:ip:port,ip:port Ip *string `json:"ip,omitempty"` // 数据库端口。 约束:输入范围为1-65535之间的整数。 DbPort *string `json:"db_port,omitempty"` // 数据库用户名。 DbUser string `json:"db_user"` // 数据库密码。 DbPassword string `json:"db_password"` // 华为云数据库实例ID。 InstanceId *string `json:"instance_id,omitempty"` // 华为云数据库实例名称。 InstanceName *string `json:"instance_name,omitempty"` // 指定数据库名称。例如: - oracle:serviceName.orcl。 DbName *string `json:"db_name,omitempty"` // 物理源库信息。 SourceSharding *[]BaseEndpoint `json:"source_sharding,omitempty"` }
BaseEndpoint 数据库基本信息体。
func (BaseEndpoint) String ¶
func (o BaseEndpoint) String() string
type BaseEndpointConfig ¶
type BaseEndpointConfig struct { // 目标实例是否设置为为只读。 - MySQL迁移和灾备,且job_direction为up时设置有效。(灾备场景下,单主灾备且本云为备为必填且为true,不填默认设置为true)。 IsTargetReadonly *bool `json:"is_target_readonly,omitempty"` // Redis集群到GeminiDB Redis迁移场景填写,连接源端Redis集群的子任务个数,输入值在1到16之间,且输入值不能大于源端Redis集群的分片个数,请根据源端Redis集群的规模合理选择。建议集群的每4个分片设置1个源端分片个数,即每1个子任务连接源端集群的4个分片。 NodeNum *int32 `json:"node_num,omitempty"` }
BaseEndpointConfig 数据库基本设置信息体,当源库或者目标库在特定场景下需要额外设置时填写。例如: - 实时迁移入云场景:云数据库(RDS for MySQL)、云数据库 GaussDB(for MySQL) 主备版作为目标库(target_endpoint)时,需要设置“只读”或者“读写”(is_target_readonly)。 - 实时迁移入云场景:分布式数据库中间件DDM作为目标库,源库为MySQL分库分表时,需要设置“端数据库实例个数”。 - 实时迁移入云场景:MongoDB作为源库时,需要设置“源数据库实例类型”为非集群、集群或者集群(MongoDB 4.0+),并且实例类型为“集群”时,还需要设置“源端分片个数”(source_shard_num)。 - 实时灾备场景:单主灾备且本云为备时,云数据库(RDS for MySQL)、云数据库 GaussDB(for MySQL) 主备版、分布式数据库中间件DDM、文档数据库服务DDS等作为目标库(target_endpoint)时,需要设置“只读”或者“读写”(is_target_readonly)。 - 实时灾备场景:云数据库GaussDB(for Cassandra) 灾备时,需要设置“是否迁移TTL”,如果参数为true时,还需要设置TTL列名。
func (BaseEndpointConfig) String ¶
func (o BaseEndpointConfig) String() string
type BaseEndpointEndpointName ¶
type BaseEndpointEndpointName struct {
// contains filtered or unexported fields
}
func (BaseEndpointEndpointName) MarshalJSON ¶
func (c BaseEndpointEndpointName) MarshalJSON() ([]byte, error)
func (*BaseEndpointEndpointName) UnmarshalJSON ¶
func (c *BaseEndpointEndpointName) UnmarshalJSON(b []byte) error
func (BaseEndpointEndpointName) Value ¶
func (c BaseEndpointEndpointName) Value() string
type BaseEndpointEndpointNameEnum ¶
type BaseEndpointEndpointNameEnum struct { ORACLE BaseEndpointEndpointName ECS_ORACLE BaseEndpointEndpointName CLOUD_GAUSSDBV5 BaseEndpointEndpointName MYSQL BaseEndpointEndpointName ECS_MYSQL BaseEndpointEndpointName CLOUD_MYSQL BaseEndpointEndpointName REDIS BaseEndpointEndpointName ECS_REDIS BaseEndpointEndpointName REDISCLUSTER BaseEndpointEndpointName ECS_REDISCLUSTER BaseEndpointEndpointName CLOUD_GAUSSDB_REDIS BaseEndpointEndpointName POSTGRESQL BaseEndpointEndpointName ECS_POSTGRESQL BaseEndpointEndpointName CLOUD_POSTGRESQL BaseEndpointEndpointName MONGODB BaseEndpointEndpointName ECS_MONGODB BaseEndpointEndpointName CLOUD_MONGODB BaseEndpointEndpointName }
func GetBaseEndpointEndpointNameEnum ¶
func GetBaseEndpointEndpointNameEnum() BaseEndpointEndpointNameEnum
type BaseResp ¶
type BaseResp struct { // 列表中的项目总数,与分页无关。 TotalCount int32 `json:"total_count"` }
BaseResp 基础响应体。
type BatchAddTagReq ¶ added in v0.1.77
type BatchAddTagReq struct { // 标签列表。 Tags []BatchResourceTag `json:"tags"` }
BatchAddTagReq 批量添加资源标签
func (BatchAddTagReq) String ¶ added in v0.1.77
func (o BatchAddTagReq) String() string
type BatchAsyncCreateJobReq ¶
type BatchAsyncCreateJobReq struct { // 异步创建任务请求体。 Jobs []AsyncCreateJobReq `json:"jobs"` }
BatchAsyncCreateJobReq 批量异步创建任务请求体。
func (BatchAsyncCreateJobReq) String ¶
func (o BatchAsyncCreateJobReq) String() string
type BatchAsyncUpdateJobReq ¶
type BatchAsyncUpdateJobReq struct { // 批量更新指定ID异步任务请求体。 Jobs []UpdateJobReq `json:"jobs"` }
BatchAsyncUpdateJobReq 批量更新指定ID异步任务请求体。
func (BatchAsyncUpdateJobReq) String ¶
func (o BatchAsyncUpdateJobReq) String() string
type BatchCreateJobsAsyncRequest ¶
type BatchCreateJobsAsyncRequest struct { // 请求语言类型。 XLanguage *BatchCreateJobsAsyncRequestXLanguage `json:"X-Language,omitempty"` Body *BatchAsyncCreateJobReq `json:"body,omitempty"` }
BatchCreateJobsAsyncRequest Request Object
func (BatchCreateJobsAsyncRequest) String ¶
func (o BatchCreateJobsAsyncRequest) String() string
type BatchCreateJobsAsyncRequestXLanguage ¶
type BatchCreateJobsAsyncRequestXLanguage struct {
// contains filtered or unexported fields
}
func (BatchCreateJobsAsyncRequestXLanguage) MarshalJSON ¶
func (c BatchCreateJobsAsyncRequestXLanguage) MarshalJSON() ([]byte, error)
func (*BatchCreateJobsAsyncRequestXLanguage) UnmarshalJSON ¶
func (c *BatchCreateJobsAsyncRequestXLanguage) UnmarshalJSON(b []byte) error
func (BatchCreateJobsAsyncRequestXLanguage) Value ¶
func (c BatchCreateJobsAsyncRequestXLanguage) Value() string
type BatchCreateJobsAsyncRequestXLanguageEnum ¶
type BatchCreateJobsAsyncRequestXLanguageEnum struct { EN_US BatchCreateJobsAsyncRequestXLanguage ZH_CN BatchCreateJobsAsyncRequestXLanguage }
func GetBatchCreateJobsAsyncRequestXLanguageEnum ¶
func GetBatchCreateJobsAsyncRequestXLanguageEnum() BatchCreateJobsAsyncRequestXLanguageEnum
type BatchCreateJobsAsyncResponse ¶
type BatchCreateJobsAsyncResponse struct { Job *AsyncCreateJobResp `json:"job,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateJobsAsyncResponse Response Object
func (BatchCreateJobsAsyncResponse) String ¶
func (o BatchCreateJobsAsyncResponse) String() string
type BatchCreateTagsRequest ¶ added in v0.1.77
type BatchCreateTagsRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:录制回放 ResourceType BatchCreateTagsRequestResourceType `json:"resource_type"` // 请求语言类型。 XLanguage *BatchCreateTagsRequestXLanguage `json:"X-Language,omitempty"` // 资源ID,即DRS任务ID。 ResourceId string `json:"resource_id"` Body *BatchAddTagReq `json:"body,omitempty"` }
BatchCreateTagsRequest Request Object
func (BatchCreateTagsRequest) String ¶ added in v0.1.77
func (o BatchCreateTagsRequest) String() string
type BatchCreateTagsRequestResourceType ¶ added in v0.1.77
type BatchCreateTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (BatchCreateTagsRequestResourceType) MarshalJSON ¶ added in v0.1.77
func (c BatchCreateTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*BatchCreateTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.77
func (c *BatchCreateTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (BatchCreateTagsRequestResourceType) Value ¶ added in v0.1.77
func (c BatchCreateTagsRequestResourceType) Value() string
type BatchCreateTagsRequestResourceTypeEnum ¶ added in v0.1.77
type BatchCreateTagsRequestResourceTypeEnum struct { MIGRATION BatchCreateTagsRequestResourceType SYNC BatchCreateTagsRequestResourceType CLOUD_DATA_GUARD BatchCreateTagsRequestResourceType SUBSCRIPTION BatchCreateTagsRequestResourceType BACKUP_MIGRATION BatchCreateTagsRequestResourceType REPLAY BatchCreateTagsRequestResourceType }
func GetBatchCreateTagsRequestResourceTypeEnum ¶ added in v0.1.77
func GetBatchCreateTagsRequestResourceTypeEnum() BatchCreateTagsRequestResourceTypeEnum
type BatchCreateTagsRequestXLanguage ¶ added in v0.1.77
type BatchCreateTagsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (BatchCreateTagsRequestXLanguage) MarshalJSON ¶ added in v0.1.77
func (c BatchCreateTagsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*BatchCreateTagsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.77
func (c *BatchCreateTagsRequestXLanguage) UnmarshalJSON(b []byte) error
func (BatchCreateTagsRequestXLanguage) Value ¶ added in v0.1.77
func (c BatchCreateTagsRequestXLanguage) Value() string
type BatchCreateTagsRequestXLanguageEnum ¶ added in v0.1.77
type BatchCreateTagsRequestXLanguageEnum struct { EN_US BatchCreateTagsRequestXLanguage ZH_CN BatchCreateTagsRequestXLanguage }
func GetBatchCreateTagsRequestXLanguageEnum ¶ added in v0.1.77
func GetBatchCreateTagsRequestXLanguageEnum() BatchCreateTagsRequestXLanguageEnum
type BatchCreateTagsResponse ¶ added in v0.1.77
type BatchCreateTagsResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateTagsResponse Response Object
func (BatchCreateTagsResponse) String ¶ added in v0.1.77
func (o BatchCreateTagsResponse) String() string
type BatchDealResourceTagReq ¶ added in v0.1.58
type BatchDealResourceTagReq struct { // 操作标识(区分大小写): - 创建时为“create” - 删除时为“delete” Action BatchDealResourceTagReqAction `json:"action"` // 标签列表。最多添加10个标签。 Tags []BatchResourceTag `json:"tags"` }
BatchDealResourceTagReq 批量添加或删除资源标签请求体。
func (BatchDealResourceTagReq) String ¶ added in v0.1.58
func (o BatchDealResourceTagReq) String() string
type BatchDealResourceTagReqAction ¶ added in v0.1.58
type BatchDealResourceTagReqAction struct {
// contains filtered or unexported fields
}
func (BatchDealResourceTagReqAction) MarshalJSON ¶ added in v0.1.58
func (c BatchDealResourceTagReqAction) MarshalJSON() ([]byte, error)
func (*BatchDealResourceTagReqAction) UnmarshalJSON ¶ added in v0.1.58
func (c *BatchDealResourceTagReqAction) UnmarshalJSON(b []byte) error
func (BatchDealResourceTagReqAction) Value ¶ added in v0.1.58
func (c BatchDealResourceTagReqAction) Value() string
type BatchDealResourceTagReqActionEnum ¶ added in v0.1.58
type BatchDealResourceTagReqActionEnum struct { CREATE BatchDealResourceTagReqAction DELETE BatchDealResourceTagReqAction }
func GetBatchDealResourceTagReqActionEnum ¶ added in v0.1.58
func GetBatchDealResourceTagReqActionEnum() BatchDealResourceTagReqActionEnum
type BatchDeleteJobReq ¶
type BatchDeleteJobReq struct { // 批量删除任务请求体。 Jobs []string `json:"jobs"` }
BatchDeleteJobReq 批量删除任务请求体。
func (BatchDeleteJobReq) String ¶
func (o BatchDeleteJobReq) String() string
type BatchDeleteJobsByIdRequest ¶
type BatchDeleteJobsByIdRequest struct { // 请求语言类型。 XLanguage *BatchDeleteJobsByIdRequestXLanguage `json:"X-Language,omitempty"` Body *BatchDeleteJobReq `json:"body,omitempty"` }
BatchDeleteJobsByIdRequest Request Object
func (BatchDeleteJobsByIdRequest) String ¶
func (o BatchDeleteJobsByIdRequest) String() string
type BatchDeleteJobsByIdRequestXLanguage ¶
type BatchDeleteJobsByIdRequestXLanguage struct {
// contains filtered or unexported fields
}
func (BatchDeleteJobsByIdRequestXLanguage) MarshalJSON ¶
func (c BatchDeleteJobsByIdRequestXLanguage) MarshalJSON() ([]byte, error)
func (*BatchDeleteJobsByIdRequestXLanguage) UnmarshalJSON ¶
func (c *BatchDeleteJobsByIdRequestXLanguage) UnmarshalJSON(b []byte) error
func (BatchDeleteJobsByIdRequestXLanguage) Value ¶
func (c BatchDeleteJobsByIdRequestXLanguage) Value() string
type BatchDeleteJobsByIdRequestXLanguageEnum ¶
type BatchDeleteJobsByIdRequestXLanguageEnum struct { EN_US BatchDeleteJobsByIdRequestXLanguage ZH_CN BatchDeleteJobsByIdRequestXLanguage }
func GetBatchDeleteJobsByIdRequestXLanguageEnum ¶
func GetBatchDeleteJobsByIdRequestXLanguageEnum() BatchDeleteJobsByIdRequestXLanguageEnum
type BatchDeleteJobsByIdResponse ¶
type BatchDeleteJobsByIdResponse struct { // 批量删除任务响应体。 Jobs *[]DeleteJobResp `json:"jobs,omitempty"` HttpStatusCode int `json:"-"` }
BatchDeleteJobsByIdResponse Response Object
func (BatchDeleteJobsByIdResponse) String ¶
func (o BatchDeleteJobsByIdResponse) String() string
type BatchDeleteTagReq ¶ added in v0.1.77
type BatchDeleteTagReq struct { // 标签列表。 Tags []BatchResourceTag `json:"tags"` }
BatchDeleteTagReq 批量删除资源标签
func (BatchDeleteTagReq) String ¶ added in v0.1.77
func (o BatchDeleteTagReq) String() string
type BatchDeleteTagsRequest ¶ added in v0.1.77
type BatchDeleteTagsRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:录制回放 ResourceType BatchDeleteTagsRequestResourceType `json:"resource_type"` // 请求语言类型。 XLanguage *BatchDeleteTagsRequestXLanguage `json:"X-Language,omitempty"` // 资源ID,即DRS任务ID。 ResourceId string `json:"resource_id"` Body *BatchDeleteTagReq `json:"body,omitempty"` }
BatchDeleteTagsRequest Request Object
func (BatchDeleteTagsRequest) String ¶ added in v0.1.77
func (o BatchDeleteTagsRequest) String() string
type BatchDeleteTagsRequestResourceType ¶ added in v0.1.77
type BatchDeleteTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (BatchDeleteTagsRequestResourceType) MarshalJSON ¶ added in v0.1.77
func (c BatchDeleteTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*BatchDeleteTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.77
func (c *BatchDeleteTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (BatchDeleteTagsRequestResourceType) Value ¶ added in v0.1.77
func (c BatchDeleteTagsRequestResourceType) Value() string
type BatchDeleteTagsRequestResourceTypeEnum ¶ added in v0.1.77
type BatchDeleteTagsRequestResourceTypeEnum struct { MIGRATION BatchDeleteTagsRequestResourceType SYNC BatchDeleteTagsRequestResourceType CLOUD_DATA_GUARD BatchDeleteTagsRequestResourceType SUBSCRIPTION BatchDeleteTagsRequestResourceType BACKUP_MIGRATION BatchDeleteTagsRequestResourceType REPLAY BatchDeleteTagsRequestResourceType }
func GetBatchDeleteTagsRequestResourceTypeEnum ¶ added in v0.1.77
func GetBatchDeleteTagsRequestResourceTypeEnum() BatchDeleteTagsRequestResourceTypeEnum
type BatchDeleteTagsRequestXLanguage ¶ added in v0.1.77
type BatchDeleteTagsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (BatchDeleteTagsRequestXLanguage) MarshalJSON ¶ added in v0.1.77
func (c BatchDeleteTagsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*BatchDeleteTagsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.77
func (c *BatchDeleteTagsRequestXLanguage) UnmarshalJSON(b []byte) error
func (BatchDeleteTagsRequestXLanguage) Value ¶ added in v0.1.77
func (c BatchDeleteTagsRequestXLanguage) Value() string
type BatchDeleteTagsRequestXLanguageEnum ¶ added in v0.1.77
type BatchDeleteTagsRequestXLanguageEnum struct { EN_US BatchDeleteTagsRequestXLanguage ZH_CN BatchDeleteTagsRequestXLanguage }
func GetBatchDeleteTagsRequestXLanguageEnum ¶ added in v0.1.77
func GetBatchDeleteTagsRequestXLanguageEnum() BatchDeleteTagsRequestXLanguageEnum
type BatchDeleteTagsResponse ¶ added in v0.1.77
type BatchDeleteTagsResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
BatchDeleteTagsResponse Response Object
func (BatchDeleteTagsResponse) String ¶ added in v0.1.77
func (o BatchDeleteTagsResponse) String() string
type BatchExecuteJobActionsRequest ¶
type BatchExecuteJobActionsRequest struct { // 请求语言类型。 XLanguage *BatchExecuteJobActionsRequestXLanguage `json:"X-Language,omitempty"` Body *BatchJobActionReq `json:"body,omitempty"` }
BatchExecuteJobActionsRequest Request Object
func (BatchExecuteJobActionsRequest) String ¶
func (o BatchExecuteJobActionsRequest) String() string
type BatchExecuteJobActionsRequestXLanguage ¶
type BatchExecuteJobActionsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (BatchExecuteJobActionsRequestXLanguage) MarshalJSON ¶
func (c BatchExecuteJobActionsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*BatchExecuteJobActionsRequestXLanguage) UnmarshalJSON ¶
func (c *BatchExecuteJobActionsRequestXLanguage) UnmarshalJSON(b []byte) error
func (BatchExecuteJobActionsRequestXLanguage) Value ¶
func (c BatchExecuteJobActionsRequestXLanguage) Value() string
type BatchExecuteJobActionsRequestXLanguageEnum ¶
type BatchExecuteJobActionsRequestXLanguageEnum struct { EN_US BatchExecuteJobActionsRequestXLanguage ZH_CN BatchExecuteJobActionsRequestXLanguage }
func GetBatchExecuteJobActionsRequestXLanguageEnum ¶
func GetBatchExecuteJobActionsRequestXLanguageEnum() BatchExecuteJobActionsRequestXLanguageEnum
type BatchExecuteJobActionsResponse ¶
type BatchExecuteJobActionsResponse struct { // 批量异步操作任务响应体。 Jobs *[]AsyncActionResp `json:"jobs,omitempty"` HttpStatusCode int `json:"-"` }
BatchExecuteJobActionsResponse Response Object
func (BatchExecuteJobActionsResponse) String ¶
func (o BatchExecuteJobActionsResponse) String() string
type BatchJobActionReq ¶
type BatchJobActionReq struct { // 批量操作任务请求体。 Jobs []ActionReq `json:"jobs"` }
BatchJobActionReq 批量操作任务请求体,支持测试连接、预检查、启动、暂停、续传、重置、对比、结束等操作。
func (BatchJobActionReq) String ¶
func (o BatchJobActionReq) String() string
type BatchResourceTag ¶ added in v0.1.58
type BatchResourceTag struct { // 标签键。 - 长度为1-128个unicode字符。 - 可以包含任何语种字母、数字、空格和_.:=+-@,但首尾不能含有空格,不能以_sys_开头。 Key string `json:"key"` // 标签值,删除标签时非必填。 - 最大长度255个unicode字符。 - 可以包含任何语种字母、数字、空格和_.:=+-@。 Value *string `json:"value,omitempty"` }
BatchResourceTag 标签信息体
func (BatchResourceTag) String ¶ added in v0.1.58
func (o BatchResourceTag) String() string
type BatchStopJobActionReq ¶ added in v0.1.58
type BatchStopJobActionReq struct { // 批量结束任务请求体。 Jobs []StopJobActionInfo `json:"jobs"` }
BatchStopJobActionReq 批量结束任务请求体。
func (BatchStopJobActionReq) String ¶ added in v0.1.58
func (o BatchStopJobActionReq) String() string
type BatchStopJobsActionRequest ¶ added in v0.1.58
type BatchStopJobsActionRequest struct { // 请求语言类型。 XLanguage *BatchStopJobsActionRequestXLanguage `json:"X-Language,omitempty"` Body *BatchStopJobActionReq `json:"body,omitempty"` }
BatchStopJobsActionRequest Request Object
func (BatchStopJobsActionRequest) String ¶ added in v0.1.58
func (o BatchStopJobsActionRequest) String() string
type BatchStopJobsActionRequestXLanguage ¶ added in v0.1.58
type BatchStopJobsActionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (BatchStopJobsActionRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c BatchStopJobsActionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*BatchStopJobsActionRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *BatchStopJobsActionRequestXLanguage) UnmarshalJSON(b []byte) error
func (BatchStopJobsActionRequestXLanguage) Value ¶ added in v0.1.58
func (c BatchStopJobsActionRequestXLanguage) Value() string
type BatchStopJobsActionRequestXLanguageEnum ¶ added in v0.1.58
type BatchStopJobsActionRequestXLanguageEnum struct { EN_US BatchStopJobsActionRequestXLanguage ZH_CN BatchStopJobsActionRequestXLanguage }
func GetBatchStopJobsActionRequestXLanguageEnum ¶ added in v0.1.58
func GetBatchStopJobsActionRequestXLanguageEnum() BatchStopJobsActionRequestXLanguageEnum
type BatchStopJobsActionResponse ¶ added in v0.1.58
type BatchStopJobsActionResponse struct { // 批量操作任务响应体。 Jobs *[]ActionBaseResp `json:"jobs,omitempty"` HttpStatusCode int `json:"-"` }
BatchStopJobsActionResponse Response Object
func (BatchStopJobsActionResponse) String ¶ added in v0.1.58
func (o BatchStopJobsActionResponse) String() string
type BatchTagActionRequest ¶ added in v0.1.58
type BatchTagActionRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:仿真回放 ResourceType string `json:"resource_type"` // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *BatchTagActionRequestXLanguage `json:"X-Language,omitempty"` Body *BatchDealResourceTagReq `json:"body,omitempty"` }
BatchTagActionRequest Request Object
func (BatchTagActionRequest) String ¶ added in v0.1.58
func (o BatchTagActionRequest) String() string
type BatchTagActionRequestXLanguage ¶ added in v0.1.58
type BatchTagActionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (BatchTagActionRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c BatchTagActionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*BatchTagActionRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *BatchTagActionRequestXLanguage) UnmarshalJSON(b []byte) error
func (BatchTagActionRequestXLanguage) Value ¶ added in v0.1.58
func (c BatchTagActionRequestXLanguage) Value() string
type BatchTagActionRequestXLanguageEnum ¶ added in v0.1.58
type BatchTagActionRequestXLanguageEnum struct { EN_US BatchTagActionRequestXLanguage ZH_CN BatchTagActionRequestXLanguage }
func GetBatchTagActionRequestXLanguageEnum ¶ added in v0.1.58
func GetBatchTagActionRequestXLanguageEnum() BatchTagActionRequestXLanguageEnum
type BatchTagActionResponse ¶ added in v0.1.58
type BatchTagActionResponse struct {
HttpStatusCode int `json:"-"`
}
BatchTagActionResponse Response Object
func (BatchTagActionResponse) String ¶ added in v0.1.58
func (o BatchTagActionResponse) String() string
type ChangeToPeriodRequest ¶ added in v0.1.117
type ChangeToPeriodRequest struct { // 转包周期的任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` Body *ToPeriodReq `json:"body,omitempty"` }
ChangeToPeriodRequest Request Object
func (ChangeToPeriodRequest) String ¶ added in v0.1.117
func (o ChangeToPeriodRequest) String() string
type ChangeToPeriodResponse ¶ added in v0.1.117
type ChangeToPeriodResponse struct { // 订单ID。 OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
ChangeToPeriodResponse Response Object
func (ChangeToPeriodResponse) String ¶ added in v0.1.117
func (o ChangeToPeriodResponse) String() string
type CheckDataFilterRequest ¶ added in v0.1.58
type CheckDataFilterRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *CheckDataFilterRequestXLanguage `json:"X-Language,omitempty"` Body *DataProcessReq `json:"body,omitempty"` }
CheckDataFilterRequest Request Object
func (CheckDataFilterRequest) String ¶ added in v0.1.58
func (o CheckDataFilterRequest) String() string
type CheckDataFilterRequestXLanguage ¶ added in v0.1.58
type CheckDataFilterRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CheckDataFilterRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c CheckDataFilterRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CheckDataFilterRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *CheckDataFilterRequestXLanguage) UnmarshalJSON(b []byte) error
func (CheckDataFilterRequestXLanguage) Value ¶ added in v0.1.58
func (c CheckDataFilterRequestXLanguage) Value() string
type CheckDataFilterRequestXLanguageEnum ¶ added in v0.1.58
type CheckDataFilterRequestXLanguageEnum struct { EN_US CheckDataFilterRequestXLanguage ZH_CN CheckDataFilterRequestXLanguage }
func GetCheckDataFilterRequestXLanguageEnum ¶ added in v0.1.58
func GetCheckDataFilterRequestXLanguageEnum() CheckDataFilterRequestXLanguageEnum
type CheckDataFilterResponse ¶ added in v0.1.58
type CheckDataFilterResponse struct { // 查询结果id Id *string `json:"id,omitempty"` // 查询状态 pending:处理中 failed:失败 success:成功 Status *CheckDataFilterResponseStatus `json:"status,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
CheckDataFilterResponse Response Object
func (CheckDataFilterResponse) String ¶ added in v0.1.58
func (o CheckDataFilterResponse) String() string
type CheckDataFilterResponseStatus ¶ added in v0.1.58
type CheckDataFilterResponseStatus struct {
// contains filtered or unexported fields
}
func (CheckDataFilterResponseStatus) MarshalJSON ¶ added in v0.1.58
func (c CheckDataFilterResponseStatus) MarshalJSON() ([]byte, error)
func (*CheckDataFilterResponseStatus) UnmarshalJSON ¶ added in v0.1.58
func (c *CheckDataFilterResponseStatus) UnmarshalJSON(b []byte) error
func (CheckDataFilterResponseStatus) Value ¶ added in v0.1.58
func (c CheckDataFilterResponseStatus) Value() string
type CheckDataFilterResponseStatusEnum ¶ added in v0.1.58
type CheckDataFilterResponseStatusEnum struct { PENDING CheckDataFilterResponseStatus FAILED CheckDataFilterResponseStatus SUCCESS CheckDataFilterResponseStatus }
func GetCheckDataFilterResponseStatusEnum ¶ added in v0.1.58
func GetCheckDataFilterResponseStatusEnum() CheckDataFilterResponseStatusEnum
type CheckJobNameReq ¶ added in v0.1.49
type CheckJobNameReq struct { // - 迁移、同步、灾备、订阅任务名称,名称在4位到50位之间,必须以字母开头,可以包含字母、数字、中划线或下划线,不能包含其他特殊字符,任务名称不能重复。 - 备份迁移任务名称,名称在4位到80位之间,必须以字母开头,可以包含字母、数字、中划线或下划线,不能包含其他特殊字符,任务名称不能重复。 Name string `json:"name"` // 任务类型。 - trans - subscription - offline Type CheckJobNameReqType `json:"type"` }
CheckJobNameReq 校验任务名称请求体。
func (CheckJobNameReq) String ¶ added in v0.1.49
func (o CheckJobNameReq) String() string
type CheckJobNameReqType ¶ added in v0.1.49
type CheckJobNameReqType struct {
// contains filtered or unexported fields
}
func (CheckJobNameReqType) MarshalJSON ¶ added in v0.1.49
func (c CheckJobNameReqType) MarshalJSON() ([]byte, error)
func (*CheckJobNameReqType) UnmarshalJSON ¶ added in v0.1.49
func (c *CheckJobNameReqType) UnmarshalJSON(b []byte) error
func (CheckJobNameReqType) Value ¶ added in v0.1.49
func (c CheckJobNameReqType) Value() string
type CheckJobNameReqTypeEnum ¶ added in v0.1.49
type CheckJobNameReqTypeEnum struct { TRANS CheckJobNameReqType SUBSCRIPTION CheckJobNameReqType OFFLINE CheckJobNameReqType }
func GetCheckJobNameReqTypeEnum ¶ added in v0.1.49
func GetCheckJobNameReqTypeEnum() CheckJobNameReqTypeEnum
type ChildrenJobListResp ¶
type ChildrenJobListResp struct { // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` // 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中,灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败,灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成,灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中,灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败,灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。 Status ChildrenJobListRespStatus `json:"status"` // 任务描述。 Description string `json:"description"` // 任务创建时间。 CreateTime string `json:"create_time"` // 引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。 EngineType ChildrenJobListRespEngineType `json:"engine_type"` // 网络类型。取值: - eip:公网网络。 - vpc:VPC网络,灾备场景不支持选择VPC网络。 - vpn:VPN、专线网络。 NetType ChildrenJobListRespNetType `json:"net_type"` // 计费模式。取值: - period:包周期。 - on_demand:按需。 ChargingMode ChildrenJobListRespChargingMode `json:"charging_mode"` // 是否计费。 BillingTag bool `json:"billing_tag"` // 任务方向。取值: - up:入云 ,灾备场景时对应本云为备。 - down:出云,灾备场景时对应本云为主。 - non-dbs:自建。 JobDirection ChildrenJobListRespJobDirection `json:"job_direction"` // 任务场景。取值: - migration:实时迁移。 - sync:实时同步。 - cloudDataGuard:实时灾备。 JobType ChildrenJobListRespJobType `json:"job_type"` // 任务模式。取值: - FULL_TRANS :全量。 - FULL_INCR_TRANS:全量+增量。 - INCR_TRANS:增量。 TaskType ChildrenJobListRespTaskType `json:"task_type"` // 企业项目ID。 EnterpriseProjectId string `json:"enterprise_project_id"` // 任务模式。取值: - single:单任务。 - sync_child:同步子任务。 - multi_to_single:多对一任务。 JobMode ChildrenJobListRespJobMode `json:"job_mode"` // 任务角色。取值: - parent:父任务。 - child:子任务。 - master:主任务。 - slave:备任务。 JobModeRole ChildrenJobListRespJobModeRole `json:"job_mode_role"` // 是否跨AZ任务。 IsMultiAz bool `json:"is_multi_az"` // 任务节点角色。 NodeRole string `json:"node_role"` // 是否新框架。 NodeNewFramework bool `json:"node_new_framework"` JobAction *JobActions `json:"job_action"` }
ChildrenJobListResp 子任务列表响应体。
func (ChildrenJobListResp) String ¶
func (o ChildrenJobListResp) String() string
type ChildrenJobListRespChargingMode ¶
type ChildrenJobListRespChargingMode struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespChargingMode) MarshalJSON ¶
func (c ChildrenJobListRespChargingMode) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespChargingMode) UnmarshalJSON ¶
func (c *ChildrenJobListRespChargingMode) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespChargingMode) Value ¶
func (c ChildrenJobListRespChargingMode) Value() string
type ChildrenJobListRespChargingModeEnum ¶
type ChildrenJobListRespChargingModeEnum struct { PERIOD ChildrenJobListRespChargingMode ON_DEMAND ChildrenJobListRespChargingMode }
func GetChildrenJobListRespChargingModeEnum ¶
func GetChildrenJobListRespChargingModeEnum() ChildrenJobListRespChargingModeEnum
type ChildrenJobListRespEngineType ¶
type ChildrenJobListRespEngineType struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespEngineType) MarshalJSON ¶
func (c ChildrenJobListRespEngineType) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespEngineType) UnmarshalJSON ¶
func (c *ChildrenJobListRespEngineType) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespEngineType) Value ¶
func (c ChildrenJobListRespEngineType) Value() string
type ChildrenJobListRespEngineTypeEnum ¶
type ChildrenJobListRespEngineTypeEnum struct { ORACLE_TO_GAUSSDBV5 ChildrenJobListRespEngineType REDIS_TO_GAUSSREDIS ChildrenJobListRespEngineType REDISCLUSTER_TO_GAUSSREDIS ChildrenJobListRespEngineType }
func GetChildrenJobListRespEngineTypeEnum ¶
func GetChildrenJobListRespEngineTypeEnum() ChildrenJobListRespEngineTypeEnum
type ChildrenJobListRespJobDirection ¶
type ChildrenJobListRespJobDirection struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespJobDirection) MarshalJSON ¶
func (c ChildrenJobListRespJobDirection) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespJobDirection) UnmarshalJSON ¶
func (c *ChildrenJobListRespJobDirection) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespJobDirection) Value ¶
func (c ChildrenJobListRespJobDirection) Value() string
type ChildrenJobListRespJobDirectionEnum ¶
type ChildrenJobListRespJobDirectionEnum struct { UP ChildrenJobListRespJobDirection DOWN ChildrenJobListRespJobDirection NON_DBS ChildrenJobListRespJobDirection }
func GetChildrenJobListRespJobDirectionEnum ¶
func GetChildrenJobListRespJobDirectionEnum() ChildrenJobListRespJobDirectionEnum
type ChildrenJobListRespJobMode ¶
type ChildrenJobListRespJobMode struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespJobMode) MarshalJSON ¶
func (c ChildrenJobListRespJobMode) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespJobMode) UnmarshalJSON ¶
func (c *ChildrenJobListRespJobMode) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespJobMode) Value ¶
func (c ChildrenJobListRespJobMode) Value() string
type ChildrenJobListRespJobModeEnum ¶
type ChildrenJobListRespJobModeEnum struct { SINGLE ChildrenJobListRespJobMode SYNC_CHILD ChildrenJobListRespJobMode MULTI_TO_SINGLE ChildrenJobListRespJobMode }
func GetChildrenJobListRespJobModeEnum ¶
func GetChildrenJobListRespJobModeEnum() ChildrenJobListRespJobModeEnum
type ChildrenJobListRespJobModeRole ¶
type ChildrenJobListRespJobModeRole struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespJobModeRole) MarshalJSON ¶
func (c ChildrenJobListRespJobModeRole) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespJobModeRole) UnmarshalJSON ¶
func (c *ChildrenJobListRespJobModeRole) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespJobModeRole) Value ¶
func (c ChildrenJobListRespJobModeRole) Value() string
type ChildrenJobListRespJobModeRoleEnum ¶
type ChildrenJobListRespJobModeRoleEnum struct { PARENT ChildrenJobListRespJobModeRole CHILD ChildrenJobListRespJobModeRole MASTER ChildrenJobListRespJobModeRole SLAVE ChildrenJobListRespJobModeRole }
func GetChildrenJobListRespJobModeRoleEnum ¶
func GetChildrenJobListRespJobModeRoleEnum() ChildrenJobListRespJobModeRoleEnum
type ChildrenJobListRespJobType ¶
type ChildrenJobListRespJobType struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespJobType) MarshalJSON ¶
func (c ChildrenJobListRespJobType) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespJobType) UnmarshalJSON ¶
func (c *ChildrenJobListRespJobType) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespJobType) Value ¶
func (c ChildrenJobListRespJobType) Value() string
type ChildrenJobListRespJobTypeEnum ¶
type ChildrenJobListRespJobTypeEnum struct { MIGRATION ChildrenJobListRespJobType SYNC ChildrenJobListRespJobType CLOUD_DATA_GUARD ChildrenJobListRespJobType }
func GetChildrenJobListRespJobTypeEnum ¶
func GetChildrenJobListRespJobTypeEnum() ChildrenJobListRespJobTypeEnum
type ChildrenJobListRespNetType ¶
type ChildrenJobListRespNetType struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespNetType) MarshalJSON ¶
func (c ChildrenJobListRespNetType) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespNetType) UnmarshalJSON ¶
func (c *ChildrenJobListRespNetType) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespNetType) Value ¶
func (c ChildrenJobListRespNetType) Value() string
type ChildrenJobListRespNetTypeEnum ¶
type ChildrenJobListRespNetTypeEnum struct { EIP ChildrenJobListRespNetType VPC ChildrenJobListRespNetType VPN ChildrenJobListRespNetType }
func GetChildrenJobListRespNetTypeEnum ¶
func GetChildrenJobListRespNetTypeEnum() ChildrenJobListRespNetTypeEnum
type ChildrenJobListRespStatus ¶
type ChildrenJobListRespStatus struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespStatus) MarshalJSON ¶
func (c ChildrenJobListRespStatus) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespStatus) UnmarshalJSON ¶
func (c *ChildrenJobListRespStatus) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespStatus) Value ¶
func (c ChildrenJobListRespStatus) Value() string
type ChildrenJobListRespStatusEnum ¶
type ChildrenJobListRespStatusEnum struct { CREATING ChildrenJobListRespStatus CREATE_FAILED ChildrenJobListRespStatus CONFIGURATION ChildrenJobListRespStatus STARTJOBING ChildrenJobListRespStatus WAITING_FOR_START ChildrenJobListRespStatus START_JOB_FAILED ChildrenJobListRespStatus FULL_TRANSFER_STARTED ChildrenJobListRespStatus FULL_TRANSFER_FAILED ChildrenJobListRespStatus FULL_TRANSFER_COMPLETE ChildrenJobListRespStatus INCRE_TRANSFER_STARTED ChildrenJobListRespStatus INCRE_TRANSFER_FAILED ChildrenJobListRespStatus RELEASE_RESOURCE_STARTED ChildrenJobListRespStatus RELEASE_RESOURCE_FAILED ChildrenJobListRespStatus RELEASE_RESOURCE_COMPLETE ChildrenJobListRespStatus CHANGE_JOB_STARTED ChildrenJobListRespStatus CHANGE_JOB_FAILED ChildrenJobListRespStatus CHILD_TRANSFER_STARTING ChildrenJobListRespStatus CHILD_TRANSFER_STARTED ChildrenJobListRespStatus CHILD_TRANSFER_COMPLETE ChildrenJobListRespStatus CHILD_TRANSFER_FAILED ChildrenJobListRespStatus RELEASE_CHILD_TRANSFER_STARTED ChildrenJobListRespStatus RELEASE_CHILD_TRANSFER_COMPLETE ChildrenJobListRespStatus }
func GetChildrenJobListRespStatusEnum ¶
func GetChildrenJobListRespStatusEnum() ChildrenJobListRespStatusEnum
type ChildrenJobListRespTaskType ¶
type ChildrenJobListRespTaskType struct {
// contains filtered or unexported fields
}
func (ChildrenJobListRespTaskType) MarshalJSON ¶
func (c ChildrenJobListRespTaskType) MarshalJSON() ([]byte, error)
func (*ChildrenJobListRespTaskType) UnmarshalJSON ¶
func (c *ChildrenJobListRespTaskType) UnmarshalJSON(b []byte) error
func (ChildrenJobListRespTaskType) Value ¶
func (c ChildrenJobListRespTaskType) Value() string
type ChildrenJobListRespTaskTypeEnum ¶
type ChildrenJobListRespTaskTypeEnum struct { FULL_TRANS ChildrenJobListRespTaskType FULL_INCR_TRANS ChildrenJobListRespTaskType INCR_TRANS ChildrenJobListRespTaskType }
func GetChildrenJobListRespTaskTypeEnum ¶
func GetChildrenJobListRespTaskTypeEnum() ChildrenJobListRespTaskTypeEnum
type CleanAlarmsRequest ¶ added in v0.1.117
type CleanAlarmsRequest struct { // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` // DDL序列号。 AlarmId string `json:"alarm_id"` }
CleanAlarmsRequest Request Object
func (CleanAlarmsRequest) String ¶ added in v0.1.117
func (o CleanAlarmsRequest) String() string
type CleanAlarmsResponse ¶ added in v0.1.117
type CleanAlarmsResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CleanAlarmsResponse Response Object
func (CleanAlarmsResponse) String ¶ added in v0.1.117
func (o CleanAlarmsResponse) String() string
type CloneJobReq ¶ added in v0.1.49
type CloneJobReq struct { // 被克隆任务ID。 JobId string `json:"job_id"` // 克隆任务名称。名称在4位到50位之间,必须以字母开头,可以包含字母、数字、中划线或下划线,不能包含其他特殊字符,任务名称不能重复。 Name string `json:"name"` // 任务版本号,新UX任务为2.0。默认为空,即克隆老任务。 TaskVersion *CloneJobReqTaskVersion `json:"task_version,omitempty"` }
CloneJobReq 克隆任务请求体。
func (CloneJobReq) String ¶ added in v0.1.49
func (o CloneJobReq) String() string
type CloneJobReqTaskVersion ¶ added in v0.1.49
type CloneJobReqTaskVersion struct {
// contains filtered or unexported fields
}
func (CloneJobReqTaskVersion) MarshalJSON ¶ added in v0.1.49
func (c CloneJobReqTaskVersion) MarshalJSON() ([]byte, error)
func (*CloneJobReqTaskVersion) UnmarshalJSON ¶ added in v0.1.49
func (c *CloneJobReqTaskVersion) UnmarshalJSON(b []byte) error
func (CloneJobReqTaskVersion) Value ¶ added in v0.1.49
func (c CloneJobReqTaskVersion) Value() string
type CloneJobReqTaskVersionEnum ¶ added in v0.1.49
type CloneJobReqTaskVersionEnum struct {
E_2_0 CloneJobReqTaskVersion
}
func GetCloneJobReqTaskVersionEnum ¶ added in v0.1.49
func GetCloneJobReqTaskVersionEnum() CloneJobReqTaskVersionEnum
type CloudBaseInfo ¶
type CloudBaseInfo struct { // 区域ID,当数据库实例类型为ecs(华为云ECS自建数据库),cloud(华为云数据库)时为必填项。获取方法请参见地区和终端节点。 注意:当该Region下存在子项目时,Region ID为区域项目ID与子项目ID,由“_”下划线拼接,例如:cn-north-4_abc。 Region string `json:"region"` // 租户在某一Region下的Project ID。 获取方法请参见获取项目ID。 ProjectId string `json:"project_id"` // 数据库所在可用分区(AZ)名称。 AzCode *string `json:"az_code,omitempty"` }
CloudBaseInfo 数据库实例所在Region,项目等信息,当数据库实例类型为ecs(华为云ECS自建数据库),cloud(华为云数据库)时为必填项。
func (CloudBaseInfo) String ¶
func (o CloudBaseInfo) String() string
type CloudVpcInfo ¶
type CloudVpcInfo struct { // 数据库实例所在的虚拟私有云ID,获取方法如下: 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询VPC列表。 VpcId string `json:"vpc_id"` // 数据库实例所在子网ID,获取方法如下: 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询子网列表。 SubnetId string `json:"subnet_id"` // 数据库实例所在的安全组ID,获取方法如下: 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询安全组列表。 SecurityGroupId *string `json:"security_group_id,omitempty"` }
CloudVpcInfo 数据库实例所在VPC,子网,安全组等信息,当数据库实例类型为ecs(华为云ECS自建数据库),cloud(华为云数据库)时为必填项。
func (CloudVpcInfo) String ¶
func (o CloudVpcInfo) String() string
type CollectColumnsRequest ¶ added in v0.1.58
type CollectColumnsRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *CollectColumnsRequestXLanguage `json:"X-Language,omitempty"` Body *QueryColumnReq `json:"body,omitempty"` }
CollectColumnsRequest Request Object
func (CollectColumnsRequest) String ¶ added in v0.1.58
func (o CollectColumnsRequest) String() string
type CollectColumnsRequestXLanguage ¶ added in v0.1.58
type CollectColumnsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CollectColumnsRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c CollectColumnsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CollectColumnsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *CollectColumnsRequestXLanguage) UnmarshalJSON(b []byte) error
func (CollectColumnsRequestXLanguage) Value ¶ added in v0.1.58
func (c CollectColumnsRequestXLanguage) Value() string
type CollectColumnsRequestXLanguageEnum ¶ added in v0.1.58
type CollectColumnsRequestXLanguageEnum struct { EN_US CollectColumnsRequestXLanguage ZH_CN CollectColumnsRequestXLanguage }
func GetCollectColumnsRequestXLanguageEnum ¶ added in v0.1.58
func GetCollectColumnsRequestXLanguageEnum() CollectColumnsRequestXLanguageEnum
type CollectColumnsResponse ¶ added in v0.1.58
type CollectColumnsResponse struct { // 查询结果id Id *string `json:"id,omitempty"` // 查询状态 pending:处理中 failed:失败 success:成功 Status *CollectColumnsResponseStatus `json:"status,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
CollectColumnsResponse Response Object
func (CollectColumnsResponse) String ¶ added in v0.1.58
func (o CollectColumnsResponse) String() string
type CollectColumnsResponseStatus ¶ added in v0.1.58
type CollectColumnsResponseStatus struct {
// contains filtered or unexported fields
}
func (CollectColumnsResponseStatus) MarshalJSON ¶ added in v0.1.58
func (c CollectColumnsResponseStatus) MarshalJSON() ([]byte, error)
func (*CollectColumnsResponseStatus) UnmarshalJSON ¶ added in v0.1.58
func (c *CollectColumnsResponseStatus) UnmarshalJSON(b []byte) error
func (CollectColumnsResponseStatus) Value ¶ added in v0.1.58
func (c CollectColumnsResponseStatus) Value() string
type CollectColumnsResponseStatusEnum ¶ added in v0.1.58
type CollectColumnsResponseStatusEnum struct { PENDING CollectColumnsResponseStatus FAILED CollectColumnsResponseStatus SUCCESS CollectColumnsResponseStatus }
func GetCollectColumnsResponseStatusEnum ¶ added in v0.1.58
func GetCollectColumnsResponseStatusEnum() CollectColumnsResponseStatusEnum
type CollectDbObjectsAsyncRequest ¶ added in v0.1.21
type CollectDbObjectsAsyncRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *CollectDbObjectsAsyncRequestXLanguage `json:"X-Language,omitempty"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` // 查询对象信息类型。 取值: - source:查询源库对象信息。 - modified:查询已选择的(已同步的和未下发的)对象信息。 - synchronized:查询已同步的(已下发的)对象信息 , 使用场景在任务处于全量中或者增量中。 Type CollectDbObjectsAsyncRequestType `json:"type"` // 是否强制刷新。 取值: - true:是,表示从源库重新查询。 - false:否,表示从已缓存中数据查询。 IsRefresh *bool `json:"is_refresh,omitempty"` // 查询指定库的信息。 DbNames *[]string `json:"db_names,omitempty"` }
CollectDbObjectsAsyncRequest Request Object
func (CollectDbObjectsAsyncRequest) String ¶ added in v0.1.21
func (o CollectDbObjectsAsyncRequest) String() string
type CollectDbObjectsAsyncRequestType ¶ added in v0.1.21
type CollectDbObjectsAsyncRequestType struct {
// contains filtered or unexported fields
}
func (CollectDbObjectsAsyncRequestType) MarshalJSON ¶ added in v0.1.21
func (c CollectDbObjectsAsyncRequestType) MarshalJSON() ([]byte, error)
func (*CollectDbObjectsAsyncRequestType) UnmarshalJSON ¶ added in v0.1.21
func (c *CollectDbObjectsAsyncRequestType) UnmarshalJSON(b []byte) error
func (CollectDbObjectsAsyncRequestType) Value ¶ added in v0.1.21
func (c CollectDbObjectsAsyncRequestType) Value() string
type CollectDbObjectsAsyncRequestTypeEnum ¶ added in v0.1.21
type CollectDbObjectsAsyncRequestTypeEnum struct { SOURCE CollectDbObjectsAsyncRequestType MODIFIED CollectDbObjectsAsyncRequestType SYNCHRONIZED CollectDbObjectsAsyncRequestType }
func GetCollectDbObjectsAsyncRequestTypeEnum ¶ added in v0.1.21
func GetCollectDbObjectsAsyncRequestTypeEnum() CollectDbObjectsAsyncRequestTypeEnum
type CollectDbObjectsAsyncRequestXLanguage ¶ added in v0.1.21
type CollectDbObjectsAsyncRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CollectDbObjectsAsyncRequestXLanguage) MarshalJSON ¶ added in v0.1.21
func (c CollectDbObjectsAsyncRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CollectDbObjectsAsyncRequestXLanguage) UnmarshalJSON ¶ added in v0.1.21
func (c *CollectDbObjectsAsyncRequestXLanguage) UnmarshalJSON(b []byte) error
func (CollectDbObjectsAsyncRequestXLanguage) Value ¶ added in v0.1.21
func (c CollectDbObjectsAsyncRequestXLanguage) Value() string
type CollectDbObjectsAsyncRequestXLanguageEnum ¶ added in v0.1.21
type CollectDbObjectsAsyncRequestXLanguageEnum struct { EN_US CollectDbObjectsAsyncRequestXLanguage ZH_CN CollectDbObjectsAsyncRequestXLanguage }
func GetCollectDbObjectsAsyncRequestXLanguageEnum ¶ added in v0.1.21
func GetCollectDbObjectsAsyncRequestXLanguageEnum() CollectDbObjectsAsyncRequestXLanguageEnum
type CollectDbObjectsAsyncResponse ¶ added in v0.1.21
type CollectDbObjectsAsyncResponse struct { // 查询结果id Id *string `json:"id,omitempty"` // 查询状态 pending:处理中 failed:失败 success:成功 Status *CollectDbObjectsAsyncResponseStatus `json:"status,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
CollectDbObjectsAsyncResponse Response Object
func (CollectDbObjectsAsyncResponse) String ¶ added in v0.1.21
func (o CollectDbObjectsAsyncResponse) String() string
type CollectDbObjectsAsyncResponseStatus ¶ added in v0.1.21
type CollectDbObjectsAsyncResponseStatus struct {
// contains filtered or unexported fields
}
func (CollectDbObjectsAsyncResponseStatus) MarshalJSON ¶ added in v0.1.21
func (c CollectDbObjectsAsyncResponseStatus) MarshalJSON() ([]byte, error)
func (*CollectDbObjectsAsyncResponseStatus) UnmarshalJSON ¶ added in v0.1.21
func (c *CollectDbObjectsAsyncResponseStatus) UnmarshalJSON(b []byte) error
func (CollectDbObjectsAsyncResponseStatus) Value ¶ added in v0.1.21
func (c CollectDbObjectsAsyncResponseStatus) Value() string
type CollectDbObjectsAsyncResponseStatusEnum ¶ added in v0.1.21
type CollectDbObjectsAsyncResponseStatusEnum struct { PENDING CollectDbObjectsAsyncResponseStatus FAILED CollectDbObjectsAsyncResponseStatus SUCCESS CollectDbObjectsAsyncResponseStatus }
func GetCollectDbObjectsAsyncResponseStatusEnum ¶ added in v0.1.21
func GetCollectDbObjectsAsyncResponseStatusEnum() CollectDbObjectsAsyncResponseStatusEnum
type CollectDbObjectsInfoRequest ¶ added in v0.1.58
type CollectDbObjectsInfoRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *CollectDbObjectsInfoRequestXLanguage `json:"X-Language,omitempty"` Body *QuerySelectObjectInfoReq `json:"body,omitempty"` }
CollectDbObjectsInfoRequest Request Object
func (CollectDbObjectsInfoRequest) String ¶ added in v0.1.58
func (o CollectDbObjectsInfoRequest) String() string
type CollectDbObjectsInfoRequestXLanguage ¶ added in v0.1.58
type CollectDbObjectsInfoRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CollectDbObjectsInfoRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c CollectDbObjectsInfoRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CollectDbObjectsInfoRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *CollectDbObjectsInfoRequestXLanguage) UnmarshalJSON(b []byte) error
func (CollectDbObjectsInfoRequestXLanguage) Value ¶ added in v0.1.58
func (c CollectDbObjectsInfoRequestXLanguage) Value() string
type CollectDbObjectsInfoRequestXLanguageEnum ¶ added in v0.1.58
type CollectDbObjectsInfoRequestXLanguageEnum struct { EN_US CollectDbObjectsInfoRequestXLanguage ZH_CN CollectDbObjectsInfoRequestXLanguage }
func GetCollectDbObjectsInfoRequestXLanguageEnum ¶ added in v0.1.58
func GetCollectDbObjectsInfoRequestXLanguageEnum() CollectDbObjectsInfoRequestXLanguageEnum
type CollectDbObjectsInfoResponse ¶ added in v0.1.58
type CollectDbObjectsInfoResponse struct { // 查询结果id Id *string `json:"id,omitempty"` // 查询状态 pending:处理中 failed:失败 success:成功 Status *CollectDbObjectsInfoResponseStatus `json:"status,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
CollectDbObjectsInfoResponse Response Object
func (CollectDbObjectsInfoResponse) String ¶ added in v0.1.58
func (o CollectDbObjectsInfoResponse) String() string
type CollectDbObjectsInfoResponseStatus ¶ added in v0.1.58
type CollectDbObjectsInfoResponseStatus struct {
// contains filtered or unexported fields
}
func (CollectDbObjectsInfoResponseStatus) MarshalJSON ¶ added in v0.1.58
func (c CollectDbObjectsInfoResponseStatus) MarshalJSON() ([]byte, error)
func (*CollectDbObjectsInfoResponseStatus) UnmarshalJSON ¶ added in v0.1.58
func (c *CollectDbObjectsInfoResponseStatus) UnmarshalJSON(b []byte) error
func (CollectDbObjectsInfoResponseStatus) Value ¶ added in v0.1.58
func (c CollectDbObjectsInfoResponseStatus) Value() string
type CollectDbObjectsInfoResponseStatusEnum ¶ added in v0.1.58
type CollectDbObjectsInfoResponseStatusEnum struct { PENDING CollectDbObjectsInfoResponseStatus FAILED CollectDbObjectsInfoResponseStatus SUCCESS CollectDbObjectsInfoResponseStatus }
func GetCollectDbObjectsInfoResponseStatusEnum ¶ added in v0.1.58
func GetCollectDbObjectsInfoResponseStatusEnum() CollectDbObjectsInfoResponseStatusEnum
type CollectPositionAsyncRequest ¶ added in v0.1.64
type CollectPositionAsyncRequest struct { // 任务ID JobId string `json:"job_id"` // 请求语言类型。 XLanguage *CollectPositionAsyncRequestXLanguage `json:"X-Language,omitempty"` Body *QueryDbPositionReq `json:"body,omitempty"` }
CollectPositionAsyncRequest Request Object
func (CollectPositionAsyncRequest) String ¶ added in v0.1.64
func (o CollectPositionAsyncRequest) String() string
type CollectPositionAsyncRequestXLanguage ¶ added in v0.1.64
type CollectPositionAsyncRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CollectPositionAsyncRequestXLanguage) MarshalJSON ¶ added in v0.1.64
func (c CollectPositionAsyncRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CollectPositionAsyncRequestXLanguage) UnmarshalJSON ¶ added in v0.1.64
func (c *CollectPositionAsyncRequestXLanguage) UnmarshalJSON(b []byte) error
func (CollectPositionAsyncRequestXLanguage) Value ¶ added in v0.1.64
func (c CollectPositionAsyncRequestXLanguage) Value() string
type CollectPositionAsyncRequestXLanguageEnum ¶ added in v0.1.64
type CollectPositionAsyncRequestXLanguageEnum struct { EN_US CollectPositionAsyncRequestXLanguage ZH_CN CollectPositionAsyncRequestXLanguage }
func GetCollectPositionAsyncRequestXLanguageEnum ¶ added in v0.1.64
func GetCollectPositionAsyncRequestXLanguageEnum() CollectPositionAsyncRequestXLanguageEnum
type CollectPositionAsyncResponse ¶ added in v0.1.64
type CollectPositionAsyncResponse struct { // 查询结果id Id *string `json:"id,omitempty"` // 查询状态 pending:处理中 failed:失败 success:成功 Status *CollectPositionAsyncResponseStatus `json:"status,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
CollectPositionAsyncResponse Response Object
func (CollectPositionAsyncResponse) String ¶ added in v0.1.64
func (o CollectPositionAsyncResponse) String() string
type CollectPositionAsyncResponseStatus ¶ added in v0.1.64
type CollectPositionAsyncResponseStatus struct {
// contains filtered or unexported fields
}
func (CollectPositionAsyncResponseStatus) MarshalJSON ¶ added in v0.1.64
func (c CollectPositionAsyncResponseStatus) MarshalJSON() ([]byte, error)
func (*CollectPositionAsyncResponseStatus) UnmarshalJSON ¶ added in v0.1.64
func (c *CollectPositionAsyncResponseStatus) UnmarshalJSON(b []byte) error
func (CollectPositionAsyncResponseStatus) Value ¶ added in v0.1.64
func (c CollectPositionAsyncResponseStatus) Value() string
type CollectPositionAsyncResponseStatusEnum ¶ added in v0.1.64
type CollectPositionAsyncResponseStatusEnum struct { PENDING CollectPositionAsyncResponseStatus FAILED CollectPositionAsyncResponseStatus SUCCESS CollectPositionAsyncResponseStatus }
func GetCollectPositionAsyncResponseStatusEnum ¶ added in v0.1.64
func GetCollectPositionAsyncResponseStatusEnum() CollectPositionAsyncResponseStatusEnum
type ColumnObject ¶
type ColumnObject struct { // 该列在实时同步场景下的类型。取值: - config:当该列作为数据过滤高级设置的关联列时,需要填写,同时如果该列是主建或优化查询所需的索引,则需要填写primary_key_for_data_filtering或index_for_data_filtering。(注意:是否同步该列到目标库由“filtered”属性控制,与库级、模式级、表级控制方式不同。) SyncType *string `json:"sync_type,omitempty"` // 该列是否在数据过滤高级设置场景下为主键,如果是主建则填该列列名,否则不填。 PrimaryKeyForDataFiltering *string `json:"primary_key_for_data_filtering,omitempty"` // 优化查询所需的索引,将会为缓存数据增加索引,不会影响源表,当该列作为数据过滤高级设置的关联索引时,需要填写,否则不填。 IndexForDataFiltering *string `json:"index_for_data_filtering,omitempty"` // 该列在目标库的名称(列名映射),当该列为“附加列”时须与数据库表级对象中列名保持一致。 Name *string `json:"name,omitempty"` // 该列字段的数据类型。 列过滤:填写源列字段的数据类型。 附加列:新填充的列指定字段的数据类型,根据不同操作类型来决定取值范围与约束。取值: - 以默认值方式,支持:int,long,varchar(256),datetime,timestamp。 - 以create_time为列,支持:long,datetime,timestamp。 - 以update_time为列,支持:long,datetime,timestamp。 - 以表达式为列,支持:varchar(256),且列值仅为:concat(__current_database, '@', __current_table) - 以serverName@database@table为列,支持:varchar(256)。 Type *string `json:"type,omitempty"` // 该列是否在列映射场景下为主键,如果是主建则填PRI,否则填空。 PrimaryKeyForColumnFiltering *string `json:"primary_key_for_column_filtering,omitempty"` // 该列是否进列过滤,不能与附加列additional同时使用。取值: - true:表示同步该列。 - false:表示过滤该列不同步。 Filtered *bool `json:"filtered,omitempty"` // 该列是否为附加列,当该列为附加列时:name必须与表级对象中列名一致,并且不能与列过滤filtered同时使用。 Additional *bool `json:"additional,omitempty"` // 操作类型,以特定的操作类型填充新加的列。取值: - 以默认值方式:\"operation_type\":\"ADDITIONALCOLUMN,default_value\" - 以create_time为列:\"operation_type\":\"ADDITIONALCOLUMN,create_time\" - 以update_time为列:\"operation_type\":\"ADDITIONALCOLUMN,update_time\" - 以表达式为列:\"operation_type\":\"ADDITIONALCOLUMN,expression\" - 以serverName@database@table为列:\"operation_type\":\"ADDITIONALCOLUMN,server_database_table\" OperationType *string `json:"operation_type,omitempty"` // 附加列的值。约束: - 当操作类型仅“以默认值方式”,“以serverName@database@table为列”时,才支持输入对应字段类型的值。 - 当操作类型为“以表达式为列”时,该字段为固定值\"concat(__current_database, '@', __current_table)\",不需要填写。 Value *string `json:"value,omitempty"` }
ColumnObject 数据库列信息。
func (ColumnObject) String ¶
func (o ColumnObject) String() string
type CommitAsyncJobRequest ¶
type CommitAsyncJobRequest struct { // 批量异步创建的任务ID,由创建批量异步任务接口返回。 AsyncJobId string `json:"async_job_id"` // 请求语言类型。 XLanguage *CommitAsyncJobRequestXLanguage `json:"X-Language,omitempty"` }
CommitAsyncJobRequest Request Object
func (CommitAsyncJobRequest) String ¶
func (o CommitAsyncJobRequest) String() string
type CommitAsyncJobRequestXLanguage ¶
type CommitAsyncJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CommitAsyncJobRequestXLanguage) MarshalJSON ¶
func (c CommitAsyncJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CommitAsyncJobRequestXLanguage) UnmarshalJSON ¶
func (c *CommitAsyncJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (CommitAsyncJobRequestXLanguage) Value ¶
func (c CommitAsyncJobRequestXLanguage) Value() string
type CommitAsyncJobRequestXLanguageEnum ¶
type CommitAsyncJobRequestXLanguageEnum struct { EN_US CommitAsyncJobRequestXLanguage ZH_CN CommitAsyncJobRequestXLanguage }
func GetCommitAsyncJobRequestXLanguageEnum ¶
func GetCommitAsyncJobRequestXLanguageEnum() CommitAsyncJobRequestXLanguageEnum
type CommitAsyncJobResponse ¶
type CommitAsyncJobResponse struct { Job *AsyncCommitJobResp `json:"job,omitempty"` HttpStatusCode int `json:"-"` }
CommitAsyncJobResponse Response Object
func (CommitAsyncJobResponse) String ¶
func (o CommitAsyncJobResponse) String() string
type CompareJobInfo ¶
type CompareJobInfo struct { // 对比任务ID。 Id *string `json:"id,omitempty"` // 对比类型。 Type *string `json:"type,omitempty"` // 开始时间。 StartTime *string `json:"start_time,omitempty"` // 结束时间。 EndTime *string `json:"end_time,omitempty"` // 对比任务的状态。取值: - RUNNING:运行中。 - WAITING_FOR_RUNNING:等待启动中。 - SUCCESSFUL:完成。 - FAILED:失败。 - CANCELLED:已取消。 - TIMEOUT_INTERRUPT:超时中断。 - FULL_DOING:全量校验中。 - INCRE_DOING:增量校验中。 Status *CompareJobInfoStatus `json:"status,omitempty"` // 对比计算资源。 ComputeType *string `json:"compute_type,omitempty"` // 导出比对结果状态。 ExportStatus *string `json:"export_status,omitempty"` // 导出比对结果有效期剩余时间。 ReportRemainSeconds *int64 `json:"report_remain_seconds,omitempty"` // 对比任务的标签。 CompareJobTag map[string]string `json:"compare_job_tag,omitempty"` // 对比任务选项。 Options map[string]string `json:"options,omitempty"` // 失败原因。 ErrorMsg *string `json:"error_msg,omitempty"` }
CompareJobInfo 对比列表信息体。
func (CompareJobInfo) String ¶
func (o CompareJobInfo) String() string
type CompareJobInfoStatus ¶
type CompareJobInfoStatus struct {
// contains filtered or unexported fields
}
func (CompareJobInfoStatus) MarshalJSON ¶
func (c CompareJobInfoStatus) MarshalJSON() ([]byte, error)
func (*CompareJobInfoStatus) UnmarshalJSON ¶
func (c *CompareJobInfoStatus) UnmarshalJSON(b []byte) error
func (CompareJobInfoStatus) Value ¶
func (c CompareJobInfoStatus) Value() string
type CompareJobInfoStatusEnum ¶
type CompareJobInfoStatusEnum struct { RUNNING CompareJobInfoStatus WAITING_FOR_RUNNING CompareJobInfoStatus SUCCESSFUL CompareJobInfoStatus FAILED CompareJobInfoStatus CANCELLED CompareJobInfoStatus TIMEOUT_INTERRUPT CompareJobInfoStatus FULL_DOING CompareJobInfoStatus INCRE_DOING CompareJobInfoStatus }
func GetCompareJobInfoStatusEnum ¶
func GetCompareJobInfoStatusEnum() CompareJobInfoStatusEnum
type CompareResultInfo ¶
type CompareResultInfo struct { ObjectsCompareOverviewInfo *ObjectsCompareTaskInfo `json:"objects_compare_overview_info,omitempty"` // 对象级对比详情信息体。 ObjectsCompareDetailInfos *[]ObjectsCompareDetailInfo `json:"objects_compare_detail_infos,omitempty"` // 数据对比任务列表。 DataCompareTaskList *[]CompareJobInfo `json:"data_compare_task_list,omitempty"` // 行数对比概览信息体。 LineCompareOverviewInfos *[]LineCompareOverviewInfo `json:"line_compare_overview_infos,omitempty"` // 行数对比任务表级详情。 LineCompareDetailInfos *[]TableLineCompareDetailInfo `json:"line_compare_detail_infos,omitempty"` // 内容对比概览信息体。 ContentCompareOverviewInfos *[]ContentCompareOverviewInfo `json:"content_compare_overview_infos,omitempty"` // 内容对比详情信息体。 ContentCompareDetailInfos *[]ContentCompareDetailInfo `json:"content_compare_detail_infos,omitempty"` ContentDiffDetailInfo *ContentDiffDetailInfo `json:"content_diff_detail_info,omitempty"` }
CompareResultInfo 查询对比任务信息体。
func (CompareResultInfo) String ¶
func (o CompareResultInfo) String() string
type CompareTaskParams ¶
type CompareTaskParams struct { // 取消对比任务必填。 CompareTaskId *string `json:"compare_task_id,omitempty"` // 对比任务模式。取值: - object:对象对比。 - lines:行数对比。 - contents:内容对比。 Type *CompareTaskParamsType `json:"type,omitempty"` // 定时启动时间,时间戳格式。 StartTime *string `json:"start_time,omitempty"` // 对比策略。 Option map[string]string `json:"option,omitempty"` // 对比选择对象。 DbObject map[string]DatabaseObject `json:"db_object,omitempty"` // 更新数据加工规则请求体 DataProcessInfo *[]DataProcessInfo `json:"data_process_info,omitempty"` }
CompareTaskParams 创建或取消对比任务信息体。
func (CompareTaskParams) String ¶
func (o CompareTaskParams) String() string
type CompareTaskParamsType ¶
type CompareTaskParamsType struct {
// contains filtered or unexported fields
}
func (CompareTaskParamsType) MarshalJSON ¶
func (c CompareTaskParamsType) MarshalJSON() ([]byte, error)
func (*CompareTaskParamsType) UnmarshalJSON ¶
func (c *CompareTaskParamsType) UnmarshalJSON(b []byte) error
func (CompareTaskParamsType) Value ¶
func (c CompareTaskParamsType) Value() string
type CompareTaskParamsTypeEnum ¶
type CompareTaskParamsTypeEnum struct { OBJECT CompareTaskParamsType LINES CompareTaskParamsType CONTENTS CompareTaskParamsType }
func GetCompareTaskParamsTypeEnum ¶
func GetCompareTaskParamsTypeEnum() CompareTaskParamsTypeEnum
type ConnectionConfig ¶ added in v0.1.117
type ConnectionConfig struct { // 驱动程序名称。 DriverName *string `json:"driver_name,omitempty"` }
func (ConnectionConfig) String ¶ added in v0.1.117
func (o ConnectionConfig) String() string
type ConnectionManagement ¶ added in v0.1.68
type ConnectionManagement struct {
DriverManagement *DriverManagement `json:"driver_management,omitempty"`
}
func (ConnectionManagement) String ¶ added in v0.1.68
func (o ConnectionManagement) String() string
type ConnectionResp ¶ added in v0.1.117
type ConnectionResp struct { // 连接ID。 ConnectionId string `json:"connection_id"` // 连接名称。 Name string `json:"name"` // 连接创建时间,格式为时间戳。 CreateTime int64 `json:"create_time"` // 连接类型。 DbType string `json:"db_type"` Config *ConnectionConfig `json:"config,omitempty"` Endpoint *BaseEndpoint `json:"endpoint"` Vpc *CloudVpcInfo `json:"vpc,omitempty"` Ssl *EndpointSslConfig `json:"ssl,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 描述。 Description *string `json:"description,omitempty"` }
ConnectionResp 连接响应体。
func (ConnectionResp) String ¶ added in v0.1.117
func (o ConnectionResp) String() string
type ContentCompareDetailInfo ¶
type ContentCompareDetailInfo struct { // 源库库名。 SourceDb *string `json:"source_db,omitempty"` // 目标库库名。 TargetDb *string `json:"target_db,omitempty"` // 源库表名。 SourceTableName *string `json:"source_table_name,omitempty"` // 目标库表名。 TargetTableName *string `json:"target_table_name,omitempty"` // 源库表行数。 SourceRowNum *int64 `json:"source_row_num,omitempty"` // 目标库表行数。 TargetRowNum *int64 `json:"target_row_num,omitempty"` // 对比不一致行数。 DifferenceRowNum *int64 `json:"difference_row_num,omitempty"` // 行对比结果。取值: - true:一致。 - false:不一致。 LineCompareResult *bool `json:"line_compare_result,omitempty"` // 内容对比结果。取值: - true:一致。 - false:不一致。 ContentCompareResult *bool `json:"content_compare_result,omitempty"` // 失败原因。 Message *string `json:"message,omitempty"` }
ContentCompareDetailInfo 内容对比详情信息体。
func (ContentCompareDetailInfo) String ¶
func (o ContentCompareDetailInfo) String() string
type ContentCompareOverviewInfo ¶
type ContentCompareOverviewInfo struct { // 源库库名。 SourceDb *string `json:"source_db,omitempty"` // 目标库库名。 TargetDb *string `json:"target_db,omitempty"` // 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE:命令已下发,等待对比结果。 - CANCELED:已取消。 Status *ContentCompareOverviewInfoStatus `json:"status,omitempty"` // 对比结果。 CompareResult *bool `json:"compare_result,omitempty"` }
ContentCompareOverviewInfo 内容对比概览信息体。
func (ContentCompareOverviewInfo) String ¶
func (o ContentCompareOverviewInfo) String() string
type ContentCompareOverviewInfoStatus ¶
type ContentCompareOverviewInfoStatus struct {
// contains filtered or unexported fields
}
func (ContentCompareOverviewInfoStatus) MarshalJSON ¶
func (c ContentCompareOverviewInfoStatus) MarshalJSON() ([]byte, error)
func (*ContentCompareOverviewInfoStatus) UnmarshalJSON ¶
func (c *ContentCompareOverviewInfoStatus) UnmarshalJSON(b []byte) error
func (ContentCompareOverviewInfoStatus) Value ¶
func (c ContentCompareOverviewInfoStatus) Value() string
type ContentCompareOverviewInfoStatusEnum ¶
type ContentCompareOverviewInfoStatusEnum struct { CONSISTENT ContentCompareOverviewInfoStatus INCONSISTENT ContentCompareOverviewInfoStatus COMPARING ContentCompareOverviewInfoStatus WAITING_FOR_COMPARISON ContentCompareOverviewInfoStatus FAILED_TO_COMPARE ContentCompareOverviewInfoStatus TARGET_DB_NOT_EXIST ContentCompareOverviewInfoStatus CAN_NOT_COMPARE ContentCompareOverviewInfoStatus WAIT_FOR_COMPARE ContentCompareOverviewInfoStatus CANCELED ContentCompareOverviewInfoStatus }
func GetContentCompareOverviewInfoStatusEnum ¶
func GetContentCompareOverviewInfoStatusEnum() ContentCompareOverviewInfoStatusEnum
type ContentDiffDetailInfo ¶ added in v0.1.95
type ContentDiffDetailInfo struct { // 数量。 Count *int64 `json:"count,omitempty"` // 对比不一致详情:只有源库存在。 TargetMetaIsNull *int64 `json:"target_meta_is_null,omitempty"` // 对比不一致详情:只有目标库存在。 SourceMetaIsNull *int64 `json:"source_meta_is_null,omitempty"` // 对比不一致详情:源和目标端均存在。 SourceTargetMetaNotNull *int64 `json:"source_target_meta_not_null,omitempty"` // 信息列表。 ContentsInfos *[]ContentDiffDetailVo `json:"contents_infos,omitempty"` }
ContentDiffDetailInfo 内容对比不一致数据的详情。
func (ContentDiffDetailInfo) String ¶ added in v0.1.95
func (o ContentDiffDetailInfo) String() string
type ContentDiffDetailVo ¶ added in v0.1.95
type ContentDiffDetailVo struct { // 源库KEY值。 SourceKeyValue *[]string `json:"source_key_value,omitempty"` // 目标库KEY值。 TargetKeyValue *[]string `json:"target_key_value,omitempty"` // 查询源库SQL。 SourceSelectSql *string `json:"source_select_sql,omitempty"` // 查询目标库SQL。 TargetSelectSql *string `json:"target_select_sql,omitempty"` }
ContentDiffDetailVo 内容对比详情信息体。
func (ContentDiffDetailVo) String ¶ added in v0.1.95
func (o ContentDiffDetailVo) String() string
type CopyJobRequest ¶ added in v0.1.49
type CopyJobRequest struct { // 请求语言类型。 XLanguage *CopyJobRequestXLanguage `json:"X-Language,omitempty"` Body *CloneJobReq `json:"body,omitempty"` }
CopyJobRequest Request Object
func (CopyJobRequest) String ¶ added in v0.1.49
func (o CopyJobRequest) String() string
type CopyJobRequestXLanguage ¶ added in v0.1.49
type CopyJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CopyJobRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c CopyJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CopyJobRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *CopyJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (CopyJobRequestXLanguage) Value ¶ added in v0.1.49
func (c CopyJobRequestXLanguage) Value() string
type CopyJobRequestXLanguageEnum ¶ added in v0.1.49
type CopyJobRequestXLanguageEnum struct { EN_US CopyJobRequestXLanguage ZH_CN CopyJobRequestXLanguage }
func GetCopyJobRequestXLanguageEnum ¶ added in v0.1.49
func GetCopyJobRequestXLanguageEnum() CopyJobRequestXLanguageEnum
type CopyJobResponse ¶ added in v0.1.49
type CopyJobResponse struct { // 任务ID。 Id *string `json:"id,omitempty"` // 任务名称。 Name *string `json:"name,omitempty"` // 任务状态。 Status *string `json:"status,omitempty"` // 任务创建时间。 CreateTime *string `json:"create_time,omitempty"` // 是否为克隆任务。 IsCloneJob *string `json:"is_clone_job,omitempty"` HttpStatusCode int `json:"-"` }
CopyJobResponse Response Object
func (CopyJobResponse) String ¶ added in v0.1.49
func (o CopyJobResponse) String() string
type CountInstanceByTagsRequest ¶ added in v0.1.77
type CountInstanceByTagsRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:录制回放 ResourceType CountInstanceByTagsRequestResourceType `json:"resource_type"` // 请求语言类型。 XLanguage *CountInstanceByTagsRequestXLanguage `json:"X-Language,omitempty"` Body *QueryInstanceByTagReq `json:"body,omitempty"` }
CountInstanceByTagsRequest Request Object
func (CountInstanceByTagsRequest) String ¶ added in v0.1.77
func (o CountInstanceByTagsRequest) String() string
type CountInstanceByTagsRequestResourceType ¶ added in v0.1.77
type CountInstanceByTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (CountInstanceByTagsRequestResourceType) MarshalJSON ¶ added in v0.1.77
func (c CountInstanceByTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*CountInstanceByTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.77
func (c *CountInstanceByTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (CountInstanceByTagsRequestResourceType) Value ¶ added in v0.1.77
func (c CountInstanceByTagsRequestResourceType) Value() string
type CountInstanceByTagsRequestResourceTypeEnum ¶ added in v0.1.77
type CountInstanceByTagsRequestResourceTypeEnum struct { MIGRATION CountInstanceByTagsRequestResourceType SYNC CountInstanceByTagsRequestResourceType CLOUD_DATA_GUARD CountInstanceByTagsRequestResourceType SUBSCRIPTION CountInstanceByTagsRequestResourceType BACKUP_MIGRATION CountInstanceByTagsRequestResourceType REPLAY CountInstanceByTagsRequestResourceType }
func GetCountInstanceByTagsRequestResourceTypeEnum ¶ added in v0.1.77
func GetCountInstanceByTagsRequestResourceTypeEnum() CountInstanceByTagsRequestResourceTypeEnum
type CountInstanceByTagsRequestXLanguage ¶ added in v0.1.77
type CountInstanceByTagsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CountInstanceByTagsRequestXLanguage) MarshalJSON ¶ added in v0.1.77
func (c CountInstanceByTagsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CountInstanceByTagsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.77
func (c *CountInstanceByTagsRequestXLanguage) UnmarshalJSON(b []byte) error
func (CountInstanceByTagsRequestXLanguage) Value ¶ added in v0.1.77
func (c CountInstanceByTagsRequestXLanguage) Value() string
type CountInstanceByTagsRequestXLanguageEnum ¶ added in v0.1.77
type CountInstanceByTagsRequestXLanguageEnum struct { EN_US CountInstanceByTagsRequestXLanguage ZH_CN CountInstanceByTagsRequestXLanguage }
func GetCountInstanceByTagsRequestXLanguageEnum ¶ added in v0.1.77
func GetCountInstanceByTagsRequestXLanguageEnum() CountInstanceByTagsRequestXLanguageEnum
type CountInstanceByTagsResponse ¶ added in v0.1.77
type CountInstanceByTagsResponse struct { // 总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
CountInstanceByTagsResponse Response Object
func (CountInstanceByTagsResponse) String ¶ added in v0.1.77
func (o CountInstanceByTagsResponse) String() string
type CreateConnectionReq ¶ added in v0.1.117
type CreateConnectionReq struct { // 连接名称。 约束:连接名称在4位到50位之间,不区分大小写,可以包含字母、数字、中划线或下划线,不能包括其他特殊字符。 Name string `json:"name"` // 连接类型,包含: - mysql - postgresql - mongodb - oracle DbType CreateConnectionReqDbType `json:"db_type"` Config *ConnectionConfig `json:"config,omitempty"` // 描述,长度不能超过255个字符。 Description *string `json:"description,omitempty"` Endpoint *BaseEndpoint `json:"endpoint"` Vpc *CloudVpcInfo `json:"vpc,omitempty"` Ssl *EndpointSslConfig `json:"ssl,omitempty"` Cloud *CloudBaseInfo `json:"cloud,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
CreateConnectionReq 创建连接请求体。
func (CreateConnectionReq) String ¶ added in v0.1.117
func (o CreateConnectionReq) String() string
type CreateConnectionReqDbType ¶ added in v0.1.117
type CreateConnectionReqDbType struct {
// contains filtered or unexported fields
}
func (CreateConnectionReqDbType) MarshalJSON ¶ added in v0.1.117
func (c CreateConnectionReqDbType) MarshalJSON() ([]byte, error)
func (*CreateConnectionReqDbType) UnmarshalJSON ¶ added in v0.1.117
func (c *CreateConnectionReqDbType) UnmarshalJSON(b []byte) error
func (CreateConnectionReqDbType) Value ¶ added in v0.1.117
func (c CreateConnectionReqDbType) Value() string
type CreateConnectionReqDbTypeEnum ¶ added in v0.1.117
type CreateConnectionReqDbTypeEnum struct { MYSQL CreateConnectionReqDbType POSTGRESQL CreateConnectionReqDbType MONGODB CreateConnectionReqDbType ORACLE CreateConnectionReqDbType }
func GetCreateConnectionReqDbTypeEnum ¶ added in v0.1.117
func GetCreateConnectionReqDbTypeEnum() CreateConnectionReqDbTypeEnum
type CreateConnectionRequest ¶ added in v0.1.117
type CreateConnectionRequest struct { // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` Body *CreateConnectionReq `json:"body,omitempty"` }
CreateConnectionRequest Request Object
func (CreateConnectionRequest) String ¶ added in v0.1.117
func (o CreateConnectionRequest) String() string
type CreateConnectionResponse ¶ added in v0.1.117
type CreateConnectionResponse struct { // 连接ID。 ConnectionId *string `json:"connection_id,omitempty"` // 连接名称。 Name *string `json:"name,omitempty"` // 连接创建时间,格式为时间戳。 CreateTime *int64 `json:"create_time,omitempty"` // 连接类型。 DbType *string `json:"db_type,omitempty"` Config *ConnectionConfig `json:"config,omitempty"` Endpoint *BaseEndpoint `json:"endpoint,omitempty"` Vpc *CloudVpcInfo `json:"vpc,omitempty"` Ssl *EndpointSslConfig `json:"ssl,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 描述。 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
CreateConnectionResponse Response Object
func (CreateConnectionResponse) String ¶ added in v0.1.117
func (o CreateConnectionResponse) String() string
type CreateJobReq ¶
type CreateJobReq struct { BaseInfo *JobBaseInfo `json:"base_info"` // 创建任务数据库信息体。 SourceEndpoint []JobEndpointInfo `json:"source_endpoint"` // 创建任务数据库信息体。 TargetEndpoint []JobEndpointInfo `json:"target_endpoint"` PeriodOrder *PeriodOrderInfo `json:"period_order,omitempty"` NodeInfo *JobNodeInfo `json:"node_info"` // 指定公网IP的信息 PublicIpList *[]PublicIpConfig `json:"public_ip_list,omitempty"` }
CreateJobReq 创建单个任务请求体。
func (CreateJobReq) String ¶
func (o CreateJobReq) String() string
type CreateJobRequest ¶
type CreateJobRequest struct { // 请求语言类型。 XLanguage *CreateJobRequestXLanguage `json:"X-Language,omitempty"` Body *SingleCreateJobReq `json:"body,omitempty"` }
CreateJobRequest Request Object
func (CreateJobRequest) String ¶
func (o CreateJobRequest) String() string
type CreateJobRequestXLanguage ¶
type CreateJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateJobRequestXLanguage) MarshalJSON ¶
func (c CreateJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateJobRequestXLanguage) UnmarshalJSON ¶
func (c *CreateJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreateJobRequestXLanguage) Value ¶
func (c CreateJobRequestXLanguage) Value() string
type CreateJobRequestXLanguageEnum ¶
type CreateJobRequestXLanguageEnum struct { EN_US CreateJobRequestXLanguage ZH_CN CreateJobRequestXLanguage }
func GetCreateJobRequestXLanguageEnum ¶
func GetCreateJobRequestXLanguageEnum() CreateJobRequestXLanguageEnum
type CreateJobResponse ¶
type CreateJobResponse struct { // 任务ID。 Id *string `json:"id,omitempty"` // 任务名称。 Name *string `json:"name,omitempty"` // 任务状态。 Status *string `json:"status,omitempty"` // 任务创建时间。 CreateTime *string `json:"create_time,omitempty"` // 是否为克隆任务。 IsCloneJob *string `json:"is_clone_job,omitempty"` HttpStatusCode int `json:"-"` }
CreateJobResponse Response Object
func (CreateJobResponse) String ¶
func (o CreateJobResponse) String() string
type CreateOfflineTaskReq ¶ added in v0.1.117
type CreateOfflineTaskReq struct { BaseInfo *BackupJobBaseInfo `json:"base_info"` TargetDbInfo *BackupJobEndpointInfo `json:"target_db_info"` BackupInfo *BackupInfo `json:"backup_info"` Options *BackupRestoreOptionInfo `json:"options"` }
CreateOfflineTaskReq 创建备份迁移任务请求。
func (CreateOfflineTaskReq) String ¶ added in v0.1.117
func (o CreateOfflineTaskReq) String() string
type CreateReplicationJobRequest ¶ added in v0.1.117
type CreateReplicationJobRequest struct { // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` Body *CreateOfflineTaskReq `json:"body,omitempty"` }
CreateReplicationJobRequest Request Object
func (CreateReplicationJobRequest) String ¶ added in v0.1.117
func (o CreateReplicationJobRequest) String() string
type CreateReplicationJobResponse ¶ added in v0.1.117
type CreateReplicationJobResponse struct { // 任务ID。 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateReplicationJobResponse Response Object
func (CreateReplicationJobResponse) String ¶ added in v0.1.117
func (o CreateReplicationJobResponse) String() string
type CustomizedDns ¶ added in v0.1.77
type CustomizedDns struct { // 是否设置客户自定义DNS。 IsSetDns bool `json:"is_set_dns"` // 设置客户自定义DNS的行为。 - add:新增客户自定义DNS IP。 - keep:保持客户自定义DNS IP。 - update:更新客户自定义DNS IP(当DNS IP变化时更新生效)。 - recover:还原系统默认DNS IP(还原时可能会导致域名解析失败,请谨慎操作)。 SetDnsAction CustomizedDnsSetDnsAction `json:"set_dns_action"` // 设置客户自定义DNS IP。 DnsIp string `json:"dns_ip"` }
CustomizedDns 客户自定义DNS服务。
func (CustomizedDns) String ¶ added in v0.1.77
func (o CustomizedDns) String() string
type CustomizedDnsSetDnsAction ¶ added in v0.1.77
type CustomizedDnsSetDnsAction struct {
// contains filtered or unexported fields
}
func (CustomizedDnsSetDnsAction) MarshalJSON ¶ added in v0.1.77
func (c CustomizedDnsSetDnsAction) MarshalJSON() ([]byte, error)
func (*CustomizedDnsSetDnsAction) UnmarshalJSON ¶ added in v0.1.77
func (c *CustomizedDnsSetDnsAction) UnmarshalJSON(b []byte) error
func (CustomizedDnsSetDnsAction) Value ¶ added in v0.1.77
func (c CustomizedDnsSetDnsAction) Value() string
type CustomizedDnsSetDnsActionEnum ¶ added in v0.1.77
type CustomizedDnsSetDnsActionEnum struct { ADD CustomizedDnsSetDnsAction KEEP CustomizedDnsSetDnsAction UPDATE CustomizedDnsSetDnsAction RECOVER CustomizedDnsSetDnsAction }
func GetCustomizedDnsSetDnsActionEnum ¶ added in v0.1.77
func GetCustomizedDnsSetDnsActionEnum() CustomizedDnsSetDnsActionEnum
type DataFilteringCondition ¶ added in v0.1.58
type DataFilteringCondition struct { // 过滤条件 当filtering_type是configConditionalFilter时, value默认填写config 当filtering_type是contentConditionalFilter时, value默认填写过滤条件 注意: 每张表仅支持添加一个校验规则。 数据过滤每次最多支持500张表。 过滤表达式不支持使用某种数据库引擎特有的package、函数、变量、常量等写法,须使用通用SQL标准。请直接输入SQL语句中WHERE之后的部分(不包含WHERE和分号,例如:sid > 3 and sname like \"G %\"),最多支持输入512个字符。 过滤条件填写的SQL语句中,关键字需要用反引号,datatime类型(包含日期和时间)需要用单引号,例如:update > '2022-07-13 00:00:00' and age >10。 不支持对LOB字段设置过滤条件,如CLOB、BLOB、BYTEA等大字段类型。 不支持库名、表名带有换行符的对象设置过滤规则。 建议不要对非精确类型字段设置过滤条件,如FLOAT、DECIMAL、DOUBLE等。 建议不要对带有特殊字符的字段设置过滤条件。 不建议使用非幂等表达式或函数作为数据加工条件,如SYSTIMESTAMP,SYSDATE等,因其每次调用返回的结果可能会有差异,导致达不到预期。 Value *string `json:"value,omitempty"` // 过滤条件类型 contentConditionalFilter: 简单条件过滤 configConditionalFilter: 关联表过滤 FilteringType *DataFilteringConditionFilteringType `json:"filtering_type,omitempty"` }
DataFilteringCondition 数据过滤数条件信息体
func (DataFilteringCondition) String ¶ added in v0.1.58
func (o DataFilteringCondition) String() string
type DataFilteringConditionFilteringType ¶ added in v0.1.58
type DataFilteringConditionFilteringType struct {
// contains filtered or unexported fields
}
func (DataFilteringConditionFilteringType) MarshalJSON ¶ added in v0.1.58
func (c DataFilteringConditionFilteringType) MarshalJSON() ([]byte, error)
func (*DataFilteringConditionFilteringType) UnmarshalJSON ¶ added in v0.1.58
func (c *DataFilteringConditionFilteringType) UnmarshalJSON(b []byte) error
func (DataFilteringConditionFilteringType) Value ¶ added in v0.1.58
func (c DataFilteringConditionFilteringType) Value() string
type DataFilteringConditionFilteringTypeEnum ¶ added in v0.1.58
type DataFilteringConditionFilteringTypeEnum struct { CONTENT_CONDITIONAL_FILTER DataFilteringConditionFilteringType CONFIG_CONDITIONAL_FILTER DataFilteringConditionFilteringType }
func GetDataFilteringConditionFilteringTypeEnum ¶ added in v0.1.58
func GetDataFilteringConditionFilteringTypeEnum() DataFilteringConditionFilteringTypeEnum
type DataProcessInfo ¶ added in v0.1.58
type DataProcessInfo struct { // 指定任务数据加工规则请求体 FilterConditions *[]DataFilteringCondition `json:"filter_conditions,omitempty"` // 库级、批量表级处理为true,单表操作为false IsBatchProcess *bool `json:"is_batch_process,omitempty"` // 附加列 当选择附加列时必须填写 约束:使用多对一操作时,需要使用数据加工的附加列操作来避免数据冲突。 AddColumns *[]AddColumnInfo `json:"add_columns,omitempty"` // 支持DDL的语法 选择增量迁移或同步的DDL操作。取值及意思如下: \"table\": \"CREATE TABLE, ALTER TABLE,DROP TABLE,RENAME TABLE\" 如该值为空,不迁移或同步DDL操作 DdlOperation map[string]string `json:"ddl_operation,omitempty"` // 支持DML的语法 选择DML操作时,取值如下: i:INSERT。 u:UPDATE。 d:DELETE。 如该值为空,不增量迁移或同步DML操作。 DmlOperation *string `json:"dml_operation,omitempty"` DbObjectColumnInfo *DbObjectColumnInfo `json:"db_object_column_info,omitempty"` DbOrTableRenameRule *DbOrTableRenameRule `json:"db_or_table_rename_rule,omitempty"` DbObject *DbObject `json:"db_object,omitempty"` // 表示该规则是否已同步至目标库 IsSynchronized *bool `json:"is_synchronized,omitempty"` // 对比的来源 - job 表示数据同步时的过滤 - compare 表示数据对比的过滤 Source *DataProcessInfoSource `json:"source,omitempty"` }
func (DataProcessInfo) String ¶ added in v0.1.58
func (o DataProcessInfo) String() string
type DataProcessInfoSource ¶ added in v0.1.91
type DataProcessInfoSource struct {
// contains filtered or unexported fields
}
func (DataProcessInfoSource) MarshalJSON ¶ added in v0.1.91
func (c DataProcessInfoSource) MarshalJSON() ([]byte, error)
func (*DataProcessInfoSource) UnmarshalJSON ¶ added in v0.1.91
func (c *DataProcessInfoSource) UnmarshalJSON(b []byte) error
func (DataProcessInfoSource) Value ¶ added in v0.1.91
func (c DataProcessInfoSource) Value() string
type DataProcessInfoSourceEnum ¶ added in v0.1.91
type DataProcessInfoSourceEnum struct { JOB DataProcessInfoSource COMPARE DataProcessInfoSource }
func GetDataProcessInfoSourceEnum ¶ added in v0.1.91
func GetDataProcessInfoSourceEnum() DataProcessInfoSourceEnum
type DataProcessReq ¶ added in v0.1.58
type DataProcessReq struct { // 指定任务数据加工规则请求体 DataProcessInfo *[]DataProcessInfo `json:"data_process_info,omitempty"` }
DataProcessReq 指定任务数据加工规则请求体
func (DataProcessReq) String ¶ added in v0.1.58
func (o DataProcessReq) String() string
type DatabaseObject ¶
type DatabaseObject struct { // 该数据库在实时同步场景下的类型。取值: - config:仅当该库作为数据过滤高级设置的关联库时,需要填写,此时该库以及该库下的schemas、tables“不会”被同步到目标库,name、all属性不生效,schemas、tables需要填写被关联的相关对象。(注意:如果需要同步该库级对象,则在下级对象中填写sync_type值为config。) SyncType *DatabaseObjectSyncType `json:"sync_type,omitempty"` // 该数据库在目标库的名称(库名映射)。 Name *string `json:"name,omitempty"` // 是否整库迁移或同步。注意: 1.当该库下的模式、表、列需要做数据过滤、列过滤、列映射时,填false,否则填true; 2.当该库下的表需要做附加列时,需要填true,并且在表级对象的columns里填写附加列信息; 3.当该库下的表所包含的列作为数据过滤高级设置的关联列时,需要填true,并且在columns里填写关联列信息,在config_conditions填写数据过滤高级设置的配置条件; All *bool `json:"all,omitempty"` // 需要迁移或同步的模式,当整库迁移或同步为false时需要填写。 Schemas map[string]SchemaObject `json:"schemas,omitempty"` // 需要迁移或同步的表,当整库迁移或同步为false时需要填写。 Tables map[string]TableObject `json:"tables,omitempty"` // 库下的表的数量,表的数量超过阈值就不显示。 TotalTableNum *int32 `json:"total_table_num,omitempty"` // 是否已同步 IsSynchronized *bool `json:"is_synchronized,omitempty"` }
DatabaseObject 数据库库级对象。
func (DatabaseObject) String ¶
func (o DatabaseObject) String() string
type DatabaseObjectSyncType ¶
type DatabaseObjectSyncType struct {
// contains filtered or unexported fields
}
func (DatabaseObjectSyncType) MarshalJSON ¶
func (c DatabaseObjectSyncType) MarshalJSON() ([]byte, error)
func (*DatabaseObjectSyncType) UnmarshalJSON ¶
func (c *DatabaseObjectSyncType) UnmarshalJSON(b []byte) error
func (DatabaseObjectSyncType) Value ¶
func (c DatabaseObjectSyncType) Value() string
type DatabaseObjectSyncTypeEnum ¶
type DatabaseObjectSyncTypeEnum struct {
CONFIG DatabaseObjectSyncType
}
func GetDatabaseObjectSyncTypeEnum ¶
func GetDatabaseObjectSyncTypeEnum() DatabaseObjectSyncTypeEnum
type DbObject ¶
type DbObject struct { // 数据库对象迁移或同步范围。取值: - all:全部迁移。 - database:库级迁移或同步。 - table:表级迁移或同步。 ObjectScope DbObjectObjectScope `json:"object_scope"` TargetRootDb *TargetRootDb `json:"target_root_db,omitempty"` // 数据库对象迁移或同步信息,object_scope为all时不填,为库级或表级时必填。 ObjectInfo map[string]DatabaseObject `json:"object_info,omitempty"` }
DbObject 数据库对象信息体。实时迁移、实时同步需要迁移或同步的库或者表,支持实时同步场景对数据库对象进行加工,即可以为数据库对象添加过滤规则、高级设置、列加工、附加列等。 数据加工相关具体约束参考:https://support.huaweicloud.com/realtimesyn-drs/drs_03_0035.html
type DbObjectColumnInfo ¶ added in v0.1.58
type DbObjectColumnInfo struct { // 数据库库名称。 DbName *string `json:"db_name,omitempty"` // 数据库schema名称。 SchemaName *string `json:"schema_name,omitempty"` // 数据库表名称。 TableName *string `json:"table_name,omitempty"` // 数据库列信息。 ColumnInfos *[]QueryColumnInfo `json:"column_infos,omitempty"` // 数据库列信息总数,与分页无关,仅作为返回体参数 TotalCount *int32 `json:"total_count,omitempty"` }
DbObjectColumnInfo 列加工对象 约束: 列加工提供列级的查询、映射和过滤能力。 编辑列名后,目标数据库的列名为修改后的名称。 列映射名不能和原列名或已存在的映射名相同。 不支持库名、表名带有换行符的列进行映射。 任务再编辑时,已经同步的表不支持修改列信息。 只有勾选的列才会被同步。 MySQL->MySQL、MySQL->GaussDB(for MySQL)不支持分区表的分区字段进行列映射。 GaussDB分区键不可以被过滤。
func (DbObjectColumnInfo) String ¶ added in v0.1.58
func (o DbObjectColumnInfo) String() string
type DbObjectFilteringResult ¶ added in v0.1.58
type DbObjectFilteringResult struct { // 数据库库名。 DbName *string `json:"db_name,omitempty"` // 数据库Schema名称。 SchemaName *string `json:"schema_name,omitempty"` // 数据库表名称。 TableName *string `json:"table_name,omitempty"` // 数据过滤校验结果。 IsSuccess *bool `json:"is_success,omitempty"` // 当数据过滤校验结果是false,返回校验失败的原因。 Message *string `json:"message,omitempty"` // 对比的来源 - job 表示数据同步时的过滤 - compare 表示数据对比的过滤 Source *DbObjectFilteringResultSource `json:"source,omitempty"` // 校验目标库比对条件过滤的结果 TargetResult *string `json:"target_result,omitempty"` // 校验源库比对条件过滤的结果 SourceResult *string `json:"source_result,omitempty"` // 校验目标库比对条件过滤的失败原因 TargetMessage *string `json:"target_message,omitempty"` // 校验源库比对条件过滤的失败原因 SourceMessage *string `json:"source_message,omitempty"` }
DbObjectFilteringResult 数据库表过滤规则响应体
func (DbObjectFilteringResult) String ¶ added in v0.1.58
func (o DbObjectFilteringResult) String() string
type DbObjectFilteringResultSource ¶ added in v0.1.91
type DbObjectFilteringResultSource struct {
// contains filtered or unexported fields
}
func (DbObjectFilteringResultSource) MarshalJSON ¶ added in v0.1.91
func (c DbObjectFilteringResultSource) MarshalJSON() ([]byte, error)
func (*DbObjectFilteringResultSource) UnmarshalJSON ¶ added in v0.1.91
func (c *DbObjectFilteringResultSource) UnmarshalJSON(b []byte) error
func (DbObjectFilteringResultSource) Value ¶ added in v0.1.91
func (c DbObjectFilteringResultSource) Value() string
type DbObjectFilteringResultSourceEnum ¶ added in v0.1.91
type DbObjectFilteringResultSourceEnum struct { JOB DbObjectFilteringResultSource COMPARE DbObjectFilteringResultSource }
func GetDbObjectFilteringResultSourceEnum ¶ added in v0.1.91
func GetDbObjectFilteringResultSourceEnum() DbObjectFilteringResultSourceEnum
type DbObjectInfo ¶ added in v0.1.49
type DbObjectInfo struct { // 源数据库库名。 SourceDbName *string `json:"source_db_name,omitempty"` // 源数据库模式名。 SourceSchemaName *string `json:"source_schema_name,omitempty"` // 源数据库表名。 SourceTableName *string `json:"source_table_name,omitempty"` // 目标数据库库名。 TargetDbName *string `json:"target_db_name,omitempty"` // 目标数据库模式名。 TargetSchemaName *string `json:"target_schema_name,omitempty"` // 目标数据库表名。 TargetTableName *string `json:"target_table_name,omitempty"` // 是否有列映射。 HasColumnInfo *bool `json:"has_column_info,omitempty"` }
DbObjectInfo 对象信息。
func (DbObjectInfo) String ¶ added in v0.1.49
func (o DbObjectInfo) String() string
type DbObjectObjectScope ¶
type DbObjectObjectScope struct {
// contains filtered or unexported fields
}
func (DbObjectObjectScope) MarshalJSON ¶
func (c DbObjectObjectScope) MarshalJSON() ([]byte, error)
func (*DbObjectObjectScope) UnmarshalJSON ¶
func (c *DbObjectObjectScope) UnmarshalJSON(b []byte) error
func (DbObjectObjectScope) Value ¶
func (c DbObjectObjectScope) Value() string
type DbObjectObjectScopeEnum ¶
type DbObjectObjectScopeEnum struct { ALL DbObjectObjectScope DATABASE DbObjectObjectScope TABLE DbObjectObjectScope }
func GetDbObjectObjectScopeEnum ¶
func GetDbObjectObjectScopeEnum() DbObjectObjectScopeEnum
type DbOrTableRenameRule ¶ added in v0.1.58
type DbOrTableRenameRule struct { // 前缀名称 当type为prefixAndSuffix, 填写prefix_name,库表名称仅增加前缀,若同时也填写suffix_name, 库表名称增加前后缀 PrefixName *string `json:"prefix_name,omitempty"` // 后缀名称 当type为prefixAndSuffix, 填写suffix_name,库表名称仅增加后缀,若同时也填写prefix_name, 库表名称同时增加前后缀 SuffixName *string `json:"suffix_name,omitempty"` // 库表映射类型 prefixAndSuffix:前缀、后缀或者前后缀 Type *DbOrTableRenameRuleType `json:"type,omitempty"` }
DbOrTableRenameRule 库表更名规则 可以在名称添加前后缀, 填写前缀名,会给库表名称前面添加对前缀名,填写后缀名,会给库表名称后面添加对后缀名; 当前缀名和后缀名都写时,会给库表名称前后面添加对字符;
func (DbOrTableRenameRule) String ¶ added in v0.1.58
func (o DbOrTableRenameRule) String() string
type DbOrTableRenameRuleType ¶ added in v0.1.58
type DbOrTableRenameRuleType struct {
// contains filtered or unexported fields
}
func (DbOrTableRenameRuleType) MarshalJSON ¶ added in v0.1.58
func (c DbOrTableRenameRuleType) MarshalJSON() ([]byte, error)
func (*DbOrTableRenameRuleType) UnmarshalJSON ¶ added in v0.1.58
func (c *DbOrTableRenameRuleType) UnmarshalJSON(b []byte) error
func (DbOrTableRenameRuleType) Value ¶ added in v0.1.58
func (c DbOrTableRenameRuleType) Value() string
type DbOrTableRenameRuleTypeEnum ¶ added in v0.1.58
type DbOrTableRenameRuleTypeEnum struct { PREFIX_AND_SUFFIX DbOrTableRenameRuleType MANY_TO_ONE DbOrTableRenameRuleType }
func GetDbOrTableRenameRuleTypeEnum ¶ added in v0.1.58
func GetDbOrTableRenameRuleTypeEnum() DbOrTableRenameRuleTypeEnum
type DbParam ¶
type DbParam struct { // 数据库参数名。 Key string `json:"key"` // 目标数据库参数值。 TargetValue string `json:"target_value"` }
DbParam 数据库参数名、目标数据库参数值。
type DbParamInfo ¶
type DbParamInfo struct { // 常规参数。只有对比结果为不一致的目标库参数能被修改。 Common *[]DbParam `json:"common,omitempty"` // 性能参数。对比结果一致也可以修改目标库的值。 Performance *[]DbParam `json:"performance,omitempty"` }
DbParamInfo 数据库参数信息体。MySQL迁移和MySQL灾备需要修改的数据库参数,部分参数的修改需重启目标库后生效,建议在迁移开始前或迁移结束后重启目标库,具体参数值与有效范围请通过“批量获取数据库参数”接口查询。约束: - 实时灾备场景:双主灾备时父任务不支持。 当前支持的参数: 常规参数: - character_set_server:服务器字符集。 - collation_server:服务器默认排序。 - connect_timeout:mysqld服务器在回Bad handshake响应之前等待连接数据包的时间(秒)。 - explicit_defaults_for_timestamp:处理TIMESTAMP字段的默认值、NULL值时是否开启非标准行为。默认该参数是关闭的,即开启非标准行为。 - innodb_flush_log_at_trx_commit:当重新安排并批量处理与提交相关的I/O操作时,可以控制提交操作在严格遵守ACID合规性和高性能之间的平衡。当值设为0时,每秒把事务日志缓存区的数据写入日志文件并刷新到磁盘;当设为默认值1时,是为了保证完整的ACID,每次提交事务时,把事务日志从缓存区写到日志文件中,并刷新日志文件的数据到磁盘上;如果设为2,每次提交事务都会把事务日志从缓存区写入日志文件,大约每隔一秒会刷新到磁盘。 - innodb_lock_wait_timeout:放弃事务前,InnoDB事务等待行锁的时间。 - max_connections:允许同时连接的客户端总数。如果设定值为default,表示该参数随内存规格变化。 - net_read_timeout:中止读数据之前从一个连接等待更多数据的秒数。 - net_write_timeout:中止写之前等待一个块被写入连接的秒数。 性能参数: - binlog_cache_size:在事务中,为二进制日志存储SQL语句的缓存容量。该参数必须设置为4096的倍数。目标库允许值:4096~16777216。 - binlog_stmt_cache_size:此变量决定在事务中,二进制日志存储下发的非事务语句的缓存空间。该参数必须设置为4096的倍数。目标库允许值:4096~16777216。 - bulk_insert_buffer_size:限制MyISAM缓存树每个线程的大小,单位为字节。目标库允许值:0~18446744073709551615。 - innodb_buffer_pool_size:对于缓存数据及其表格索引,innodb使用的内存缓存字节大小。如果设定值为default,表示该参数随内存规格变化(建议不高于目标库实例总内存的70%)。该参数必须设置为134217728的倍数。目标库允许值:536870912~1717986918。 - long_query_time:当SQL语句执行时间超过此数值时,就会被记录到慢日志中,单位为秒。目标库允许值:0.03~3600。 - read_buffer_size:对每个进行顺序扫描的线程将分配一个缓冲区。如果要进行大量顺序扫描,可增大参数值以提升性能。目标库允许值:8192~2147479552。 - read_rnd_buffer_size:在key-sort操作后按排序读取行时,避免读取磁盘。增大该参数值可提升ORDER BY操作的性能。该参数必须设置为4096的倍数。目标库允许值:1~2147483647。 - sort_buffer_size:增大该参数值可提升ORDER BY或GROUP BY操作的性能。目标库允许值:32768~18446744073709551615。 - sync_binlog:同步binlog(MySQL持久化到硬盘,或依赖于操作系统)。目标库允许值:0~4294967295。 示例: { 'common' : [ {\\'key\\':\\'character_set_server\\',\\'target_value\\':\\'utf8mb4\\'} ], 'performance' : [ {\\'key\\':\\'long_query_time\\',\\'target_value\\':\\'1\\'} ] }
func (DbParamInfo) String ¶
func (o DbParamInfo) String() string
type DdlAlarmResp ¶ added in v0.1.117
type DdlAlarmResp struct { // 记录唯一序号。 Seqno int64 `json:"seqno"` // 数据源库位点。 Checkpoint string `json:"checkpoint"` // DDL告警状态。0无告警,1告警中。 Status int32 `json:"status"` // DDL在源库执行时间。 DdlTimestamp int64 `json:"ddl_timestamp"` // DDL内容。 DdlText string `json:"ddl_text"` // DDL执行结果。false执行失败,true执行成功。 ExeResult bool `json:"exe_result"` // 数据记录时间。 RecordTime int64 `json:"record_time"` // DDL告警清理时间。 CleanTime *int64 `json:"clean_time,omitempty"` }
DdlAlarmResp DDL告警信息响应体。
func (DdlAlarmResp) String ¶ added in v0.1.117
func (o DdlAlarmResp) String() string
type DeleteConnectionRequest ¶ added in v0.1.117
type DeleteConnectionRequest struct { // 连接ID。 ConnectionId string `json:"connection_id"` // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` }
DeleteConnectionRequest Request Object
func (DeleteConnectionRequest) String ¶ added in v0.1.117
func (o DeleteConnectionRequest) String() string
type DeleteConnectionResponse ¶ added in v0.1.117
type DeleteConnectionResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteConnectionResponse Response Object
func (DeleteConnectionResponse) String ¶ added in v0.1.117
func (o DeleteConnectionResponse) String() string
type DeleteDriverReq ¶ added in v0.1.68
type DeleteDriverReq struct { // jdbc驱动文件列表,列表长度1-20,driver_name的长度5-64,结尾以.jar结尾。 DriverNames []string `json:"driver_names"` }
func (DeleteDriverReq) String ¶ added in v0.1.68
func (o DeleteDriverReq) String() string
type DeleteJdbcDriverRequest ¶ added in v0.1.68
type DeleteJdbcDriverRequest struct { // 请求语言类型。 XLanguage *DeleteJdbcDriverRequestXLanguage `json:"X-Language,omitempty"` Body *DeleteDriverReq `json:"body,omitempty"` }
DeleteJdbcDriverRequest Request Object
func (DeleteJdbcDriverRequest) String ¶ added in v0.1.68
func (o DeleteJdbcDriverRequest) String() string
type DeleteJdbcDriverRequestXLanguage ¶ added in v0.1.68
type DeleteJdbcDriverRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DeleteJdbcDriverRequestXLanguage) MarshalJSON ¶ added in v0.1.68
func (c DeleteJdbcDriverRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DeleteJdbcDriverRequestXLanguage) UnmarshalJSON ¶ added in v0.1.68
func (c *DeleteJdbcDriverRequestXLanguage) UnmarshalJSON(b []byte) error
func (DeleteJdbcDriverRequestXLanguage) Value ¶ added in v0.1.68
func (c DeleteJdbcDriverRequestXLanguage) Value() string
type DeleteJdbcDriverRequestXLanguageEnum ¶ added in v0.1.68
type DeleteJdbcDriverRequestXLanguageEnum struct { EN_US DeleteJdbcDriverRequestXLanguage ZH_CN DeleteJdbcDriverRequestXLanguage }
func GetDeleteJdbcDriverRequestXLanguageEnum ¶ added in v0.1.68
func GetDeleteJdbcDriverRequestXLanguageEnum() DeleteJdbcDriverRequestXLanguageEnum
type DeleteJdbcDriverResponse ¶ added in v0.1.68
type DeleteJdbcDriverResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteJdbcDriverResponse Response Object
func (DeleteJdbcDriverResponse) String ¶ added in v0.1.68
func (o DeleteJdbcDriverResponse) String() string
type DeleteJobRequest ¶
type DeleteJobRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *DeleteJobRequestXLanguage `json:"X-Language,omitempty"` }
DeleteJobRequest Request Object
func (DeleteJobRequest) String ¶
func (o DeleteJobRequest) String() string
type DeleteJobRequestXLanguage ¶
type DeleteJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DeleteJobRequestXLanguage) MarshalJSON ¶
func (c DeleteJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DeleteJobRequestXLanguage) UnmarshalJSON ¶
func (c *DeleteJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (DeleteJobRequestXLanguage) Value ¶
func (c DeleteJobRequestXLanguage) Value() string
type DeleteJobRequestXLanguageEnum ¶
type DeleteJobRequestXLanguageEnum struct { EN_US DeleteJobRequestXLanguage ZH_CN DeleteJobRequestXLanguage }
func GetDeleteJobRequestXLanguageEnum ¶
func GetDeleteJobRequestXLanguageEnum() DeleteJobRequestXLanguageEnum
type DeleteJobResp ¶
type DeleteJobResp struct { // 错误码。 ErrorCode string `json:"error_code"` // 错误描述。 ErrorMsg string `json:"error_msg"` // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` // 删除结果。 Status string `json:"status"` }
DeleteJobResp 删除任务响应体。
func (DeleteJobResp) String ¶
func (o DeleteJobResp) String() string
type DeleteJobResponse ¶
type DeleteJobResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteJobResponse Response Object
func (DeleteJobResponse) String ¶
func (o DeleteJobResponse) String() string
type DeleteReplicationJobRequest ¶ added in v0.1.117
type DeleteReplicationJobRequest struct { // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` // 备份迁移任务ID。 JobId string `json:"job_id"` }
DeleteReplicationJobRequest Request Object
func (DeleteReplicationJobRequest) String ¶ added in v0.1.117
func (o DeleteReplicationJobRequest) String() string
type DeleteReplicationJobResponse ¶ added in v0.1.117
type DeleteReplicationJobResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteReplicationJobResponse Response Object
func (DeleteReplicationJobResponse) String ¶ added in v0.1.117
func (o DeleteReplicationJobResponse) String() string
type DeleteUserDriverReq ¶ added in v0.1.111
type DeleteUserDriverReq struct { // 指定待删除的驱动文件类型。取值范围: - db2:DB2 for LUW - informix:Informix DriverType DeleteUserDriverReqDriverType `json:"driver_type"` // JDBC驱动文件列表,列表长度1-20,driver_name的长度5-64,结尾以.jar结尾。 DriverNames []string `json:"driver_names"` }
func (DeleteUserDriverReq) String ¶ added in v0.1.111
func (o DeleteUserDriverReq) String() string
type DeleteUserDriverReqDriverType ¶ added in v0.1.111
type DeleteUserDriverReqDriverType struct {
// contains filtered or unexported fields
}
func (DeleteUserDriverReqDriverType) MarshalJSON ¶ added in v0.1.111
func (c DeleteUserDriverReqDriverType) MarshalJSON() ([]byte, error)
func (*DeleteUserDriverReqDriverType) UnmarshalJSON ¶ added in v0.1.111
func (c *DeleteUserDriverReqDriverType) UnmarshalJSON(b []byte) error
func (DeleteUserDriverReqDriverType) Value ¶ added in v0.1.111
func (c DeleteUserDriverReqDriverType) Value() string
type DeleteUserDriverReqDriverTypeEnum ¶ added in v0.1.111
type DeleteUserDriverReqDriverTypeEnum struct { DB2 DeleteUserDriverReqDriverType INFORMIX DeleteUserDriverReqDriverType }
func GetDeleteUserDriverReqDriverTypeEnum ¶ added in v0.1.111
func GetDeleteUserDriverReqDriverTypeEnum() DeleteUserDriverReqDriverTypeEnum
type DeleteUserJdbcDriverRequest ¶ added in v0.1.111
type DeleteUserJdbcDriverRequest struct { // 请求语言类型。 XLanguage *DeleteUserJdbcDriverRequestXLanguage `json:"X-Language,omitempty"` Body *DeleteUserDriverReq `json:"body,omitempty"` }
DeleteUserJdbcDriverRequest Request Object
func (DeleteUserJdbcDriverRequest) String ¶ added in v0.1.111
func (o DeleteUserJdbcDriverRequest) String() string
type DeleteUserJdbcDriverRequestXLanguage ¶ added in v0.1.111
type DeleteUserJdbcDriverRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DeleteUserJdbcDriverRequestXLanguage) MarshalJSON ¶ added in v0.1.111
func (c DeleteUserJdbcDriverRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DeleteUserJdbcDriverRequestXLanguage) UnmarshalJSON ¶ added in v0.1.111
func (c *DeleteUserJdbcDriverRequestXLanguage) UnmarshalJSON(b []byte) error
func (DeleteUserJdbcDriverRequestXLanguage) Value ¶ added in v0.1.111
func (c DeleteUserJdbcDriverRequestXLanguage) Value() string
type DeleteUserJdbcDriverRequestXLanguageEnum ¶ added in v0.1.111
type DeleteUserJdbcDriverRequestXLanguageEnum struct { EN_US DeleteUserJdbcDriverRequestXLanguage ZH_CN DeleteUserJdbcDriverRequestXLanguage }
func GetDeleteUserJdbcDriverRequestXLanguageEnum ¶ added in v0.1.111
func GetDeleteUserJdbcDriverRequestXLanguageEnum() DeleteUserJdbcDriverRequestXLanguageEnum
type DeleteUserJdbcDriverResponse ¶ added in v0.1.111
type DeleteUserJdbcDriverResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteUserJdbcDriverResponse Response Object
func (DeleteUserJdbcDriverResponse) String ¶ added in v0.1.111
func (o DeleteUserJdbcDriverResponse) String() string
type DirtyData ¶ added in v0.1.49
type DirtyData struct { // 数据库名称。 DbName *string `json:"db_name,omitempty"` // 模式名称。 SchemaName *string `json:"schema_name,omitempty"` // 表名称。 TableName *string `json:"table_name,omitempty"` // 异常SQL。 ErrorSql *string `json:"error_sql,omitempty"` // 发生异常时间,UTC时间,例如:2023-06-10T03:01:52Z ErrorTime *string `json:"error_time,omitempty"` // 异常信息。 ErrorMsg *string `json:"error_msg,omitempty"` }
DirtyData 异常数据。
type DownloadBatchCreateTemplateRequest ¶ added in v0.1.49
type DownloadBatchCreateTemplateRequest struct { // 请求语言类型。 XLanguage *DownloadBatchCreateTemplateRequestXLanguage `json:"X-Language,omitempty"` }
DownloadBatchCreateTemplateRequest Request Object
func (DownloadBatchCreateTemplateRequest) String ¶ added in v0.1.49
func (o DownloadBatchCreateTemplateRequest) String() string
type DownloadBatchCreateTemplateRequestXLanguage ¶ added in v0.1.49
type DownloadBatchCreateTemplateRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DownloadBatchCreateTemplateRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c DownloadBatchCreateTemplateRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DownloadBatchCreateTemplateRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *DownloadBatchCreateTemplateRequestXLanguage) UnmarshalJSON(b []byte) error
func (DownloadBatchCreateTemplateRequestXLanguage) Value ¶ added in v0.1.49
func (c DownloadBatchCreateTemplateRequestXLanguage) Value() string
type DownloadBatchCreateTemplateRequestXLanguageEnum ¶ added in v0.1.49
type DownloadBatchCreateTemplateRequestXLanguageEnum struct { EN_US DownloadBatchCreateTemplateRequestXLanguage ZH_CN DownloadBatchCreateTemplateRequestXLanguage }
func GetDownloadBatchCreateTemplateRequestXLanguageEnum ¶ added in v0.1.49
func GetDownloadBatchCreateTemplateRequestXLanguageEnum() DownloadBatchCreateTemplateRequestXLanguageEnum
type DownloadBatchCreateTemplateResponse ¶ added in v0.1.49
type DownloadBatchCreateTemplateResponse struct { // 错误码。 ErrorCode *string `json:"error_code,omitempty"` // 错误描述。 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
DownloadBatchCreateTemplateResponse Response Object
func (DownloadBatchCreateTemplateResponse) String ¶ added in v0.1.49
func (o DownloadBatchCreateTemplateResponse) String() string
type DownloadDbObjectTemplateRequest ¶
type DownloadDbObjectTemplateRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *DownloadDbObjectTemplateRequestXLanguage `json:"X-Language,omitempty"` // 文件模板支持数据同步级别,不填默认为table表级。 - database:库级 - table:表级 - column:列级 FileImportDbLevel *DownloadDbObjectTemplateRequestFileImportDbLevel `json:"file_import_db_level,omitempty"` }
DownloadDbObjectTemplateRequest Request Object
func (DownloadDbObjectTemplateRequest) String ¶
func (o DownloadDbObjectTemplateRequest) String() string
type DownloadDbObjectTemplateRequestFileImportDbLevel ¶ added in v0.1.49
type DownloadDbObjectTemplateRequestFileImportDbLevel struct {
// contains filtered or unexported fields
}
func (DownloadDbObjectTemplateRequestFileImportDbLevel) MarshalJSON ¶ added in v0.1.49
func (c DownloadDbObjectTemplateRequestFileImportDbLevel) MarshalJSON() ([]byte, error)
func (*DownloadDbObjectTemplateRequestFileImportDbLevel) UnmarshalJSON ¶ added in v0.1.49
func (c *DownloadDbObjectTemplateRequestFileImportDbLevel) UnmarshalJSON(b []byte) error
func (DownloadDbObjectTemplateRequestFileImportDbLevel) Value ¶ added in v0.1.49
func (c DownloadDbObjectTemplateRequestFileImportDbLevel) Value() string
type DownloadDbObjectTemplateRequestFileImportDbLevelEnum ¶ added in v0.1.49
type DownloadDbObjectTemplateRequestFileImportDbLevelEnum struct { DATABASE DownloadDbObjectTemplateRequestFileImportDbLevel TABLE DownloadDbObjectTemplateRequestFileImportDbLevel COLUMN DownloadDbObjectTemplateRequestFileImportDbLevel }
func GetDownloadDbObjectTemplateRequestFileImportDbLevelEnum ¶ added in v0.1.49
func GetDownloadDbObjectTemplateRequestFileImportDbLevelEnum() DownloadDbObjectTemplateRequestFileImportDbLevelEnum
type DownloadDbObjectTemplateRequestXLanguage ¶
type DownloadDbObjectTemplateRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DownloadDbObjectTemplateRequestXLanguage) MarshalJSON ¶
func (c DownloadDbObjectTemplateRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DownloadDbObjectTemplateRequestXLanguage) UnmarshalJSON ¶
func (c *DownloadDbObjectTemplateRequestXLanguage) UnmarshalJSON(b []byte) error
func (DownloadDbObjectTemplateRequestXLanguage) Value ¶
func (c DownloadDbObjectTemplateRequestXLanguage) Value() string
type DownloadDbObjectTemplateRequestXLanguageEnum ¶
type DownloadDbObjectTemplateRequestXLanguageEnum struct { EN_US DownloadDbObjectTemplateRequestXLanguage ZH_CN DownloadDbObjectTemplateRequestXLanguage }
func GetDownloadDbObjectTemplateRequestXLanguageEnum ¶
func GetDownloadDbObjectTemplateRequestXLanguageEnum() DownloadDbObjectTemplateRequestXLanguageEnum
type DownloadDbObjectTemplateResponse ¶
type DownloadDbObjectTemplateResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
DownloadDbObjectTemplateResponse Response Object
func (DownloadDbObjectTemplateResponse) Consume ¶
func (o DownloadDbObjectTemplateResponse) Consume(writer io.Writer) (int64, error)
func (DownloadDbObjectTemplateResponse) String ¶
func (o DownloadDbObjectTemplateResponse) String() string
type DriverInfo ¶ added in v0.1.68
type DriverInfo struct { // 文件名称。 DriverName *string `json:"driver_name,omitempty"` // 最后修改时间。 LastModified *string `json:"last_modified,omitempty"` // 文件大小,单位:byte Size *int32 `json:"size,omitempty"` }
func (DriverInfo) String ¶ added in v0.1.68
func (o DriverInfo) String() string
type DriverManagement ¶ added in v0.1.68
type DriverManagement struct { // 驱动名称。 DriverName *string `json:"driver_name,omitempty"` }
func (DriverManagement) String ¶ added in v0.1.68
func (o DriverManagement) String() string
type EndpointSslConfig ¶
type EndpointSslConfig struct { // 是否SSL安全连接。如果数据库启用了SSL安全连接,参数值为true。 SslLink *bool `json:"ssl_link,omitempty"` // SSL证书名字。 SslCertName *string `json:"ssl_cert_name,omitempty"` // SSL证书内容,用base64加密。 SslCertKey *string `json:"ssl_cert_key,omitempty"` // SSL证书内容checksum值,后端校验,源库安全连接必选。 SslCertCheckSum *string `json:"ssl_cert_check_sum,omitempty"` // SSL证书密码,证书文件后缀为.p12时必填。 SslCertPassword *string `json:"ssl_cert_password,omitempty"` }
EndpointSslConfig 数据库SSL证书信息体。如果数据库启用了SSL安全连接,请确保相关配置正确,并输入SSL证书相关参数,否则无需填写此参数。
func (EndpointSslConfig) String ¶
func (o EndpointSslConfig) String() string
type EnterpriseProject ¶ added in v0.1.49
type EnterpriseProject struct { // 企业项目ID,0表示默认企业项目。 Id *string `json:"id,omitempty"` // 企业项目名称。 Name *string `json:"name,omitempty"` // 描述。 Description *string `json:"description,omitempty"` // 企业项目状态。 - 1:启用 - 2:停用 Status *string `json:"status,omitempty"` // 创建时间,例如:2023-01-20T07:18:26Z CreatedAt *string `json:"created_at,omitempty"` // 更新时间,例如:2023-03-01T09:42:02Z UpdatedAt *string `json:"updated_at,omitempty"` }
EnterpriseProject 企业项目信息。
func (EnterpriseProject) String ¶ added in v0.1.49
func (o EnterpriseProject) String() string
type ErrorResp ¶
type ErrorResp struct { // 错误码。 ErrorCode string `json:"error_code"` // 错误描述。 ErrorMsg string `json:"error_msg"` }
ErrorResp 请求失败时返回的错误对象响应体。
type ExecuteJobActionRequest ¶
type ExecuteJobActionRequest struct { // 任务ID (对比任务相关操作,多任务场景传父任务详情返回的master_job_id) JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ExecuteJobActionRequestXLanguage `json:"X-Language,omitempty"` Body *JobActionReq `json:"body,omitempty"` }
ExecuteJobActionRequest Request Object
func (ExecuteJobActionRequest) String ¶
func (o ExecuteJobActionRequest) String() string
type ExecuteJobActionRequestXLanguage ¶
type ExecuteJobActionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExecuteJobActionRequestXLanguage) MarshalJSON ¶
func (c ExecuteJobActionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExecuteJobActionRequestXLanguage) UnmarshalJSON ¶
func (c *ExecuteJobActionRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExecuteJobActionRequestXLanguage) Value ¶
func (c ExecuteJobActionRequestXLanguage) Value() string
type ExecuteJobActionRequestXLanguageEnum ¶
type ExecuteJobActionRequestXLanguageEnum struct { EN_US ExecuteJobActionRequestXLanguage ZH_CN ExecuteJobActionRequestXLanguage }
func GetExecuteJobActionRequestXLanguageEnum ¶
func GetExecuteJobActionRequestXLanguageEnum() ExecuteJobActionRequestXLanguageEnum
type ExecuteJobActionResponse ¶
type ExecuteJobActionResponse struct { // 异步操作任务响应查询ID。 QueryId *string `json:"query_id,omitempty"` HttpStatusCode int `json:"-"` }
ExecuteJobActionResponse Response Object
func (ExecuteJobActionResponse) String ¶
func (o ExecuteJobActionResponse) String() string
type ExportOperationInfoRequest ¶ added in v0.1.58
type ExportOperationInfoRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ExportOperationInfoRequestXLanguage `json:"X-Language,omitempty"` }
ExportOperationInfoRequest Request Object
func (ExportOperationInfoRequest) String ¶ added in v0.1.58
func (o ExportOperationInfoRequest) String() string
type ExportOperationInfoRequestXLanguage ¶ added in v0.1.58
type ExportOperationInfoRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportOperationInfoRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ExportOperationInfoRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportOperationInfoRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ExportOperationInfoRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportOperationInfoRequestXLanguage) Value ¶ added in v0.1.58
func (c ExportOperationInfoRequestXLanguage) Value() string
type ExportOperationInfoRequestXLanguageEnum ¶ added in v0.1.58
type ExportOperationInfoRequestXLanguageEnum struct { EN_US ExportOperationInfoRequestXLanguage ZH_CN ExportOperationInfoRequestXLanguage }
func GetExportOperationInfoRequestXLanguageEnum ¶ added in v0.1.58
func GetExportOperationInfoRequestXLanguageEnum() ExportOperationInfoRequestXLanguageEnum
type ExportOperationInfoResponse ¶ added in v0.1.58
type ExportOperationInfoResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ExportOperationInfoResponse Response Object
func (ExportOperationInfoResponse) String ¶ added in v0.1.58
func (o ExportOperationInfoResponse) String() string
type FailedToBindEipChildInfo ¶ added in v0.1.86
type FailedToBindEipChildInfo struct { // 子任务ID Id *string `json:"id,omitempty"` // 子任务名称 Name *string `json:"name,omitempty"` }
FailedToBindEipChildInfo 绑定EIP失败的子任务信息
func (FailedToBindEipChildInfo) String ¶ added in v0.1.86
func (o FailedToBindEipChildInfo) String() string
type FlowCompareData ¶ added in v0.1.49
type FlowCompareData struct { // 源数据库名称。 SrcDb *string `json:"src_db,omitempty"` // 源对象名称。 SrcTb *string `json:"src_tb,omitempty"` // 目标数据库名称。 DstDb *string `json:"dst_db,omitempty"` // 目标对象名称。 DstTb *string `json:"dst_tb,omitempty"` // 进度,1-100。 Progress *int32 `json:"progress,omitempty"` }
FlowCompareData 对比结果。
func (FlowCompareData) String ¶ added in v0.1.49
func (o FlowCompareData) String() string
type HealthCompareJob ¶ added in v0.1.49
type HealthCompareJob struct { // 对比任务ID。 Id *string `json:"id,omitempty"` // 对比类型: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。 Type *string `json:"type,omitempty"` // 状态。 - WAITING_FOR_RUNNING:等待启动中 - RUNNING:运行中 - SUCCESSFUL:完成 - FAILED:失败 - CANCELLED:已取消 - TIMEOUT_INTERRUPT:超时中断 - FULL_DOING:全量校验中 - INCRE_DOING:增量校验中 Status *string `json:"status,omitempty"` // 对比开始时间,UTC时间。 StartTime *string `json:"start_time,omitempty"` // 对比结束时间,UTC时间。 EndTime *string `json:"end_time,omitempty"` // 对比计算资源。 ComputeType *string `json:"compute_type,omitempty"` }
HealthCompareJob 健康对比任务。
func (HealthCompareJob) String ¶ added in v0.1.49
func (o HealthCompareJob) String() string
type ImportBatchCreateJobsRequest ¶ added in v0.1.49
type ImportBatchCreateJobsRequest struct { // 请求语言类型。 XLanguage *ImportBatchCreateJobsRequestXLanguage `json:"X-Language,omitempty"` Body *ImportBatchCreateJobsRequestBody `json:"body,omitempty" type:"multipart"` }
ImportBatchCreateJobsRequest Request Object
func (ImportBatchCreateJobsRequest) String ¶ added in v0.1.49
func (o ImportBatchCreateJobsRequest) String() string
type ImportBatchCreateJobsRequestBody ¶ added in v0.1.49
func (ImportBatchCreateJobsRequestBody) String ¶ added in v0.1.49
func (o ImportBatchCreateJobsRequestBody) String() string
func (*ImportBatchCreateJobsRequestBody) UnmarshalJSON ¶ added in v0.1.49
func (o *ImportBatchCreateJobsRequestBody) UnmarshalJSON(b []byte) error
type ImportBatchCreateJobsRequestXLanguage ¶ added in v0.1.49
type ImportBatchCreateJobsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ImportBatchCreateJobsRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ImportBatchCreateJobsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ImportBatchCreateJobsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ImportBatchCreateJobsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ImportBatchCreateJobsRequestXLanguage) Value ¶ added in v0.1.49
func (c ImportBatchCreateJobsRequestXLanguage) Value() string
type ImportBatchCreateJobsRequestXLanguageEnum ¶ added in v0.1.49
type ImportBatchCreateJobsRequestXLanguageEnum struct { EN_US ImportBatchCreateJobsRequestXLanguage ZH_CN ImportBatchCreateJobsRequestXLanguage }
func GetImportBatchCreateJobsRequestXLanguageEnum ¶ added in v0.1.49
func GetImportBatchCreateJobsRequestXLanguageEnum() ImportBatchCreateJobsRequestXLanguageEnum
type ImportBatchCreateJobsResponse ¶ added in v0.1.49
type ImportBatchCreateJobsResponse struct { // 批量导入任务id。 AsyncJobId *string `json:"async_job_id,omitempty"` // 导入失败的错误信息。 ImportErrorMessages *[]ImportErrorMessageResp `json:"import_error_messages,omitempty"` // 错误码。 ErrorCode *string `json:"error_code,omitempty"` // 错误描述。 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
ImportBatchCreateJobsResponse Response Object
func (ImportBatchCreateJobsResponse) String ¶ added in v0.1.49
func (o ImportBatchCreateJobsResponse) String() string
type ImportErrorMessageResp ¶ added in v0.1.49
type ImportErrorMessageResp struct { // sheet名称。 SheetName *string `json:"sheet_name,omitempty"` // 行号。 RowRum *string `json:"row_rum,omitempty"` // 字段值。 Value *string `json:"value,omitempty"` // 错误信息。 ErrorMessage *string `json:"error_message,omitempty"` }
ImportErrorMessageResp 导入失败详情响应体。
func (ImportErrorMessageResp) String ¶ added in v0.1.49
func (o ImportErrorMessageResp) String() string
type IncreComponentDetail ¶ added in v0.1.58
type IncreComponentDetail struct { // 组件类型 - capture:抓取 - apply:回放 Type *IncreComponentDetailType `json:"type,omitempty"` // 状态。 - STOPPED:停止 - STARTED:运行中 - STOPPING:停止中 - STARTING:启动中 Status *string `json:"status,omitempty"` // 启动时间 StartTime *string `json:"start_time,omitempty"` // 启动位点 StartPoint *string `json:"start_point,omitempty"` // 当前位点 CurrentPoint *string `json:"current_point,omitempty"` // 解析时间 ResolutionTime *string `json:"resolution_time,omitempty"` // 时延,单位:秒 Delay *string `json:"delay,omitempty"` }
IncreComponentDetail 增量组件详情。
func (IncreComponentDetail) String ¶ added in v0.1.58
func (o IncreComponentDetail) String() string
type IncreComponentDetailType ¶ added in v0.1.58
type IncreComponentDetailType struct {
// contains filtered or unexported fields
}
func (IncreComponentDetailType) MarshalJSON ¶ added in v0.1.58
func (c IncreComponentDetailType) MarshalJSON() ([]byte, error)
func (*IncreComponentDetailType) UnmarshalJSON ¶ added in v0.1.58
func (c *IncreComponentDetailType) UnmarshalJSON(b []byte) error
func (IncreComponentDetailType) Value ¶ added in v0.1.58
func (c IncreComponentDetailType) Value() string
type IncreComponentDetailTypeEnum ¶ added in v0.1.58
type IncreComponentDetailTypeEnum struct { CAPTURE IncreComponentDetailType APPLY IncreComponentDetailType }
func GetIncreComponentDetailTypeEnum ¶ added in v0.1.58
func GetIncreComponentDetailTypeEnum() IncreComponentDetailTypeEnum
type JobActionReq ¶
type JobActionReq struct {
Job *ActionReq `json:"job"`
}
JobActionReq 操作单个任务请求体,支持测试连接、预检查、启动、暂停、续传、重置、对比、结束等操作。
func (JobActionReq) String ¶
func (o JobActionReq) String() string
type JobActions ¶
type JobActions struct { // 任务可操作命令集合。 - CREATE:创建任务 - CHOOSE_OBJECT:选择对象,任务增量中再编辑 - PRE_CHECK:预检查 - CHANGE_MODE:修改任务模式 - FREE_RESOURCE:释放资源 - MODIFY_DB_CONFIG:修改数据库配置 - RESET_DB_PWD:重置数据库密码(源库、目标库) - MODIFY_CONFIGURATION:修改任务配置 - PAUSE:暂停任务 - START:启动任务 - CHANGE:修改任务 - RETRY:重试任务 - RESET:重置任务 - DELETE:删除任务 - QUERY_PRE_CHECK:预检查 - SWITCH_OVER:容灾倒换 - START_INCR:CASSANDRA启动增量任务 - MODIFY_TASK_NUMBER:CASSANDRA修改线程数配置 - CONTINUE_JOB:oracle-GaussDB分布式:启动失败或者停止的任务 - STOP_JOB:oracle-GaussDB分布式:停止任务 - CONTINUE_CAPTURE:启动抓取 - STOP_CAPTURE:停止抓取 - CONTINUE_APPLY:启动回放 - STOP_APPLY:停止回放 - PAY_ORDER:包年包月支付订单 - UNSUBSCRIBE:包年包月退订 - TO_PERIOD:转包周期 - TO_RENEW:包周期续费 - ORDER_INFO:订单详情 - CHANGE_FLAVOR:规格变更 - CLONE:克隆任务 AvailableActions []string `json:"available_actions"` UnavailableActions []string `json:"unavailable_actions"` // 任务当前操作命令。取值: - API_CONFIGURATION_ACTION:OPEN API配置中的任务能调用。 - CHANGE:修改任务。 - CHANGE_MODE:修改任务模式。 - CHOOSE_OBJECT:选择对象。 - CLONE:克隆任务。 - CONTINUE_APPLY:启动回放,Oracle同步到GaussDB分布式适用。 - CONTINUE_CAPTURE:启动抓取,Oracle同步到GaussDB分布式适用。 - CONTINUE_JOB:启动失败或者停止的任务,Oracle同步到GaussDB分布式适用。 - CREATE:创建任务。 - DELETE:删除任务。 - FREE_RESOURCE:释放资源。 - JUMP_RETRY:跳跃续传任务。 - MODIFY_CONFIGURATION:修改任务配置。 - MODIFY_DB_CONFIG:修改数据库配置。 - MODIFY_TASK_NUMBER:修改线程数配置。 - NODE_FLAVOR_MODIFY:规格变更。 - ORDER_INFO:订单详情。 - PAUSE:暂停任务。 - PAY_ORDER:包年/包月支付订单。 - PRE_CHECK:预检查。 - QUERY_PRE_CHECK:查询预检查结果。 - RESET:重置任务。 - RESET_DB_PWD:重置数据库密码(源库、目标库)。 - RETRY:重试任务。 - START:启动任务。 - START_INCR:启动增量任务。 - STOP_APPLY:停止回放,Oracle同步到GaussDB分布式适用。 - STOP_CAPTURE:停止抓取,Oracle同步到GaussDB分布式适用。 - STOP_JOB:停止任务,Oracle同步到GaussDB分布式适用。 - SWITCH_OVER:灾备倒换。 - TO_PERIOD:转包年/包月任务。 - TO_RENEW:包年/包月任务续费。 - UNSUBSCRIBE:包年/包月任务退订。 CurrentAction JobActionsCurrentAction `json:"current_action"` }
JobActions 任务操作命令集合。
func (JobActions) String ¶
func (o JobActions) String() string
type JobActionsCurrentAction ¶
type JobActionsCurrentAction struct {
// contains filtered or unexported fields
}
func (JobActionsCurrentAction) MarshalJSON ¶
func (c JobActionsCurrentAction) MarshalJSON() ([]byte, error)
func (*JobActionsCurrentAction) UnmarshalJSON ¶
func (c *JobActionsCurrentAction) UnmarshalJSON(b []byte) error
func (JobActionsCurrentAction) Value ¶
func (c JobActionsCurrentAction) Value() string
type JobActionsCurrentActionEnum ¶
type JobActionsCurrentActionEnum struct { API_CONFIGURATION_ACTION JobActionsCurrentAction CHANGE JobActionsCurrentAction CHANGE_MODE JobActionsCurrentAction CHOOSE_OBJECT JobActionsCurrentAction CLONE JobActionsCurrentAction CONTINUE_APPLY JobActionsCurrentAction CONTINUE_CAPTURE JobActionsCurrentAction CONTINUE_JOB JobActionsCurrentAction CREATE JobActionsCurrentAction DELETE JobActionsCurrentAction FREE_RESOURCE JobActionsCurrentAction JUMP_RETRY JobActionsCurrentAction MODIFY_CONFIGURATION JobActionsCurrentAction MODIFY_DB_CONFIG JobActionsCurrentAction MODIFY_TASK_NUMBER JobActionsCurrentAction NODE_FLAVOR_MODIFY JobActionsCurrentAction ORDER_INFO JobActionsCurrentAction PAUSE JobActionsCurrentAction PAY_ORDER JobActionsCurrentAction PRE_CHECK JobActionsCurrentAction QUERY_PRE_CHECK JobActionsCurrentAction RESET JobActionsCurrentAction RESET_DB_PWD JobActionsCurrentAction RETRY JobActionsCurrentAction START JobActionsCurrentAction START_INCR JobActionsCurrentAction STOP_APPLY JobActionsCurrentAction STOP_CAPTURE JobActionsCurrentAction STOP_JOB JobActionsCurrentAction SWITCH_OVER JobActionsCurrentAction TO_PERIOD JobActionsCurrentAction TO_RENEW JobActionsCurrentAction UNSUBSCRIBE JobActionsCurrentAction }
func GetJobActionsCurrentActionEnum ¶
func GetJobActionsCurrentActionEnum() JobActionsCurrentActionEnum
type JobBaseInfo ¶
type JobBaseInfo struct { // 任务名称。 约束:任务名称在4位到50位之间,不区分大小写,可以包含字母、数字、中划线或下划线,不能包括其他特殊字符。 - 最小长度:4 - 最大长度:50 Name *string `json:"name,omitempty"` // 任务场景。取值: - migration:实时迁移。 - sync:实时同步。 - cloudDataGuard:实时灾备。 JobType *JobBaseInfoJobType `json:"job_type,omitempty"` // 灾备类型是否双主灾备。说明: - job_type 是cloudDataGuard时,必填,灾备类型是双主灾备时,multi_write取值true, 否则为false。 - job_type 是其他类型时,multi_write是非必选参数。 MultiWrite *bool `json:"multi_write,omitempty"` // 引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。 - mysql-to-mysql:MySQL同步到MySQL,实时同步场景使用。 EngineType *JobBaseInfoEngineType `json:"engine_type,omitempty"` // 迁移方向。取值: - up:入云 ,灾备场景时对应本云为备。 - down:出云,灾备场景时对应本云为主。 - non-dbs:自建。 JobDirection *JobBaseInfoJobDirection `json:"job_direction,omitempty"` // 迁移模式。取值: - FULL_TRANS :全量。 - FULL_INCR_TRANS:全量+增量。 - INCR_TRANS:增量。 TaskType *JobBaseInfoTaskType `json:"task_type,omitempty"` // 网络类型。取值: - eip:公网网络。 - vpc:VPC网络,灾备场景不支持选择VPC网络。 - vpn:VPN、专线网络。 NetType *JobBaseInfoNetType `json:"net_type,omitempty"` // 计费模式,默认按需。取值: - period:包周期。 - on_demand:按需。 ChargingMode *JobBaseInfoChargingMode `json:"charging_mode,omitempty"` // 企业项目ID。 缺省值:\"0\",表示\"default\"企业项目。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 任务描述。 约束:任务描述不能超过256位,且不能包含!<>&'\"\\特殊字符。 Description *string `json:"description,omitempty"` // 任务定时启动时间。 StartTime *string `json:"start_time,omitempty"` // 任务处于异常状态一段时间后,将会自动结束。单位为天。(范围14-100),不传默认为14天。 ExpiredDays *string `json:"expired_days,omitempty"` // 标签信息,最多添加10个标签。 Tags *[]ResourceTag `json:"tags,omitempty"` // 是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。 IsOpenFastClean *bool `json:"is_open_fast_clean,omitempty"` }
JobBaseInfo 创建任务基本信息体。
func (JobBaseInfo) String ¶
func (o JobBaseInfo) String() string
type JobBaseInfoChargingMode ¶
type JobBaseInfoChargingMode struct {
// contains filtered or unexported fields
}
func (JobBaseInfoChargingMode) MarshalJSON ¶
func (c JobBaseInfoChargingMode) MarshalJSON() ([]byte, error)
func (*JobBaseInfoChargingMode) UnmarshalJSON ¶
func (c *JobBaseInfoChargingMode) UnmarshalJSON(b []byte) error
func (JobBaseInfoChargingMode) Value ¶
func (c JobBaseInfoChargingMode) Value() string
type JobBaseInfoChargingModeEnum ¶
type JobBaseInfoChargingModeEnum struct { PERIOD JobBaseInfoChargingMode ON_DEMAND JobBaseInfoChargingMode }
func GetJobBaseInfoChargingModeEnum ¶
func GetJobBaseInfoChargingModeEnum() JobBaseInfoChargingModeEnum
type JobBaseInfoEngineType ¶
type JobBaseInfoEngineType struct {
// contains filtered or unexported fields
}
func (JobBaseInfoEngineType) MarshalJSON ¶
func (c JobBaseInfoEngineType) MarshalJSON() ([]byte, error)
func (*JobBaseInfoEngineType) UnmarshalJSON ¶
func (c *JobBaseInfoEngineType) UnmarshalJSON(b []byte) error
func (JobBaseInfoEngineType) Value ¶
func (c JobBaseInfoEngineType) Value() string
type JobBaseInfoEngineTypeEnum ¶
type JobBaseInfoEngineTypeEnum struct { ORACLE_TO_GAUSSDBV5 JobBaseInfoEngineType REDIS_TO_GAUSSREDIS JobBaseInfoEngineType REDISCLUSTER_TO_GAUSSREDIS JobBaseInfoEngineType MYSQL_TO_MYSQL JobBaseInfoEngineType }
func GetJobBaseInfoEngineTypeEnum ¶
func GetJobBaseInfoEngineTypeEnum() JobBaseInfoEngineTypeEnum
type JobBaseInfoJobDirection ¶
type JobBaseInfoJobDirection struct {
// contains filtered or unexported fields
}
func (JobBaseInfoJobDirection) MarshalJSON ¶
func (c JobBaseInfoJobDirection) MarshalJSON() ([]byte, error)
func (*JobBaseInfoJobDirection) UnmarshalJSON ¶
func (c *JobBaseInfoJobDirection) UnmarshalJSON(b []byte) error
func (JobBaseInfoJobDirection) Value ¶
func (c JobBaseInfoJobDirection) Value() string
type JobBaseInfoJobDirectionEnum ¶
type JobBaseInfoJobDirectionEnum struct { UP JobBaseInfoJobDirection DOWN JobBaseInfoJobDirection NON_DBS JobBaseInfoJobDirection }
func GetJobBaseInfoJobDirectionEnum ¶
func GetJobBaseInfoJobDirectionEnum() JobBaseInfoJobDirectionEnum
type JobBaseInfoJobType ¶
type JobBaseInfoJobType struct {
// contains filtered or unexported fields
}
func (JobBaseInfoJobType) MarshalJSON ¶
func (c JobBaseInfoJobType) MarshalJSON() ([]byte, error)
func (*JobBaseInfoJobType) UnmarshalJSON ¶
func (c *JobBaseInfoJobType) UnmarshalJSON(b []byte) error
func (JobBaseInfoJobType) Value ¶
func (c JobBaseInfoJobType) Value() string
type JobBaseInfoJobTypeEnum ¶
type JobBaseInfoJobTypeEnum struct { MIGRATION JobBaseInfoJobType SYNC JobBaseInfoJobType CLOUD_DATA_GUARD JobBaseInfoJobType }
func GetJobBaseInfoJobTypeEnum ¶
func GetJobBaseInfoJobTypeEnum() JobBaseInfoJobTypeEnum
type JobBaseInfoNetType ¶
type JobBaseInfoNetType struct {
// contains filtered or unexported fields
}
func (JobBaseInfoNetType) MarshalJSON ¶
func (c JobBaseInfoNetType) MarshalJSON() ([]byte, error)
func (*JobBaseInfoNetType) UnmarshalJSON ¶
func (c *JobBaseInfoNetType) UnmarshalJSON(b []byte) error
func (JobBaseInfoNetType) Value ¶
func (c JobBaseInfoNetType) Value() string
type JobBaseInfoNetTypeEnum ¶
type JobBaseInfoNetTypeEnum struct { EIP JobBaseInfoNetType VPC JobBaseInfoNetType VPN JobBaseInfoNetType }
func GetJobBaseInfoNetTypeEnum ¶
func GetJobBaseInfoNetTypeEnum() JobBaseInfoNetTypeEnum
type JobBaseInfoTaskType ¶
type JobBaseInfoTaskType struct {
// contains filtered or unexported fields
}
func (JobBaseInfoTaskType) MarshalJSON ¶
func (c JobBaseInfoTaskType) MarshalJSON() ([]byte, error)
func (*JobBaseInfoTaskType) UnmarshalJSON ¶
func (c *JobBaseInfoTaskType) UnmarshalJSON(b []byte) error
func (JobBaseInfoTaskType) Value ¶
func (c JobBaseInfoTaskType) Value() string
type JobBaseInfoTaskTypeEnum ¶
type JobBaseInfoTaskTypeEnum struct { FULL_TRANS JobBaseInfoTaskType FULL_INCR_TRANS JobBaseInfoTaskType INCR_TRANS JobBaseInfoTaskType }
func GetJobBaseInfoTaskTypeEnum ¶
func GetJobBaseInfoTaskTypeEnum() JobBaseInfoTaskTypeEnum
type JobDetailResp ¶
type JobDetailResp struct { // 任务ID。 Id *string `json:"id,omitempty"` // 任务状态。 - CREATING:创建中 - CREATE_FAILED:创建失败 - CONFIGURATION:配置中 - STARTJOBING:启动中 - WAITING_FOR_START:等待启动中 - START_JOB_FAILED:启动失败 - PAUSING:已暂停 - FULL_TRANSFER_STARTED:全量开始,灾备场景下为初始化 - FULL_TRANSFER_FAILED:全量失败,灾备场景下为初始化失败 - FULL_TRANSFER_COMPLETE:全量完成,灾备场景下为初始化完成 - INCRE_TRANSFER_STARTED:增量开始,灾备场景下为灾备中 - INCRE_TRANSFER_FAILED:增量失败,灾备场景下为灾备异常 - RELEASE_RESOURCE_STARTED:结束任务中 - RELEASE_RESOURCE_FAILED:结束任务失败 - RELEASE_RESOURCE_COMPLETE:已结束 - REBUILD_NODE_STARTED:故障恢复中 - REBUILD_NODE_FAILED:故障恢复失败 - CHANGE_JOB_STARTED:任务变更中 - CHANGE_JOB_FAILED:任务变更失败 - DELETED:已删除 - CHILD_TRANSFER_STARTING:再编辑子任务启动中 - CHILD_TRANSFER_STARTED:再编辑子任务迁移中 - CHILD_TRANSFER_COMPLETE:再编辑子任务迁移完成 - CHILD_TRANSFER_FAILED:再编辑子任务迁移失败 - RELEASE_CHILD_TRANSFER_STARTED:再编辑子任务结束中 - RELEASE_CHILD_TRANSFER_COMPLETE:再编辑子任务已结束 - NODE_UPGRADE_START:升级开始 - NODE_UPGRADE_COMPLETE:升级完成 - NODE_UPGRADE_FAILED:升级失败 Status *JobDetailRespStatus `json:"status,omitempty"` // 任务创建时间。 CreateTime *string `json:"create_time,omitempty"` // 列表中的项目总数,与分页无关。 TotalCount *int32 `json:"total_count,omitempty"` // 多任务主节点的任务ID。 MasterJobId *string `json:"master_job_id,omitempty"` BaseInfo *JobBaseInfo `json:"base_info,omitempty"` // 任务源数据库信息体。 SourceEndpoint *[]JobEndpointInfo `json:"source_endpoint,omitempty"` // 任务目标数据库信息体。 TargetEndpoint *[]JobEndpointInfo `json:"target_endpoint,omitempty"` AlarmNotify *AlarmNotifyConfig `json:"alarm_notify,omitempty"` // 限速信息体。 - 限速:自定义的最大迁移速度,迁移过程中的迁移速度将不会超过该速度。 - 不限速:对迁移速度不进行限制,通常会最大化使用源数据库的出口带宽。该流速模式同时会对源数据库造成读消耗,消耗取决于源数据库的出口带宽。比如:源数据库的出口带宽为100MB/s,假设高速模式使用了80%带宽,则迁移对源数据库将造成80MB/s的读操作IO消耗。 SpeedLimit *[]SpeedLimitInfo `json:"speed_limit,omitempty"` UserMigration *UserMigrationInfo `json:"user_migration,omitempty"` PolicyConfig *PolicyConfig `json:"policy_config,omitempty"` DbParam *DbParamInfo `json:"db_param,omitempty"` TuningParams *TuningParamInfo `json:"tuning_params,omitempty"` PeriodOrder *PeriodOrderInfo `json:"period_order,omitempty"` NodeInfo *JobNodeInfo `json:"node_info,omitempty"` // 日志查询结果信息体。 Logs *[]TaskLogInfo `json:"logs,omitempty"` // 网络打通测试结果信息体。 NetworkResults *[]QueryNetworkResult `json:"network_results,omitempty"` PrecheckResult *QueryPreCheckResult `json:"precheck_result,omitempty"` ProgressInfo *JobProgressInfo `json:"progress_info,omitempty"` MigrationObjectProgressInfo *QueryMigrationObjectProgressInfo `json:"migration_object_progress_info,omitempty"` Metrics *QueryMetricResult `json:"metrics,omitempty"` CompareResult *CompareResultInfo `json:"compare_result,omitempty"` SupportImportFileResp *SupportImportFileResult `json:"support_import_file_resp,omitempty"` // 由开关和版本共同控制的任务级别的功能列表。 InstanceFeatures map[string]string `json:"instance_features,omitempty"` // 任务版本。 TaskVersion *string `json:"task_version,omitempty"` ConnectionManagement *ConnectionManagement `json:"connection_management,omitempty"` // 指定公网IP的信息 PublicIpList *[]PublicIpConfig `json:"public_ip_list,omitempty"` // 是否成功绑定公网IP BindPublicIpState *string `json:"bind_public_ip_state,omitempty"` // 多任务时,存在子任务绑定失败时,返回子任务的信息 Children *[]FailedToBindEipChildInfo `json:"children,omitempty"` // 解除目标库只读操作后,目标库解除只读是否成功。 - pending:目标库解除操作进行中。 - success:目标库解除只读操作成功。 IsWritable *JobDetailRespIsWritable `json:"is_writable,omitempty"` }
JobDetailResp 任务详情响应体。
func (JobDetailResp) String ¶
func (o JobDetailResp) String() string
type JobDetailRespIsWritable ¶ added in v0.1.95
type JobDetailRespIsWritable struct {
// contains filtered or unexported fields
}
func (JobDetailRespIsWritable) MarshalJSON ¶ added in v0.1.95
func (c JobDetailRespIsWritable) MarshalJSON() ([]byte, error)
func (*JobDetailRespIsWritable) UnmarshalJSON ¶ added in v0.1.95
func (c *JobDetailRespIsWritable) UnmarshalJSON(b []byte) error
func (JobDetailRespIsWritable) Value ¶ added in v0.1.95
func (c JobDetailRespIsWritable) Value() string
type JobDetailRespIsWritableEnum ¶ added in v0.1.95
type JobDetailRespIsWritableEnum struct { PENDING JobDetailRespIsWritable SUCCESS JobDetailRespIsWritable }
func GetJobDetailRespIsWritableEnum ¶ added in v0.1.95
func GetJobDetailRespIsWritableEnum() JobDetailRespIsWritableEnum
type JobDetailRespStatus ¶ added in v0.1.111
type JobDetailRespStatus struct {
// contains filtered or unexported fields
}
func (JobDetailRespStatus) MarshalJSON ¶ added in v0.1.111
func (c JobDetailRespStatus) MarshalJSON() ([]byte, error)
func (*JobDetailRespStatus) UnmarshalJSON ¶ added in v0.1.111
func (c *JobDetailRespStatus) UnmarshalJSON(b []byte) error
func (JobDetailRespStatus) Value ¶ added in v0.1.111
func (c JobDetailRespStatus) Value() string
type JobDetailRespStatusEnum ¶ added in v0.1.111
type JobDetailRespStatusEnum struct { CREATING JobDetailRespStatus CREATE_FAILED JobDetailRespStatus CONFIGURATION JobDetailRespStatus STARTJOBING JobDetailRespStatus WAITING_FOR_START JobDetailRespStatus START_JOB_FAILED JobDetailRespStatus PAUSING JobDetailRespStatus FULL_TRANSFER_STARTED JobDetailRespStatus FULL_TRANSFER_FAILED JobDetailRespStatus FULL_TRANSFER_COMPLETE JobDetailRespStatus INCRE_TRANSFER_STARTED JobDetailRespStatus INCRE_TRANSFER_FAILED JobDetailRespStatus RELEASE_RESOURCE_STARTED JobDetailRespStatus RELEASE_RESOURCE_FAILED JobDetailRespStatus RELEASE_RESOURCE_COMPLETE JobDetailRespStatus REBUILD_NODE_STARTED JobDetailRespStatus REBUILD_NODE_FAILED JobDetailRespStatus CHANGE_JOB_STARTED JobDetailRespStatus CHANGE_JOB_FAILED JobDetailRespStatus DELETED JobDetailRespStatus CHILD_TRANSFER_STARTING JobDetailRespStatus CHILD_TRANSFER_STARTED JobDetailRespStatus CHILD_TRANSFER_COMPLETE JobDetailRespStatus CHILD_TRANSFER_FAILED JobDetailRespStatus RELEASE_CHILD_TRANSFER_STARTED JobDetailRespStatus RELEASE_CHILD_TRANSFER_COMPLETE JobDetailRespStatus NODE_UPGRADE_START JobDetailRespStatus NODE_UPGRADE_COMPLETE JobDetailRespStatus NODE_UPGRADE_FAILED JobDetailRespStatus }
func GetJobDetailRespStatusEnum ¶ added in v0.1.111
func GetJobDetailRespStatusEnum() JobDetailRespStatusEnum
type JobEndpointInfo ¶
type JobEndpointInfo struct { // 数据库类型。取值: - oracle:Oracle。 - gaussdbv5:GaussDB分布式版。 - redis:Redis。 - rediscluster:Redis集群版。 - gaussredis: GeminiDB Redis。 - mysql:MySQL。 DbType JobEndpointInfoDbType `json:"db_type"` // 数据库实例类型。取值: - offline:自建数据库。 - ecs:华为云ECS自建数据库。 - cloud:华为云数据库。 EndpointType JobEndpointInfoEndpointType `json:"endpoint_type"` // 数据库实例角色。取值: - so:源库。 - ta:目标库。 EndpointRole JobEndpointInfoEndpointRole `json:"endpoint_role"` Endpoint *BaseEndpoint `json:"endpoint"` Cloud *CloudBaseInfo `json:"cloud,omitempty"` Vpc *CloudVpcInfo `json:"vpc,omitempty"` Config *BaseEndpointConfig `json:"config,omitempty"` Ssl *EndpointSslConfig `json:"ssl,omitempty"` CustomizedDns *CustomizedDns `json:"customized_dns,omitempty"` }
JobEndpointInfo 创建任务数据库信息体。
func (JobEndpointInfo) String ¶
func (o JobEndpointInfo) String() string
type JobEndpointInfoDbType ¶
type JobEndpointInfoDbType struct {
// contains filtered or unexported fields
}
func (JobEndpointInfoDbType) MarshalJSON ¶
func (c JobEndpointInfoDbType) MarshalJSON() ([]byte, error)
func (*JobEndpointInfoDbType) UnmarshalJSON ¶
func (c *JobEndpointInfoDbType) UnmarshalJSON(b []byte) error
func (JobEndpointInfoDbType) Value ¶
func (c JobEndpointInfoDbType) Value() string
type JobEndpointInfoDbTypeEnum ¶
type JobEndpointInfoDbTypeEnum struct { ORACLE JobEndpointInfoDbType GAUSSDBV5 JobEndpointInfoDbType REDIS JobEndpointInfoDbType REDISCLUSTER JobEndpointInfoDbType GAUSSREDIS JobEndpointInfoDbType MYSQL JobEndpointInfoDbType }
func GetJobEndpointInfoDbTypeEnum ¶
func GetJobEndpointInfoDbTypeEnum() JobEndpointInfoDbTypeEnum
type JobEndpointInfoEndpointRole ¶
type JobEndpointInfoEndpointRole struct {
// contains filtered or unexported fields
}
func (JobEndpointInfoEndpointRole) MarshalJSON ¶
func (c JobEndpointInfoEndpointRole) MarshalJSON() ([]byte, error)
func (*JobEndpointInfoEndpointRole) UnmarshalJSON ¶
func (c *JobEndpointInfoEndpointRole) UnmarshalJSON(b []byte) error
func (JobEndpointInfoEndpointRole) Value ¶
func (c JobEndpointInfoEndpointRole) Value() string
type JobEndpointInfoEndpointRoleEnum ¶
type JobEndpointInfoEndpointRoleEnum struct { SO JobEndpointInfoEndpointRole TA JobEndpointInfoEndpointRole }
func GetJobEndpointInfoEndpointRoleEnum ¶
func GetJobEndpointInfoEndpointRoleEnum() JobEndpointInfoEndpointRoleEnum
type JobEndpointInfoEndpointType ¶
type JobEndpointInfoEndpointType struct {
// contains filtered or unexported fields
}
func (JobEndpointInfoEndpointType) MarshalJSON ¶
func (c JobEndpointInfoEndpointType) MarshalJSON() ([]byte, error)
func (*JobEndpointInfoEndpointType) UnmarshalJSON ¶
func (c *JobEndpointInfoEndpointType) UnmarshalJSON(b []byte) error
func (JobEndpointInfoEndpointType) Value ¶
func (c JobEndpointInfoEndpointType) Value() string
type JobEndpointInfoEndpointTypeEnum ¶
type JobEndpointInfoEndpointTypeEnum struct { OFFLINE JobEndpointInfoEndpointType ECS JobEndpointInfoEndpointType CLOUD JobEndpointInfoEndpointType }
func GetJobEndpointInfoEndpointTypeEnum ¶
func GetJobEndpointInfoEndpointTypeEnum() JobEndpointInfoEndpointTypeEnum
type JobLinkResp ¶
type JobLinkResp struct { // 任务场景。取值: - migration:实时迁移。 - sync:实时同步。 - cloudDataGuard:实时灾备。 JobType JobLinkRespJobType `json:"job_type"` // 引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。 EngineType JobLinkRespEngineType `json:"engine_type"` // 源数据库实例类型。取值: - offline:自建数据库。 - ecs:华为云ECS自建数据库。 - cloud:华为云数据库。 SourceEndpointType JobLinkRespSourceEndpointType `json:"source_endpoint_type"` // 目标数据库实例类型。取值: - offline:自建数据库。 - ecs:华为云ECS自建数据库。 - cloud:华为云数据库。 TargetEndpointType JobLinkRespTargetEndpointType `json:"target_endpoint_type"` // 迁移方向。取值: - up:入云 ,灾备场景时对应本云为备。 - down:出云,灾备场景时对应本云为主。 - non-dbs:自建。 JobDirection JobLinkRespJobDirection `json:"job_direction"` // 网络类型。取值: - eip:公网网络。 - vpc:VPC网络,灾备场景不支持选择VPC网络。 - vpn:VPN、专线网络。 NetType JobLinkRespNetType `json:"net_type"` // 迁移模式。取值: - FULL_TRANS :全量。 - FULL_INCR_TRANS:全量+增量。 - INCR_TRANS:增量。 TaskTypes []JobLinkRespTaskTypes `json:"task_types"` // 引擎实例模式。取值: - Single:单机模式。 - Ha:主备模式。 - Cluster:集群模式。 - Sharding:分片模式。 - Independent:GaussDB独立部署模式。 ClusterModes []JobLinkRespClusterModes `json:"cluster_modes"` // 链路描述。 Description string `json:"description"` }
JobLinkResp 可用链路返回体。
func (JobLinkResp) String ¶
func (o JobLinkResp) String() string
type JobLinkRespClusterModes ¶
type JobLinkRespClusterModes struct {
// contains filtered or unexported fields
}
func (JobLinkRespClusterModes) MarshalJSON ¶
func (c JobLinkRespClusterModes) MarshalJSON() ([]byte, error)
func (*JobLinkRespClusterModes) UnmarshalJSON ¶
func (c *JobLinkRespClusterModes) UnmarshalJSON(b []byte) error
func (JobLinkRespClusterModes) Value ¶
func (c JobLinkRespClusterModes) Value() string
type JobLinkRespClusterModesEnum ¶
type JobLinkRespClusterModesEnum struct { SINGLE JobLinkRespClusterModes HA JobLinkRespClusterModes CLUSTER JobLinkRespClusterModes SHARDING JobLinkRespClusterModes INDEPENDENT JobLinkRespClusterModes }
func GetJobLinkRespClusterModesEnum ¶
func GetJobLinkRespClusterModesEnum() JobLinkRespClusterModesEnum
type JobLinkRespEngineType ¶
type JobLinkRespEngineType struct {
// contains filtered or unexported fields
}
func (JobLinkRespEngineType) MarshalJSON ¶
func (c JobLinkRespEngineType) MarshalJSON() ([]byte, error)
func (*JobLinkRespEngineType) UnmarshalJSON ¶
func (c *JobLinkRespEngineType) UnmarshalJSON(b []byte) error
func (JobLinkRespEngineType) Value ¶
func (c JobLinkRespEngineType) Value() string
type JobLinkRespEngineTypeEnum ¶
type JobLinkRespEngineTypeEnum struct { ORACLE_TO_GAUSSDBV5 JobLinkRespEngineType REDIS_TO_GAUSSREDIS JobLinkRespEngineType REDISCLUSTER_TO_GAUSSREDIS JobLinkRespEngineType }
func GetJobLinkRespEngineTypeEnum ¶
func GetJobLinkRespEngineTypeEnum() JobLinkRespEngineTypeEnum
type JobLinkRespJobDirection ¶
type JobLinkRespJobDirection struct {
// contains filtered or unexported fields
}
func (JobLinkRespJobDirection) MarshalJSON ¶
func (c JobLinkRespJobDirection) MarshalJSON() ([]byte, error)
func (*JobLinkRespJobDirection) UnmarshalJSON ¶
func (c *JobLinkRespJobDirection) UnmarshalJSON(b []byte) error
func (JobLinkRespJobDirection) Value ¶
func (c JobLinkRespJobDirection) Value() string
type JobLinkRespJobDirectionEnum ¶
type JobLinkRespJobDirectionEnum struct { UP JobLinkRespJobDirection DOWN JobLinkRespJobDirection NON_DBS JobLinkRespJobDirection }
func GetJobLinkRespJobDirectionEnum ¶
func GetJobLinkRespJobDirectionEnum() JobLinkRespJobDirectionEnum
type JobLinkRespJobType ¶
type JobLinkRespJobType struct {
// contains filtered or unexported fields
}
func (JobLinkRespJobType) MarshalJSON ¶
func (c JobLinkRespJobType) MarshalJSON() ([]byte, error)
func (*JobLinkRespJobType) UnmarshalJSON ¶
func (c *JobLinkRespJobType) UnmarshalJSON(b []byte) error
func (JobLinkRespJobType) Value ¶
func (c JobLinkRespJobType) Value() string
type JobLinkRespJobTypeEnum ¶
type JobLinkRespJobTypeEnum struct { MIGRATION JobLinkRespJobType SYNC JobLinkRespJobType CLOUD_DATA_GUARD JobLinkRespJobType }
func GetJobLinkRespJobTypeEnum ¶
func GetJobLinkRespJobTypeEnum() JobLinkRespJobTypeEnum
type JobLinkRespNetType ¶
type JobLinkRespNetType struct {
// contains filtered or unexported fields
}
func (JobLinkRespNetType) MarshalJSON ¶
func (c JobLinkRespNetType) MarshalJSON() ([]byte, error)
func (*JobLinkRespNetType) UnmarshalJSON ¶
func (c *JobLinkRespNetType) UnmarshalJSON(b []byte) error
func (JobLinkRespNetType) Value ¶
func (c JobLinkRespNetType) Value() string
type JobLinkRespNetTypeEnum ¶
type JobLinkRespNetTypeEnum struct { EIP JobLinkRespNetType VPC JobLinkRespNetType VPN JobLinkRespNetType }
func GetJobLinkRespNetTypeEnum ¶
func GetJobLinkRespNetTypeEnum() JobLinkRespNetTypeEnum
type JobLinkRespSourceEndpointType ¶
type JobLinkRespSourceEndpointType struct {
// contains filtered or unexported fields
}
func (JobLinkRespSourceEndpointType) MarshalJSON ¶
func (c JobLinkRespSourceEndpointType) MarshalJSON() ([]byte, error)
func (*JobLinkRespSourceEndpointType) UnmarshalJSON ¶
func (c *JobLinkRespSourceEndpointType) UnmarshalJSON(b []byte) error
func (JobLinkRespSourceEndpointType) Value ¶
func (c JobLinkRespSourceEndpointType) Value() string
type JobLinkRespSourceEndpointTypeEnum ¶
type JobLinkRespSourceEndpointTypeEnum struct { OFFLINE JobLinkRespSourceEndpointType ECS JobLinkRespSourceEndpointType CLOUD JobLinkRespSourceEndpointType }
func GetJobLinkRespSourceEndpointTypeEnum ¶
func GetJobLinkRespSourceEndpointTypeEnum() JobLinkRespSourceEndpointTypeEnum
type JobLinkRespTargetEndpointType ¶
type JobLinkRespTargetEndpointType struct {
// contains filtered or unexported fields
}
func (JobLinkRespTargetEndpointType) MarshalJSON ¶
func (c JobLinkRespTargetEndpointType) MarshalJSON() ([]byte, error)
func (*JobLinkRespTargetEndpointType) UnmarshalJSON ¶
func (c *JobLinkRespTargetEndpointType) UnmarshalJSON(b []byte) error
func (JobLinkRespTargetEndpointType) Value ¶
func (c JobLinkRespTargetEndpointType) Value() string
type JobLinkRespTargetEndpointTypeEnum ¶
type JobLinkRespTargetEndpointTypeEnum struct { OFFLINE JobLinkRespTargetEndpointType ECS JobLinkRespTargetEndpointType CLOUD JobLinkRespTargetEndpointType }
func GetJobLinkRespTargetEndpointTypeEnum ¶
func GetJobLinkRespTargetEndpointTypeEnum() JobLinkRespTargetEndpointTypeEnum
type JobLinkRespTaskTypes ¶
type JobLinkRespTaskTypes struct {
// contains filtered or unexported fields
}
func (JobLinkRespTaskTypes) MarshalJSON ¶
func (c JobLinkRespTaskTypes) MarshalJSON() ([]byte, error)
func (*JobLinkRespTaskTypes) UnmarshalJSON ¶
func (c *JobLinkRespTaskTypes) UnmarshalJSON(b []byte) error
func (JobLinkRespTaskTypes) Value ¶
func (c JobLinkRespTaskTypes) Value() string
type JobLinkRespTaskTypesEnum ¶
type JobLinkRespTaskTypesEnum struct { FULL_TRANS JobLinkRespTaskTypes FULL_INCR_TRANS JobLinkRespTaskTypes INCR_TRANS JobLinkRespTaskTypes }
func GetJobLinkRespTaskTypesEnum ¶
func GetJobLinkRespTaskTypesEnum() JobLinkRespTaskTypesEnum
type JobListResp ¶
type JobListResp struct { // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` // 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中,灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败,灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成,灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中,灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败,灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。 Status JobListRespStatus `json:"status"` // 任务描述。 Description string `json:"description"` // 任务创建时间。 CreateTime string `json:"create_time"` // 引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:redis集群同步到GeminiDB Redis,实时迁移场景使用。 EngineType JobListRespEngineType `json:"engine_type"` // 网络类型。取值: - eip:公网网络。 - vpc:VPC网络,灾备场景不支持选择VPC网络。 - vpn:VPN、专线网络。 NetType JobListRespNetType `json:"net_type"` // 计费模式。取值: - period:包周期。 - on_demand:按需。 ChargingMode JobListRespChargingMode `json:"charging_mode"` // 是否计费。 BillingTag bool `json:"billing_tag"` // 任务方向。取值: - up:入云 ,灾备场景时对应本云为备。 - down:出云,灾备场景时对应本云为主。 - non-dbs:自建。 JobDirection JobListRespJobDirection `json:"job_direction"` // 任务场景。取值: - migration:实时迁移。 - sync:实时同步。 - cloudDataGuard:实时灾备。 JobType JobListRespJobType `json:"job_type"` // 任务模式。取值: - FULL_TRANS :全量。 - FULL_INCR_TRANS:全量+增量。 - INCR_TRANS:增量。 TaskType JobListRespTaskType `json:"task_type"` // 企业项目ID。 EnterpriseProjectId string `json:"enterprise_project_id"` // 任务模式。取值: - single:单任务。 - sync_child:同步子任务。 - multi_to_single:多对一任务。 JobMode JobListRespJobMode `json:"job_mode"` // 任务角色。取值: - parent:父任务。 - child:子任务。 - master:主任务。 - slave:备任务。 JobModeRole JobListRespJobModeRole `json:"job_mode_role"` // 是否跨AZ任务。 IsMultiAz bool `json:"is_multi_az"` // 任务节点角色。 NodeRole string `json:"node_role"` // 是否新框架。 NodeNewFramework bool `json:"node_new_framework"` JobAction *JobActions `json:"job_action"` // 子任务列表信息体。 Children *[]ChildrenJobListResp `json:"children,omitempty"` }
JobListResp 任务列表响应体。
func (JobListResp) String ¶
func (o JobListResp) String() string
type JobListRespChargingMode ¶
type JobListRespChargingMode struct {
// contains filtered or unexported fields
}
func (JobListRespChargingMode) MarshalJSON ¶
func (c JobListRespChargingMode) MarshalJSON() ([]byte, error)
func (*JobListRespChargingMode) UnmarshalJSON ¶
func (c *JobListRespChargingMode) UnmarshalJSON(b []byte) error
func (JobListRespChargingMode) Value ¶
func (c JobListRespChargingMode) Value() string
type JobListRespChargingModeEnum ¶
type JobListRespChargingModeEnum struct { PERIOD JobListRespChargingMode ON_DEMAND JobListRespChargingMode }
func GetJobListRespChargingModeEnum ¶
func GetJobListRespChargingModeEnum() JobListRespChargingModeEnum
type JobListRespEngineType ¶
type JobListRespEngineType struct {
// contains filtered or unexported fields
}
func (JobListRespEngineType) MarshalJSON ¶
func (c JobListRespEngineType) MarshalJSON() ([]byte, error)
func (*JobListRespEngineType) UnmarshalJSON ¶
func (c *JobListRespEngineType) UnmarshalJSON(b []byte) error
func (JobListRespEngineType) Value ¶
func (c JobListRespEngineType) Value() string
type JobListRespEngineTypeEnum ¶
type JobListRespEngineTypeEnum struct { ORACLE_TO_GAUSSDBV5 JobListRespEngineType REDIS_TO_GAUSSREDIS JobListRespEngineType REDISCLUSTER_TO_GAUSSREDIS JobListRespEngineType }
func GetJobListRespEngineTypeEnum ¶
func GetJobListRespEngineTypeEnum() JobListRespEngineTypeEnum
type JobListRespJobDirection ¶
type JobListRespJobDirection struct {
// contains filtered or unexported fields
}
func (JobListRespJobDirection) MarshalJSON ¶
func (c JobListRespJobDirection) MarshalJSON() ([]byte, error)
func (*JobListRespJobDirection) UnmarshalJSON ¶
func (c *JobListRespJobDirection) UnmarshalJSON(b []byte) error
func (JobListRespJobDirection) Value ¶
func (c JobListRespJobDirection) Value() string
type JobListRespJobDirectionEnum ¶
type JobListRespJobDirectionEnum struct { UP JobListRespJobDirection DOWN JobListRespJobDirection NON_DBS JobListRespJobDirection }
func GetJobListRespJobDirectionEnum ¶
func GetJobListRespJobDirectionEnum() JobListRespJobDirectionEnum
type JobListRespJobMode ¶
type JobListRespJobMode struct {
// contains filtered or unexported fields
}
func (JobListRespJobMode) MarshalJSON ¶
func (c JobListRespJobMode) MarshalJSON() ([]byte, error)
func (*JobListRespJobMode) UnmarshalJSON ¶
func (c *JobListRespJobMode) UnmarshalJSON(b []byte) error
func (JobListRespJobMode) Value ¶
func (c JobListRespJobMode) Value() string
type JobListRespJobModeEnum ¶
type JobListRespJobModeEnum struct { SINGLE JobListRespJobMode SYNC_CHILD JobListRespJobMode MULTI_TO_SINGLE JobListRespJobMode }
func GetJobListRespJobModeEnum ¶
func GetJobListRespJobModeEnum() JobListRespJobModeEnum
type JobListRespJobModeRole ¶
type JobListRespJobModeRole struct {
// contains filtered or unexported fields
}
func (JobListRespJobModeRole) MarshalJSON ¶
func (c JobListRespJobModeRole) MarshalJSON() ([]byte, error)
func (*JobListRespJobModeRole) UnmarshalJSON ¶
func (c *JobListRespJobModeRole) UnmarshalJSON(b []byte) error
func (JobListRespJobModeRole) Value ¶
func (c JobListRespJobModeRole) Value() string
type JobListRespJobModeRoleEnum ¶
type JobListRespJobModeRoleEnum struct { PARENT JobListRespJobModeRole CHILD JobListRespJobModeRole MASTER JobListRespJobModeRole SLAVE JobListRespJobModeRole }
func GetJobListRespJobModeRoleEnum ¶
func GetJobListRespJobModeRoleEnum() JobListRespJobModeRoleEnum
type JobListRespJobType ¶
type JobListRespJobType struct {
// contains filtered or unexported fields
}
func (JobListRespJobType) MarshalJSON ¶
func (c JobListRespJobType) MarshalJSON() ([]byte, error)
func (*JobListRespJobType) UnmarshalJSON ¶
func (c *JobListRespJobType) UnmarshalJSON(b []byte) error
func (JobListRespJobType) Value ¶
func (c JobListRespJobType) Value() string
type JobListRespJobTypeEnum ¶
type JobListRespJobTypeEnum struct { MIGRATION JobListRespJobType SYNC JobListRespJobType CLOUD_DATA_GUARD JobListRespJobType }
func GetJobListRespJobTypeEnum ¶
func GetJobListRespJobTypeEnum() JobListRespJobTypeEnum
type JobListRespNetType ¶
type JobListRespNetType struct {
// contains filtered or unexported fields
}
func (JobListRespNetType) MarshalJSON ¶
func (c JobListRespNetType) MarshalJSON() ([]byte, error)
func (*JobListRespNetType) UnmarshalJSON ¶
func (c *JobListRespNetType) UnmarshalJSON(b []byte) error
func (JobListRespNetType) Value ¶
func (c JobListRespNetType) Value() string
type JobListRespNetTypeEnum ¶
type JobListRespNetTypeEnum struct { EIP JobListRespNetType VPC JobListRespNetType VPN JobListRespNetType }
func GetJobListRespNetTypeEnum ¶
func GetJobListRespNetTypeEnum() JobListRespNetTypeEnum
type JobListRespStatus ¶
type JobListRespStatus struct {
// contains filtered or unexported fields
}
func (JobListRespStatus) MarshalJSON ¶
func (c JobListRespStatus) MarshalJSON() ([]byte, error)
func (*JobListRespStatus) UnmarshalJSON ¶
func (c *JobListRespStatus) UnmarshalJSON(b []byte) error
func (JobListRespStatus) Value ¶
func (c JobListRespStatus) Value() string
type JobListRespStatusEnum ¶
type JobListRespStatusEnum struct { CREATING JobListRespStatus CREATE_FAILED JobListRespStatus CONFIGURATION JobListRespStatus STARTJOBING JobListRespStatus WAITING_FOR_START JobListRespStatus START_JOB_FAILED JobListRespStatus FULL_TRANSFER_STARTED JobListRespStatus FULL_TRANSFER_FAILED JobListRespStatus FULL_TRANSFER_COMPLETE JobListRespStatus INCRE_TRANSFER_STARTED JobListRespStatus INCRE_TRANSFER_FAILED JobListRespStatus RELEASE_RESOURCE_STARTED JobListRespStatus RELEASE_RESOURCE_FAILED JobListRespStatus RELEASE_RESOURCE_COMPLETE JobListRespStatus CHANGE_JOB_STARTED JobListRespStatus CHANGE_JOB_FAILED JobListRespStatus CHILD_TRANSFER_STARTING JobListRespStatus CHILD_TRANSFER_STARTED JobListRespStatus CHILD_TRANSFER_COMPLETE JobListRespStatus CHILD_TRANSFER_FAILED JobListRespStatus RELEASE_CHILD_TRANSFER_STARTED JobListRespStatus RELEASE_CHILD_TRANSFER_COMPLETE JobListRespStatus }
func GetJobListRespStatusEnum ¶
func GetJobListRespStatusEnum() JobListRespStatusEnum
type JobListRespTaskType ¶
type JobListRespTaskType struct {
// contains filtered or unexported fields
}
func (JobListRespTaskType) MarshalJSON ¶
func (c JobListRespTaskType) MarshalJSON() ([]byte, error)
func (*JobListRespTaskType) UnmarshalJSON ¶
func (c *JobListRespTaskType) UnmarshalJSON(b []byte) error
func (JobListRespTaskType) Value ¶
func (c JobListRespTaskType) Value() string
type JobListRespTaskTypeEnum ¶
type JobListRespTaskTypeEnum struct { FULL_TRANS JobListRespTaskType FULL_INCR_TRANS JobListRespTaskType INCR_TRANS JobListRespTaskType }
func GetJobListRespTaskTypeEnum ¶
func GetJobListRespTaskTypeEnum() JobListRespTaskTypeEnum
type JobNodeBaseInfo ¶ added in v0.1.49
type JobNodeBaseInfo struct { // 实例类型。取值: - single:单机。 - ha:主备。 InstanceType JobNodeBaseInfoInstanceType `json:"instance_type"` // CPU架构。取值: - x86 - arm Arch JobNodeBaseInfoArch `json:"arch"` // 可用区ID。 约束:对于任务实例类型不是单机的实例,需要分别为实例所有节点指定可用区,并用“,”英文逗号隔开。示例: - 实例类型为single:\"cn-north-4a\" - 实例类型为ha:\"cn-north-4a,cn-north-4b\" AvailabilityZone string `json:"availability_zone"` // 状态。 Status *string `json:"status,omitempty"` // 任务主备角色。 Role *string `json:"role,omitempty"` }
JobNodeBaseInfo 任务实例基本信息体。
func (JobNodeBaseInfo) String ¶ added in v0.1.49
func (o JobNodeBaseInfo) String() string
type JobNodeBaseInfoArch ¶ added in v0.1.49
type JobNodeBaseInfoArch struct {
// contains filtered or unexported fields
}
func (JobNodeBaseInfoArch) MarshalJSON ¶ added in v0.1.49
func (c JobNodeBaseInfoArch) MarshalJSON() ([]byte, error)
func (*JobNodeBaseInfoArch) UnmarshalJSON ¶ added in v0.1.49
func (c *JobNodeBaseInfoArch) UnmarshalJSON(b []byte) error
func (JobNodeBaseInfoArch) Value ¶ added in v0.1.49
func (c JobNodeBaseInfoArch) Value() string
type JobNodeBaseInfoArchEnum ¶ added in v0.1.49
type JobNodeBaseInfoArchEnum struct { X86 JobNodeBaseInfoArch ARM JobNodeBaseInfoArch }
func GetJobNodeBaseInfoArchEnum ¶ added in v0.1.49
func GetJobNodeBaseInfoArchEnum() JobNodeBaseInfoArchEnum
type JobNodeBaseInfoInstanceType ¶ added in v0.1.49
type JobNodeBaseInfoInstanceType struct {
// contains filtered or unexported fields
}
func (JobNodeBaseInfoInstanceType) MarshalJSON ¶ added in v0.1.49
func (c JobNodeBaseInfoInstanceType) MarshalJSON() ([]byte, error)
func (*JobNodeBaseInfoInstanceType) UnmarshalJSON ¶ added in v0.1.49
func (c *JobNodeBaseInfoInstanceType) UnmarshalJSON(b []byte) error
func (JobNodeBaseInfoInstanceType) Value ¶ added in v0.1.49
func (c JobNodeBaseInfoInstanceType) Value() string
type JobNodeBaseInfoInstanceTypeEnum ¶ added in v0.1.49
type JobNodeBaseInfoInstanceTypeEnum struct { SINGLE JobNodeBaseInfoInstanceType HA JobNodeBaseInfoInstanceType }
func GetJobNodeBaseInfoInstanceTypeEnum ¶ added in v0.1.49
func GetJobNodeBaseInfoInstanceTypeEnum() JobNodeBaseInfoInstanceTypeEnum
type JobNodeInfo ¶
type JobNodeInfo struct { Spec *JobNodeSpecInfo `json:"spec"` Vpc *JobNodeVpcInfo `json:"vpc,omitempty"` BaseInfo *JobNodeBaseInfo `json:"base_info,omitempty"` }
JobNodeInfo 任务实例信息体。
func (JobNodeInfo) String ¶
func (o JobNodeInfo) String() string
type JobNodeSpecInfo ¶
type JobNodeSpecInfo struct { // 实例规格编码。取值: - micro:极小规格。 - small:小规格。 - medium:中规格。 - high:大规格。 NodeType JobNodeSpecInfoNodeType `json:"node_type"` }
JobNodeSpecInfo 任务实例规格信息体。
func (JobNodeSpecInfo) String ¶
func (o JobNodeSpecInfo) String() string
type JobNodeSpecInfoNodeType ¶
type JobNodeSpecInfoNodeType struct {
// contains filtered or unexported fields
}
func (JobNodeSpecInfoNodeType) MarshalJSON ¶
func (c JobNodeSpecInfoNodeType) MarshalJSON() ([]byte, error)
func (*JobNodeSpecInfoNodeType) UnmarshalJSON ¶
func (c *JobNodeSpecInfoNodeType) UnmarshalJSON(b []byte) error
func (JobNodeSpecInfoNodeType) Value ¶
func (c JobNodeSpecInfoNodeType) Value() string
type JobNodeSpecInfoNodeTypeEnum ¶
type JobNodeSpecInfoNodeTypeEnum struct { MICRO JobNodeSpecInfoNodeType SMALL JobNodeSpecInfoNodeType MEDIUM JobNodeSpecInfoNodeType HIGH JobNodeSpecInfoNodeType }
func GetJobNodeSpecInfoNodeTypeEnum ¶
func GetJobNodeSpecInfoNodeTypeEnum() JobNodeSpecInfoNodeTypeEnum
type JobNodeVpcInfo ¶
type JobNodeVpcInfo struct { // 任务实例所在虚拟私有云ID。 VpcId string `json:"vpc_id"` // 任务实例所在子网ID。 SubnetId string `json:"subnet_id"` // 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。 CustomNodeIp *string `json:"custom_node_ip,omitempty"` // 任务实例所在的安全组ID。 SecurityGroupId *string `json:"security_group_id,omitempty"` }
JobNodeVpcInfo 任务实例VPC信息体。
func (JobNodeVpcInfo) String ¶
func (o JobNodeVpcInfo) String() string
type JobProgressInfo ¶
type JobProgressInfo struct { // 迁移对比百分比。 Progress *string `json:"progress,omitempty"` // 增量迁移时延(单位:s)。 IncrTransDelay *string `json:"incr_trans_delay,omitempty"` // 增量迁移时延(单位:ms)。 IncrTransDelayMillis *string `json:"incr_trans_delay_millis,omitempty"` // 迁移模式。 TaskMode *string `json:"task_mode,omitempty"` // 迁移状态。 TransferStatus *string `json:"transfer_status,omitempty"` // 迁移时间。 ProcessTime *string `json:"process_time,omitempty"` // 预计剩余时间。 RemainingTime *string `json:"remaining_time,omitempty"` // 全量迁移进度详情。 ProgressMap map[string]ProgressCompleteInfo `json:"progress_map,omitempty"` }
JobProgressInfo 任务进度信息。
func (JobProgressInfo) String ¶
func (o JobProgressInfo) String() string
type LineCompareOverviewInfo ¶
type LineCompareOverviewInfo struct { // 源库库名。 SourceDbName *string `json:"source_db_name,omitempty"` // 目标库库名。 TargetDbName *string `json:"target_db_name,omitempty"` // 行对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 Status *LineCompareOverviewInfoStatus `json:"status,omitempty"` }
LineCompareOverviewInfo 行数对比概览信息体。
func (LineCompareOverviewInfo) String ¶
func (o LineCompareOverviewInfo) String() string
type LineCompareOverviewInfoStatus ¶
type LineCompareOverviewInfoStatus struct {
// contains filtered or unexported fields
}
func (LineCompareOverviewInfoStatus) MarshalJSON ¶
func (c LineCompareOverviewInfoStatus) MarshalJSON() ([]byte, error)
func (*LineCompareOverviewInfoStatus) UnmarshalJSON ¶
func (c *LineCompareOverviewInfoStatus) UnmarshalJSON(b []byte) error
func (LineCompareOverviewInfoStatus) Value ¶
func (c LineCompareOverviewInfoStatus) Value() string
type LineCompareOverviewInfoStatusEnum ¶
type LineCompareOverviewInfoStatusEnum struct { CONSISTENT LineCompareOverviewInfoStatus INCONSISTENT LineCompareOverviewInfoStatus COMPARING LineCompareOverviewInfoStatus WAITING_FOR_COMPARISON LineCompareOverviewInfoStatus FAILED_TO_COMPARE LineCompareOverviewInfoStatus TARGET_DB_NOT_EXIST LineCompareOverviewInfoStatus CAN_NOT_COMPARE LineCompareOverviewInfoStatus }
func GetLineCompareOverviewInfoStatusEnum ¶
func GetLineCompareOverviewInfoStatusEnum() LineCompareOverviewInfoStatusEnum
type ListAsyncJobDetailRequest ¶
type ListAsyncJobDetailRequest struct { // 批量异步创建的任务ID,由创建批量异步任务接口返回。 AsyncJobId string `json:"async_job_id"` // 请求语言类型。 XLanguage *ListAsyncJobDetailRequestXLanguage `json:"X-Language,omitempty"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` }
ListAsyncJobDetailRequest Request Object
func (ListAsyncJobDetailRequest) String ¶
func (o ListAsyncJobDetailRequest) String() string
type ListAsyncJobDetailRequestXLanguage ¶
type ListAsyncJobDetailRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListAsyncJobDetailRequestXLanguage) MarshalJSON ¶
func (c ListAsyncJobDetailRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListAsyncJobDetailRequestXLanguage) UnmarshalJSON ¶
func (c *ListAsyncJobDetailRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListAsyncJobDetailRequestXLanguage) Value ¶
func (c ListAsyncJobDetailRequestXLanguage) Value() string
type ListAsyncJobDetailRequestXLanguageEnum ¶
type ListAsyncJobDetailRequestXLanguageEnum struct { EN_US ListAsyncJobDetailRequestXLanguage ZH_CN ListAsyncJobDetailRequestXLanguage }
func GetListAsyncJobDetailRequestXLanguageEnum ¶
func GetListAsyncJobDetailRequestXLanguageEnum() ListAsyncJobDetailRequestXLanguageEnum
type ListAsyncJobDetailResponse ¶
type ListAsyncJobDetailResponse struct { // 列表中的项目总数,与分页无关。 TotalCount int32 `json:"total_count"` // 查询租户指定ID批量异步任务详情响应体。 Jobs []JobDetailResp `json:"jobs"` HttpStatusCode int `json:"-"` }
ListAsyncJobDetailResponse Response Object
func (ListAsyncJobDetailResponse) String ¶
func (o ListAsyncJobDetailResponse) String() string
type ListAsyncJobsRequest ¶
type ListAsyncJobsRequest struct { // 请求语言类型。 XLanguage *ListAsyncJobsRequestXLanguage `json:"X-Language,omitempty"` // 批量异步创建的任务ID。 AsyncJobId *string `json:"async_job_id,omitempty"` // 批量异步创建的任务状态。 Status *string `json:"status,omitempty"` // 批量异步创建的任务的租户名。 DomainName *string `json:"domain_name,omitempty"` // 批量异步创建的任务的用户名。 UserName *string `json:"user_name,omitempty"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` // 返回结果按该关键字排序,默认为“create_time”。 SortKey *string `json:"sort_key,omitempty"` // 降序或升序(分别对应desc和asc,默认为“desc”)。 SortDir *string `json:"sort_dir,omitempty"` }
ListAsyncJobsRequest Request Object
func (ListAsyncJobsRequest) String ¶
func (o ListAsyncJobsRequest) String() string
type ListAsyncJobsRequestXLanguage ¶
type ListAsyncJobsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListAsyncJobsRequestXLanguage) MarshalJSON ¶
func (c ListAsyncJobsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListAsyncJobsRequestXLanguage) UnmarshalJSON ¶
func (c *ListAsyncJobsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListAsyncJobsRequestXLanguage) Value ¶
func (c ListAsyncJobsRequestXLanguage) Value() string
type ListAsyncJobsRequestXLanguageEnum ¶
type ListAsyncJobsRequestXLanguageEnum struct { EN_US ListAsyncJobsRequestXLanguage ZH_CN ListAsyncJobsRequestXLanguage }
func GetListAsyncJobsRequestXLanguageEnum ¶
func GetListAsyncJobsRequestXLanguageEnum() ListAsyncJobsRequestXLanguageEnum
type ListAsyncJobsResponse ¶
type ListAsyncJobsResponse struct { // 列表中的项目总数,与分页无关。 TotalCount int32 `json:"total_count"` // 所有批量异步创建任务响应体。 Jobs []AsyncJobResp `json:"jobs"` HttpStatusCode int `json:"-"` }
ListAsyncJobsResponse Response Object
func (ListAsyncJobsResponse) String ¶
func (o ListAsyncJobsResponse) String() string
type ListConnectionsRequest ¶ added in v0.1.117
type ListConnectionsRequest struct { // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` // 连接ID。 ConnectionId *string `json:"connection_id,omitempty"` // 连接类型。 - mysql - oracle - postgresql - mongodb DbType *ListConnectionsRequestDbType `json:"db_type,omitempty"` // 连接名称,忽略大小写。 Name *string `json:"name,omitempty"` // 云上数据库实例ID。 InstId *string `json:"inst_id,omitempty"` // 连接IP。 Ip *string `json:"ip,omitempty"` // 连接描述。 Description *string `json:"description,omitempty"` // 时间区间用“,”分割。示例:2024-05-17T07:46:00.414Z,2024-05-20T07:46:00.999Z。 CreateTime *string `json:"create_time,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 偏移量,默认值为0,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制,默认值为10。 Limit *int32 `json:"limit,omitempty"` // 值为“true”时会使得offset和limit参数失效并返回所有记录。 FetchAll *bool `json:"fetch_all,omitempty"` // 返回结果按该关键字排序,默认为“created_at”。 SortKey *string `json:"sort_key,omitempty"` // 降序或升序(分别对应desc和asc,默认为“desc”)。 SortDir *string `json:"sort_dir,omitempty"` }
ListConnectionsRequest Request Object
func (ListConnectionsRequest) String ¶ added in v0.1.117
func (o ListConnectionsRequest) String() string
type ListConnectionsRequestDbType ¶ added in v0.1.117
type ListConnectionsRequestDbType struct {
// contains filtered or unexported fields
}
func (ListConnectionsRequestDbType) MarshalJSON ¶ added in v0.1.117
func (c ListConnectionsRequestDbType) MarshalJSON() ([]byte, error)
func (*ListConnectionsRequestDbType) UnmarshalJSON ¶ added in v0.1.117
func (c *ListConnectionsRequestDbType) UnmarshalJSON(b []byte) error
func (ListConnectionsRequestDbType) Value ¶ added in v0.1.117
func (c ListConnectionsRequestDbType) Value() string
type ListConnectionsRequestDbTypeEnum ¶ added in v0.1.117
type ListConnectionsRequestDbTypeEnum struct { MYSQL ListConnectionsRequestDbType ORACLE ListConnectionsRequestDbType POSTGRESQL ListConnectionsRequestDbType MONGODB ListConnectionsRequestDbType }
func GetListConnectionsRequestDbTypeEnum ¶ added in v0.1.117
func GetListConnectionsRequestDbTypeEnum() ListConnectionsRequestDbTypeEnum
type ListConnectionsResponse ¶ added in v0.1.117
type ListConnectionsResponse struct { // 连接信息列表。 Connections *[]ConnectionResp `json:"connections,omitempty"` // 列表中的项目总数,与分页无关。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListConnectionsResponse Response Object
func (ListConnectionsResponse) String ¶ added in v0.1.117
func (o ListConnectionsResponse) String() string
type ListDbObjectsRequest ¶
type ListDbObjectsRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ListDbObjectsRequestXLanguage `json:"X-Language,omitempty"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` // 查询对象信息类型。 取值: - source:查询源库对象信息。 - modified:查询已选择的(已同步的和未下发的)对象信息。 - synchronized:查询已同步的(已下发的)对象信息 , 使用场景在任务处于全量中或者增量中。 Type string `json:"type"` // 查询指定库的信息。 DbNames *[]string `json:"db_names,omitempty"` }
ListDbObjectsRequest Request Object
func (ListDbObjectsRequest) String ¶
func (o ListDbObjectsRequest) String() string
type ListDbObjectsRequestXLanguage ¶
type ListDbObjectsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListDbObjectsRequestXLanguage) MarshalJSON ¶
func (c ListDbObjectsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListDbObjectsRequestXLanguage) UnmarshalJSON ¶
func (c *ListDbObjectsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListDbObjectsRequestXLanguage) Value ¶
func (c ListDbObjectsRequestXLanguage) Value() string
type ListDbObjectsRequestXLanguageEnum ¶
type ListDbObjectsRequestXLanguageEnum struct { EN_US ListDbObjectsRequestXLanguage ZH_CN ListDbObjectsRequestXLanguage }
func GetListDbObjectsRequestXLanguageEnum ¶
func GetListDbObjectsRequestXLanguageEnum() ListDbObjectsRequestXLanguageEnum
type ListDbObjectsResponse ¶
type ListDbObjectsResponse struct { TargetRootDb *TargetRootDb `json:"target_root_db,omitempty"` // 数据库对象迁移或同步信息。 ObjectInfo map[string]DatabaseObject `json:"object_info,omitempty"` // 库下表数量的阈值。 MaxTableNum *int32 `json:"max_table_num,omitempty"` // 获取提交查询对象选择信息的状态 Status *ListDbObjectsResponseStatus `json:"status,omitempty"` // 任务id Id *string `json:"id,omitempty"` // 该数据库在实时同步场景下的类型 ObjectScope *string `json:"object_scope,omitempty"` HttpStatusCode int `json:"-"` }
ListDbObjectsResponse Response Object
func (ListDbObjectsResponse) String ¶
func (o ListDbObjectsResponse) String() string
type ListDbObjectsResponseStatus ¶ added in v0.1.21
type ListDbObjectsResponseStatus struct {
// contains filtered or unexported fields
}
func (ListDbObjectsResponseStatus) MarshalJSON ¶ added in v0.1.21
func (c ListDbObjectsResponseStatus) MarshalJSON() ([]byte, error)
func (*ListDbObjectsResponseStatus) UnmarshalJSON ¶ added in v0.1.21
func (c *ListDbObjectsResponseStatus) UnmarshalJSON(b []byte) error
func (ListDbObjectsResponseStatus) Value ¶ added in v0.1.21
func (c ListDbObjectsResponseStatus) Value() string
type ListDbObjectsResponseStatusEnum ¶ added in v0.1.21
type ListDbObjectsResponseStatusEnum struct { SUCCESS ListDbObjectsResponseStatus FAILED ListDbObjectsResponseStatus PENDING ListDbObjectsResponseStatus }
func GetListDbObjectsResponseStatusEnum ¶ added in v0.1.21
func GetListDbObjectsResponseStatusEnum() ListDbObjectsResponseStatusEnum
type ListInstanceByTagsRequest ¶ added in v0.1.77
type ListInstanceByTagsRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:录制回放 ResourceType ListInstanceByTagsRequestResourceType `json:"resource_type"` // 请求语言类型。 XLanguage *ListInstanceByTagsRequestXLanguage `json:"X-Language,omitempty"` // 查询记录数,默认为1000,limit最多为1000,不能为负数,最小值为1。 Limit *int32 `json:"limit,omitempty"` // 索引位置,偏移量从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` Body *QueryInstanceByTagReq `json:"body,omitempty"` }
ListInstanceByTagsRequest Request Object
func (ListInstanceByTagsRequest) String ¶ added in v0.1.77
func (o ListInstanceByTagsRequest) String() string
type ListInstanceByTagsRequestResourceType ¶ added in v0.1.77
type ListInstanceByTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListInstanceByTagsRequestResourceType) MarshalJSON ¶ added in v0.1.77
func (c ListInstanceByTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListInstanceByTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.77
func (c *ListInstanceByTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListInstanceByTagsRequestResourceType) Value ¶ added in v0.1.77
func (c ListInstanceByTagsRequestResourceType) Value() string
type ListInstanceByTagsRequestResourceTypeEnum ¶ added in v0.1.77
type ListInstanceByTagsRequestResourceTypeEnum struct { MIGRATION ListInstanceByTagsRequestResourceType SYNC ListInstanceByTagsRequestResourceType CLOUD_DATA_GUARD ListInstanceByTagsRequestResourceType SUBSCRIPTION ListInstanceByTagsRequestResourceType BACKUP_MIGRATION ListInstanceByTagsRequestResourceType REPLAY ListInstanceByTagsRequestResourceType }
func GetListInstanceByTagsRequestResourceTypeEnum ¶ added in v0.1.77
func GetListInstanceByTagsRequestResourceTypeEnum() ListInstanceByTagsRequestResourceTypeEnum
type ListInstanceByTagsRequestXLanguage ¶ added in v0.1.77
type ListInstanceByTagsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListInstanceByTagsRequestXLanguage) MarshalJSON ¶ added in v0.1.77
func (c ListInstanceByTagsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListInstanceByTagsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.77
func (c *ListInstanceByTagsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListInstanceByTagsRequestXLanguage) Value ¶ added in v0.1.77
func (c ListInstanceByTagsRequestXLanguage) Value() string
type ListInstanceByTagsRequestXLanguageEnum ¶ added in v0.1.77
type ListInstanceByTagsRequestXLanguageEnum struct { EN_US ListInstanceByTagsRequestXLanguage ZH_CN ListInstanceByTagsRequestXLanguage }
func GetListInstanceByTagsRequestXLanguageEnum ¶ added in v0.1.77
func GetListInstanceByTagsRequestXLanguageEnum() ListInstanceByTagsRequestXLanguageEnum
type ListInstanceByTagsResponse ¶ added in v0.1.77
type ListInstanceByTagsResponse struct { // 总数。 TotalCount *int32 `json:"total_count,omitempty"` // 资源列表。 Resources *[]ResourceInstance `json:"resources,omitempty"` HttpStatusCode int `json:"-"` }
ListInstanceByTagsResponse Response Object
func (ListInstanceByTagsResponse) String ¶ added in v0.1.77
func (o ListInstanceByTagsResponse) String() string
type ListInstanceTagsRequest ¶ added in v0.1.77
type ListInstanceTagsRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:录制回放 ResourceType ListInstanceTagsRequestResourceType `json:"resource_type"` // 请求语言类型。 XLanguage *ListInstanceTagsRequestXLanguage `json:"X-Language,omitempty"` // 资源ID,即DRS任务ID。 ResourceId string `json:"resource_id"` }
ListInstanceTagsRequest Request Object
func (ListInstanceTagsRequest) String ¶ added in v0.1.77
func (o ListInstanceTagsRequest) String() string
type ListInstanceTagsRequestResourceType ¶ added in v0.1.77
type ListInstanceTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListInstanceTagsRequestResourceType) MarshalJSON ¶ added in v0.1.77
func (c ListInstanceTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListInstanceTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.77
func (c *ListInstanceTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListInstanceTagsRequestResourceType) Value ¶ added in v0.1.77
func (c ListInstanceTagsRequestResourceType) Value() string
type ListInstanceTagsRequestResourceTypeEnum ¶ added in v0.1.77
type ListInstanceTagsRequestResourceTypeEnum struct { MIGRATION ListInstanceTagsRequestResourceType SYNC ListInstanceTagsRequestResourceType CLOUD_DATA_GUARD ListInstanceTagsRequestResourceType SUBSCRIPTION ListInstanceTagsRequestResourceType BACKUP_MIGRATION ListInstanceTagsRequestResourceType REPLAY ListInstanceTagsRequestResourceType }
func GetListInstanceTagsRequestResourceTypeEnum ¶ added in v0.1.77
func GetListInstanceTagsRequestResourceTypeEnum() ListInstanceTagsRequestResourceTypeEnum
type ListInstanceTagsRequestXLanguage ¶ added in v0.1.77
type ListInstanceTagsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListInstanceTagsRequestXLanguage) MarshalJSON ¶ added in v0.1.77
func (c ListInstanceTagsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListInstanceTagsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.77
func (c *ListInstanceTagsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListInstanceTagsRequestXLanguage) Value ¶ added in v0.1.77
func (c ListInstanceTagsRequestXLanguage) Value() string
type ListInstanceTagsRequestXLanguageEnum ¶ added in v0.1.77
type ListInstanceTagsRequestXLanguageEnum struct { EN_US ListInstanceTagsRequestXLanguage ZH_CN ListInstanceTagsRequestXLanguage }
func GetListInstanceTagsRequestXLanguageEnum ¶ added in v0.1.77
func GetListInstanceTagsRequestXLanguageEnum() ListInstanceTagsRequestXLanguageEnum
type ListInstanceTagsResponse ¶ added in v0.1.77
type ListInstanceTagsResponse struct { // 标签列表 Tags *[]BatchResourceTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListInstanceTagsResponse Response Object
func (ListInstanceTagsResponse) String ¶ added in v0.1.77
func (o ListInstanceTagsResponse) String() string
type ListJdbcDriversRequest ¶ added in v0.1.68
type ListJdbcDriversRequest struct { // 每页显示的条目数量。默认为10 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询, offset 大于等于 0。默认为0 Offset *int32 `json:"offset,omitempty"` // 请求语言类型。 XLanguage *ListJdbcDriversRequestXLanguage `json:"X-Language,omitempty"` }
ListJdbcDriversRequest Request Object
func (ListJdbcDriversRequest) String ¶ added in v0.1.68
func (o ListJdbcDriversRequest) String() string
type ListJdbcDriversRequestXLanguage ¶ added in v0.1.68
type ListJdbcDriversRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListJdbcDriversRequestXLanguage) MarshalJSON ¶ added in v0.1.68
func (c ListJdbcDriversRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListJdbcDriversRequestXLanguage) UnmarshalJSON ¶ added in v0.1.68
func (c *ListJdbcDriversRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListJdbcDriversRequestXLanguage) Value ¶ added in v0.1.68
func (c ListJdbcDriversRequestXLanguage) Value() string
type ListJdbcDriversRequestXLanguageEnum ¶ added in v0.1.68
type ListJdbcDriversRequestXLanguageEnum struct { EN_US ListJdbcDriversRequestXLanguage ZH_CN ListJdbcDriversRequestXLanguage }
func GetListJdbcDriversRequestXLanguageEnum ¶ added in v0.1.68
func GetListJdbcDriversRequestXLanguageEnum() ListJdbcDriversRequestXLanguageEnum
type ListJdbcDriversResponse ¶ added in v0.1.68
type ListJdbcDriversResponse struct { // 驱动文件总数。 Count *int32 `json:"count,omitempty"` // 驱动文件列表。 Items *[]DriverInfo `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
ListJdbcDriversResponse Response Object
func (ListJdbcDriversResponse) String ¶ added in v0.1.68
func (o ListJdbcDriversResponse) String() string
type ListJobDdlsRequest ¶ added in v0.1.117
type ListJobDdlsRequest struct { // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` // 偏移量,默认值为0,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制.默认值为10。 Limit *int32 `json:"limit,omitempty"` // DDL序列起始值。 StartSeqNo *int64 `json:"start_seq_no,omitempty"` // DDL序列结束值。 EndSeqNo *int64 `json:"end_seq_no,omitempty"` // DDL状态,0为无告警,1为告警中。 Status *ListJobDdlsRequestStatus `json:"status,omitempty"` // 任务ID。 JobId string `json:"job_id"` }
ListJobDdlsRequest Request Object
func (ListJobDdlsRequest) String ¶ added in v0.1.117
func (o ListJobDdlsRequest) String() string
type ListJobDdlsRequestStatus ¶ added in v0.1.117
type ListJobDdlsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListJobDdlsRequestStatus) MarshalJSON ¶ added in v0.1.117
func (c ListJobDdlsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListJobDdlsRequestStatus) UnmarshalJSON ¶ added in v0.1.117
func (c *ListJobDdlsRequestStatus) UnmarshalJSON(b []byte) error
func (ListJobDdlsRequestStatus) Value ¶ added in v0.1.117
func (c ListJobDdlsRequestStatus) Value() int32
type ListJobDdlsRequestStatusEnum ¶ added in v0.1.117
type ListJobDdlsRequestStatusEnum struct { E_0 ListJobDdlsRequestStatus E_1 ListJobDdlsRequestStatus }
func GetListJobDdlsRequestStatusEnum ¶ added in v0.1.117
func GetListJobDdlsRequestStatusEnum() ListJobDdlsRequestStatusEnum
type ListJobDdlsResponse ¶ added in v0.1.117
type ListJobDdlsResponse struct { // DDL告警信息列表。 DdlList *[]DdlAlarmResp `json:"ddl_list,omitempty"` // 列表中的项目总数,与分页无关。 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListJobDdlsResponse Response Object
func (ListJobDdlsResponse) String ¶ added in v0.1.117
func (o ListJobDdlsResponse) String() string
type ListJobHistoryParameter ¶ added in v0.1.77
type ListJobHistoryParameter struct { // 参数名称。 Name string `json:"name"` // 旧参数值。 OldValue string `json:"old_value"` // 新参数值。 NewValue string `json:"new_value"` // 更新结果。true:成功,false:失败 IsUpdateSuccess bool `json:"is_update_success"` // 是否已应用。true:已应用,false:未应用 IsApplied bool `json:"is_applied"` // 参数修改时间。 UpdateTime string `json:"update_time"` // 参数应用时间。 ApplyTime *string `json:"apply_time,omitempty"` }
ListJobHistoryParameter 任务参数配置历史修改响应体
func (ListJobHistoryParameter) String ¶ added in v0.1.77
func (o ListJobHistoryParameter) String() string
type ListJobHistoryParametersRequest ¶ added in v0.1.77
type ListJobHistoryParametersRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` // 偏移量,表示从此偏移量开始查询,offset 大于等于 0。默认为0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。默认为10,取值范围【1-1000】 Limit *int32 `json:"limit,omitempty"` // 开始时间,UTC时间,例如:2020-09-01T18:50:20Z BeginTime *string `json:"begin_time,omitempty"` // 结束时间,UTC时间,例如:2020-09-01T19:50:20Z EndTime *string `json:"end_time,omitempty"` // 参数名称。 Name *string `json:"name,omitempty"` }
ListJobHistoryParametersRequest Request Object
func (ListJobHistoryParametersRequest) String ¶ added in v0.1.77
func (o ListJobHistoryParametersRequest) String() string
type ListJobHistoryParametersResponse ¶ added in v0.1.77
type ListJobHistoryParametersResponse struct { // 历史记录总数。 Count *int32 `json:"count,omitempty"` // 任务参数历史修改列表 ParameterHistoryConfigList *[]ListJobHistoryParameter `json:"parameter_history_config_list,omitempty"` HttpStatusCode int `json:"-"` }
ListJobHistoryParametersResponse Response Object
func (ListJobHistoryParametersResponse) String ¶ added in v0.1.77
func (o ListJobHistoryParametersResponse) String() string
type ListJobParametersRequest ¶ added in v0.1.77
type ListJobParametersRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` // 偏移量,表示从此偏移量开始查询,offset 大于等于 0。默认为0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。默认为10,取值范围【1-1000】 Limit *int32 `json:"limit,omitempty"` // 根据参数名查询。 Name *string `json:"name,omitempty"` }
ListJobParametersRequest Request Object
func (ListJobParametersRequest) String ¶ added in v0.1.77
func (o ListJobParametersRequest) String() string
type ListJobParametersResponse ¶ added in v0.1.77
type ListJobParametersResponse struct { // 总数 Count *int32 `json:"count,omitempty"` // 任务参数列表 ParameterConfigList *[]ParameterConfig `json:"parameter_config_list,omitempty"` HttpStatusCode int `json:"-"` }
ListJobParametersResponse Response Object
func (ListJobParametersResponse) String ¶ added in v0.1.77
func (o ListJobParametersResponse) String() string
type ListJobsRequest ¶
type ListJobsRequest struct { // 请求语言类型。 XLanguage *ListJobsRequestXLanguage `json:"X-Language,omitempty"` // 任务场景。取值: - migration:实时迁移。 - sync:实时同步。 - cloudDataGuard:实时灾备。 JobType ListJobsRequestJobType `json:"job_type"` // 任务ID或名称。 Name *string `json:"name,omitempty"` // 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中,灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败,灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成,灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中,灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败,灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。 其中,异常状态可单独查询,也可以通过以下方式查询全部异常任务: CREATE_FAILED,START_JOB_FAILED,FULL_TRANSFER_FAILED,INCRE_TRANSFER_FAILED,RELEASE_RESOURCE_FAILED,CHANGE_JOB_FAILED,CHILD_TRANSFER_FAILED Status *ListJobsRequestStatus `json:"status,omitempty"` // 引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。 EngineType *ListJobsRequestEngineType `json:"engine_type,omitempty"` // 网络类型。取值: - eip:公网网络。 - vpc:VPC网络。 - vpn:VPN、专线网络。 NetType *ListJobsRequestNetType `json:"net_type,omitempty"` // 企业项目ID。 缺省值:\"\",表示查询所有企业项目任务。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` // 返回结果按该关键字排序,默认为“create_time”。 SortKey *string `json:"sort_key,omitempty"` // 降序或升序(分别对应desc和asc,默认为“desc”)。 SortDir *string `json:"sort_dir,omitempty"` // 数据库实例ID列表,最多支持10个 InstanceIds *[]string `json:"instance_ids,omitempty"` // 数据库实例IP InstanceIp *string `json:"instance_ip,omitempty"` }
ListJobsRequest Request Object
func (ListJobsRequest) String ¶
func (o ListJobsRequest) String() string
type ListJobsRequestEngineType ¶
type ListJobsRequestEngineType struct {
// contains filtered or unexported fields
}
func (ListJobsRequestEngineType) MarshalJSON ¶
func (c ListJobsRequestEngineType) MarshalJSON() ([]byte, error)
func (*ListJobsRequestEngineType) UnmarshalJSON ¶
func (c *ListJobsRequestEngineType) UnmarshalJSON(b []byte) error
func (ListJobsRequestEngineType) Value ¶
func (c ListJobsRequestEngineType) Value() string
type ListJobsRequestEngineTypeEnum ¶
type ListJobsRequestEngineTypeEnum struct { ORACLE_TO_GAUSSDBV5 ListJobsRequestEngineType REDIS_TO_GAUSSREDIS ListJobsRequestEngineType REDISCLUSTER_TO_GAUSSREDIS ListJobsRequestEngineType }
func GetListJobsRequestEngineTypeEnum ¶
func GetListJobsRequestEngineTypeEnum() ListJobsRequestEngineTypeEnum
type ListJobsRequestJobType ¶
type ListJobsRequestJobType struct {
// contains filtered or unexported fields
}
func (ListJobsRequestJobType) MarshalJSON ¶
func (c ListJobsRequestJobType) MarshalJSON() ([]byte, error)
func (*ListJobsRequestJobType) UnmarshalJSON ¶
func (c *ListJobsRequestJobType) UnmarshalJSON(b []byte) error
func (ListJobsRequestJobType) Value ¶
func (c ListJobsRequestJobType) Value() string
type ListJobsRequestJobTypeEnum ¶
type ListJobsRequestJobTypeEnum struct { MIGRATION ListJobsRequestJobType SYNC ListJobsRequestJobType CLOUD_DATA_GUARD ListJobsRequestJobType }
func GetListJobsRequestJobTypeEnum ¶
func GetListJobsRequestJobTypeEnum() ListJobsRequestJobTypeEnum
type ListJobsRequestNetType ¶
type ListJobsRequestNetType struct {
// contains filtered or unexported fields
}
func (ListJobsRequestNetType) MarshalJSON ¶
func (c ListJobsRequestNetType) MarshalJSON() ([]byte, error)
func (*ListJobsRequestNetType) UnmarshalJSON ¶
func (c *ListJobsRequestNetType) UnmarshalJSON(b []byte) error
func (ListJobsRequestNetType) Value ¶
func (c ListJobsRequestNetType) Value() string
type ListJobsRequestNetTypeEnum ¶
type ListJobsRequestNetTypeEnum struct { EIP ListJobsRequestNetType VPC ListJobsRequestNetType VPN ListJobsRequestNetType }
func GetListJobsRequestNetTypeEnum ¶
func GetListJobsRequestNetTypeEnum() ListJobsRequestNetTypeEnum
type ListJobsRequestStatus ¶
type ListJobsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListJobsRequestStatus) MarshalJSON ¶
func (c ListJobsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListJobsRequestStatus) UnmarshalJSON ¶
func (c *ListJobsRequestStatus) UnmarshalJSON(b []byte) error
func (ListJobsRequestStatus) Value ¶
func (c ListJobsRequestStatus) Value() string
type ListJobsRequestStatusEnum ¶
type ListJobsRequestStatusEnum struct { CREATING ListJobsRequestStatus CREATE_FAILED ListJobsRequestStatus CONFIGURATION ListJobsRequestStatus STARTJOBING ListJobsRequestStatus WAITING_FOR_START ListJobsRequestStatus START_JOB_FAILED ListJobsRequestStatus FULL_TRANSFER_STARTED ListJobsRequestStatus FULL_TRANSFER_FAILED ListJobsRequestStatus FULL_TRANSFER_COMPLETE ListJobsRequestStatus INCRE_TRANSFER_STARTED ListJobsRequestStatus INCRE_TRANSFER_FAILED ListJobsRequestStatus RELEASE_RESOURCE_STARTED ListJobsRequestStatus RELEASE_RESOURCE_FAILED ListJobsRequestStatus RELEASE_RESOURCE_COMPLETE ListJobsRequestStatus CHANGE_JOB_STARTED ListJobsRequestStatus CHANGE_JOB_FAILED ListJobsRequestStatus CHILD_TRANSFER_STARTING ListJobsRequestStatus CHILD_TRANSFER_STARTED ListJobsRequestStatus CHILD_TRANSFER_COMPLETE ListJobsRequestStatus CHILD_TRANSFER_FAILED ListJobsRequestStatus RELEASE_CHILD_TRANSFER_STARTED ListJobsRequestStatus RELEASE_CHILD_TRANSFER_COMPLETE ListJobsRequestStatus }
func GetListJobsRequestStatusEnum ¶
func GetListJobsRequestStatusEnum() ListJobsRequestStatusEnum
type ListJobsRequestXLanguage ¶
type ListJobsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListJobsRequestXLanguage) MarshalJSON ¶
func (c ListJobsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListJobsRequestXLanguage) UnmarshalJSON ¶
func (c *ListJobsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListJobsRequestXLanguage) Value ¶
func (c ListJobsRequestXLanguage) Value() string
type ListJobsRequestXLanguageEnum ¶
type ListJobsRequestXLanguageEnum struct { EN_US ListJobsRequestXLanguage ZH_CN ListJobsRequestXLanguage }
func GetListJobsRequestXLanguageEnum ¶
func GetListJobsRequestXLanguageEnum() ListJobsRequestXLanguageEnum
type ListJobsResponse ¶
type ListJobsResponse struct { // 列表中的项目总数,与分页无关。 TotalCount int32 `json:"total_count"` // 任务信息列表。 Jobs []JobListResp `json:"jobs"` HttpStatusCode int `json:"-"` }
ListJobsResponse Response Object
func (ListJobsResponse) String ¶
func (o ListJobsResponse) String() string
type ListLinksRequest ¶
type ListLinksRequest struct { // 请求语言类型。 XLanguage *ListLinksRequestXLanguage `json:"X-Language,omitempty"` // 任务场景。取值: - migration:实时迁移。 - sync:实时同步。 - cloudDataGuard:实时灾备。 JobType ListLinksRequestJobType `json:"job_type"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` }
ListLinksRequest Request Object
func (ListLinksRequest) String ¶
func (o ListLinksRequest) String() string
type ListLinksRequestJobType ¶
type ListLinksRequestJobType struct {
// contains filtered or unexported fields
}
func (ListLinksRequestJobType) MarshalJSON ¶
func (c ListLinksRequestJobType) MarshalJSON() ([]byte, error)
func (*ListLinksRequestJobType) UnmarshalJSON ¶
func (c *ListLinksRequestJobType) UnmarshalJSON(b []byte) error
func (ListLinksRequestJobType) Value ¶
func (c ListLinksRequestJobType) Value() string
type ListLinksRequestJobTypeEnum ¶
type ListLinksRequestJobTypeEnum struct { MIGRATION ListLinksRequestJobType SYNC ListLinksRequestJobType CLOUD_DATA_GUARD ListLinksRequestJobType }
func GetListLinksRequestJobTypeEnum ¶
func GetListLinksRequestJobTypeEnum() ListLinksRequestJobTypeEnum
type ListLinksRequestXLanguage ¶
type ListLinksRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListLinksRequestXLanguage) MarshalJSON ¶
func (c ListLinksRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListLinksRequestXLanguage) UnmarshalJSON ¶
func (c *ListLinksRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListLinksRequestXLanguage) Value ¶
func (c ListLinksRequestXLanguage) Value() string
type ListLinksRequestXLanguageEnum ¶
type ListLinksRequestXLanguageEnum struct { EN_US ListLinksRequestXLanguage ZH_CN ListLinksRequestXLanguage }
func GetListLinksRequestXLanguageEnum ¶
func GetListLinksRequestXLanguageEnum() ListLinksRequestXLanguageEnum
type ListLinksResponse ¶
type ListLinksResponse struct { // 可用链路信息。 JobLinks *[]JobLinkResp `json:"job_links,omitempty"` // 可用链路总条数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListLinksResponse Response Object
func (ListLinksResponse) String ¶
func (o ListLinksResponse) String() string
type ListProjectTagsRequest ¶ added in v0.1.58
type ListProjectTagsRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:仿真回放 ResourceType ListProjectTagsRequestResourceType `json:"resource_type"` // 请求语言类型。 XLanguage *ListProjectTagsRequestXLanguage `json:"X-Language,omitempty"` }
ListProjectTagsRequest Request Object
func (ListProjectTagsRequest) String ¶ added in v0.1.58
func (o ListProjectTagsRequest) String() string
type ListProjectTagsRequestResourceType ¶ added in v0.1.58
type ListProjectTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListProjectTagsRequestResourceType) MarshalJSON ¶ added in v0.1.58
func (c ListProjectTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListProjectTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.58
func (c *ListProjectTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListProjectTagsRequestResourceType) Value ¶ added in v0.1.58
func (c ListProjectTagsRequestResourceType) Value() string
type ListProjectTagsRequestResourceTypeEnum ¶ added in v0.1.58
type ListProjectTagsRequestResourceTypeEnum struct { MIGRATION ListProjectTagsRequestResourceType SYNC ListProjectTagsRequestResourceType CLOUD_DATA_GUARD ListProjectTagsRequestResourceType SUBSCRIPTION ListProjectTagsRequestResourceType BACKUP_MIGRATION ListProjectTagsRequestResourceType REPLAY ListProjectTagsRequestResourceType }
func GetListProjectTagsRequestResourceTypeEnum ¶ added in v0.1.58
func GetListProjectTagsRequestResourceTypeEnum() ListProjectTagsRequestResourceTypeEnum
type ListProjectTagsRequestXLanguage ¶ added in v0.1.58
type ListProjectTagsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListProjectTagsRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ListProjectTagsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListProjectTagsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ListProjectTagsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListProjectTagsRequestXLanguage) Value ¶ added in v0.1.58
func (c ListProjectTagsRequestXLanguage) Value() string
type ListProjectTagsRequestXLanguageEnum ¶ added in v0.1.58
type ListProjectTagsRequestXLanguageEnum struct { EN_US ListProjectTagsRequestXLanguage ZH_CN ListProjectTagsRequestXLanguage }
func GetListProjectTagsRequestXLanguageEnum ¶ added in v0.1.58
func GetListProjectTagsRequestXLanguageEnum() ListProjectTagsRequestXLanguageEnum
type ListProjectTagsResponse ¶ added in v0.1.58
type ListProjectTagsResponse struct { // 标签列表。 Tags *[]ProjectTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListProjectTagsResponse Response Object
func (ListProjectTagsResponse) String ¶ added in v0.1.58
func (o ListProjectTagsResponse) String() string
type ListReplicationJobsRequest ¶ added in v0.1.117
type ListReplicationJobsRequest struct { // 请求语言类型。 en-us:英文 zh-cn:中文 XLanguage *ListReplicationJobsRequestXLanguage `json:"X-Language,omitempty"` // 任务名称,支持模糊搜索。 Name *string `json:"name,omitempty"` // 备份迁移任务状态。 TRANSFERRING:恢复中 SUCCESS:成功 FAILED:失败 PRECHECK FAILED:预检查失败 Status *ListReplicationJobsRequestStatus `json:"status,omitempty"` // 数据库实例ID,最大数量为10。 DbsInstanceIds *[]string `json:"dbs_instance_ids,omitempty"` // 描述。 Description *string `json:"description,omitempty"` // 创建时间。 CreateAt *string `json:"create_at,omitempty"` // 完成时间。 CompletedAt *string `json:"completed_at,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 标签。 Tags *string `json:"tags,omitempty"` // 查询返回记录的数量限制,默认值为10。 Limit *int32 `json:"limit,omitempty"` // 偏移量,默认值为0,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 排序字段。 SortKey *string `json:"sort_key,omitempty"` // 排序方法。 SortDir *string `json:"sort_dir,omitempty"` }
ListReplicationJobsRequest Request Object
func (ListReplicationJobsRequest) String ¶ added in v0.1.117
func (o ListReplicationJobsRequest) String() string
type ListReplicationJobsRequestStatus ¶ added in v0.1.117
type ListReplicationJobsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListReplicationJobsRequestStatus) MarshalJSON ¶ added in v0.1.117
func (c ListReplicationJobsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListReplicationJobsRequestStatus) UnmarshalJSON ¶ added in v0.1.117
func (c *ListReplicationJobsRequestStatus) UnmarshalJSON(b []byte) error
func (ListReplicationJobsRequestStatus) Value ¶ added in v0.1.117
func (c ListReplicationJobsRequestStatus) Value() string
type ListReplicationJobsRequestStatusEnum ¶ added in v0.1.117
type ListReplicationJobsRequestStatusEnum struct { TRANSFERRING ListReplicationJobsRequestStatus SUCCESS ListReplicationJobsRequestStatus FAILED ListReplicationJobsRequestStatus PRECHECK_FAILED ListReplicationJobsRequestStatus }
func GetListReplicationJobsRequestStatusEnum ¶ added in v0.1.117
func GetListReplicationJobsRequestStatusEnum() ListReplicationJobsRequestStatusEnum
type ListReplicationJobsRequestXLanguage ¶ added in v0.1.117
type ListReplicationJobsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListReplicationJobsRequestXLanguage) MarshalJSON ¶ added in v0.1.117
func (c ListReplicationJobsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListReplicationJobsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.117
func (c *ListReplicationJobsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListReplicationJobsRequestXLanguage) Value ¶ added in v0.1.117
func (c ListReplicationJobsRequestXLanguage) Value() string
type ListReplicationJobsRequestXLanguageEnum ¶ added in v0.1.117
type ListReplicationJobsRequestXLanguageEnum struct { EN_US ListReplicationJobsRequestXLanguage ZH_CN ListReplicationJobsRequestXLanguage }
func GetListReplicationJobsRequestXLanguageEnum ¶ added in v0.1.117
func GetListReplicationJobsRequestXLanguageEnum() ListReplicationJobsRequestXLanguageEnum
type ListReplicationJobsResponse ¶ added in v0.1.117
type ListReplicationJobsResponse struct { // 备份迁移任务总数。 Count *int32 `json:"count,omitempty"` // 备份迁移任务列表。 Jobs *[]OfflineTaskInfo `json:"jobs,omitempty"` HttpStatusCode int `json:"-"` }
ListReplicationJobsResponse Response Object
func (ListReplicationJobsResponse) String ¶ added in v0.1.117
func (o ListReplicationJobsResponse) String() string
type ListTagsRequest ¶ added in v0.1.77
type ListTagsRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:录制回放 ResourceType ListTagsRequestResourceType `json:"resource_type"` // 请求语言类型。 XLanguage *ListTagsRequestXLanguage `json:"X-Language,omitempty"` }
ListTagsRequest Request Object
func (ListTagsRequest) String ¶ added in v0.1.77
func (o ListTagsRequest) String() string
type ListTagsRequestResourceType ¶ added in v0.1.77
type ListTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListTagsRequestResourceType) MarshalJSON ¶ added in v0.1.77
func (c ListTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.77
func (c *ListTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListTagsRequestResourceType) Value ¶ added in v0.1.77
func (c ListTagsRequestResourceType) Value() string
type ListTagsRequestResourceTypeEnum ¶ added in v0.1.77
type ListTagsRequestResourceTypeEnum struct { MIGRATION ListTagsRequestResourceType SYNC ListTagsRequestResourceType CLOUD_DATA_GUARD ListTagsRequestResourceType SUBSCRIPTION ListTagsRequestResourceType BACKUP_MIGRATION ListTagsRequestResourceType REPLAY ListTagsRequestResourceType }
func GetListTagsRequestResourceTypeEnum ¶ added in v0.1.77
func GetListTagsRequestResourceTypeEnum() ListTagsRequestResourceTypeEnum
type ListTagsRequestXLanguage ¶ added in v0.1.77
type ListTagsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListTagsRequestXLanguage) MarshalJSON ¶ added in v0.1.77
func (c ListTagsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListTagsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.77
func (c *ListTagsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListTagsRequestXLanguage) Value ¶ added in v0.1.77
func (c ListTagsRequestXLanguage) Value() string
type ListTagsRequestXLanguageEnum ¶ added in v0.1.77
type ListTagsRequestXLanguageEnum struct { EN_US ListTagsRequestXLanguage ZH_CN ListTagsRequestXLanguage }
func GetListTagsRequestXLanguageEnum ¶ added in v0.1.77
func GetListTagsRequestXLanguageEnum() ListTagsRequestXLanguageEnum
type ListTagsResponse ¶ added in v0.1.77
type ListTagsResponse struct { // 标签列表。 Tags *[]ProjectTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListTagsResponse Response Object
func (ListTagsResponse) String ¶ added in v0.1.77
func (o ListTagsResponse) String() string
type ListUserJdbcDriversRequest ¶ added in v0.1.111
type ListUserJdbcDriversRequest struct { // 每页显示的条目数量。默认为10。 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询, offset 大于等于 0。默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定待查询的驱动文件类型。取值范围: - db2:DB2 for LUW - informix:Informix DriverType ListUserJdbcDriversRequestDriverType `json:"driver_type"` // 请求语言类型。 XLanguage *ListUserJdbcDriversRequestXLanguage `json:"X-Language,omitempty"` }
ListUserJdbcDriversRequest Request Object
func (ListUserJdbcDriversRequest) String ¶ added in v0.1.111
func (o ListUserJdbcDriversRequest) String() string
type ListUserJdbcDriversRequestDriverType ¶ added in v0.1.111
type ListUserJdbcDriversRequestDriverType struct {
// contains filtered or unexported fields
}
func (ListUserJdbcDriversRequestDriverType) MarshalJSON ¶ added in v0.1.111
func (c ListUserJdbcDriversRequestDriverType) MarshalJSON() ([]byte, error)
func (*ListUserJdbcDriversRequestDriverType) UnmarshalJSON ¶ added in v0.1.111
func (c *ListUserJdbcDriversRequestDriverType) UnmarshalJSON(b []byte) error
func (ListUserJdbcDriversRequestDriverType) Value ¶ added in v0.1.111
func (c ListUserJdbcDriversRequestDriverType) Value() string
type ListUserJdbcDriversRequestDriverTypeEnum ¶ added in v0.1.111
type ListUserJdbcDriversRequestDriverTypeEnum struct { DB2 ListUserJdbcDriversRequestDriverType INFORMIX ListUserJdbcDriversRequestDriverType }
func GetListUserJdbcDriversRequestDriverTypeEnum ¶ added in v0.1.111
func GetListUserJdbcDriversRequestDriverTypeEnum() ListUserJdbcDriversRequestDriverTypeEnum
type ListUserJdbcDriversRequestXLanguage ¶ added in v0.1.111
type ListUserJdbcDriversRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListUserJdbcDriversRequestXLanguage) MarshalJSON ¶ added in v0.1.111
func (c ListUserJdbcDriversRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListUserJdbcDriversRequestXLanguage) UnmarshalJSON ¶ added in v0.1.111
func (c *ListUserJdbcDriversRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListUserJdbcDriversRequestXLanguage) Value ¶ added in v0.1.111
func (c ListUserJdbcDriversRequestXLanguage) Value() string
type ListUserJdbcDriversRequestXLanguageEnum ¶ added in v0.1.111
type ListUserJdbcDriversRequestXLanguageEnum struct { EN_US ListUserJdbcDriversRequestXLanguage ZH_CN ListUserJdbcDriversRequestXLanguage }
func GetListUserJdbcDriversRequestXLanguageEnum ¶ added in v0.1.111
func GetListUserJdbcDriversRequestXLanguageEnum() ListUserJdbcDriversRequestXLanguageEnum
type ListUserJdbcDriversResponse ¶ added in v0.1.111
type ListUserJdbcDriversResponse struct { // 驱动文件总数。 Count *int32 `json:"count,omitempty"` // 驱动文件列表。 Items *[]DriverInfo `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
ListUserJdbcDriversResponse Response Object
func (ListUserJdbcDriversResponse) String ¶ added in v0.1.111
func (o ListUserJdbcDriversResponse) String() string
type ListsAgencyPermissionsRequest ¶ added in v0.1.91
type ListsAgencyPermissionsRequest struct { // 请求语言类型。 XLanguage *ListsAgencyPermissionsRequestXLanguage `json:"X-Language,omitempty"` // 源库类型 - mysql - sqlserver - postgresql - hwsql - mongodb - dws - oracle - taurus - tauruslite - ddm - kafka - mrsKafka - gaussdb - gaussdbv5 - gaussdbv5ha - gaussmongodb - cassandra - dmq - gaussdbt - gaussdb300 - gaussdbtha - elasticsearch - db2 - tidb - redis - rediscluster - gaussredis - mariadb - gaussdbv1 - informix - dynamo - gausscassandra - oceanbase SourceType *string `json:"source_type,omitempty"` // 目标库类型 - mysql - sqlserver - postgresql - hwsql - mongodb - dws - oracle - taurus - tauruslite - ddm - kafka - mrsKafka - gaussdb - gaussdbv5 - gaussdbv5ha - gaussmongodb - cassandra - dmq - gaussdbt - gaussdb300 - gaussdbtha - elasticsearch - db2 - tidb - redis - rediscluster - gaussredis - mariadb - gaussdbv1 - informix - dynamo - gausscassandra - oceanbase TargetType *string `json:"target_type,omitempty"` // 是否自建。 IsNonDbs bool `json:"is_non_dbs"` }
ListsAgencyPermissionsRequest Request Object
func (ListsAgencyPermissionsRequest) String ¶ added in v0.1.91
func (o ListsAgencyPermissionsRequest) String() string
type ListsAgencyPermissionsRequestXLanguage ¶ added in v0.1.91
type ListsAgencyPermissionsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListsAgencyPermissionsRequestXLanguage) MarshalJSON ¶ added in v0.1.91
func (c ListsAgencyPermissionsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListsAgencyPermissionsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.91
func (c *ListsAgencyPermissionsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListsAgencyPermissionsRequestXLanguage) Value ¶ added in v0.1.91
func (c ListsAgencyPermissionsRequestXLanguage) Value() string
type ListsAgencyPermissionsRequestXLanguageEnum ¶ added in v0.1.91
type ListsAgencyPermissionsRequestXLanguageEnum struct { EN_US ListsAgencyPermissionsRequestXLanguage ZH_CN ListsAgencyPermissionsRequestXLanguage }
func GetListsAgencyPermissionsRequestXLanguageEnum ¶ added in v0.1.91
func GetListsAgencyPermissionsRequestXLanguageEnum() ListsAgencyPermissionsRequestXLanguageEnum
type ListsAgencyPermissionsResponse ¶ added in v0.1.91
type ListsAgencyPermissionsResponse struct { // - DRS FullAccess 数据复制服务所有权限 CommonPermissions *[]string `json:"common_permissions,omitempty"` // - GaussDB ReadOnlyAccess 云数据库 GaussDB服务的只读访问权限 - GeminiDB ReadOnlyAccess 分布式多模NoSQL数据库服务只读权限 - GaussDBforMSQLReadOnlyAccess 云数据库HUAWEIGaussDBforMSQL服务的只读访问权限 - DWS ReadOnlyAccess 数据仓库服务只读权限 - DDM ReadOnlyAccess 分布式数据库中间件服务只读权限 - DDS ReadOnlyPolicy 文档数据库服务资源只读权限 - RDS ReadOnlyAccess 关系型数据库服务资源只读权限 - MRS ReadOnlyAccess MapReduce服务只读权限,包括集群查询操作,基础服务弹性云服务器、裸金属服务器、云硬盘、虚拟私有云只读权限 EnginePermissions *[]string `json:"engine_permissions,omitempty"` HttpStatusCode int `json:"-"` }
ListsAgencyPermissionsResponse Response Object
func (ListsAgencyPermissionsResponse) String ¶ added in v0.1.91
func (o ListsAgencyPermissionsResponse) String() string
type MigrationObjectOverviewInfo ¶
type MigrationObjectOverviewInfo struct { // 类型。 Type *string `json:"type,omitempty"` // 待迁移数量。 SrcCount *string `json:"src_count,omitempty"` // 已迁移数量。 DstCount *string `json:"dst_count,omitempty"` // 状态. Status *string `json:"status,omitempty"` // 开始时间。 StartTime *string `json:"start_time,omitempty"` // 结束时间。 EndTime *string `json:"end_time,omitempty"` }
MigrationObjectOverviewInfo 迁移详情概览。
func (MigrationObjectOverviewInfo) String ¶
func (o MigrationObjectOverviewInfo) String() string
type ModifyComparePolicyReq ¶ added in v0.1.95
type ModifyComparePolicyReq struct { // 对比策略开关-open|close。 Action string `json:"action"` // 对比策略周期。 - 每周对比:格式示例:“* * 1,3,5” ,其中“1,3,5”对应星期一、星期三、星期五,根据实际填写。 - 每天对比:固定填写“* * 1,2,3,4,5,6,7”。 - 按小时对比:固定填写“* * 1,2,3,4,5,6,7”。 Period *string `json:"period,omitempty"` // 对比策略生效开始时间,UTC时间,24小时制,时间格式HH:mm:ss,例如:00:00:00,表示UTC时间的00:00:00,北京时间(UTC+08:00)的08:00:00。 BeginTime *string `json:"begin_time,omitempty"` // 对比策略生效结束时间,UTC时间,24小时制,时间格式HH:mm:ss,例如:04:00:00,表示UTC时间的04:00:00,北京时间(UTC+08:00)的12:00:00。 EndTime *string `json:"end_time,omitempty"` // 对比类型列表: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。 CompareType *[]string `json:"compare_type,omitempty"` // 对比策略: - normal:普通对比。 - manyToOne:多对一对比。 ComparePolicy *string `json:"compare_policy,omitempty"` // 间隔时间,按小时对比时填写,表示每隔多久执行一次对比,单位是小时。 IntervalHour *int32 `json:"interval_hour,omitempty"` }
ModifyComparePolicyReq 修改对比策略请求体。
func (ModifyComparePolicyReq) String ¶ added in v0.1.95
func (o ModifyComparePolicyReq) String() string
type ModifyConnectionRequest ¶ added in v0.1.117
type ModifyConnectionRequest struct { // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` // 连接ID ConnectionId string `json:"connection_id"` Body *UpdateConnectionReq `json:"body,omitempty"` }
ModifyConnectionRequest Request Object
func (ModifyConnectionRequest) String ¶ added in v0.1.117
func (o ModifyConnectionRequest) String() string
type ModifyConnectionResponse ¶ added in v0.1.117
type ModifyConnectionResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ModifyConnectionResponse Response Object
func (ModifyConnectionResponse) String ¶ added in v0.1.117
func (o ModifyConnectionResponse) String() string
type ModifyOfflineTaskReq ¶ added in v0.1.117
type ModifyOfflineTaskReq struct { // 备份迁移任务名称。 Name string `json:"name"` // 备份迁移任务描述。 Description *string `json:"description,omitempty"` }
ModifyOfflineTaskReq 修改离线迁移任务请求。
func (ModifyOfflineTaskReq) String ¶ added in v0.1.117
func (o ModifyOfflineTaskReq) String() string
type ModifyParameterReq ¶ added in v0.1.77
type ModifyParameterReq struct { // 参数值对象,基于默认参数模板初始化的参数值。 key:参数名称,如“applier_thread_num”,“read_task_num”。为空时不修改参数值。 value:参数值,如“6”,“20”。key不为空时value也不可为空。 Values []ParameterInfo `json:"values"` }
ModifyParameterReq 更新任务参数请求体。
func (ModifyParameterReq) String ¶ added in v0.1.77
func (o ModifyParameterReq) String() string
type ModifyStartPositionReq ¶ added in v0.1.58
type ModifyStartPositionReq struct { // - MySQL为源通过show master status命令获取源库位点,根据提示分别填写File:Position。例如:mysql-bin.000277:805 文件名只能为1-60个字符且不能包含< > & : \" \\' / \\\\\\\\ 特殊字符,文件编号只能为3-20个数字,binlog事件位置只能为1-20个数字,且总长度不能超过100个字符。格式为:文件名.文件编号:事件位点 - mogo为源的任务,任务的源库日志从位点开始获取(含当前启动位点),位点需设置在oplog范围以内。非集群通过db.getReplicationInfo()直接获得oplog范围,集群通过db.watch([], {startAtOperationTime: Timestamp(xx, xx)})命令,将启动位点填在xx处,校验位点是否在oplog范围以内。格式为:timestamp:incre。timestamp和incre均为范围在1~2,147,483,647之间的整数。 FileAndPosition string `json:"file_and_position"` // MySQL为源的任务需要,通过show master status命令获取源库位点,根据提示填写Executed_Gtid_Set(如果源库为MySQL 5.5版本,则不支持使用同步任务)。 - 不能包含< > & \" \\' / \\\\\\\\ 特殊字符和中文。且不能超过2048个字符 GtidSet *string `json:"gtid_set,omitempty"` }
ModifyStartPositionReq 更新增量位点请求体。
func (ModifyStartPositionReq) String ¶ added in v0.1.58
func (o ModifyStartPositionReq) String() string
type ModifyTuningParams ¶
type ModifyTuningParams struct { // 全量参数的参数名及对应的取值。 FullSync map[string]string `json:"full_sync,omitempty"` // 增量抓取参数的参数名及对应的取值。 IncreCapture map[string]string `json:"incre_capture"` // 增量回放参数的参数名及对应的取值。 IncreApply map[string]string `json:"incre_apply"` // 增量日志拉取参数的参数名及对应的取值。 IncreRelay map[string]string `json:"incre_relay,omitempty"` // 是否一键还原到默认值。 Recovery *bool `json:"recovery,omitempty"` }
ModifyTuningParams 修改高级设置信息体。
func (ModifyTuningParams) String ¶
func (o ModifyTuningParams) String() string
type ObjectsCompareDetailInfo ¶
type ObjectsCompareDetailInfo struct { // 源库对比值。 SourceDbValue *string `json:"source_db_value,omitempty"` // 目标库对比值。 TargetDbValue *string `json:"target_db_value,omitempty"` // 源库名称。 SourceDbName *string `json:"source_db_name,omitempty"` // 目标库名称。 TargetDbName *string `json:"target_db_name,omitempty"` // 失败原因。 ErrorMessage *string `json:"error_message,omitempty"` }
ObjectsCompareDetailInfo 对象级对比详情信息体。
func (ObjectsCompareDetailInfo) String ¶
func (o ObjectsCompareDetailInfo) String() string
type ObjectsCompareOverviewInfo ¶
type ObjectsCompareOverviewInfo struct { // 对象类型。取值: - DB:数据库。 - TABLE:表。 - VIEW:视图。 - EVENT:事件。 - ROUTINE:存储过程和函数。 - INDEX:索引。 - TRIGGER:触发器。 - SYNONYM:同义词。 - FUNCTION:函数。 - PROCEDURE:存储过程。 - TYPE:自定义类型。 - RULE:规则。 - DEFAULT_TYPE:缺省值。 - PLAN_GUIDE:执行计划。 - CONSTRAINT:约束。 - FILE_GROUP:文件组。 - PARTITION_FUNCTION:分区函数。 - PARTITION_SCHEME:分区方案。 - TABLE_COLLATION:表的排序规则。 - EXTENSIONS:插件。 Type *ObjectsCompareOverviewInfoType `json:"type,omitempty"` // 源数量。 SourceCount *int64 `json:"source_count,omitempty"` // 目标数量。 TargetCount *int64 `json:"target_count,omitempty"` // 对比结果。取值: CONSISTENT:一致。 INCONSISTENT:不一致。 COMPARING:正在对比。 WAITING_FOR_COMPARISON:等待对比。 FAILED_TO_COMPARE:对比失败。 TARGET_DB_NOT_EXIST:目标库不存在。 CAN_NOT_COMPARE:无法对比。 Status *ObjectsCompareOverviewInfoStatus `json:"status,omitempty"` }
ObjectsCompareOverviewInfo 对象对比结果信息体。
func (ObjectsCompareOverviewInfo) String ¶
func (o ObjectsCompareOverviewInfo) String() string
type ObjectsCompareOverviewInfoStatus ¶
type ObjectsCompareOverviewInfoStatus struct {
// contains filtered or unexported fields
}
func (ObjectsCompareOverviewInfoStatus) MarshalJSON ¶
func (c ObjectsCompareOverviewInfoStatus) MarshalJSON() ([]byte, error)
func (*ObjectsCompareOverviewInfoStatus) UnmarshalJSON ¶
func (c *ObjectsCompareOverviewInfoStatus) UnmarshalJSON(b []byte) error
func (ObjectsCompareOverviewInfoStatus) Value ¶
func (c ObjectsCompareOverviewInfoStatus) Value() string
type ObjectsCompareOverviewInfoStatusEnum ¶
type ObjectsCompareOverviewInfoStatusEnum struct { CONSISTENT ObjectsCompareOverviewInfoStatus INCONSISTENT ObjectsCompareOverviewInfoStatus COMPARING ObjectsCompareOverviewInfoStatus WAITING_FOR_COMPARISON ObjectsCompareOverviewInfoStatus FAILED_TO_COMPARE ObjectsCompareOverviewInfoStatus TARGET_DB_NOT_EXIST ObjectsCompareOverviewInfoStatus CAN_NOT_COMPARE ObjectsCompareOverviewInfoStatus }
func GetObjectsCompareOverviewInfoStatusEnum ¶
func GetObjectsCompareOverviewInfoStatusEnum() ObjectsCompareOverviewInfoStatusEnum
type ObjectsCompareOverviewInfoType ¶
type ObjectsCompareOverviewInfoType struct {
// contains filtered or unexported fields
}
func (ObjectsCompareOverviewInfoType) MarshalJSON ¶
func (c ObjectsCompareOverviewInfoType) MarshalJSON() ([]byte, error)
func (*ObjectsCompareOverviewInfoType) UnmarshalJSON ¶
func (c *ObjectsCompareOverviewInfoType) UnmarshalJSON(b []byte) error
func (ObjectsCompareOverviewInfoType) Value ¶
func (c ObjectsCompareOverviewInfoType) Value() string
type ObjectsCompareOverviewInfoTypeEnum ¶
type ObjectsCompareOverviewInfoTypeEnum struct { DB ObjectsCompareOverviewInfoType TABLE ObjectsCompareOverviewInfoType VIEW ObjectsCompareOverviewInfoType EVENT ObjectsCompareOverviewInfoType ROUTINE ObjectsCompareOverviewInfoType INDEX ObjectsCompareOverviewInfoType TRIGGER ObjectsCompareOverviewInfoType SYNONYM ObjectsCompareOverviewInfoType FUNCTION ObjectsCompareOverviewInfoType PROCEDURE ObjectsCompareOverviewInfoType TYPE ObjectsCompareOverviewInfoType RULE ObjectsCompareOverviewInfoType DEFAULT_TYPE ObjectsCompareOverviewInfoType PLAN_GUIDE ObjectsCompareOverviewInfoType CONSTRAINT ObjectsCompareOverviewInfoType FILE_GROUP ObjectsCompareOverviewInfoType PARTITION_FUNCTION ObjectsCompareOverviewInfoType PARTITION_SCHEME ObjectsCompareOverviewInfoType TABLE_COLLATION ObjectsCompareOverviewInfoType EXTENSIONS ObjectsCompareOverviewInfoType }
func GetObjectsCompareOverviewInfoTypeEnum ¶
func GetObjectsCompareOverviewInfoTypeEnum() ObjectsCompareOverviewInfoTypeEnum
type ObjectsCompareTaskInfo ¶
type ObjectsCompareTaskInfo struct { // 对比任务创建时间。 CreateTime *string `json:"create_time,omitempty"` // 对比结果。 CompareResults *[]ObjectsCompareOverviewInfo `json:"compare_results,omitempty"` // 对比任务开始时间。 StartTime *string `json:"start_time,omitempty"` // 对比任务状态。取值: - RUNNING:运行中。 - WAITING_FOR_RUNNING:等待启动中。 - SUCCESSFUL:完成。 - FAILED:失败。 - CANCELLED:已取消。 Status *ObjectsCompareTaskInfoStatus `json:"status,omitempty"` // 导出比对结果状态。 ExportStatus *string `json:"export_status,omitempty"` // 导出比对结果有效期剩余时间。 ReportRemainSeconds *int64 `json:"report_remain_seconds,omitempty"` // 对比任务ID。 CompareJobId *string `json:"compare_job_id,omitempty"` // 失败原因。 ErrorMsg *string `json:"error_msg,omitempty"` }
ObjectsCompareTaskInfo 对象级对比任务信息体。
func (ObjectsCompareTaskInfo) String ¶
func (o ObjectsCompareTaskInfo) String() string
type ObjectsCompareTaskInfoStatus ¶
type ObjectsCompareTaskInfoStatus struct {
// contains filtered or unexported fields
}
func (ObjectsCompareTaskInfoStatus) MarshalJSON ¶
func (c ObjectsCompareTaskInfoStatus) MarshalJSON() ([]byte, error)
func (*ObjectsCompareTaskInfoStatus) UnmarshalJSON ¶
func (c *ObjectsCompareTaskInfoStatus) UnmarshalJSON(b []byte) error
func (ObjectsCompareTaskInfoStatus) Value ¶
func (c ObjectsCompareTaskInfoStatus) Value() string
type ObjectsCompareTaskInfoStatusEnum ¶
type ObjectsCompareTaskInfoStatusEnum struct { RUNNING ObjectsCompareTaskInfoStatus WAITING_FOR_RUNNING ObjectsCompareTaskInfoStatus SUCCESSFUL ObjectsCompareTaskInfoStatus FAILED ObjectsCompareTaskInfoStatus CANCELLED ObjectsCompareTaskInfoStatus }
func GetObjectsCompareTaskInfoStatusEnum ¶
func GetObjectsCompareTaskInfoStatusEnum() ObjectsCompareTaskInfoStatusEnum
type ObjectsHealthCompareOverviewInfo ¶ added in v0.1.95
type ObjectsHealthCompareOverviewInfo struct { // 对象类型。取值: - DB:数据库。 - TABLE:表。 - VIEW:视图。 - EVENT:事件。 - ROUTINE:存储过程和函数。 - INDEX:索引。 - TRIGGER:触发器。 - SYNONYM:同义词。 - FUNCTION:函数。 - PROCEDURE:存储过程。 - TYPE:自定义类型。 - RULE:规则。 - DEFAULT_TYPE:缺省值。 - PLAN_GUIDE:执行计划。 - CONSTRAINT:约束。 - FILE_GROUP:文件组。 - PARTITION_FUNCTION:分区函数。 - PARTITION_SCHEME:分区方案。 - TABLE_COLLATION:表的排序规则。 - EXTENSIONS:插件。 Type *string `json:"type,omitempty"` // 源数量。 SourceCount *int64 `json:"source_count,omitempty"` // 目标数量。 TargetCount *int64 `json:"target_count,omitempty"` // 对比结果: - 0:不一致。 - 2:一致。 - 3:未完成。 Status *int32 `json:"status,omitempty"` }
ObjectsHealthCompareOverviewInfo 对比结果信息体。
func (ObjectsHealthCompareOverviewInfo) String ¶ added in v0.1.95
func (o ObjectsHealthCompareOverviewInfo) String() string
type OfflineTaskInfo ¶ added in v0.1.117
type OfflineTaskInfo struct { // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` // 任务状态。 - TRANSFERRING:恢复中 - SUCCESS:成功 - FAILED:失败 - PRECHECK FAILED:预检查失败 Status OfflineTaskInfoStatus `json:"status"` // 数据库引擎。 - sqlserver:RDS for SQL Server引擎 EngineType OfflineTaskInfoEngineType `json:"engine_type"` // 错误日志。 ErrorLog *string `json:"error_log,omitempty"` // 描述。 Description *string `json:"description,omitempty"` // 任务创建时间。 CreateTime string `json:"create_time"` // 任务完成时间。 FinishTime *string `json:"finish_time,omitempty"` // 企业项目。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
OfflineTaskInfo 备份迁移任务列表信息体。
func (OfflineTaskInfo) String ¶ added in v0.1.117
func (o OfflineTaskInfo) String() string
type OfflineTaskInfoEngineType ¶ added in v0.1.117
type OfflineTaskInfoEngineType struct {
// contains filtered or unexported fields
}
func (OfflineTaskInfoEngineType) MarshalJSON ¶ added in v0.1.117
func (c OfflineTaskInfoEngineType) MarshalJSON() ([]byte, error)
func (*OfflineTaskInfoEngineType) UnmarshalJSON ¶ added in v0.1.117
func (c *OfflineTaskInfoEngineType) UnmarshalJSON(b []byte) error
func (OfflineTaskInfoEngineType) Value ¶ added in v0.1.117
func (c OfflineTaskInfoEngineType) Value() string
type OfflineTaskInfoEngineTypeEnum ¶ added in v0.1.117
type OfflineTaskInfoEngineTypeEnum struct {
SQLSERVER OfflineTaskInfoEngineType
}
func GetOfflineTaskInfoEngineTypeEnum ¶ added in v0.1.117
func GetOfflineTaskInfoEngineTypeEnum() OfflineTaskInfoEngineTypeEnum
type OfflineTaskInfoStatus ¶ added in v0.1.117
type OfflineTaskInfoStatus struct {
// contains filtered or unexported fields
}
func (OfflineTaskInfoStatus) MarshalJSON ¶ added in v0.1.117
func (c OfflineTaskInfoStatus) MarshalJSON() ([]byte, error)
func (*OfflineTaskInfoStatus) UnmarshalJSON ¶ added in v0.1.117
func (c *OfflineTaskInfoStatus) UnmarshalJSON(b []byte) error
func (OfflineTaskInfoStatus) Value ¶ added in v0.1.117
func (c OfflineTaskInfoStatus) Value() string
type OfflineTaskInfoStatusEnum ¶ added in v0.1.117
type OfflineTaskInfoStatusEnum struct { TRANSFERRING OfflineTaskInfoStatus SUCCESS OfflineTaskInfoStatus FAILED OfflineTaskInfoStatus PRECHECK_FAILED OfflineTaskInfoStatus }
func GetOfflineTaskInfoStatusEnum ¶ added in v0.1.117
func GetOfflineTaskInfoStatusEnum() OfflineTaskInfoStatusEnum
type ParameterConfig ¶ added in v0.1.77
type ParameterConfig struct { // 参数名称 Name string `json:"name"` // 参数值 Value string `json:"value"` // 参数默认值 DefaultValue string `json:"default_value"` // 参数值范围,如Integer取值0-1、Boolean取值true|false等。 ValueRange string `json:"value_range"` // 是否需要重启。默认为true, “false”表示否。“true”表示是。 IsNeedRestart bool `json:"is_need_restart"` // 参数描述。 Description string `json:"description"` // 创建时间,例如:2023-01-20T07:18:26Z CreatedAt *string `json:"created_at,omitempty"` // 更新时间,例如:2023-03-01T09:42:02Z UpdatedAt *string `json:"updated_at,omitempty"` }
ParameterConfig 任务参数配置信息。
func (ParameterConfig) String ¶ added in v0.1.77
func (o ParameterConfig) String() string
type ParameterInfo ¶ added in v0.1.77
type ParameterInfo struct { // 参数名称,如:“applier_thread_num”,“read_task_num”等 ParameterName string `json:"parameter_name"` // 参数名称对应的参数值,如:“20”,“false” ParameterValue string `json:"parameter_value"` }
ParameterInfo 任务参数配置信息
func (ParameterInfo) String ¶ added in v0.1.77
func (o ParameterInfo) String() string
type PeriodOrderInfo ¶
type PeriodOrderInfo struct { // 订购周期类型。取值: - 2:月。 - 3:年。 PeriodType PeriodOrderInfoPeriodType `json:"period_type"` // 订购周期数。根据period_type取值不同,代表不同周期数,例如: - 当period_type为2时,period_num为1代表1月。 - 当period_type为3时,period_num为1代表1年。 PeriodNum int32 `json:"period_num"` // 是否自动续订。取值: - 0:否(默认值,需要客户手动去支付)。 - 1:是(自动支付)。 IsAutoRenew *PeriodOrderInfoIsAutoRenew `json:"is_auto_renew,omitempty"` }
PeriodOrderInfo 包年/包月信息体。
func (PeriodOrderInfo) String ¶
func (o PeriodOrderInfo) String() string
type PeriodOrderInfoIsAutoRenew ¶
type PeriodOrderInfoIsAutoRenew struct {
// contains filtered or unexported fields
}
func (PeriodOrderInfoIsAutoRenew) MarshalJSON ¶
func (c PeriodOrderInfoIsAutoRenew) MarshalJSON() ([]byte, error)
func (*PeriodOrderInfoIsAutoRenew) UnmarshalJSON ¶
func (c *PeriodOrderInfoIsAutoRenew) UnmarshalJSON(b []byte) error
func (PeriodOrderInfoIsAutoRenew) Value ¶
func (c PeriodOrderInfoIsAutoRenew) Value() int32
type PeriodOrderInfoIsAutoRenewEnum ¶
type PeriodOrderInfoIsAutoRenewEnum struct { E_0 PeriodOrderInfoIsAutoRenew E_1 PeriodOrderInfoIsAutoRenew }
func GetPeriodOrderInfoIsAutoRenewEnum ¶
func GetPeriodOrderInfoIsAutoRenewEnum() PeriodOrderInfoIsAutoRenewEnum
type PeriodOrderInfoPeriodType ¶
type PeriodOrderInfoPeriodType struct {
// contains filtered or unexported fields
}
func (PeriodOrderInfoPeriodType) MarshalJSON ¶
func (c PeriodOrderInfoPeriodType) MarshalJSON() ([]byte, error)
func (*PeriodOrderInfoPeriodType) UnmarshalJSON ¶
func (c *PeriodOrderInfoPeriodType) UnmarshalJSON(b []byte) error
func (PeriodOrderInfoPeriodType) Value ¶
func (c PeriodOrderInfoPeriodType) Value() int32
type PeriodOrderInfoPeriodTypeEnum ¶
type PeriodOrderInfoPeriodTypeEnum struct { E_2 PeriodOrderInfoPeriodType E_3 PeriodOrderInfoPeriodType }
func GetPeriodOrderInfoPeriodTypeEnum ¶
func GetPeriodOrderInfoPeriodTypeEnum() PeriodOrderInfoPeriodTypeEnum
type PolicyConfig ¶
type PolicyConfig struct { // 过滤DDL策略。取值: - drop_database 场景区别: - 实时迁移场景:MySQL迁移可填\"\",表示不过滤DROP DATABASE。 - 实时同步场景:MySQL同步只能填\"drop_database\"。 FilterDdlPolicy *PolicyConfigFilterDdlPolicy `json:"filter_ddl_policy,omitempty"` // 增量阶段冲突策略。该冲突策略特指增量同步中的冲突处理策略,全量阶段的冲突默认忽略。取值: - ignore:忽略。当同步数据与目标库已有数据冲突时(主键/唯一键重复等),DRS将忽略源库的冲突数据,并保留目标库中的冲突数据,继续进行后续同步。 - stop:报错。当同步数据与目标库已有数据冲突时(主键/唯一键重复等),同步任务将失败并立即中止。可在同步日志中查看详细信息。 - overwrite:覆盖。当同步数据与目标库已有数据冲突时(主键/唯一键重复等),将覆盖原来的冲突数据。 场景区别: - 实时迁移场景:不支持。 - 实时同步场景:支持。 ConflictPolicy *PolicyConfigConflictPolicy `json:"conflict_policy,omitempty"` // 对象同步范围:是否同步普通索引。DRS将默认同步主键/唯一索引,普通索引是指除主键/唯一索引以外的其他类型索引。取值: - true:将会同步全部的索引。 - false:仅同步主键/唯一索引,普通索引不会同步。 IndexTrans *bool `json:"index_trans,omitempty"` // 对象同步范围:同步增量阶段是否同步DDL。取值: - true:增量阶段同步DDL。 - false:增量阶段不同步DDL。 DdlTrans *bool `json:"ddl_trans,omitempty"` // 数据同步拓扑。数据同步功能支持多种同步拓扑,您可以根据业务需求规划您的同步实例。参考链接。取值: - one2one:一对一。 - one2many:一对多。 - many2one:多对一。 DataSyncTopologyType *PolicyConfigDataSyncTopologyType `json:"data_sync_topology_type,omitempty"` // 增量支持的DDL。取值: - \"CREATE_TABLE,ADD_COLUMN,MODIFY_COLUMN,CHANGE_COLUMN,DROP_INDEX,ADD_INDEX,CREATE_INDEX,RENAME_INDEX\"。 - 含义解释: - CREATE_TABLE:创建表。 - ADD_COLUMN:加列。 - MODIFY_COLUMN:改列属性。 - CHANGE_COLUMN:改列属性。 - DROP_INDEX:删除索引。 - ADD_INDEX:加索引。 - CREATE_INDEX:创建索引。 - RENAME_INDEX:重命名索引。 - 使用提示: 1.一对一,一对多场景,如果业务上认为源和目标应该使用保持严格一致,那么高危类DDL也应该勾选并同步。 2.一对一,一对多场景,如果业务上确定某个高危DDL不应该发生,则可以不勾选同步高危类DDL,这样DRS将拦截过滤这个DDL,从而起到保护目标数据的作用,但需要知晓过滤DDL的附带问题是可能导致同步失败,例如过滤删列动作。 3.多对一数据聚合场景,最佳实践是推荐只选择同步加列DDL,其他大部分DDL同步都因目标表修改而导致其他任务失败/数据不一致的情况发生,常见情况有:a、同步truncate导致目标数据全部被清空; b、同步创建索引导致目标表被锁定; c、同步rename导致其他任务找不到目标表而失败;d、同步改列导致其他任务因数据类型不兼容而失败; SupportDdlInfo *PolicyConfigSupportDdlInfo `json:"support_ddl_info,omitempty"` // 同步数据类型。取值:supportAllType(同步所有类型),tableData(同步数据),tableStructure(同步表结构),constraintData(索引同步)。 说明:除supportAllType以外,其他类型可组合填写,例如:\"tableData,tableStructure\" 。 SyncTypePolicy *string `json:"sync_type_policy,omitempty"` // oracle-gausssdb增量读取方式:logminer,xstream IncrementReadMode *string `json:"increment_read_mode,omitempty"` // DML同步类型。 DmlTypes *string `json:"dml_types,omitempty"` // 索引与表结构是否同时建立。 IsCreateTableWithIndex *bool `json:"is_create_table_with_index,omitempty"` }
PolicyConfig 策略信息体。设置迁移、同步策略,包括冲突策略、过滤DROP Datase、对象同步范围等。
func (PolicyConfig) String ¶
func (o PolicyConfig) String() string
type PolicyConfigConflictPolicy ¶
type PolicyConfigConflictPolicy struct {
// contains filtered or unexported fields
}
func (PolicyConfigConflictPolicy) MarshalJSON ¶
func (c PolicyConfigConflictPolicy) MarshalJSON() ([]byte, error)
func (*PolicyConfigConflictPolicy) UnmarshalJSON ¶
func (c *PolicyConfigConflictPolicy) UnmarshalJSON(b []byte) error
func (PolicyConfigConflictPolicy) Value ¶
func (c PolicyConfigConflictPolicy) Value() string
type PolicyConfigConflictPolicyEnum ¶
type PolicyConfigConflictPolicyEnum struct { IGNORE PolicyConfigConflictPolicy STOP PolicyConfigConflictPolicy OVERWRITE PolicyConfigConflictPolicy }
func GetPolicyConfigConflictPolicyEnum ¶
func GetPolicyConfigConflictPolicyEnum() PolicyConfigConflictPolicyEnum
type PolicyConfigDataSyncTopologyType ¶
type PolicyConfigDataSyncTopologyType struct {
// contains filtered or unexported fields
}
func (PolicyConfigDataSyncTopologyType) MarshalJSON ¶
func (c PolicyConfigDataSyncTopologyType) MarshalJSON() ([]byte, error)
func (*PolicyConfigDataSyncTopologyType) UnmarshalJSON ¶
func (c *PolicyConfigDataSyncTopologyType) UnmarshalJSON(b []byte) error
func (PolicyConfigDataSyncTopologyType) Value ¶
func (c PolicyConfigDataSyncTopologyType) Value() string
type PolicyConfigDataSyncTopologyTypeEnum ¶
type PolicyConfigDataSyncTopologyTypeEnum struct { ONE2ONE PolicyConfigDataSyncTopologyType ONE2MANY PolicyConfigDataSyncTopologyType MANY2ONE PolicyConfigDataSyncTopologyType }
func GetPolicyConfigDataSyncTopologyTypeEnum ¶
func GetPolicyConfigDataSyncTopologyTypeEnum() PolicyConfigDataSyncTopologyTypeEnum
type PolicyConfigFilterDdlPolicy ¶
type PolicyConfigFilterDdlPolicy struct {
// contains filtered or unexported fields
}
func (PolicyConfigFilterDdlPolicy) MarshalJSON ¶
func (c PolicyConfigFilterDdlPolicy) MarshalJSON() ([]byte, error)
func (*PolicyConfigFilterDdlPolicy) UnmarshalJSON ¶
func (c *PolicyConfigFilterDdlPolicy) UnmarshalJSON(b []byte) error
func (PolicyConfigFilterDdlPolicy) Value ¶
func (c PolicyConfigFilterDdlPolicy) Value() string
type PolicyConfigFilterDdlPolicyEnum ¶
type PolicyConfigFilterDdlPolicyEnum struct {
DROP_DATABASE PolicyConfigFilterDdlPolicy
}
func GetPolicyConfigFilterDdlPolicyEnum ¶
func GetPolicyConfigFilterDdlPolicyEnum() PolicyConfigFilterDdlPolicyEnum
type PolicyConfigSupportDdlInfo ¶
type PolicyConfigSupportDdlInfo struct {
// contains filtered or unexported fields
}
func (PolicyConfigSupportDdlInfo) MarshalJSON ¶
func (c PolicyConfigSupportDdlInfo) MarshalJSON() ([]byte, error)
func (*PolicyConfigSupportDdlInfo) UnmarshalJSON ¶
func (c *PolicyConfigSupportDdlInfo) UnmarshalJSON(b []byte) error
func (PolicyConfigSupportDdlInfo) Value ¶
func (c PolicyConfigSupportDdlInfo) Value() string
type PolicyConfigSupportDdlInfoEnum ¶
type PolicyConfigSupportDdlInfoEnum struct { CREATE_TABLE PolicyConfigSupportDdlInfo ADD_COLUMN PolicyConfigSupportDdlInfo MODIFY_COLUMN PolicyConfigSupportDdlInfo CHANGE_COLUMN PolicyConfigSupportDdlInfo DROP_INDEX PolicyConfigSupportDdlInfo ADD_INDEX PolicyConfigSupportDdlInfo CREATE_INDEX PolicyConfigSupportDdlInfo RENAME_INDEX PolicyConfigSupportDdlInfo }
func GetPolicyConfigSupportDdlInfoEnum ¶
func GetPolicyConfigSupportDdlInfoEnum() PolicyConfigSupportDdlInfoEnum
type PrecheckFailSubJobResult ¶
type PrecheckFailSubJobResult struct { // 子任务ID。 Id *string `json:"id,omitempty"` // 子任务名称。 Name *string `json:"name,omitempty"` // 子任务检查结果。 CheckResult *string `json:"check_result,omitempty"` }
PrecheckFailSubJobResult 失败子任务详情。
func (PrecheckFailSubJobResult) String ¶
func (o PrecheckFailSubJobResult) String() string
type PrecheckResult ¶
type PrecheckResult struct { // 检查项。 Item *string `json:"item,omitempty"` // 检查结果。取值: - PASSED:检查通过。 - ALARM:检查告警项。 - FAILED:检查失败。 Result *PrecheckResultResult `json:"result,omitempty"` // 失败原因。 FailedReason *string `json:"failed_reason,omitempty"` // 失败数据。 Data *string `json:"data,omitempty"` // 失败详情。 RawErrorMsg *string `json:"raw_error_msg,omitempty"` // 检查项分组。 Group *string `json:"group,omitempty"` // 是否支持跳过。 IsSupportSkip *bool `json:"is_support_skip,omitempty"` // 是否已跳过。 IsSkipped *bool `json:"is_skipped,omitempty"` // 失败子任务详情。 FailedSubJobs *[]PrecheckFailSubJobResult `json:"failed_sub_jobs,omitempty"` }
PrecheckResult 预检查项结果。
func (PrecheckResult) String ¶
func (o PrecheckResult) String() string
type PrecheckResultResult ¶
type PrecheckResultResult struct {
// contains filtered or unexported fields
}
func (PrecheckResultResult) MarshalJSON ¶
func (c PrecheckResultResult) MarshalJSON() ([]byte, error)
func (*PrecheckResultResult) UnmarshalJSON ¶
func (c *PrecheckResultResult) UnmarshalJSON(b []byte) error
func (PrecheckResultResult) Value ¶
func (c PrecheckResultResult) Value() string
type PrecheckResultResultEnum ¶
type PrecheckResultResultEnum struct { PASSED PrecheckResultResult ALARM PrecheckResultResult FAILED PrecheckResultResult }
func GetPrecheckResultResultEnum ¶
func GetPrecheckResultResultEnum() PrecheckResultResultEnum
type ProductInfo ¶ added in v0.1.49
type ProductInfo struct { // ID标识,同一次询价中不能重复,用于标识返回询价结果和请求的映射关系。 Id *string `json:"id,omitempty"` // 用户购买云服务产品的云服务类型,例如EC2,云服务类型为hws.service.type.ec2。 CloudServiceType *string `json:"cloud_service_type,omitempty"` // 用户购买云服务产品的资源类型,例如EC2中的VM,资源类型为hws.resource.type.vm。 ResourceType *string `json:"resource_type,omitempty"` // 用户购买云服务产品的资源规格,例如VM的小型规格,资源规格为m1.tiny。 ResourceSpecCode *string `json:"resource_spec_code,omitempty"` // 资源容量度量标识。 ResourceSize *int32 `json:"resource_size,omitempty"` // 使用量因子,按需计费必填,取值和话单中的使用量因子一致,云服务和使用量因子对应关系如下: - Duration:云服务器 - flow:流量 UsageFactor *string `json:"usage_factor,omitempty"` // 使用量值,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时。 UsageValue *float64 `json:"usage_value,omitempty"` // 使用量单位标识,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时。 - 4:小时 - 10:GB - 11:MB - 13:Byte - 17:FLOW_GB UsageMeasureId *int32 `json:"usage_measure_id,omitempty"` // 资源容量大小,例如购买的卷大小或带宽大小。 ResourceSizeMeasureId *int32 `json:"resource_size_measure_id,omitempty"` }
ProductInfo 产品信息。
func (ProductInfo) String ¶ added in v0.1.49
func (o ProductInfo) String() string
type ProgressCompleteInfo ¶
type ProgressCompleteInfo struct { // 完成进度。 Completed *string `json:"completed,omitempty"` // 预计剩余时间。 RemainingTime *string `json:"remaining_time,omitempty"` }
ProgressCompleteInfo 全量迁移进度。
func (ProgressCompleteInfo) String ¶
func (o ProgressCompleteInfo) String() string
type ProjectTag ¶ added in v0.1.58
type ProjectTag struct { // 标签键。 Key *string `json:"key,omitempty"` // 标签值。 Values *[]string `json:"values,omitempty"` }
func (ProjectTag) String ¶ added in v0.1.58
func (o ProjectTag) String() string
type PublicIpConfig ¶ added in v0.1.86
type PublicIpConfig struct { // 指定公网IP的ID Id string `json:"id"` // 指定公网IP PublicIp string `json:"public_ip"` // 指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定为master Type PublicIpConfigType `json:"type"` }
PublicIpConfig 租户公网IP信息
func (PublicIpConfig) String ¶ added in v0.1.86
func (o PublicIpConfig) String() string
type PublicIpConfigType ¶ added in v0.1.86
type PublicIpConfigType struct {
// contains filtered or unexported fields
}
func (PublicIpConfigType) MarshalJSON ¶ added in v0.1.86
func (c PublicIpConfigType) MarshalJSON() ([]byte, error)
func (*PublicIpConfigType) UnmarshalJSON ¶ added in v0.1.86
func (c *PublicIpConfigType) UnmarshalJSON(b []byte) error
func (PublicIpConfigType) Value ¶ added in v0.1.86
func (c PublicIpConfigType) Value() string
type PublicIpConfigTypeEnum ¶ added in v0.1.86
type PublicIpConfigTypeEnum struct { MASTER PublicIpConfigType SLAVE PublicIpConfigType }
func GetPublicIpConfigTypeEnum ¶ added in v0.1.86
func GetPublicIpConfigTypeEnum() PublicIpConfigTypeEnum
type QueryColumnInfo ¶ added in v0.1.58
type QueryColumnInfo struct { // 列名 ColumnName *string `json:"column_name,omitempty"` // 列类型 ColumnType *string `json:"column_type,omitempty"` // 主键或者唯一索引 PrimaryKeyOrUniqueIndex *string `json:"primary_key_or_unique_index,omitempty"` // 列映射后的名称 ColumnMappedName *string `json:"column_mapped_name,omitempty"` // 该列是否过滤 IsFiltered *bool `json:"is_filtered,omitempty"` // 该列是否partitionKey IsPartitionKey *bool `json:"is_partition_key,omitempty"` }
QueryColumnInfo 数据库列信息
func (QueryColumnInfo) String ¶ added in v0.1.58
func (o QueryColumnInfo) String() string
type QueryColumnReq ¶ added in v0.1.58
type QueryColumnReq struct { // 是否从Node获取最新的列信息 IsForceRefresh *bool `json:"is_force_refresh,omitempty"` // 指定数据库表信息 DbObjectInfos []SelectDbTableObjectInfo `json:"db_object_infos"` }
QueryColumnReq 是否从源库获取最新的列信息
func (QueryColumnReq) String ¶ added in v0.1.58
func (o QueryColumnReq) String() string
type QueryDbPositionReq ¶ added in v0.1.64
type QueryDbPositionReq struct { // 重置位点时间, 使用UTC时间 示例:2023-09-19 15:00:00,UTC时间是2023-09-19T07:00:00Z ResetPositionTime string `json:"reset_position_time"` }
QueryDbPositionReq 采集数据库位点信息
func (QueryDbPositionReq) String ¶ added in v0.1.64
func (o QueryDbPositionReq) String() string
type QueryInstanceByTagReq ¶ added in v0.1.77
type QueryInstanceByTagReq struct { // 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略 “tags”字段。该字段为false或者未提供该参数时,该条件不生效,即返回所有资源或按\"tags\",\"matches\"等条件过滤。 WithoutAnyTag *bool `json:"without_any_tag,omitempty"` // 包含标签,最多包含20个key,每个key下面的value最多20个。 Tags *[]Tag `json:"tags,omitempty"` // 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。 Matches *[]TagMatch `json:"matches,omitempty"` }
QueryInstanceByTagReq 查询资源实例请求
func (QueryInstanceByTagReq) String ¶ added in v0.1.77
func (o QueryInstanceByTagReq) String() string
type QueryMetricResult ¶
type QueryMetricResult struct { // 任务ID。 JobId *string `json:"job_id,omitempty"` // 实例ID。 NodeId *string `json:"node_id,omitempty"` // 上报时间。 TimeStamp *string `json:"time_stamp,omitempty"` // CPU使用率。 CpuUtil *string `json:"cpu_util,omitempty"` // 内存使用率。 MemUtil *string `json:"mem_util,omitempty"` // 网络输入吞吐量。 NetworkIncomingBytesRate *string `json:"network_incoming_bytes_rate,omitempty"` // 网络输出吞吐量。 NetworkOutgoingBytesRate *string `json:"network_outgoing_bytes_rate,omitempty"` // 磁盘读吞吐量。 DiskReadBytesRate *string `json:"disk_read_bytes_rate,omitempty"` // 磁盘写吞吐量。 DiskWriteBytesRate *string `json:"disk_write_bytes_rate,omitempty"` // 写目标库频率。 ApplyRowsRate *string `json:"apply_rows_rate,omitempty"` // DML TPS。 ApplyTransactionsRate *string `json:"apply_transactions_rate,omitempty"` // DDL TPS。 ApplyDdlRate *string `json:"apply_ddl_rate,omitempty"` // 事务平均执行时间。 ApplyAverageExecuteTime *string `json:"apply_average_execute_time,omitempty"` // 事务平均提交时间。 ApplyAverageCommitTime *string `json:"apply_average_commit_time,omitempty"` // 同步状态。 ApplyCurrentState *string `json:"apply_current_state,omitempty"` }
QueryMetricResult Node节点指标项。
func (QueryMetricResult) String ¶
func (o QueryMetricResult) String() string
type QueryMigrationObjectProgressInfo ¶
type QueryMigrationObjectProgressInfo struct { // 概览详情。 MigrationObjectOverview *[]MigrationObjectOverviewInfo `json:"migration_object_overview,omitempty"` // 数据生成时间。 CreateTime *string `json:"create_time,omitempty"` // 全量开始时间。 FullStartTime *string `json:"full_start_time,omitempty"` // 全量完成时间。 FullCompleteTime *string `json:"full_complete_time,omitempty"` // 增量开始时间。 IncrStartTime *string `json:"incr_start_time,omitempty"` // 结束时间。 EndTime *string `json:"end_time,omitempty"` }
QueryMigrationObjectProgressInfo 迁移中对象进度信息体。
func (QueryMigrationObjectProgressInfo) String ¶
func (o QueryMigrationObjectProgressInfo) String() string
type QueryNetworkResult ¶
type QueryNetworkResult struct { // 测试连接IP。 Ip *string `json:"ip,omitempty"` // 测试连接是否成功。 Success bool `json:"success"` // 测试连接结果。 Result *string `json:"result,omitempty"` // 测试连接是否成功。取值: - success:成功。 - failed:不成功。 Status QueryNetworkResultStatus `json:"status"` // 测试连接失败错误码。 ErrorCode *string `json:"error_code,omitempty"` // 测试连接失败错误内容。 ErrorMsg *string `json:"error_msg,omitempty"` }
QueryNetworkResult 测试连接结果响应体。
func (QueryNetworkResult) String ¶
func (o QueryNetworkResult) String() string
type QueryNetworkResultStatus ¶
type QueryNetworkResultStatus struct {
// contains filtered or unexported fields
}
func (QueryNetworkResultStatus) MarshalJSON ¶
func (c QueryNetworkResultStatus) MarshalJSON() ([]byte, error)
func (*QueryNetworkResultStatus) UnmarshalJSON ¶
func (c *QueryNetworkResultStatus) UnmarshalJSON(b []byte) error
func (QueryNetworkResultStatus) Value ¶
func (c QueryNetworkResultStatus) Value() string
type QueryNetworkResultStatusEnum ¶
type QueryNetworkResultStatusEnum struct { SUCCESS QueryNetworkResultStatus FAILED QueryNetworkResultStatus }
func GetQueryNetworkResultStatusEnum ¶
func GetQueryNetworkResultStatusEnum() QueryNetworkResultStatusEnum
type QueryPreCheckResult ¶
type QueryPreCheckResult struct { // 返回的预检查结果是否通过。 Result *bool `json:"result,omitempty"` // 预检查进度百分比。 Process *string `json:"process,omitempty"` // 预检查通过百分比。 TotalPassedRate *string `json:"total_passed_rate,omitempty"` // 数据库实例ID。 RdsInstanceId *string `json:"rds_instance_id,omitempty"` // 迁移方向。 JobDirection *string `json:"job_direction,omitempty"` // 预检查各项结果。 PrecheckResults *[]PrecheckResult `json:"precheck_results,omitempty"` }
QueryPreCheckResult 预检查结果信息体。
func (QueryPreCheckResult) String ¶
func (o QueryPreCheckResult) String() string
type QuerySelectObjectInfoReq ¶ added in v0.1.58
type QuerySelectObjectInfoReq struct { // 查询指定库的信息。 DbNames *[]string `json:"db_names,omitempty"` // 查询对象信息类型,取值: - source:查询源库对象信息。 - modified:查询已选择的(已同步的和未下发的)对象信息。 - synchronized:查询已同步的(已下发的)对象信息 , 使用场景在任务处于全量中或者增量中。 Type string `json:"type"` // 是否强制刷新。取值: - true:是,表示从源库重新查询。 - false:否,表示从已缓存中数据查询。 IsRefresh *string `json:"is_refresh,omitempty"` }
QuerySelectObjectInfoReq 数据库对象采集请求体
func (QuerySelectObjectInfoReq) String ¶ added in v0.1.58
func (o QuerySelectObjectInfoReq) String() string
type QueryUserSelectedObjectInfoReq ¶ added in v0.1.49
type QueryUserSelectedObjectInfoReq struct { // 库名。 DbName *string `json:"db_name,omitempty"` // 模式名。 SchemaName *string `json:"schema_name,omitempty"` // 表名。 TableName *string `json:"table_name,omitempty"` // 偏移量,表示从此偏移量开始查询, offset 大于等于 0。默认为0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。默认为10,取值范围【1-1000】 Limit *int32 `json:"limit,omitempty"` // 是否有映射。 HasColumnInfo *bool `json:"has_column_info,omitempty"` }
QueryUserSelectedObjectInfoReq 查询同步映射请求参数。
func (QueryUserSelectedObjectInfoReq) String ¶ added in v0.1.49
func (o QueryUserSelectedObjectInfoReq) String() string
type ReplayConfigInfo ¶ added in v0.1.95
type ReplayConfigInfo struct { // 源实例ID。 DbInstanceId string `json:"db_instance_id"` // 云类型: - AWSCloud:亚马逊云。 - TencentCloud:腾讯云。 - AliCloud:阿里云。 CloudType ReplayConfigInfoCloudType `json:"cloud_type"` // 其他云AK信息。 Ak string `json:"ak"` // 其他云SK信息。 Sk string `json:"sk"` // 源数据库来源。取值: - aws_aurora_mysql:Amazon Aurora MySQL。 - tencent_tdsql_c:腾讯云TDSQL-C MySQL。 - ali_rds_mysql:阿里云RDS MySQL。 DbSource ReplayConfigInfoDbSource `json:"db_source"` // 其他云Region名称。 Region string `json:"region"` // 流量文件来源。 - sdk:通过三方云API接口方式下载审计日志。 TrafficSource string `json:"traffic_source"` }
ReplayConfigInfo 仿真参数信息。
func (ReplayConfigInfo) String ¶ added in v0.1.95
func (o ReplayConfigInfo) String() string
type ReplayConfigInfoCloudType ¶ added in v0.1.95
type ReplayConfigInfoCloudType struct {
// contains filtered or unexported fields
}
func (ReplayConfigInfoCloudType) MarshalJSON ¶ added in v0.1.95
func (c ReplayConfigInfoCloudType) MarshalJSON() ([]byte, error)
func (*ReplayConfigInfoCloudType) UnmarshalJSON ¶ added in v0.1.95
func (c *ReplayConfigInfoCloudType) UnmarshalJSON(b []byte) error
func (ReplayConfigInfoCloudType) Value ¶ added in v0.1.95
func (c ReplayConfigInfoCloudType) Value() string
type ReplayConfigInfoCloudTypeEnum ¶ added in v0.1.95
type ReplayConfigInfoCloudTypeEnum struct { AWS_CLOUD ReplayConfigInfoCloudType TENCENT_CLOUD ReplayConfigInfoCloudType ALI_CLOUD ReplayConfigInfoCloudType }
func GetReplayConfigInfoCloudTypeEnum ¶ added in v0.1.95
func GetReplayConfigInfoCloudTypeEnum() ReplayConfigInfoCloudTypeEnum
type ReplayConfigInfoDbSource ¶ added in v0.1.95
type ReplayConfigInfoDbSource struct {
// contains filtered or unexported fields
}
func (ReplayConfigInfoDbSource) MarshalJSON ¶ added in v0.1.95
func (c ReplayConfigInfoDbSource) MarshalJSON() ([]byte, error)
func (*ReplayConfigInfoDbSource) UnmarshalJSON ¶ added in v0.1.95
func (c *ReplayConfigInfoDbSource) UnmarshalJSON(b []byte) error
func (ReplayConfigInfoDbSource) Value ¶ added in v0.1.95
func (c ReplayConfigInfoDbSource) Value() string
type ReplayConfigInfoDbSourceEnum ¶ added in v0.1.95
type ReplayConfigInfoDbSourceEnum struct { AWS_AURORA_MYSQL ReplayConfigInfoDbSource TENCENT_TDSQL_C ReplayConfigInfoDbSource ALI_RDS_MYSQL ReplayConfigInfoDbSource }
func GetReplayConfigInfoDbSourceEnum ¶ added in v0.1.95
func GetReplayConfigInfoDbSourceEnum() ReplayConfigInfoDbSourceEnum
type ReplayErrorClassification ¶ added in v0.1.103
type ReplayErrorClassification struct { // 目标库标识 TargetName *string `json:"target_name,omitempty"` // 异常SQL分类 ErrorType string `json:"error_type"` // 异常SQL数量 ErrorCnt *string `json:"error_cnt,omitempty"` // 异常SQL模板数量 ErrorTemplateCnt *string `json:"error_template_cnt,omitempty"` }
ReplayErrorClassification 回放异常SQL分类数据项
func (ReplayErrorClassification) String ¶ added in v0.1.103
func (o ReplayErrorClassification) String() string
type ReplayErrorSqlResp ¶ added in v0.1.91
type ReplayErrorSqlResp struct { // SQL类型 ObjectType *string `json:"object_type,omitempty"` // SQL语句 AbnormalSql *string `json:"abnormal_sql,omitempty"` // 异常原因描述 AbnormalInfo *string `json:"abnormal_info,omitempty"` }
ReplayErrorSqlResp 回放异常SQL数据项
func (ReplayErrorSqlResp) String ¶ added in v0.1.91
func (o ReplayErrorSqlResp) String() string
type ReplayErrorSqlTemplateResp ¶ added in v0.1.91
type ReplayErrorSqlTemplateResp struct { // SQL模板 SqlTemplate *string `json:"sql_template,omitempty"` // SQL模板MD5 SqlTemplateMd5 *string `json:"sql_template_md5,omitempty"` // 目标库昵称 TargetName *string `json:"target_name,omitempty"` // schema名称 SchemaName *string `json:"schema_name,omitempty"` // SQL类型 QueryType *string `json:"query_type,omitempty"` // 目标库类型 TargetType *string `json:"target_type,omitempty"` // 归类的SQL数量 Count *int64 `json:"count,omitempty"` }
ReplayErrorSqlTemplateResp 回放异常SQL数据项
func (ReplayErrorSqlTemplateResp) String ¶ added in v0.1.91
func (o ReplayErrorSqlTemplateResp) String() string
type ReplayShardStaticsResp ¶ added in v0.1.91
type ReplayShardStaticsResp struct { // 回放时间点 Time string `json:"time"` // SQL总量 Total int64 `json:"total"` // SQL执行量 Finish int64 `json:"finish"` // SQL异常量 Abnormal int64 `json:"abnormal"` // 慢SQL数量 Slow int64 `json:"slow"` }
ReplayShardStaticsResp 回放概览信息基于进间点的统计结果
func (ReplayShardStaticsResp) String ¶ added in v0.1.91
func (o ReplayShardStaticsResp) String() string
type ReplaySlowSqlResp ¶ added in v0.1.91
type ReplaySlowSqlResp struct { // SQL语句类型 ObjectType *string `json:"object_type,omitempty"` // SQL语句 SlowSql *string `json:"slow_sql,omitempty"` // 源库执行耗时 OldTime *string `json:"old_time,omitempty"` // 目标库回放执行耗时 ReplayTime *string `json:"replay_time,omitempty"` }
ReplaySlowSqlResp 回放慢SQL数据结果对象
func (ReplaySlowSqlResp) String ¶ added in v0.1.91
func (o ReplaySlowSqlResp) String() string
type ReplaySlowSqlTemplateResp ¶ added in v0.1.91
type ReplaySlowSqlTemplateResp struct { // SQL语句模板 SqlTemplate string `json:"sql_template"` // SQL语句模板MD5 SqlTemplateMd5 *string `json:"sql_template_md5,omitempty"` // 目标库别名 TargetName *string `json:"target_name,omitempty"` // schema名称 SchemaName *string `json:"schema_name,omitempty"` // SQL类型 QueryType *string `json:"query_type,omitempty"` // SQL执行最小耗时 MinLatency *int64 `json:"min_latency,omitempty"` // SQL执行最大耗时 MaxLatency *int64 `json:"max_latency,omitempty"` // SQL执行平均耗时 AvgLatency int64 `json:"avg_latency"` // SQL执行总的耗时 TotalLatency *int64 `json:"total_latency,omitempty"` // 目标库类型 TargetType *string `json:"target_type,omitempty"` // SQL数量 Count int64 `json:"count"` }
ReplaySlowSqlTemplateResp 慢SQL统计信息数据项
func (ReplaySlowSqlTemplateResp) String ¶ added in v0.1.91
func (o ReplaySlowSqlTemplateResp) String() string
type ReplayingSqlResp ¶ added in v0.1.91
type ReplayingSqlResp struct { // 库名或shema名称 SchemaName *string `json:"schema_name,omitempty"` // SQL语句 SqlStatement *string `json:"sql_statement,omitempty"` // 原始执行耗时 Latency *int32 `json:"latency,omitempty"` // 回放执行耗时 ExecuteLatency *int32 `json:"execute_latency,omitempty"` // 执行状态 Status *string `json:"status,omitempty"` // 客户端IP Client *string `json:"client,omitempty"` // 连接ID ConnectionId *string `json:"connection_id,omitempty"` // 回放开始时间 ReplayStartTime *string `json:"replay_start_time,omitempty"` }
ReplayingSqlResp 正在回放的SQL信息
func (ReplayingSqlResp) String ¶ added in v0.1.91
func (o ReplayingSqlResp) String() string
type ResourceInstance ¶ added in v0.1.77
type ResourceInstance struct { // 资源ID。 ResourceId *string `json:"resource_id,omitempty"` // 资源详情。 资源对象,用于扩展。默认为空。 ResourceDetail *string `json:"resource_detail,omitempty"` // 资源名称。 ResourceName *string `json:"resource_name,omitempty"` // 标签列表。 Tags *[]ResourceTagInfo `json:"tags,omitempty"` }
ResourceInstance 查询标签返回资源信息体
func (ResourceInstance) String ¶ added in v0.1.77
func (o ResourceInstance) String() string
type ResourceTag ¶
type ResourceTag struct { // 标签键。 约束:最大长度36,只能包含字母、数字、下划线、中划线和中文。 Key *string `json:"key,omitempty"` // 标签值。标签的值可以包含任意语种字母、数字、空格和_ . : / = + - @。 Value *string `json:"value,omitempty"` }
ResourceTag 标签信息体。
func (ResourceTag) String ¶
func (o ResourceTag) String() string
type ResourceTagInfo ¶ added in v0.1.77
type ResourceTagInfo struct { // 标签键。 Key *string `json:"key,omitempty"` // 标签值。 Value *string `json:"value,omitempty"` }
ResourceTagInfo 标签信息体
func (ResourceTagInfo) String ¶ added in v0.1.77
func (o ResourceTagInfo) String() string
type SchemaObject ¶
type SchemaObject struct { // 该模式在实时同步场景下的类型。取值: - config:仅当该模式作为数据过滤高级设置的关联模式时,需要填写,此时该模式以及该模式下的tables“不会”被同步到目标库,name、all属性不生效,tables需要填写被关联的相关对象。(注意:如果需要同步该模式对象,则在下级对象中填写sync_type值为config。) SyncType *string `json:"sync_type,omitempty"` // 该模式在目标库的名称(模式名映射)。 Name *string `json:"name,omitempty"` // 是否整模式迁移或同步。注意: 1.当该模式下的表、列需要做数据过滤、列过滤、列映射时,填false,否则填true; 2.当该模式下的表需要做附加列时,需要填true,并且在表级对象的columns里填写附加列信息; 3.当该模式下的表所包含的列作为数据过滤高级设置的关联列时,需要填true,并且在columns里填写关联列信息、config_conditions填写数据过滤高级设置的配置条件; All *bool `json:"all,omitempty"` // 需要迁移或同步的表,当整模式迁移或同步为false时需要填写。 Tables map[string]TableObject `json:"tables,omitempty"` }
SchemaObject 数据库模式对象。
func (SchemaObject) String ¶
func (o SchemaObject) String() string
type SelectDbTableObjectInfo ¶ added in v0.1.58
type SelectDbTableObjectInfo struct { // 数据库名称。 DbName string `json:"db_name"` // 数据库schema名称。 SchemaName *string `json:"schema_name,omitempty"` // 数据库表名称。 TableName string `json:"table_name"` }
SelectDbTableObjectInfo 指定库表信息
func (SelectDbTableObjectInfo) String ¶ added in v0.1.58
func (o SelectDbTableObjectInfo) String() string
type ShowActionsRequest ¶ added in v0.1.49
type ShowActionsRequest struct { // 请求语言类型。 XLanguage *ShowActionsRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` }
ShowActionsRequest Request Object
func (ShowActionsRequest) String ¶ added in v0.1.49
func (o ShowActionsRequest) String() string
type ShowActionsRequestXLanguage ¶ added in v0.1.49
type ShowActionsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowActionsRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ShowActionsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowActionsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowActionsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowActionsRequestXLanguage) Value ¶ added in v0.1.49
func (c ShowActionsRequestXLanguage) Value() string
type ShowActionsRequestXLanguageEnum ¶ added in v0.1.49
type ShowActionsRequestXLanguageEnum struct { EN_US ShowActionsRequestXLanguage ZH_CN ShowActionsRequestXLanguage }
func GetShowActionsRequestXLanguageEnum ¶ added in v0.1.49
func GetShowActionsRequestXLanguageEnum() ShowActionsRequestXLanguageEnum
type ShowActionsResponse ¶ added in v0.1.49
type ShowActionsResponse struct { JobAction *JobActions `json:"job_action,omitempty"` HttpStatusCode int `json:"-"` }
ShowActionsResponse Response Object
func (ShowActionsResponse) String ¶ added in v0.1.49
func (o ShowActionsResponse) String() string
type ShowColumnInfoResultRequest ¶ added in v0.1.58
type ShowColumnInfoResultRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowColumnInfoResultRequestXLanguage `json:"X-Language,omitempty"` // 指定数据库表的列信息采集的ID,提交采集指定数据库表的列信息接口返回的ID。 QueryId string `json:"query_id"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` }
ShowColumnInfoResultRequest Request Object
func (ShowColumnInfoResultRequest) String ¶ added in v0.1.58
func (o ShowColumnInfoResultRequest) String() string
type ShowColumnInfoResultRequestXLanguage ¶ added in v0.1.58
type ShowColumnInfoResultRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowColumnInfoResultRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowColumnInfoResultRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowColumnInfoResultRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowColumnInfoResultRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowColumnInfoResultRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowColumnInfoResultRequestXLanguage) Value() string
type ShowColumnInfoResultRequestXLanguageEnum ¶ added in v0.1.58
type ShowColumnInfoResultRequestXLanguageEnum struct { EN_US ShowColumnInfoResultRequestXLanguage ZH_CN ShowColumnInfoResultRequestXLanguage }
func GetShowColumnInfoResultRequestXLanguageEnum ¶ added in v0.1.58
func GetShowColumnInfoResultRequestXLanguageEnum() ShowColumnInfoResultRequestXLanguageEnum
type ShowColumnInfoResultResponse ¶ added in v0.1.58
type ShowColumnInfoResultResponse struct { // 指定数据库表列信息 Results *[]DbObjectColumnInfo `json:"results,omitempty"` // 列表中的项目总数,与分页无关 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ShowColumnInfoResultResponse Response Object
func (ShowColumnInfoResultResponse) String ¶ added in v0.1.58
func (o ShowColumnInfoResultResponse) String() string
type ShowComparePolicyRequest ¶ added in v0.1.49
type ShowComparePolicyRequest struct { // 请求语言类型。 XLanguage *ShowComparePolicyRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` }
ShowComparePolicyRequest Request Object
func (ShowComparePolicyRequest) String ¶ added in v0.1.49
func (o ShowComparePolicyRequest) String() string
type ShowComparePolicyRequestXLanguage ¶ added in v0.1.49
type ShowComparePolicyRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowComparePolicyRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ShowComparePolicyRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowComparePolicyRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowComparePolicyRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowComparePolicyRequestXLanguage) Value ¶ added in v0.1.49
func (c ShowComparePolicyRequestXLanguage) Value() string
type ShowComparePolicyRequestXLanguageEnum ¶ added in v0.1.49
type ShowComparePolicyRequestXLanguageEnum struct { EN_US ShowComparePolicyRequestXLanguage ZH_CN ShowComparePolicyRequestXLanguage }
func GetShowComparePolicyRequestXLanguageEnum ¶ added in v0.1.49
func GetShowComparePolicyRequestXLanguageEnum() ShowComparePolicyRequestXLanguageEnum
type ShowComparePolicyResponse ¶ added in v0.1.49
type ShowComparePolicyResponse struct { // 对比时间。 Period *string `json:"period,omitempty"` // 对比策略状态。 - OPEN:开启 - CLOSED:关闭 - NO_SUPPORT:不支持 Status *ShowComparePolicyResponseStatus `json:"status,omitempty"` // 对比开始时间。 BeginTime *string `json:"begin_time,omitempty"` // 对比结束时间。 EndTime *string `json:"end_time,omitempty"` // 对比类型: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。 CompareType *[]string `json:"compare_type,omitempty"` // 下次对比时间,UTC时间,例如:2023-06-12T08:00:00Z NextCompareTime *string `json:"next_compare_time,omitempty"` // 对比策略。 - normal:普通对比 - manyToOne:多对一对比 ComparePolicy *string `json:"compare_policy,omitempty"` // 间隔时间。 IntervalHour *int32 `json:"interval_hour,omitempty"` HttpStatusCode int `json:"-"` }
ShowComparePolicyResponse Response Object
func (ShowComparePolicyResponse) String ¶ added in v0.1.49
func (o ShowComparePolicyResponse) String() string
type ShowComparePolicyResponseStatus ¶ added in v0.1.49
type ShowComparePolicyResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowComparePolicyResponseStatus) MarshalJSON ¶ added in v0.1.49
func (c ShowComparePolicyResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowComparePolicyResponseStatus) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowComparePolicyResponseStatus) UnmarshalJSON(b []byte) error
func (ShowComparePolicyResponseStatus) Value ¶ added in v0.1.49
func (c ShowComparePolicyResponseStatus) Value() string
type ShowComparePolicyResponseStatusEnum ¶ added in v0.1.49
type ShowComparePolicyResponseStatusEnum struct { OPEN ShowComparePolicyResponseStatus CLOSED ShowComparePolicyResponseStatus NO_SUPPORT ShowComparePolicyResponseStatus }
func GetShowComparePolicyResponseStatusEnum ¶ added in v0.1.49
func GetShowComparePolicyResponseStatusEnum() ShowComparePolicyResponseStatusEnum
type ShowDataFilteringResultRequest ¶ added in v0.1.58
type ShowDataFilteringResultRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowDataFilteringResultRequestXLanguage `json:"X-Language,omitempty"` // 数据过滤校验请求ID QueryId string `json:"query_id"` }
ShowDataFilteringResultRequest Request Object
func (ShowDataFilteringResultRequest) String ¶ added in v0.1.58
func (o ShowDataFilteringResultRequest) String() string
type ShowDataFilteringResultRequestXLanguage ¶ added in v0.1.58
type ShowDataFilteringResultRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDataFilteringResultRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowDataFilteringResultRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDataFilteringResultRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowDataFilteringResultRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDataFilteringResultRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowDataFilteringResultRequestXLanguage) Value() string
type ShowDataFilteringResultRequestXLanguageEnum ¶ added in v0.1.58
type ShowDataFilteringResultRequestXLanguageEnum struct { EN_US ShowDataFilteringResultRequestXLanguage ZH_CN ShowDataFilteringResultRequestXLanguage }
func GetShowDataFilteringResultRequestXLanguageEnum ¶ added in v0.1.58
func GetShowDataFilteringResultRequestXLanguageEnum() ShowDataFilteringResultRequestXLanguageEnum
type ShowDataFilteringResultResponse ¶ added in v0.1.58
type ShowDataFilteringResultResponse struct { // 数据过滤规则校验成功的数量 SuccessCount *int64 `json:"success_count,omitempty"` // 数据过滤规则校验失败的数量 FailedCount *int64 `json:"failed_count,omitempty"` // 库表过滤规则校验结果 DbObjectFilteringResult *[]DbObjectFilteringResult `json:"db_object_filtering_result,omitempty"` HttpStatusCode int `json:"-"` }
ShowDataFilteringResultResponse Response Object
func (ShowDataFilteringResultResponse) String ¶ added in v0.1.58
func (o ShowDataFilteringResultResponse) String() string
type ShowDataProcessingRulesResultRequest ¶ added in v0.1.58
type ShowDataProcessingRulesResultRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowDataProcessingRulesResultRequestXLanguage `json:"X-Language,omitempty"` // 更新数据加工规则ID。 QueryId string `json:"query_id"` }
ShowDataProcessingRulesResultRequest Request Object
func (ShowDataProcessingRulesResultRequest) String ¶ added in v0.1.58
func (o ShowDataProcessingRulesResultRequest) String() string
type ShowDataProcessingRulesResultRequestXLanguage ¶ added in v0.1.58
type ShowDataProcessingRulesResultRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDataProcessingRulesResultRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowDataProcessingRulesResultRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDataProcessingRulesResultRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowDataProcessingRulesResultRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDataProcessingRulesResultRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowDataProcessingRulesResultRequestXLanguage) Value() string
type ShowDataProcessingRulesResultRequestXLanguageEnum ¶ added in v0.1.58
type ShowDataProcessingRulesResultRequestXLanguageEnum struct { EN_US ShowDataProcessingRulesResultRequestXLanguage ZH_CN ShowDataProcessingRulesResultRequestXLanguage }
func GetShowDataProcessingRulesResultRequestXLanguageEnum ¶ added in v0.1.58
func GetShowDataProcessingRulesResultRequestXLanguageEnum() ShowDataProcessingRulesResultRequestXLanguageEnum
type ShowDataProcessingRulesResultResponse ¶ added in v0.1.58
type ShowDataProcessingRulesResultResponse struct { // 查询结果id Id *string `json:"id,omitempty"` // 查询状态 pending:处理中 failed:失败 success:成功 Status *ShowDataProcessingRulesResultResponseStatus `json:"status,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowDataProcessingRulesResultResponse Response Object
func (ShowDataProcessingRulesResultResponse) String ¶ added in v0.1.58
func (o ShowDataProcessingRulesResultResponse) String() string
type ShowDataProcessingRulesResultResponseStatus ¶ added in v0.1.58
type ShowDataProcessingRulesResultResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDataProcessingRulesResultResponseStatus) MarshalJSON ¶ added in v0.1.58
func (c ShowDataProcessingRulesResultResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDataProcessingRulesResultResponseStatus) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowDataProcessingRulesResultResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDataProcessingRulesResultResponseStatus) Value ¶ added in v0.1.58
func (c ShowDataProcessingRulesResultResponseStatus) Value() string
type ShowDataProcessingRulesResultResponseStatusEnum ¶ added in v0.1.58
type ShowDataProcessingRulesResultResponseStatusEnum struct { PENDING ShowDataProcessingRulesResultResponseStatus FAILED ShowDataProcessingRulesResultResponseStatus SUCCESS ShowDataProcessingRulesResultResponseStatus }
func GetShowDataProcessingRulesResultResponseStatusEnum ¶ added in v0.1.58
func GetShowDataProcessingRulesResultResponseStatusEnum() ShowDataProcessingRulesResultResponseStatusEnum
type ShowDataProgressRequest ¶ added in v0.1.58
type ShowDataProgressRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowDataProgressRequestXLanguage `json:"X-Language,omitempty"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` }
ShowDataProgressRequest Request Object
func (ShowDataProgressRequest) String ¶ added in v0.1.58
func (o ShowDataProgressRequest) String() string
type ShowDataProgressRequestXLanguage ¶ added in v0.1.58
type ShowDataProgressRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDataProgressRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowDataProgressRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDataProgressRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowDataProgressRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDataProgressRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowDataProgressRequestXLanguage) Value() string
type ShowDataProgressRequestXLanguageEnum ¶ added in v0.1.58
type ShowDataProgressRequestXLanguageEnum struct { EN_US ShowDataProgressRequestXLanguage ZH_CN ShowDataProgressRequestXLanguage }
func GetShowDataProgressRequestXLanguageEnum ¶ added in v0.1.58
func GetShowDataProgressRequestXLanguageEnum() ShowDataProgressRequestXLanguageEnum
type ShowDataProgressResponse ¶ added in v0.1.58
type ShowDataProgressResponse struct { // 数据加工规则响应体 DataProcessInfo *[]DataProcessInfo `json:"data_process_info,omitempty"` // 数据加工规则总数目 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ShowDataProgressResponse Response Object
func (ShowDataProgressResponse) String ¶ added in v0.1.58
func (o ShowDataProgressResponse) String() string
type ShowDbObjectCollectionStatusRequest ¶ added in v0.1.21
type ShowDbObjectCollectionStatusRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowDbObjectCollectionStatusRequestXLanguage `json:"X-Language,omitempty"` // 对象信息采集的ID,提交查询数据库对象信息接口返回的ID。 QueryId string `json:"query_id"` }
ShowDbObjectCollectionStatusRequest Request Object
func (ShowDbObjectCollectionStatusRequest) String ¶ added in v0.1.21
func (o ShowDbObjectCollectionStatusRequest) String() string
type ShowDbObjectCollectionStatusRequestXLanguage ¶ added in v0.1.58
type ShowDbObjectCollectionStatusRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDbObjectCollectionStatusRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowDbObjectCollectionStatusRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDbObjectCollectionStatusRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowDbObjectCollectionStatusRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDbObjectCollectionStatusRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowDbObjectCollectionStatusRequestXLanguage) Value() string
type ShowDbObjectCollectionStatusRequestXLanguageEnum ¶ added in v0.1.58
type ShowDbObjectCollectionStatusRequestXLanguageEnum struct { EN_US ShowDbObjectCollectionStatusRequestXLanguage ZH_CN ShowDbObjectCollectionStatusRequestXLanguage }
func GetShowDbObjectCollectionStatusRequestXLanguageEnum ¶ added in v0.1.58
func GetShowDbObjectCollectionStatusRequestXLanguageEnum() ShowDbObjectCollectionStatusRequestXLanguageEnum
type ShowDbObjectCollectionStatusResponse ¶ added in v0.1.21
type ShowDbObjectCollectionStatusResponse struct { TargetRootDb *TargetRootDb `json:"target_root_db,omitempty"` // 数据库对象迁移或同步信息。 ObjectInfo map[string]DatabaseObject `json:"object_info,omitempty"` // 库下表数量的阈值。 MaxTableNum *int32 `json:"max_table_num,omitempty"` // 获取提交查询对象选择信息的状态 Status *ShowDbObjectCollectionStatusResponseStatus `json:"status,omitempty"` // 任务id Id *string `json:"id,omitempty"` // 该数据库在实时同步场景下的类型 ObjectScope *string `json:"object_scope,omitempty"` HttpStatusCode int `json:"-"` }
ShowDbObjectCollectionStatusResponse Response Object
func (ShowDbObjectCollectionStatusResponse) String ¶ added in v0.1.21
func (o ShowDbObjectCollectionStatusResponse) String() string
type ShowDbObjectCollectionStatusResponseStatus ¶ added in v0.1.21
type ShowDbObjectCollectionStatusResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDbObjectCollectionStatusResponseStatus) MarshalJSON ¶ added in v0.1.21
func (c ShowDbObjectCollectionStatusResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDbObjectCollectionStatusResponseStatus) UnmarshalJSON ¶ added in v0.1.21
func (c *ShowDbObjectCollectionStatusResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDbObjectCollectionStatusResponseStatus) Value ¶ added in v0.1.21
func (c ShowDbObjectCollectionStatusResponseStatus) Value() string
type ShowDbObjectCollectionStatusResponseStatusEnum ¶ added in v0.1.21
type ShowDbObjectCollectionStatusResponseStatusEnum struct { SUCCESS ShowDbObjectCollectionStatusResponseStatus FAILED ShowDbObjectCollectionStatusResponseStatus PENDING ShowDbObjectCollectionStatusResponseStatus }
func GetShowDbObjectCollectionStatusResponseStatusEnum ¶ added in v0.1.21
func GetShowDbObjectCollectionStatusResponseStatusEnum() ShowDbObjectCollectionStatusResponseStatusEnum
type ShowDbObjectTemplateProgressRequest ¶
type ShowDbObjectTemplateProgressRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowDbObjectTemplateProgressRequestXLanguage `json:"X-Language,omitempty"` // 偏移量,表示查询该偏移量后面的记录。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 Limit *int32 `json:"limit,omitempty"` // 默认为空。 - column:当进行列加工导入时,查询列加工导入进度。 Type *string `json:"type,omitempty"` }
ShowDbObjectTemplateProgressRequest Request Object
func (ShowDbObjectTemplateProgressRequest) String ¶
func (o ShowDbObjectTemplateProgressRequest) String() string
type ShowDbObjectTemplateProgressRequestXLanguage ¶
type ShowDbObjectTemplateProgressRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDbObjectTemplateProgressRequestXLanguage) MarshalJSON ¶
func (c ShowDbObjectTemplateProgressRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDbObjectTemplateProgressRequestXLanguage) UnmarshalJSON ¶
func (c *ShowDbObjectTemplateProgressRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDbObjectTemplateProgressRequestXLanguage) Value ¶
func (c ShowDbObjectTemplateProgressRequestXLanguage) Value() string
type ShowDbObjectTemplateProgressRequestXLanguageEnum ¶
type ShowDbObjectTemplateProgressRequestXLanguageEnum struct { EN_US ShowDbObjectTemplateProgressRequestXLanguage ZH_CN ShowDbObjectTemplateProgressRequestXLanguage }
func GetShowDbObjectTemplateProgressRequestXLanguageEnum ¶
func GetShowDbObjectTemplateProgressRequestXLanguageEnum() ShowDbObjectTemplateProgressRequestXLanguageEnum
type ShowDbObjectTemplateProgressResponse ¶
type ShowDbObjectTemplateProgressResponse struct { // 是否上传完成。 SendSuccess *bool `json:"send_success,omitempty"` // 文件解析状态。 ProcessStatus *string `json:"process_status,omitempty"` // 解析成功的行数。 ParsedSuccessNumber *string `json:"parsed_success_number,omitempty"` HttpStatusCode int `json:"-"` }
ShowDbObjectTemplateProgressResponse Response Object
func (ShowDbObjectTemplateProgressResponse) String ¶
func (o ShowDbObjectTemplateProgressResponse) String() string
type ShowDbObjectTemplateResultRequest ¶
type ShowDbObjectTemplateResultRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowDbObjectTemplateResultRequestXLanguage `json:"X-Language,omitempty"` // 导入的结果类型。取值: - detail:获取最新导入的文件与校验结果,上传后的文件若存在错误,会同时将错误原因标记在文件内。 - synchronized:获取已同步的(已下发的)对象文件结果。 - change: 获取新增和删除的对象结果(当再编辑时使用) Type ShowDbObjectTemplateResultRequestType `json:"type"` // 默认为空。当进行列加工导入时,查询列加工导入进度,取值column。 FileExportObjectLevel *string `json:"file_export_object_level,omitempty"` }
ShowDbObjectTemplateResultRequest Request Object
func (ShowDbObjectTemplateResultRequest) String ¶
func (o ShowDbObjectTemplateResultRequest) String() string
type ShowDbObjectTemplateResultRequestType ¶
type ShowDbObjectTemplateResultRequestType struct {
// contains filtered or unexported fields
}
func (ShowDbObjectTemplateResultRequestType) MarshalJSON ¶
func (c ShowDbObjectTemplateResultRequestType) MarshalJSON() ([]byte, error)
func (*ShowDbObjectTemplateResultRequestType) UnmarshalJSON ¶
func (c *ShowDbObjectTemplateResultRequestType) UnmarshalJSON(b []byte) error
func (ShowDbObjectTemplateResultRequestType) Value ¶
func (c ShowDbObjectTemplateResultRequestType) Value() string
type ShowDbObjectTemplateResultRequestTypeEnum ¶
type ShowDbObjectTemplateResultRequestTypeEnum struct { DETAIL ShowDbObjectTemplateResultRequestType SYNCHRONIZED ShowDbObjectTemplateResultRequestType CHANGE ShowDbObjectTemplateResultRequestType }
func GetShowDbObjectTemplateResultRequestTypeEnum ¶
func GetShowDbObjectTemplateResultRequestTypeEnum() ShowDbObjectTemplateResultRequestTypeEnum
type ShowDbObjectTemplateResultRequestXLanguage ¶
type ShowDbObjectTemplateResultRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDbObjectTemplateResultRequestXLanguage) MarshalJSON ¶
func (c ShowDbObjectTemplateResultRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDbObjectTemplateResultRequestXLanguage) UnmarshalJSON ¶
func (c *ShowDbObjectTemplateResultRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDbObjectTemplateResultRequestXLanguage) Value ¶
func (c ShowDbObjectTemplateResultRequestXLanguage) Value() string
type ShowDbObjectTemplateResultRequestXLanguageEnum ¶
type ShowDbObjectTemplateResultRequestXLanguageEnum struct { EN_US ShowDbObjectTemplateResultRequestXLanguage ZH_CN ShowDbObjectTemplateResultRequestXLanguage }
func GetShowDbObjectTemplateResultRequestXLanguageEnum ¶
func GetShowDbObjectTemplateResultRequestXLanguageEnum() ShowDbObjectTemplateResultRequestXLanguageEnum
type ShowDbObjectTemplateResultResponse ¶
type ShowDbObjectTemplateResultResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
ShowDbObjectTemplateResultResponse Response Object
func (ShowDbObjectTemplateResultResponse) Consume ¶
func (o ShowDbObjectTemplateResultResponse) Consume(writer io.Writer) (int64, error)
func (ShowDbObjectTemplateResultResponse) String ¶
func (o ShowDbObjectTemplateResultResponse) String() string
type ShowDbObjectsListRequest ¶ added in v0.1.58
type ShowDbObjectsListRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowDbObjectsListRequestXLanguage `json:"X-Language,omitempty"` // 查询对象信息类型。 取值: - modified:查询已选择的(已同步的和未下发的)对象信息。 Type string `json:"type"` }
ShowDbObjectsListRequest Request Object
func (ShowDbObjectsListRequest) String ¶ added in v0.1.58
func (o ShowDbObjectsListRequest) String() string
type ShowDbObjectsListRequestXLanguage ¶ added in v0.1.58
type ShowDbObjectsListRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDbObjectsListRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowDbObjectsListRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDbObjectsListRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowDbObjectsListRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDbObjectsListRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowDbObjectsListRequestXLanguage) Value() string
type ShowDbObjectsListRequestXLanguageEnum ¶ added in v0.1.58
type ShowDbObjectsListRequestXLanguageEnum struct { EN_US ShowDbObjectsListRequestXLanguage ZH_CN ShowDbObjectsListRequestXLanguage }
func GetShowDbObjectsListRequestXLanguageEnum ¶ added in v0.1.58
func GetShowDbObjectsListRequestXLanguageEnum() ShowDbObjectsListRequestXLanguageEnum
type ShowDbObjectsListResponse ¶ added in v0.1.58
type ShowDbObjectsListResponse struct { TargetRootDb *TargetRootDb `json:"target_root_db,omitempty"` // 数据库对象迁移或同步信息。 ObjectInfo map[string]DatabaseObject `json:"object_info,omitempty"` // 库下表数量的阈值。 MaxTableNum *int32 `json:"max_table_num,omitempty"` // 获取提交查询对象选择信息的状态 Status *ShowDbObjectsListResponseStatus `json:"status,omitempty"` // 任务id Id *string `json:"id,omitempty"` // 该数据库在实时同步场景下的类型 ObjectScope *string `json:"object_scope,omitempty"` HttpStatusCode int `json:"-"` }
ShowDbObjectsListResponse Response Object
func (ShowDbObjectsListResponse) String ¶ added in v0.1.58
func (o ShowDbObjectsListResponse) String() string
type ShowDbObjectsListResponseStatus ¶ added in v0.1.58
type ShowDbObjectsListResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDbObjectsListResponseStatus) MarshalJSON ¶ added in v0.1.58
func (c ShowDbObjectsListResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDbObjectsListResponseStatus) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowDbObjectsListResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDbObjectsListResponseStatus) Value ¶ added in v0.1.58
func (c ShowDbObjectsListResponseStatus) Value() string
type ShowDbObjectsListResponseStatusEnum ¶ added in v0.1.58
type ShowDbObjectsListResponseStatusEnum struct { SUCCESS ShowDbObjectsListResponseStatus FAILED ShowDbObjectsListResponseStatus PENDING ShowDbObjectsListResponseStatus }
func GetShowDbObjectsListResponseStatusEnum ¶ added in v0.1.58
func GetShowDbObjectsListResponseStatusEnum() ShowDbObjectsListResponseStatusEnum
type ShowDirtyDataRequest ¶ added in v0.1.49
type ShowDirtyDataRequest struct { // 请求语言类型。 XLanguage *ShowDirtyDataRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` // 开始时间,UTC时间,例如:2020-09-01T18:50:20Z BeginTime *string `json:"begin_time,omitempty"` // 结束时间,UTC时间,例如:2020-09-01T19:50:20Z EndTime *string `json:"end_time,omitempty"` // 偏移量,表示从此偏移量开始查询, offset 大于等于 0。默认为0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。默认为10,取值范围【1-1000】 Limit *int32 `json:"limit,omitempty"` }
ShowDirtyDataRequest Request Object
func (ShowDirtyDataRequest) String ¶ added in v0.1.49
func (o ShowDirtyDataRequest) String() string
type ShowDirtyDataRequestXLanguage ¶ added in v0.1.49
type ShowDirtyDataRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDirtyDataRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ShowDirtyDataRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDirtyDataRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowDirtyDataRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDirtyDataRequestXLanguage) Value ¶ added in v0.1.49
func (c ShowDirtyDataRequestXLanguage) Value() string
type ShowDirtyDataRequestXLanguageEnum ¶ added in v0.1.49
type ShowDirtyDataRequestXLanguageEnum struct { EN_US ShowDirtyDataRequestXLanguage ZH_CN ShowDirtyDataRequestXLanguage }
func GetShowDirtyDataRequestXLanguageEnum ¶ added in v0.1.49
func GetShowDirtyDataRequestXLanguageEnum() ShowDirtyDataRequestXLanguageEnum
type ShowDirtyDataResponse ¶ added in v0.1.49
type ShowDirtyDataResponse struct { // 总数。 Count *int32 `json:"count,omitempty"` // 异常数据列表。 DirtyDataList *[]DirtyData `json:"dirty_data_list,omitempty"` HttpStatusCode int `json:"-"` }
ShowDirtyDataResponse Response Object
func (ShowDirtyDataResponse) String ¶ added in v0.1.49
func (o ShowDirtyDataResponse) String() string
type ShowEnterpriseProjectRequest ¶ added in v0.1.49
type ShowEnterpriseProjectRequest struct { // 请求语言类型。 XLanguage *ShowEnterpriseProjectRequestXLanguage `json:"X-Language,omitempty"` // 偏移量,表示从此偏移量开始查询, offset 大于等于 0。默认为0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。默认为10,取值范围【1-1000】 Limit *int32 `json:"limit,omitempty"` // 企业项目名称,支持模糊搜索。 Name *string `json:"name,omitempty"` // IAM用户所属帐号ID。op_service权限必须携带此参数,非op_service权限可不携带此参数。 DomainId *string `json:"domain_id,omitempty"` }
ShowEnterpriseProjectRequest Request Object
func (ShowEnterpriseProjectRequest) String ¶ added in v0.1.49
func (o ShowEnterpriseProjectRequest) String() string
type ShowEnterpriseProjectRequestXLanguage ¶ added in v0.1.49
type ShowEnterpriseProjectRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowEnterpriseProjectRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ShowEnterpriseProjectRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowEnterpriseProjectRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowEnterpriseProjectRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowEnterpriseProjectRequestXLanguage) Value ¶ added in v0.1.49
func (c ShowEnterpriseProjectRequestXLanguage) Value() string
type ShowEnterpriseProjectRequestXLanguageEnum ¶ added in v0.1.49
type ShowEnterpriseProjectRequestXLanguageEnum struct { EN_US ShowEnterpriseProjectRequestXLanguage ZH_CN ShowEnterpriseProjectRequestXLanguage }
func GetShowEnterpriseProjectRequestXLanguageEnum ¶ added in v0.1.49
func GetShowEnterpriseProjectRequestXLanguageEnum() ShowEnterpriseProjectRequestXLanguageEnum
type ShowEnterpriseProjectResponse ¶ added in v0.1.49
type ShowEnterpriseProjectResponse struct { // 总数。 Count *int32 `json:"count,omitempty"` // 企业项目列表。 EnterpriseProjectList *[]EnterpriseProject `json:"enterprise_project_list,omitempty"` HttpStatusCode int `json:"-"` }
ShowEnterpriseProjectResponse Response Object
func (ShowEnterpriseProjectResponse) String ¶ added in v0.1.49
func (o ShowEnterpriseProjectResponse) String() string
type ShowHealthCompareJobDetailRequest ¶ added in v0.1.95
type ShowHealthCompareJobDetailRequest struct { // 请求语言类型。 XLanguage *ShowHealthCompareJobDetailRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` // 对比任务ID。 CompareJobId string `json:"compare_job_id"` }
ShowHealthCompareJobDetailRequest Request Object
func (ShowHealthCompareJobDetailRequest) String ¶ added in v0.1.95
func (o ShowHealthCompareJobDetailRequest) String() string
type ShowHealthCompareJobDetailRequestXLanguage ¶ added in v0.1.95
type ShowHealthCompareJobDetailRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowHealthCompareJobDetailRequestXLanguage) MarshalJSON ¶ added in v0.1.95
func (c ShowHealthCompareJobDetailRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowHealthCompareJobDetailRequestXLanguage) UnmarshalJSON ¶ added in v0.1.95
func (c *ShowHealthCompareJobDetailRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowHealthCompareJobDetailRequestXLanguage) Value ¶ added in v0.1.95
func (c ShowHealthCompareJobDetailRequestXLanguage) Value() string
type ShowHealthCompareJobDetailRequestXLanguageEnum ¶ added in v0.1.95
type ShowHealthCompareJobDetailRequestXLanguageEnum struct { EN_US ShowHealthCompareJobDetailRequestXLanguage ZH_CN ShowHealthCompareJobDetailRequestXLanguage }
func GetShowHealthCompareJobDetailRequestXLanguageEnum ¶ added in v0.1.95
func GetShowHealthCompareJobDetailRequestXLanguageEnum() ShowHealthCompareJobDetailRequestXLanguageEnum
type ShowHealthCompareJobDetailResponse ¶ added in v0.1.95
type ShowHealthCompareJobDetailResponse struct { // 对比任务ID。 Id *string `json:"id,omitempty"` // 对比类型: object_comparison:对象对比。 lines:行对比。 account:用户对比。 Type *string `json:"type,omitempty"` // 开始时间,UTC时间,例如:2024-04-03T08:00:01Z。 StartTime *string `json:"start_time,omitempty"` // 结束时间,UTC时间,例如:2024-04-03T08:00:01Z。 EndTime *string `json:"end_time,omitempty"` // 对比任务的状态。取值: - RUNNING:运行中。 - WAITING_FOR_RUNNING:等待启动中。 - SUCCESSFUL:完成。 - FAILED:失败。 - CANCELLED:已取消。 - TIMEOUT_INTERRUPT:超时中断。 - FULL_DOING:全量校验中。 - INCRE_DOING:增量校验中。 Status *string `json:"status,omitempty"` // 任务名称。 JobName *string `json:"job_name,omitempty"` HttpStatusCode int `json:"-"` }
ShowHealthCompareJobDetailResponse Response Object
func (ShowHealthCompareJobDetailResponse) String ¶ added in v0.1.95
func (o ShowHealthCompareJobDetailResponse) String() string
type ShowHealthCompareJobListRequest ¶ added in v0.1.49
type ShowHealthCompareJobListRequest struct { // 请求语言类型。 XLanguage *ShowHealthCompareJobListRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` // 状态,不传查询所有状态。 - WAITING_FOR_RUNNING:等待启动中 - RUNNING:运行中 - SUCCESSFUL:完成 - FAILED:失败 - CANCELLED:已取消 - TIMEOUT_INTERRUPT:超时中断 - FULL_DOING:全量校验中 - INCRE_DOING:增量校验中 Status *ShowHealthCompareJobListRequestStatus `json:"status,omitempty"` // 偏移量,表示从此偏移量开始查询, offset 大于等于 0。默认为0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。默认为10,取值范围【1-1000】 Limit *int32 `json:"limit,omitempty"` }
ShowHealthCompareJobListRequest Request Object
func (ShowHealthCompareJobListRequest) String ¶ added in v0.1.49
func (o ShowHealthCompareJobListRequest) String() string
type ShowHealthCompareJobListRequestStatus ¶ added in v0.1.49
type ShowHealthCompareJobListRequestStatus struct {
// contains filtered or unexported fields
}
func (ShowHealthCompareJobListRequestStatus) MarshalJSON ¶ added in v0.1.49
func (c ShowHealthCompareJobListRequestStatus) MarshalJSON() ([]byte, error)
func (*ShowHealthCompareJobListRequestStatus) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowHealthCompareJobListRequestStatus) UnmarshalJSON(b []byte) error
func (ShowHealthCompareJobListRequestStatus) Value ¶ added in v0.1.49
func (c ShowHealthCompareJobListRequestStatus) Value() string
type ShowHealthCompareJobListRequestStatusEnum ¶ added in v0.1.49
type ShowHealthCompareJobListRequestStatusEnum struct { WAITING_FOR_RUNNING ShowHealthCompareJobListRequestStatus RUNNING ShowHealthCompareJobListRequestStatus SUCCESSFUL ShowHealthCompareJobListRequestStatus FAILED ShowHealthCompareJobListRequestStatus CANCELLED ShowHealthCompareJobListRequestStatus TIMEOUT_INTERRUPT ShowHealthCompareJobListRequestStatus FULL_DOING ShowHealthCompareJobListRequestStatus INCRE_DOING ShowHealthCompareJobListRequestStatus }
func GetShowHealthCompareJobListRequestStatusEnum ¶ added in v0.1.49
func GetShowHealthCompareJobListRequestStatusEnum() ShowHealthCompareJobListRequestStatusEnum
type ShowHealthCompareJobListRequestXLanguage ¶ added in v0.1.49
type ShowHealthCompareJobListRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowHealthCompareJobListRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ShowHealthCompareJobListRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowHealthCompareJobListRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowHealthCompareJobListRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowHealthCompareJobListRequestXLanguage) Value ¶ added in v0.1.49
func (c ShowHealthCompareJobListRequestXLanguage) Value() string
type ShowHealthCompareJobListRequestXLanguageEnum ¶ added in v0.1.49
type ShowHealthCompareJobListRequestXLanguageEnum struct { EN_US ShowHealthCompareJobListRequestXLanguage ZH_CN ShowHealthCompareJobListRequestXLanguage }
func GetShowHealthCompareJobListRequestXLanguageEnum ¶ added in v0.1.49
func GetShowHealthCompareJobListRequestXLanguageEnum() ShowHealthCompareJobListRequestXLanguageEnum
type ShowHealthCompareJobListResponse ¶ added in v0.1.49
type ShowHealthCompareJobListResponse struct { // 总数。 Count *int64 `json:"count,omitempty"` // 健康对比任务列表。 CompareJobs *[]HealthCompareJob `json:"compare_jobs,omitempty"` HttpStatusCode int `json:"-"` }
ShowHealthCompareJobListResponse Response Object
func (ShowHealthCompareJobListResponse) String ¶ added in v0.1.49
func (o ShowHealthCompareJobListResponse) String() string
type ShowHealthObjectCompareJobOverviewRequest ¶ added in v0.1.95
type ShowHealthObjectCompareJobOverviewRequest struct { // 请求语言类型。 XLanguage *ShowHealthObjectCompareJobOverviewRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` // 对比任务ID。 CompareJobId string `json:"compare_job_id"` }
ShowHealthObjectCompareJobOverviewRequest Request Object
func (ShowHealthObjectCompareJobOverviewRequest) String ¶ added in v0.1.95
func (o ShowHealthObjectCompareJobOverviewRequest) String() string
type ShowHealthObjectCompareJobOverviewRequestXLanguage ¶ added in v0.1.95
type ShowHealthObjectCompareJobOverviewRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowHealthObjectCompareJobOverviewRequestXLanguage) MarshalJSON ¶ added in v0.1.95
func (c ShowHealthObjectCompareJobOverviewRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowHealthObjectCompareJobOverviewRequestXLanguage) UnmarshalJSON ¶ added in v0.1.95
func (c *ShowHealthObjectCompareJobOverviewRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowHealthObjectCompareJobOverviewRequestXLanguage) Value ¶ added in v0.1.95
func (c ShowHealthObjectCompareJobOverviewRequestXLanguage) Value() string
type ShowHealthObjectCompareJobOverviewRequestXLanguageEnum ¶ added in v0.1.95
type ShowHealthObjectCompareJobOverviewRequestXLanguageEnum struct { EN_US ShowHealthObjectCompareJobOverviewRequestXLanguage ZH_CN ShowHealthObjectCompareJobOverviewRequestXLanguage }
func GetShowHealthObjectCompareJobOverviewRequestXLanguageEnum ¶ added in v0.1.95
func GetShowHealthObjectCompareJobOverviewRequestXLanguageEnum() ShowHealthObjectCompareJobOverviewRequestXLanguageEnum
type ShowHealthObjectCompareJobOverviewResponse ¶ added in v0.1.95
type ShowHealthObjectCompareJobOverviewResponse struct { // 健康对比对象级对比结果。 CompareResult *[]ObjectsHealthCompareOverviewInfo `json:"compare_result,omitempty"` HttpStatusCode int `json:"-"` }
ShowHealthObjectCompareJobOverviewResponse Response Object
func (ShowHealthObjectCompareJobOverviewResponse) String ¶ added in v0.1.95
func (o ShowHealthObjectCompareJobOverviewResponse) String() string
type ShowIncrementComponentsDetailRequest ¶ added in v0.1.58
type ShowIncrementComponentsDetailRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowIncrementComponentsDetailRequestXLanguage `json:"X-Language,omitempty"` }
ShowIncrementComponentsDetailRequest Request Object
func (ShowIncrementComponentsDetailRequest) String ¶ added in v0.1.58
func (o ShowIncrementComponentsDetailRequest) String() string
type ShowIncrementComponentsDetailRequestXLanguage ¶ added in v0.1.58
type ShowIncrementComponentsDetailRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowIncrementComponentsDetailRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowIncrementComponentsDetailRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowIncrementComponentsDetailRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowIncrementComponentsDetailRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowIncrementComponentsDetailRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowIncrementComponentsDetailRequestXLanguage) Value() string
type ShowIncrementComponentsDetailRequestXLanguageEnum ¶ added in v0.1.58
type ShowIncrementComponentsDetailRequestXLanguageEnum struct { EN_US ShowIncrementComponentsDetailRequestXLanguage ZH_CN ShowIncrementComponentsDetailRequestXLanguage }
func GetShowIncrementComponentsDetailRequestXLanguageEnum ¶ added in v0.1.58
func GetShowIncrementComponentsDetailRequestXLanguageEnum() ShowIncrementComponentsDetailRequestXLanguageEnum
type ShowIncrementComponentsDetailResponse ¶ added in v0.1.58
type ShowIncrementComponentsDetailResponse struct { // 更新时间。 UpdateTime *string `json:"update_time,omitempty"` // 增量组件详情。 IncrementComponentsList *[]IncreComponentDetail `json:"increment_components_list,omitempty"` HttpStatusCode int `json:"-"` }
ShowIncrementComponentsDetailResponse Response Object
func (ShowIncrementComponentsDetailResponse) String ¶ added in v0.1.58
func (o ShowIncrementComponentsDetailResponse) String() string
type ShowInstanceTagsRequest ¶ added in v0.1.58
type ShowInstanceTagsRequest struct { // 资源类型。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 - subscription:数据订阅 - backupMigration:备份迁移 - replay:仿真回放 ResourceType ShowInstanceTagsRequestResourceType `json:"resource_type"` // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowInstanceTagsRequestXLanguage `json:"X-Language,omitempty"` }
ShowInstanceTagsRequest Request Object
func (ShowInstanceTagsRequest) String ¶ added in v0.1.58
func (o ShowInstanceTagsRequest) String() string
type ShowInstanceTagsRequestResourceType ¶ added in v0.1.58
type ShowInstanceTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ShowInstanceTagsRequestResourceType) MarshalJSON ¶ added in v0.1.58
func (c ShowInstanceTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ShowInstanceTagsRequestResourceType) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowInstanceTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ShowInstanceTagsRequestResourceType) Value ¶ added in v0.1.58
func (c ShowInstanceTagsRequestResourceType) Value() string
type ShowInstanceTagsRequestResourceTypeEnum ¶ added in v0.1.58
type ShowInstanceTagsRequestResourceTypeEnum struct { MIGRATION ShowInstanceTagsRequestResourceType SYNC ShowInstanceTagsRequestResourceType CLOUD_DATA_GUARD ShowInstanceTagsRequestResourceType SUBSCRIPTION ShowInstanceTagsRequestResourceType BACKUP_MIGRATION ShowInstanceTagsRequestResourceType REPLAY ShowInstanceTagsRequestResourceType }
func GetShowInstanceTagsRequestResourceTypeEnum ¶ added in v0.1.58
func GetShowInstanceTagsRequestResourceTypeEnum() ShowInstanceTagsRequestResourceTypeEnum
type ShowInstanceTagsRequestXLanguage ¶ added in v0.1.58
type ShowInstanceTagsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowInstanceTagsRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowInstanceTagsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowInstanceTagsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowInstanceTagsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowInstanceTagsRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowInstanceTagsRequestXLanguage) Value() string
type ShowInstanceTagsRequestXLanguageEnum ¶ added in v0.1.58
type ShowInstanceTagsRequestXLanguageEnum struct { EN_US ShowInstanceTagsRequestXLanguage ZH_CN ShowInstanceTagsRequestXLanguage }
func GetShowInstanceTagsRequestXLanguageEnum ¶ added in v0.1.58
func GetShowInstanceTagsRequestXLanguageEnum() ShowInstanceTagsRequestXLanguageEnum
type ShowInstanceTagsResponse ¶ added in v0.1.58
type ShowInstanceTagsResponse struct { // 标签列表 Tags *[]BatchResourceTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ShowInstanceTagsResponse Response Object
func (ShowInstanceTagsResponse) String ¶ added in v0.1.58
func (o ShowInstanceTagsResponse) String() string
type ShowJobDetailRequest ¶
type ShowJobDetailRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowJobDetailRequestXLanguage `json:"X-Language,omitempty"` // 任务详情类型。取值: - overview:任务概览信息。 - detail:任务基本信息。 - network:测试连接结果信息,需配合query_id参数一起查询。 - precheck:预检查结果信息,需配合query_id参数一起查询。 - progress:任务进度信息。 - log:任务日志信息,支持分页查询参数offset与limit。 - compare:查询对比任务。 - file:对象导入信息。 - is_writable:目标库解除只读结果。 - cloud_connection:录制回放他云连通性测试,需配合query_id参数一起查询。 Type ShowJobDetailRequestType `json:"type"` // 通过指定Query ID查询任务详情。 说明:部分type类型的任务详情,需要通过触发该操作的请求返回的query_id进行操作结果查询。 QueryId *string `json:"query_id,omitempty"` // 偏移量,表示查询该偏移量后面的记录。 说明:部分type类型的任务详情支持分页查询,可以通过传递该参数进行分页控制。 Offset *int32 `json:"offset,omitempty"` // 查询返回记录的数量限制。 说明:部分type类型的任务详情支持分页查询,可以通过传递该参数进行分页控制。 Limit *int32 `json:"limit,omitempty"` // 对比任务类型 - object_compare:对象对比。 - line_compare:行对比。 - content_compare:内容对比。 - data_compare:数据对比。 CompareType *ShowJobDetailRequestCompareType `json:"compare_type,omitempty"` // 查询对比内容。取值: - overview:对比任务概览。 - list:数据对比任务列表。 - detail:对比详情。 - diff:不一致详情。 QueryType *ShowJobDetailRequestQueryType `json:"query_type,omitempty"` // 查询对象对比详情类型。取值: - DB:库级对比详情。 - TABLE:表级对比详情。 - INDEX:索引对比详情。 ObjectType *ShowJobDetailRequestObjectType `json:"object_type,omitempty"` // 对比任务ID。 CompareTaskId *string `json:"compare_task_id,omitempty"` // 数据对比源库名称。 SourceDbName *string `json:"source_db_name,omitempty"` // 数据对比目标库名称。 TargetDbName *string `json:"target_db_name,omitempty"` // 对比结果类型。取值: - compare:对比完成。 - uncompare:无法对比。 CompareDetailType *ShowJobDetailRequestCompareDetailType `json:"compare_detail_type,omitempty"` }
ShowJobDetailRequest Request Object
func (ShowJobDetailRequest) String ¶
func (o ShowJobDetailRequest) String() string
type ShowJobDetailRequestCompareDetailType ¶
type ShowJobDetailRequestCompareDetailType struct {
// contains filtered or unexported fields
}
func (ShowJobDetailRequestCompareDetailType) MarshalJSON ¶
func (c ShowJobDetailRequestCompareDetailType) MarshalJSON() ([]byte, error)
func (*ShowJobDetailRequestCompareDetailType) UnmarshalJSON ¶
func (c *ShowJobDetailRequestCompareDetailType) UnmarshalJSON(b []byte) error
func (ShowJobDetailRequestCompareDetailType) Value ¶
func (c ShowJobDetailRequestCompareDetailType) Value() string
type ShowJobDetailRequestCompareDetailTypeEnum ¶
type ShowJobDetailRequestCompareDetailTypeEnum struct { COMPARE ShowJobDetailRequestCompareDetailType UNCOMPARE ShowJobDetailRequestCompareDetailType }
func GetShowJobDetailRequestCompareDetailTypeEnum ¶
func GetShowJobDetailRequestCompareDetailTypeEnum() ShowJobDetailRequestCompareDetailTypeEnum
type ShowJobDetailRequestCompareType ¶
type ShowJobDetailRequestCompareType struct {
// contains filtered or unexported fields
}
func (ShowJobDetailRequestCompareType) MarshalJSON ¶
func (c ShowJobDetailRequestCompareType) MarshalJSON() ([]byte, error)
func (*ShowJobDetailRequestCompareType) UnmarshalJSON ¶
func (c *ShowJobDetailRequestCompareType) UnmarshalJSON(b []byte) error
func (ShowJobDetailRequestCompareType) Value ¶
func (c ShowJobDetailRequestCompareType) Value() string
type ShowJobDetailRequestCompareTypeEnum ¶
type ShowJobDetailRequestCompareTypeEnum struct { OBJECT_COMPARE ShowJobDetailRequestCompareType LINE_COMPARE ShowJobDetailRequestCompareType CONTENT_COMPARE ShowJobDetailRequestCompareType DATA_COMPARE ShowJobDetailRequestCompareType }
func GetShowJobDetailRequestCompareTypeEnum ¶
func GetShowJobDetailRequestCompareTypeEnum() ShowJobDetailRequestCompareTypeEnum
type ShowJobDetailRequestObjectType ¶
type ShowJobDetailRequestObjectType struct {
// contains filtered or unexported fields
}
func (ShowJobDetailRequestObjectType) MarshalJSON ¶
func (c ShowJobDetailRequestObjectType) MarshalJSON() ([]byte, error)
func (*ShowJobDetailRequestObjectType) UnmarshalJSON ¶
func (c *ShowJobDetailRequestObjectType) UnmarshalJSON(b []byte) error
func (ShowJobDetailRequestObjectType) Value ¶
func (c ShowJobDetailRequestObjectType) Value() string
type ShowJobDetailRequestObjectTypeEnum ¶
type ShowJobDetailRequestObjectTypeEnum struct { DB ShowJobDetailRequestObjectType TABLE ShowJobDetailRequestObjectType INDEX ShowJobDetailRequestObjectType }
func GetShowJobDetailRequestObjectTypeEnum ¶
func GetShowJobDetailRequestObjectTypeEnum() ShowJobDetailRequestObjectTypeEnum
type ShowJobDetailRequestQueryType ¶
type ShowJobDetailRequestQueryType struct {
// contains filtered or unexported fields
}
func (ShowJobDetailRequestQueryType) MarshalJSON ¶
func (c ShowJobDetailRequestQueryType) MarshalJSON() ([]byte, error)
func (*ShowJobDetailRequestQueryType) UnmarshalJSON ¶
func (c *ShowJobDetailRequestQueryType) UnmarshalJSON(b []byte) error
func (ShowJobDetailRequestQueryType) Value ¶
func (c ShowJobDetailRequestQueryType) Value() string
type ShowJobDetailRequestQueryTypeEnum ¶
type ShowJobDetailRequestQueryTypeEnum struct { OVERVIEW ShowJobDetailRequestQueryType LIST ShowJobDetailRequestQueryType DETAIL ShowJobDetailRequestQueryType DIFF ShowJobDetailRequestQueryType }
func GetShowJobDetailRequestQueryTypeEnum ¶
func GetShowJobDetailRequestQueryTypeEnum() ShowJobDetailRequestQueryTypeEnum
type ShowJobDetailRequestType ¶
type ShowJobDetailRequestType struct {
// contains filtered or unexported fields
}
func (ShowJobDetailRequestType) MarshalJSON ¶
func (c ShowJobDetailRequestType) MarshalJSON() ([]byte, error)
func (*ShowJobDetailRequestType) UnmarshalJSON ¶
func (c *ShowJobDetailRequestType) UnmarshalJSON(b []byte) error
func (ShowJobDetailRequestType) Value ¶
func (c ShowJobDetailRequestType) Value() string
type ShowJobDetailRequestTypeEnum ¶
type ShowJobDetailRequestTypeEnum struct { OVERVIEW ShowJobDetailRequestType DETAIL ShowJobDetailRequestType NETWORK ShowJobDetailRequestType PRECHECK ShowJobDetailRequestType PROGRESS ShowJobDetailRequestType LOG ShowJobDetailRequestType COMPARE ShowJobDetailRequestType FILE ShowJobDetailRequestType IS_WRITABLE ShowJobDetailRequestType CLOUD_CONNECTION ShowJobDetailRequestType }
func GetShowJobDetailRequestTypeEnum ¶
func GetShowJobDetailRequestTypeEnum() ShowJobDetailRequestTypeEnum
type ShowJobDetailRequestXLanguage ¶
type ShowJobDetailRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowJobDetailRequestXLanguage) MarshalJSON ¶
func (c ShowJobDetailRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowJobDetailRequestXLanguage) UnmarshalJSON ¶
func (c *ShowJobDetailRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowJobDetailRequestXLanguage) Value ¶
func (c ShowJobDetailRequestXLanguage) Value() string
type ShowJobDetailRequestXLanguageEnum ¶
type ShowJobDetailRequestXLanguageEnum struct { EN_US ShowJobDetailRequestXLanguage ZH_CN ShowJobDetailRequestXLanguage }
func GetShowJobDetailRequestXLanguageEnum ¶
func GetShowJobDetailRequestXLanguageEnum() ShowJobDetailRequestXLanguageEnum
type ShowJobDetailResponse ¶
type ShowJobDetailResponse struct { Job *JobDetailResp `json:"job,omitempty"` HttpStatusCode int `json:"-"` }
ShowJobDetailResponse Response Object
func (ShowJobDetailResponse) String ¶
func (o ShowJobDetailResponse) String() string
type ShowMeteringRequest ¶ added in v0.1.49
type ShowMeteringRequest struct { // 请求语言类型。 XLanguage *ShowMeteringRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` }
ShowMeteringRequest Request Object
func (ShowMeteringRequest) String ¶ added in v0.1.49
func (o ShowMeteringRequest) String() string
type ShowMeteringRequestXLanguage ¶ added in v0.1.49
type ShowMeteringRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowMeteringRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ShowMeteringRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowMeteringRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowMeteringRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowMeteringRequestXLanguage) Value ¶ added in v0.1.49
func (c ShowMeteringRequestXLanguage) Value() string
type ShowMeteringRequestXLanguageEnum ¶ added in v0.1.49
type ShowMeteringRequestXLanguageEnum struct { EN_US ShowMeteringRequestXLanguage ZH_CN ShowMeteringRequestXLanguage }
func GetShowMeteringRequestXLanguageEnum ¶ added in v0.1.49
func GetShowMeteringRequestXLanguageEnum() ShowMeteringRequestXLanguageEnum
type ShowMeteringResponse ¶ added in v0.1.49
type ShowMeteringResponse struct { // 资源信息列表。 ProductInfoList *[]ProductInfo `json:"product_info_list,omitempty"` HttpStatusCode int `json:"-"` }
ShowMeteringResponse Response Object
func (ShowMeteringResponse) String ¶ added in v0.1.49
func (o ShowMeteringResponse) String() string
type ShowMonitorDataRequest ¶ added in v0.1.58
type ShowMonitorDataRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowMonitorDataRequestXLanguage `json:"X-Language,omitempty"` }
ShowMonitorDataRequest Request Object
func (ShowMonitorDataRequest) String ¶ added in v0.1.58
func (o ShowMonitorDataRequest) String() string
type ShowMonitorDataRequestXLanguage ¶ added in v0.1.58
type ShowMonitorDataRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowMonitorDataRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowMonitorDataRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowMonitorDataRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowMonitorDataRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowMonitorDataRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowMonitorDataRequestXLanguage) Value() string
type ShowMonitorDataRequestXLanguageEnum ¶ added in v0.1.58
type ShowMonitorDataRequestXLanguageEnum struct { EN_US ShowMonitorDataRequestXLanguage ZH_CN ShowMonitorDataRequestXLanguage }
func GetShowMonitorDataRequestXLanguageEnum ¶ added in v0.1.58
func GetShowMonitorDataRequestXLanguageEnum() ShowMonitorDataRequestXLanguageEnum
type ShowMonitorDataResponse ¶ added in v0.1.58
type ShowMonitorDataResponse struct { // EIP带宽,单位:MB/S Bandwidth *string `json:"bandwidth,omitempty"` // 源库连接状态是否正常。 IsSrcNormal *bool `json:"is_src_normal,omitempty"` // 目标库连接状态是否正常。 IsDstNormal *bool `json:"is_dst_normal,omitempty"` // 源库offSet位点。 SrcOffset *string `json:"src_offset,omitempty"` // 迁移实例offSet位点。 NodeOffset *string `json:"node_offset,omitempty"` // 目标库offSet位点。 DstOffset *string `json:"dst_offset,omitempty"` // 源库时延。 SrcDelay *int32 `json:"src_delay,omitempty"` // 目标库时延。 DstDelay *int32 `json:"dst_delay,omitempty"` // 源库RPS。 SrcRps *string `json:"src_rps,omitempty"` // 源库IO。 SrcIo *string `json:"src_io,omitempty"` // 目标库RPS。 DstRps *string `json:"dst_rps,omitempty"` // 目标库IO。 DstIo *string `json:"dst_io,omitempty"` // 迁移数据量。单位:MB TransData *string `json:"trans_data,omitempty"` // 迁移数据行数。 TransLines *string `json:"trans_lines,omitempty"` // 磁盘使用量。单位:GB UsedVolumes *string `json:"used_volumes,omitempty"` // 内存使用量。单位:MB UsedMemory *string `json:"used_memory,omitempty"` // CPU使用百分比。 UsedCpuPercent *string `json:"used_cpu_percent,omitempty"` // node磁盘总大小。单位:GB NodeVolumeSize *int32 `json:"node_volume_size,omitempty"` // node内存总大小。单位:MB NodeMemorySize *int32 `json:"node_memory_size,omitempty"` // 更新时间。 UpdateTime *string `json:"update_time,omitempty"` // 同步速度。单位:byte/s ApplyRate *int32 `json:"apply_rate,omitempty"` HttpStatusCode int `json:"-"` }
ShowMonitorDataResponse Response Object
func (ShowMonitorDataResponse) String ¶ added in v0.1.58
func (o ShowMonitorDataResponse) String() string
type ShowObjectMappingRequest ¶ added in v0.1.49
type ShowObjectMappingRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowObjectMappingRequestXLanguage `json:"X-Language,omitempty"` Body *QueryUserSelectedObjectInfoReq `json:"body,omitempty"` }
ShowObjectMappingRequest Request Object
func (ShowObjectMappingRequest) String ¶ added in v0.1.49
func (o ShowObjectMappingRequest) String() string
type ShowObjectMappingRequestXLanguage ¶ added in v0.1.58
type ShowObjectMappingRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowObjectMappingRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowObjectMappingRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowObjectMappingRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowObjectMappingRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowObjectMappingRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowObjectMappingRequestXLanguage) Value() string
type ShowObjectMappingRequestXLanguageEnum ¶ added in v0.1.58
type ShowObjectMappingRequestXLanguageEnum struct { EN_US ShowObjectMappingRequestXLanguage ZH_CN ShowObjectMappingRequestXLanguage }
func GetShowObjectMappingRequestXLanguageEnum ¶ added in v0.1.58
func GetShowObjectMappingRequestXLanguageEnum() ShowObjectMappingRequestXLanguageEnum
type ShowObjectMappingResponse ¶ added in v0.1.49
type ShowObjectMappingResponse struct { // 总数。 Count *int64 `json:"count,omitempty"` // 同步映射数据列表。 ObjectMappingList *[]DbObjectInfo `json:"object_mapping_list,omitempty"` HttpStatusCode int `json:"-"` }
ShowObjectMappingResponse Response Object
func (ShowObjectMappingResponse) String ¶ added in v0.1.49
func (o ShowObjectMappingResponse) String() string
type ShowPositionResultRequest ¶ added in v0.1.64
type ShowPositionResultRequest struct { // 请求语言类型。 XLanguage *ShowPositionResultRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` // 位点信息采集的ID,由采集数据库位点信息接口返回的ID。 QueryId string `json:"query_id"` }
ShowPositionResultRequest Request Object
func (ShowPositionResultRequest) String ¶ added in v0.1.64
func (o ShowPositionResultRequest) String() string
type ShowPositionResultRequestXLanguage ¶ added in v0.1.64
type ShowPositionResultRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowPositionResultRequestXLanguage) MarshalJSON ¶ added in v0.1.64
func (c ShowPositionResultRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowPositionResultRequestXLanguage) UnmarshalJSON ¶ added in v0.1.64
func (c *ShowPositionResultRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowPositionResultRequestXLanguage) Value ¶ added in v0.1.64
func (c ShowPositionResultRequestXLanguage) Value() string
type ShowPositionResultRequestXLanguageEnum ¶ added in v0.1.64
type ShowPositionResultRequestXLanguageEnum struct { EN_US ShowPositionResultRequestXLanguage ZH_CN ShowPositionResultRequestXLanguage }
func GetShowPositionResultRequestXLanguageEnum ¶ added in v0.1.64
func GetShowPositionResultRequestXLanguageEnum() ShowPositionResultRequestXLanguageEnum
type ShowPositionResultResponse ¶ added in v0.1.64
type ShowPositionResultResponse struct { // 任务ID JobId *string `json:"job_id,omitempty"` // 位点信息 Position *string `json:"position,omitempty"` // 查询状态 Status *ShowPositionResultResponseStatus `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
ShowPositionResultResponse Response Object
func (ShowPositionResultResponse) String ¶ added in v0.1.64
func (o ShowPositionResultResponse) String() string
type ShowPositionResultResponseStatus ¶ added in v0.1.87
type ShowPositionResultResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowPositionResultResponseStatus) MarshalJSON ¶ added in v0.1.87
func (c ShowPositionResultResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowPositionResultResponseStatus) UnmarshalJSON ¶ added in v0.1.87
func (c *ShowPositionResultResponseStatus) UnmarshalJSON(b []byte) error
func (ShowPositionResultResponseStatus) Value ¶ added in v0.1.87
func (c ShowPositionResultResponseStatus) Value() string
type ShowPositionResultResponseStatusEnum ¶ added in v0.1.87
type ShowPositionResultResponseStatusEnum struct { PENDING ShowPositionResultResponseStatus FAILED ShowPositionResultResponseStatus SUCCESS ShowPositionResultResponseStatus }
func GetShowPositionResultResponseStatusEnum ¶ added in v0.1.87
func GetShowPositionResultResponseStatusEnum() ShowPositionResultResponseStatusEnum
type ShowProgressDataRequest ¶ added in v0.1.49
type ShowProgressDataRequest struct { // 请求语言类型。 XLanguage *ShowProgressDataRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` // 偏移量,表示从此偏移量开始查询, offset 大于等于 0。默认为0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。默认为10,取值范围【1-1000】 Limit *int32 `json:"limit,omitempty"` // 迁移对象类型。 - table - event - table_structure - procedure - view - function - database - trigger - table_indexs Type string `json:"type"` }
ShowProgressDataRequest Request Object
func (ShowProgressDataRequest) String ¶ added in v0.1.49
func (o ShowProgressDataRequest) String() string
type ShowProgressDataRequestXLanguage ¶ added in v0.1.49
type ShowProgressDataRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowProgressDataRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ShowProgressDataRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowProgressDataRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ShowProgressDataRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowProgressDataRequestXLanguage) Value ¶ added in v0.1.49
func (c ShowProgressDataRequestXLanguage) Value() string
type ShowProgressDataRequestXLanguageEnum ¶ added in v0.1.49
type ShowProgressDataRequestXLanguageEnum struct { EN_US ShowProgressDataRequestXLanguage ZH_CN ShowProgressDataRequestXLanguage }
func GetShowProgressDataRequestXLanguageEnum ¶ added in v0.1.49
func GetShowProgressDataRequestXLanguageEnum() ShowProgressDataRequestXLanguageEnum
type ShowProgressDataResponse ¶ added in v0.1.49
type ShowProgressDataResponse struct { // 总数。 Count *int64 `json:"count,omitempty"` // 数据生成时间,UTC时间,例如:2020-09-01T18:50:20.200Z CreateTime *string `json:"create_time,omitempty"` // 对比结果。 FlowCompareData *[]FlowCompareData `json:"flow_compare_data,omitempty"` HttpStatusCode int `json:"-"` }
ShowProgressDataResponse Response Object
func (ShowProgressDataResponse) String ¶ added in v0.1.49
func (o ShowProgressDataResponse) String() string
type ShowReplayResultsRequest ¶ added in v0.1.91
type ShowReplayResultsRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowReplayResultsRequestXLanguage `json:"X-Language,omitempty"` // 结果类型。取值: - shard_statistics:回放概览基于时间维度统计信息。 - slow_sql:慢SQL详情。 - error_sql: 回放异常SQL详情。 - slow_sql_template:慢SQL统计信息。 - error_sql_template:异常SQL统计信息。 - replaying_sql:正在回放SQL详情。 - error_classification:回放异常SQL分类。 Type ShowReplayResultsRequestType `json:"type"` // 查询数据的起始时间,在type为shard_statistics、slow_sql、error_sql时必填 StartTime *string `json:"start_time,omitempty"` // 查询数据的结束时间,在type为shard_statistics、slow_sql、error_sql时必填 EndTime *string `json:"end_time,omitempty"` // 分页查询数据表当前超始偏移量, 在type为slow_sql、error_sql、slow_sql_template、error_sql_template必填 Offset *int64 `json:"offset,omitempty"` // 分页查询数据表当前页数据总量,在type为slow_sql、error_sql、slow_sql_template、error_sql_template必填 Limit *int64 `json:"limit,omitempty"` // 返回结果按该关键字排序(slow_sql_template支持count,maxLatency、avgLatency关键字,error_sql_template支持count关键字) SortKey *string `json:"sort_key,omitempty"` // 排序规则,取值如下: - asc:升序 - desc:降序 SortDir *ShowReplayResultsRequestSortDir `json:"sort_dir,omitempty"` // 回放数据库名称,用于在一致性回放策略场景,过滤目标库与源库镜像库回放结果。参数非必须,不提供则默认查询所有数据,其取值如下: - target:查询目标库回放结果 - target_mirror:查询源库镜像库回放结果 TargetName *ShowReplayResultsRequestTargetName `json:"target_name,omitempty"` // 是否查询样例true/false,type=slow_sql/error_sql时生效,值为true时只查询一条样例数据。 IsSample *bool `json:"is_sample,omitempty"` // 错误分类,type=error_sql/error_sql_template时生效,根据错误分类过滤数据。 ErrorType *string `json:"error_type,omitempty"` // sql模板md5,type=slow_sql/error_sql时生效,根据模板过滤对应的异常SQL和慢SQL,该值为本接口type=slow_sql_template/error_sql_template时的返回字段。 SqlTemplateMd5 *string `json:"sql_template_md5,omitempty"` }
ShowReplayResultsRequest Request Object
func (ShowReplayResultsRequest) String ¶ added in v0.1.91
func (o ShowReplayResultsRequest) String() string
type ShowReplayResultsRequestSortDir ¶ added in v0.1.91
type ShowReplayResultsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ShowReplayResultsRequestSortDir) MarshalJSON ¶ added in v0.1.91
func (c ShowReplayResultsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ShowReplayResultsRequestSortDir) UnmarshalJSON ¶ added in v0.1.91
func (c *ShowReplayResultsRequestSortDir) UnmarshalJSON(b []byte) error
func (ShowReplayResultsRequestSortDir) Value ¶ added in v0.1.91
func (c ShowReplayResultsRequestSortDir) Value() string
type ShowReplayResultsRequestSortDirEnum ¶ added in v0.1.91
type ShowReplayResultsRequestSortDirEnum struct { ASC ShowReplayResultsRequestSortDir DESC ShowReplayResultsRequestSortDir }
func GetShowReplayResultsRequestSortDirEnum ¶ added in v0.1.91
func GetShowReplayResultsRequestSortDirEnum() ShowReplayResultsRequestSortDirEnum
type ShowReplayResultsRequestTargetName ¶ added in v0.1.91
type ShowReplayResultsRequestTargetName struct {
// contains filtered or unexported fields
}
func (ShowReplayResultsRequestTargetName) MarshalJSON ¶ added in v0.1.91
func (c ShowReplayResultsRequestTargetName) MarshalJSON() ([]byte, error)
func (*ShowReplayResultsRequestTargetName) UnmarshalJSON ¶ added in v0.1.91
func (c *ShowReplayResultsRequestTargetName) UnmarshalJSON(b []byte) error
func (ShowReplayResultsRequestTargetName) Value ¶ added in v0.1.91
func (c ShowReplayResultsRequestTargetName) Value() string
type ShowReplayResultsRequestTargetNameEnum ¶ added in v0.1.91
type ShowReplayResultsRequestTargetNameEnum struct { TARGET ShowReplayResultsRequestTargetName TARGET_MIRROR ShowReplayResultsRequestTargetName }
func GetShowReplayResultsRequestTargetNameEnum ¶ added in v0.1.91
func GetShowReplayResultsRequestTargetNameEnum() ShowReplayResultsRequestTargetNameEnum
type ShowReplayResultsRequestType ¶ added in v0.1.91
type ShowReplayResultsRequestType struct {
// contains filtered or unexported fields
}
func (ShowReplayResultsRequestType) MarshalJSON ¶ added in v0.1.91
func (c ShowReplayResultsRequestType) MarshalJSON() ([]byte, error)
func (*ShowReplayResultsRequestType) UnmarshalJSON ¶ added in v0.1.91
func (c *ShowReplayResultsRequestType) UnmarshalJSON(b []byte) error
func (ShowReplayResultsRequestType) Value ¶ added in v0.1.91
func (c ShowReplayResultsRequestType) Value() string
type ShowReplayResultsRequestTypeEnum ¶ added in v0.1.91
type ShowReplayResultsRequestTypeEnum struct { SHARD_STATISTICS ShowReplayResultsRequestType SLOW_SQL ShowReplayResultsRequestType ERROR_SQL ShowReplayResultsRequestType SLOW_SQL_TEMPLATE ShowReplayResultsRequestType ERROR_SQL_TEMPLATE ShowReplayResultsRequestType REPLAYING_SQL ShowReplayResultsRequestType ERROR_CLASSIFICATION ShowReplayResultsRequestType }
func GetShowReplayResultsRequestTypeEnum ¶ added in v0.1.91
func GetShowReplayResultsRequestTypeEnum() ShowReplayResultsRequestTypeEnum
type ShowReplayResultsRequestXLanguage ¶ added in v0.1.91
type ShowReplayResultsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowReplayResultsRequestXLanguage) MarshalJSON ¶ added in v0.1.91
func (c ShowReplayResultsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowReplayResultsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.91
func (c *ShowReplayResultsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowReplayResultsRequestXLanguage) Value ¶ added in v0.1.91
func (c ShowReplayResultsRequestXLanguage) Value() string
type ShowReplayResultsRequestXLanguageEnum ¶ added in v0.1.91
type ShowReplayResultsRequestXLanguageEnum struct { EN_US ShowReplayResultsRequestXLanguage ZH_CN ShowReplayResultsRequestXLanguage }
func GetShowReplayResultsRequestXLanguageEnum ¶ added in v0.1.91
func GetShowReplayResultsRequestXLanguageEnum() ShowReplayResultsRequestXLanguageEnum
type ShowReplayResultsResponse ¶ added in v0.1.91
type ShowReplayResultsResponse struct { // 数据总量 TotalCount *int64 `json:"total_count,omitempty"` // 回放基于时间统计详细信息列表,在type为shard_statistics时返回 ShardStatics *[]ReplayShardStaticsResp `json:"shard_statics,omitempty"` // 慢SQL信息列表,在type为slow_sql时返回 SlowSqls *[]ReplaySlowSqlResp `json:"slow_sqls,omitempty"` // 慢SQL统计信息列表,在type为slow_sql_template时返回 SlowSqlTemplates *[]ReplaySlowSqlTemplateResp `json:"slow_sql_templates,omitempty"` // 异常SQL信息列表,在type为error_sql时返回 ErrorSqls *[]ReplayErrorSqlResp `json:"error_sqls,omitempty"` // 异常SQL统计信息列表,在type为error_sql_template时返回 ErrorSqlTemplates *[]ReplayErrorSqlTemplateResp `json:"error_sql_templates,omitempty"` // 正在回放SQL信息列表,在type为replaying_sql时返回 ReplayingSqls *[]ReplayingSqlResp `json:"replaying_sqls,omitempty"` // 回放异常SQL分类信息,在type为error_classification时返回 ErrorClassifications *[]ReplayErrorClassification `json:"error_classifications,omitempty"` HttpStatusCode int `json:"-"` }
ShowReplayResultsResponse Response Object
func (ShowReplayResultsResponse) String ¶ added in v0.1.91
func (o ShowReplayResultsResponse) String() string
type ShowReplicationJobRequest ¶ added in v0.1.117
type ShowReplicationJobRequest struct { // 备份迁移任务ID。 JobId string `json:"job_id"` // 请求语言类型。 en-us:英文 zh-cn:中文 XLanguage *ShowReplicationJobRequestXLanguage `json:"X-Language,omitempty"` }
ShowReplicationJobRequest Request Object
func (ShowReplicationJobRequest) String ¶ added in v0.1.117
func (o ShowReplicationJobRequest) String() string
type ShowReplicationJobRequestXLanguage ¶ added in v0.1.117
type ShowReplicationJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowReplicationJobRequestXLanguage) MarshalJSON ¶ added in v0.1.117
func (c ShowReplicationJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowReplicationJobRequestXLanguage) UnmarshalJSON ¶ added in v0.1.117
func (c *ShowReplicationJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowReplicationJobRequestXLanguage) Value ¶ added in v0.1.117
func (c ShowReplicationJobRequestXLanguage) Value() string
type ShowReplicationJobRequestXLanguageEnum ¶ added in v0.1.117
type ShowReplicationJobRequestXLanguageEnum struct { EN_US ShowReplicationJobRequestXLanguage ZH_CN ShowReplicationJobRequestXLanguage }
func GetShowReplicationJobRequestXLanguageEnum ¶ added in v0.1.117
func GetShowReplicationJobRequestXLanguageEnum() ShowReplicationJobRequestXLanguageEnum
type ShowReplicationJobResponse ¶ added in v0.1.117
type ShowReplicationJobResponse struct { // 任务ID。 Id *string `json:"id,omitempty"` // 任务状态。 Status *string `json:"status,omitempty"` // 任务创建时间。 CreateTime *string `json:"create_time,omitempty"` // 任务完成时间。 FinishTime *string `json:"finish_time,omitempty"` BackupInfo *BackupInfoResp `json:"backup_info,omitempty"` BaseInfo *BackupJobBaseInfo `json:"base_info,omitempty"` TargetDbInfo *BackupJobEndpointInfo `json:"target_db_info,omitempty"` Options *BackupRestoreOptionInfo `json:"options,omitempty"` // 备份恢复数据库映射新名称。 NewDbNames *string `json:"new_db_names,omitempty"` // RDS实例名称。 InstanceName *string `json:"instance_name,omitempty"` // 迁移过程中失败原因。 ErrorLog *string `json:"error_log,omitempty"` HttpStatusCode int `json:"-"` }
ShowReplicationJobResponse Response Object
func (ShowReplicationJobResponse) String ¶ added in v0.1.117
func (o ShowReplicationJobResponse) String() string
type ShowSupportObjectTypeRequest ¶ added in v0.1.58
type ShowSupportObjectTypeRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowSupportObjectTypeRequestXLanguage `json:"X-Language,omitempty"` }
ShowSupportObjectTypeRequest Request Object
func (ShowSupportObjectTypeRequest) String ¶ added in v0.1.58
func (o ShowSupportObjectTypeRequest) String() string
type ShowSupportObjectTypeRequestXLanguage ¶ added in v0.1.58
type ShowSupportObjectTypeRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowSupportObjectTypeRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowSupportObjectTypeRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowSupportObjectTypeRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowSupportObjectTypeRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowSupportObjectTypeRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowSupportObjectTypeRequestXLanguage) Value() string
type ShowSupportObjectTypeRequestXLanguageEnum ¶ added in v0.1.58
type ShowSupportObjectTypeRequestXLanguageEnum struct { EN_US ShowSupportObjectTypeRequestXLanguage ZH_CN ShowSupportObjectTypeRequestXLanguage }
func GetShowSupportObjectTypeRequestXLanguageEnum ¶ added in v0.1.58
func GetShowSupportObjectTypeRequestXLanguageEnum() ShowSupportObjectTypeRequestXLanguageEnum
type ShowSupportObjectTypeResponse ¶ added in v0.1.58
type ShowSupportObjectTypeResponse struct { // 全量任务是否支持对象选择。 IsFullTransSupportObject *bool `json:"is_full_trans_support_object,omitempty"` // 增量任务是否支持对象选择。 IsIncreTransSupportObject *bool `json:"is_incre_trans_support_object,omitempty"` // 全量加增量任务是否支持对象选择。 IsFullIncreTransSupportObject *bool `json:"is_full_incre_trans_support_object,omitempty"` // 支持对象导入的引引擎。 SupportObjectImportEngine *[]string `json:"support_object_import_engine,omitempty"` // 是否支持列映射。 IsSupportColumnMapping *bool `json:"is_support_column_mapping,omitempty"` // 库是否支持搜索。 IsDatabaseSupportSearch *bool `json:"is_database_support_search,omitempty"` // schema是否支持搜索。 IsSchemaSupportSearch *bool `json:"is_schema_support_search,omitempty"` // 表是否支持搜索。 IsTableSupportSearch *bool `json:"is_table_support_search,omitempty"` // 对象导入支持的文件大小。 FileSize *string `json:"file_size,omitempty"` // 上一次选择迁移对象或者同步对象的方式。 - srcImportObject:当前任务上次选择的方式为导入方式 PreviousSelect *string `json:"previous_select,omitempty"` // 对象导入类型。 - table:表级 - database:库级 ImportLevel *string `json:"import_level,omitempty"` // 取值: - true: 当前任务上次选择列加工方式为导入方式 - false 或者 空:当前任务上次选择列加工方式为手动选择方式 IsImportCloumn *bool `json:"is_import_cloumn,omitempty"` HttpStatusCode int `json:"-"` }
ShowSupportObjectTypeResponse Response Object
func (ShowSupportObjectTypeResponse) String ¶ added in v0.1.58
func (o ShowSupportObjectTypeResponse) String() string
type ShowUpdateObjectSavingStatusRequest ¶ added in v0.1.21
type ShowUpdateObjectSavingStatusRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *ShowUpdateObjectSavingStatusRequestXLanguage `json:"X-Language,omitempty"` // 保存对象接口返回的ID。 QueryId string `json:"query_id"` }
ShowUpdateObjectSavingStatusRequest Request Object
func (ShowUpdateObjectSavingStatusRequest) String ¶ added in v0.1.21
func (o ShowUpdateObjectSavingStatusRequest) String() string
type ShowUpdateObjectSavingStatusRequestXLanguage ¶ added in v0.1.58
type ShowUpdateObjectSavingStatusRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowUpdateObjectSavingStatusRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c ShowUpdateObjectSavingStatusRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowUpdateObjectSavingStatusRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *ShowUpdateObjectSavingStatusRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowUpdateObjectSavingStatusRequestXLanguage) Value ¶ added in v0.1.58
func (c ShowUpdateObjectSavingStatusRequestXLanguage) Value() string
type ShowUpdateObjectSavingStatusRequestXLanguageEnum ¶ added in v0.1.58
type ShowUpdateObjectSavingStatusRequestXLanguageEnum struct { EN_US ShowUpdateObjectSavingStatusRequestXLanguage ZH_CN ShowUpdateObjectSavingStatusRequestXLanguage }
func GetShowUpdateObjectSavingStatusRequestXLanguageEnum ¶ added in v0.1.58
func GetShowUpdateObjectSavingStatusRequestXLanguageEnum() ShowUpdateObjectSavingStatusRequestXLanguageEnum
type ShowUpdateObjectSavingStatusResponse ¶ added in v0.1.21
type ShowUpdateObjectSavingStatusResponse struct { // 查询结果id Id *string `json:"id,omitempty"` // 查询状态 pending:处理中 failed:失败 success:成功 Status *ShowUpdateObjectSavingStatusResponseStatus `json:"status,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowUpdateObjectSavingStatusResponse Response Object
func (ShowUpdateObjectSavingStatusResponse) String ¶ added in v0.1.21
func (o ShowUpdateObjectSavingStatusResponse) String() string
type ShowUpdateObjectSavingStatusResponseStatus ¶ added in v0.1.21
type ShowUpdateObjectSavingStatusResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowUpdateObjectSavingStatusResponseStatus) MarshalJSON ¶ added in v0.1.21
func (c ShowUpdateObjectSavingStatusResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowUpdateObjectSavingStatusResponseStatus) UnmarshalJSON ¶ added in v0.1.21
func (c *ShowUpdateObjectSavingStatusResponseStatus) UnmarshalJSON(b []byte) error
func (ShowUpdateObjectSavingStatusResponseStatus) Value ¶ added in v0.1.21
func (c ShowUpdateObjectSavingStatusResponseStatus) Value() string
type ShowUpdateObjectSavingStatusResponseStatusEnum ¶ added in v0.1.21
type ShowUpdateObjectSavingStatusResponseStatusEnum struct { PENDING ShowUpdateObjectSavingStatusResponseStatus FAILED ShowUpdateObjectSavingStatusResponseStatus SUCCESS ShowUpdateObjectSavingStatusResponseStatus }
func GetShowUpdateObjectSavingStatusResponseStatusEnum ¶ added in v0.1.21
func GetShowUpdateObjectSavingStatusResponseStatusEnum() ShowUpdateObjectSavingStatusResponseStatusEnum
type SingleCreateJobReq ¶
type SingleCreateJobReq struct {
Job *CreateJobReq `json:"job"`
}
SingleCreateJobReq 创建单个任务请求体。
func (SingleCreateJobReq) String ¶
func (o SingleCreateJobReq) String() string
type SingleUpdateJobReq ¶
type SingleUpdateJobReq struct {
Job *UpdateJobReq `json:"job"`
}
SingleUpdateJobReq 更新单个任务请求体。
func (SingleUpdateJobReq) String ¶
func (o SingleUpdateJobReq) String() string
type SkipPreCheckInfo ¶
type SkipPreCheckInfo struct { // 跳过的预检查项。 SkippedPrecheckList []string `json:"skipped_precheck_list"` // 跳过预检查原因。 SkipReason string `json:"skip_reason"` }
SkipPreCheckInfo 跳过预检查项参数。
func (SkipPreCheckInfo) String ¶
func (o SkipPreCheckInfo) String() string
type SpeedLimitInfo ¶
type SpeedLimitInfo struct { // 开始限速时间,此时间为UTC时间,开始时间为整时,若有分钟,则会忽略,格式为hh:mm,小时数为两位,例如:01:00。 Begin string `json:"begin"` // 结束时间,此时间为UTC时间,输入必须为59分结尾,格式为hh:mm,例如:15:59。 End string `json:"end"` // 限速值,取值范围为1~9999,单位为MB/s。 Speed string `json:"speed"` }
SpeedLimitInfo 限速信息体。 - 限速:自定义的最大迁移速度,迁移过程中的迁移速度将不会超过该速度。 - 不限速:对迁移速度不进行限制,通常会最大化使用源数据库的出口带宽。该流速模式同时会对源数据库造成读消耗,消耗取决于源数据库的出口带宽。比如:源数据库的出口带宽为100MB/s,假设高速模式使用了80%带宽,则迁移对源数据库将造成80MB/s的读操作IO消耗。
func (SpeedLimitInfo) String ¶
func (o SpeedLimitInfo) String() string
type StopJobActionInfo ¶ added in v0.1.58
type StopJobActionInfo struct { // 任务ID。 JobId string `json:"job_id"` // 强制结束任务时取值true,默认false。 IsForceStop *bool `json:"is_force_stop,omitempty"` }
StopJobActionInfo 结束任务请求体。
func (StopJobActionInfo) String ¶ added in v0.1.58
func (o StopJobActionInfo) String() string
type StopJobActionReq ¶ added in v0.1.58
type StopJobActionReq struct { // 强制结束任务时取值true,默认false。 IsForceStop *bool `json:"is_force_stop,omitempty"` }
StopJobActionReq 结束单个任务请求体。
func (StopJobActionReq) String ¶ added in v0.1.58
func (o StopJobActionReq) String() string
type StopJobActionRequest ¶ added in v0.1.58
type StopJobActionRequest struct { // 任务ID JobId string `json:"job_id"` // 请求语言类型。 XLanguage *StopJobActionRequestXLanguage `json:"X-Language,omitempty"` Body *StopJobActionReq `json:"body,omitempty"` }
StopJobActionRequest Request Object
func (StopJobActionRequest) String ¶ added in v0.1.58
func (o StopJobActionRequest) String() string
type StopJobActionRequestXLanguage ¶ added in v0.1.58
type StopJobActionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (StopJobActionRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c StopJobActionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*StopJobActionRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *StopJobActionRequestXLanguage) UnmarshalJSON(b []byte) error
func (StopJobActionRequestXLanguage) Value ¶ added in v0.1.58
func (c StopJobActionRequestXLanguage) Value() string
type StopJobActionRequestXLanguageEnum ¶ added in v0.1.58
type StopJobActionRequestXLanguageEnum struct { EN_US StopJobActionRequestXLanguage ZH_CN StopJobActionRequestXLanguage }
func GetStopJobActionRequestXLanguageEnum ¶ added in v0.1.58
func GetStopJobActionRequestXLanguageEnum() StopJobActionRequestXLanguageEnum
type StopJobActionResponse ¶ added in v0.1.58
type StopJobActionResponse struct { // 错误码。 ErrorCode string `json:"error_code"` // 错误描述。 ErrorMsg string `json:"error_msg"` // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` // 操作结果。 Status string `json:"status"` HttpStatusCode int `json:"-"` }
StopJobActionResponse Response Object
func (StopJobActionResponse) String ¶ added in v0.1.58
func (o StopJobActionResponse) String() string
type SupportImportFileResult ¶ added in v0.1.49
type SupportImportFileResult struct { // 文件导入阈值。 FileSize *string `json:"file_size,omitempty"` // 上一次选择对象的方式。 PreviousSelect *string `json:"previous_select,omitempty"` }
SupportImportFileResult 对象导入信息。
func (SupportImportFileResult) String ¶ added in v0.1.49
func (o SupportImportFileResult) String() string
type SyncJdbcDriverRequest ¶ added in v0.1.68
type SyncJdbcDriverRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *SyncJdbcDriverRequestXLanguage `json:"X-Language,omitempty"` Body *UpdateDriverReq `json:"body,omitempty"` }
SyncJdbcDriverRequest Request Object
func (SyncJdbcDriverRequest) String ¶ added in v0.1.68
func (o SyncJdbcDriverRequest) String() string
type SyncJdbcDriverRequestXLanguage ¶ added in v0.1.68
type SyncJdbcDriverRequestXLanguage struct {
// contains filtered or unexported fields
}
func (SyncJdbcDriverRequestXLanguage) MarshalJSON ¶ added in v0.1.68
func (c SyncJdbcDriverRequestXLanguage) MarshalJSON() ([]byte, error)
func (*SyncJdbcDriverRequestXLanguage) UnmarshalJSON ¶ added in v0.1.68
func (c *SyncJdbcDriverRequestXLanguage) UnmarshalJSON(b []byte) error
func (SyncJdbcDriverRequestXLanguage) Value ¶ added in v0.1.68
func (c SyncJdbcDriverRequestXLanguage) Value() string
type SyncJdbcDriverRequestXLanguageEnum ¶ added in v0.1.68
type SyncJdbcDriverRequestXLanguageEnum struct { EN_US SyncJdbcDriverRequestXLanguage ZH_CN SyncJdbcDriverRequestXLanguage }
func GetSyncJdbcDriverRequestXLanguageEnum ¶ added in v0.1.68
func GetSyncJdbcDriverRequestXLanguageEnum() SyncJdbcDriverRequestXLanguageEnum
type SyncJdbcDriverResponse ¶ added in v0.1.68
type SyncJdbcDriverResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
SyncJdbcDriverResponse Response Object
func (SyncJdbcDriverResponse) String ¶ added in v0.1.68
func (o SyncJdbcDriverResponse) String() string
type SyncUserJdbcDriverRequest ¶ added in v0.1.111
type SyncUserJdbcDriverRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *SyncUserJdbcDriverRequestXLanguage `json:"X-Language,omitempty"` Body *UpdateUserDriverReq `json:"body,omitempty"` }
SyncUserJdbcDriverRequest Request Object
func (SyncUserJdbcDriverRequest) String ¶ added in v0.1.111
func (o SyncUserJdbcDriverRequest) String() string
type SyncUserJdbcDriverRequestXLanguage ¶ added in v0.1.111
type SyncUserJdbcDriverRequestXLanguage struct {
// contains filtered or unexported fields
}
func (SyncUserJdbcDriverRequestXLanguage) MarshalJSON ¶ added in v0.1.111
func (c SyncUserJdbcDriverRequestXLanguage) MarshalJSON() ([]byte, error)
func (*SyncUserJdbcDriverRequestXLanguage) UnmarshalJSON ¶ added in v0.1.111
func (c *SyncUserJdbcDriverRequestXLanguage) UnmarshalJSON(b []byte) error
func (SyncUserJdbcDriverRequestXLanguage) Value ¶ added in v0.1.111
func (c SyncUserJdbcDriverRequestXLanguage) Value() string
type SyncUserJdbcDriverRequestXLanguageEnum ¶ added in v0.1.111
type SyncUserJdbcDriverRequestXLanguageEnum struct { EN_US SyncUserJdbcDriverRequestXLanguage ZH_CN SyncUserJdbcDriverRequestXLanguage }
func GetSyncUserJdbcDriverRequestXLanguageEnum ¶ added in v0.1.111
func GetSyncUserJdbcDriverRequestXLanguageEnum() SyncUserJdbcDriverRequestXLanguageEnum
type SyncUserJdbcDriverResponse ¶ added in v0.1.111
type SyncUserJdbcDriverResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
SyncUserJdbcDriverResponse Response Object
func (SyncUserJdbcDriverResponse) String ¶ added in v0.1.111
func (o SyncUserJdbcDriverResponse) String() string
type TableLineCompareDetailInfo ¶
type TableLineCompareDetailInfo struct { // 源库表名称。 SourceTableName *string `json:"source_table_name,omitempty"` // 源库表行数。 SourceRowNum *string `json:"source_row_num,omitempty"` // 目标库表名称。 TargetTableName *string `json:"target_table_name,omitempty"` // 目标库表行数。 TargetRowNum *string `json:"target_row_num,omitempty"` // 差异值。 DifferenceRowNum *string `json:"difference_row_num,omitempty"` // 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 Status *TableLineCompareDetailInfoStatus `json:"status,omitempty"` // 信息。 Message *string `json:"message,omitempty"` }
TableLineCompareDetailInfo 行数对比任务表级详情。
func (TableLineCompareDetailInfo) String ¶
func (o TableLineCompareDetailInfo) String() string
type TableLineCompareDetailInfoStatus ¶
type TableLineCompareDetailInfoStatus struct {
// contains filtered or unexported fields
}
func (TableLineCompareDetailInfoStatus) MarshalJSON ¶
func (c TableLineCompareDetailInfoStatus) MarshalJSON() ([]byte, error)
func (*TableLineCompareDetailInfoStatus) UnmarshalJSON ¶
func (c *TableLineCompareDetailInfoStatus) UnmarshalJSON(b []byte) error
func (TableLineCompareDetailInfoStatus) Value ¶
func (c TableLineCompareDetailInfoStatus) Value() string
type TableLineCompareDetailInfoStatusEnum ¶
type TableLineCompareDetailInfoStatusEnum struct { CONSISTENT TableLineCompareDetailInfoStatus INCONSISTENT TableLineCompareDetailInfoStatus COMPARING TableLineCompareDetailInfoStatus WAITING_FOR_COMPARISON TableLineCompareDetailInfoStatus FAILED_TO_COMPARE TableLineCompareDetailInfoStatus TARGET_DB_NOT_EXIST TableLineCompareDetailInfoStatus CAN_NOT_COMPARE TableLineCompareDetailInfoStatus }
func GetTableLineCompareDetailInfoStatusEnum ¶
func GetTableLineCompareDetailInfoStatusEnum() TableLineCompareDetailInfoStatusEnum
type TableObject ¶
type TableObject struct { // 该表在实时同步场景下的类型。取值: - config:仅当该表作为数据过滤高级设置的关联表时,需要填写,此时该表以及该表下的columns“不会”被同步到目标库,name、all、filtered、filter_conditions属性不生效,columns需要填写被关联的相关对象,config_conditions需要填写数据过滤高级设置的配置条件。(注意:如果需要同步该表级对象,则在下级对象中填写sync_type值为config。) SyncType *string `json:"sync_type,omitempty"` // 对象类型。取值: - table:表。 - view:视图。 - procedure:存储过程。 Type *TableObjectType `json:"type,omitempty"` // 该表在目标库的名称(表名映射)。 Name *string `json:"name,omitempty"` // 是否整表迁移或同步。注意: 1.当该表不需要做列过滤、列映射时,填true,如果需要做列过滤、列映射则填false; 2.当该表需要做附加列时,需要填true,并且在columns里填写附加列信息; 3.当该表所包含的列作为数据过滤高级设置的关联列时,需要填true,并且在columns里填写关联列信息、config_conditions填写数据过滤高级设置的配置条件; All *bool `json:"all,omitempty"` // 一对多情况下,表级上对库名的映射。 DbAliasName *string `json:"db_alias_name,omitempty"` // 一对多情况下,表级上对schema名的映射。 SchemaAliasName *string `json:"schema_alias_name,omitempty"` // 该表是否进行数据过滤。 Filtered *bool `json:"filtered,omitempty"` // 该表数据的过滤条件,生成加工规则值为SQL条件语句,长度限制512。 FilterConditions *[]string `json:"filter_conditions,omitempty"` // 该表数据过滤高级设置的配置条件,当该表作为联表查询时填写,生成加工规则值为SQL条件语句,长度限制512。 ConfigConditions *[]string `json:"config_conditions,omitempty"` // 是否已经进行同步。 IsSynchronized *bool `json:"is_synchronized,omitempty"` // 需要同步/映射/过滤/新增的列,当需要列过滤、列映射、附加列功能时填写,仅在实时同步任务中生效,当整表同步为false时需要填写。 Columns map[string]ColumnObject `json:"columns,omitempty"` }
TableObject 数据库表级对象。
func (TableObject) String ¶
func (o TableObject) String() string
type TableObjectType ¶
type TableObjectType struct {
// contains filtered or unexported fields
}
func (TableObjectType) MarshalJSON ¶
func (c TableObjectType) MarshalJSON() ([]byte, error)
func (*TableObjectType) UnmarshalJSON ¶
func (c *TableObjectType) UnmarshalJSON(b []byte) error
func (TableObjectType) Value ¶
func (c TableObjectType) Value() string
type TableObjectTypeEnum ¶
type TableObjectTypeEnum struct { TABLE TableObjectType VIEW TableObjectType PROCEDURE TableObjectType }
func GetTableObjectTypeEnum ¶
func GetTableObjectTypeEnum() TableObjectTypeEnum
type TargetRootDb ¶
type TargetRootDb struct { // 库名。 DbName *string `json:"db_name,omitempty"` // 默认编码格式是utf8。 DbEncoding *string `json:"db_encoding,omitempty"` }
TargetRootDb 数据库对象迁移或同步目标库信息,两层到三层数据库时需要指定。
func (TargetRootDb) String ¶
func (o TargetRootDb) String() string
type TaskLogInfo ¶
type TaskLogInfo struct { // 日志级别。 Level *string `json:"level,omitempty"` // 日志信息。 Message *string `json:"message,omitempty"` // 日志时间。 CreateTime *string `json:"create_time,omitempty"` }
TaskLogInfo 日志查询结果信息体。
func (TaskLogInfo) String ¶
func (o TaskLogInfo) String() string
type ToPeriodReq ¶ added in v0.1.117
type ToPeriodReq struct { // 订单类型,取值: - 2:包月 - 3:包年 PeriodType ToPeriodReqPeriodType `json:"period_type"` // 订单周期数 PeriodNum int32 `json:"period_num"` // 是否自动续费 IsAutoRenew bool `json:"is_auto_renew"` // 是否自动支付 IsAutoPay bool `json:"is_auto_pay"` }
ToPeriodReq 任务按需转包周期请求体
func (ToPeriodReq) String ¶ added in v0.1.117
func (o ToPeriodReq) String() string
type ToPeriodReqPeriodType ¶ added in v0.1.117
type ToPeriodReqPeriodType struct {
// contains filtered or unexported fields
}
func (ToPeriodReqPeriodType) MarshalJSON ¶ added in v0.1.117
func (c ToPeriodReqPeriodType) MarshalJSON() ([]byte, error)
func (*ToPeriodReqPeriodType) UnmarshalJSON ¶ added in v0.1.117
func (c *ToPeriodReqPeriodType) UnmarshalJSON(b []byte) error
func (ToPeriodReqPeriodType) Value ¶ added in v0.1.117
func (c ToPeriodReqPeriodType) Value() string
type ToPeriodReqPeriodTypeEnum ¶ added in v0.1.117
type ToPeriodReqPeriodTypeEnum struct { E_2 ToPeriodReqPeriodType E_3 ToPeriodReqPeriodType }
func GetToPeriodReqPeriodTypeEnum ¶ added in v0.1.117
func GetToPeriodReqPeriodTypeEnum() ToPeriodReqPeriodTypeEnum
type TuningParamInfo ¶
type TuningParamInfo struct { // 全量调优参数。 FullSync []TuningParameter `json:"full_sync"` // 增量抓取调优参数。 IncreCapture []TuningParameter `json:"incre_capture"` // 增量回放调优参数。 IncreApply []TuningParameter `json:"incre_apply"` // 增量日志拉取调优参数。 IncreRelay []TuningParameter `json:"incre_relay"` }
TuningParamInfo 高级设置信息体。
func (TuningParamInfo) String ¶
func (o TuningParamInfo) String() string
type TuningParameter ¶
type TuningParameter struct { // 参数名称。 ParamName string `json:"param_name"` // 参数取值。 ParamValue string `json:"param_value"` // 是否可用。 Availability bool `json:"availability"` }
TuningParameter 调优参数。
func (TuningParameter) String ¶
func (o TuningParameter) String() string
type UpdateBatchAsyncJobsRequest ¶
type UpdateBatchAsyncJobsRequest struct { // 批量异步创建的任务ID,由创建批量异步任务接口返回。 AsyncJobId string `json:"async_job_id"` // 请求语言类型。 XLanguage *UpdateBatchAsyncJobsRequestXLanguage `json:"X-Language,omitempty"` Body *BatchAsyncUpdateJobReq `json:"body,omitempty"` }
UpdateBatchAsyncJobsRequest Request Object
func (UpdateBatchAsyncJobsRequest) String ¶
func (o UpdateBatchAsyncJobsRequest) String() string
type UpdateBatchAsyncJobsRequestXLanguage ¶
type UpdateBatchAsyncJobsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateBatchAsyncJobsRequestXLanguage) MarshalJSON ¶
func (c UpdateBatchAsyncJobsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateBatchAsyncJobsRequestXLanguage) UnmarshalJSON ¶
func (c *UpdateBatchAsyncJobsRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateBatchAsyncJobsRequestXLanguage) Value ¶
func (c UpdateBatchAsyncJobsRequestXLanguage) Value() string
type UpdateBatchAsyncJobsRequestXLanguageEnum ¶
type UpdateBatchAsyncJobsRequestXLanguageEnum struct { EN_US UpdateBatchAsyncJobsRequestXLanguage ZH_CN UpdateBatchAsyncJobsRequestXLanguage }
func GetUpdateBatchAsyncJobsRequestXLanguageEnum ¶
func GetUpdateBatchAsyncJobsRequestXLanguageEnum() UpdateBatchAsyncJobsRequestXLanguageEnum
type UpdateBatchAsyncJobsResponse ¶
type UpdateBatchAsyncJobsResponse struct { // 批量更新指定ID异步任务响应体。 Jobs *[]AsyncUpdateJobResp `json:"jobs,omitempty"` HttpStatusCode int `json:"-"` }
UpdateBatchAsyncJobsResponse Response Object
func (UpdateBatchAsyncJobsResponse) String ¶
func (o UpdateBatchAsyncJobsResponse) String() string
type UpdateComparePolicyRequest ¶ added in v0.1.95
type UpdateComparePolicyRequest struct { // 请求语言类型。 XLanguage *UpdateComparePolicyRequestXLanguage `json:"X-Language,omitempty"` // 任务ID。 JobId string `json:"job_id"` Body *ModifyComparePolicyReq `json:"body,omitempty"` }
UpdateComparePolicyRequest Request Object
func (UpdateComparePolicyRequest) String ¶ added in v0.1.95
func (o UpdateComparePolicyRequest) String() string
type UpdateComparePolicyRequestXLanguage ¶ added in v0.1.95
type UpdateComparePolicyRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateComparePolicyRequestXLanguage) MarshalJSON ¶ added in v0.1.95
func (c UpdateComparePolicyRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateComparePolicyRequestXLanguage) UnmarshalJSON ¶ added in v0.1.95
func (c *UpdateComparePolicyRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateComparePolicyRequestXLanguage) Value ¶ added in v0.1.95
func (c UpdateComparePolicyRequestXLanguage) Value() string
type UpdateComparePolicyRequestXLanguageEnum ¶ added in v0.1.95
type UpdateComparePolicyRequestXLanguageEnum struct { EN_US UpdateComparePolicyRequestXLanguage ZH_CN UpdateComparePolicyRequestXLanguage }
func GetUpdateComparePolicyRequestXLanguageEnum ¶ added in v0.1.95
func GetUpdateComparePolicyRequestXLanguageEnum() UpdateComparePolicyRequestXLanguageEnum
type UpdateComparePolicyResponse ¶ added in v0.1.95
type UpdateComparePolicyResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdateComparePolicyResponse Response Object
func (UpdateComparePolicyResponse) String ¶ added in v0.1.95
func (o UpdateComparePolicyResponse) String() string
type UpdateConnectionReq ¶ added in v0.1.117
type UpdateConnectionReq struct { // 连接名称。 Name *string `json:"name,omitempty"` // 数据库类型。 DbType *string `json:"db_type,omitempty"` Config *ConnectionConfig `json:"config,omitempty"` // 连接描述。 Description *string `json:"description,omitempty"` Endpoint *BaseEndpoint `json:"endpoint,omitempty"` Vpc *CloudVpcInfo `json:"vpc,omitempty"` Ssl *EndpointSslConfig `json:"ssl,omitempty"` Cloud *CloudBaseInfo `json:"cloud,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
UpdateConnectionReq 修改连接请求。
func (UpdateConnectionReq) String ¶ added in v0.1.117
func (o UpdateConnectionReq) String() string
type UpdateDataProgressRequest ¶ added in v0.1.58
type UpdateDataProgressRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *UpdateDataProgressRequestXLanguage `json:"X-Language,omitempty"` Body *DataProcessReq `json:"body,omitempty"` }
UpdateDataProgressRequest Request Object
func (UpdateDataProgressRequest) String ¶ added in v0.1.58
func (o UpdateDataProgressRequest) String() string
type UpdateDataProgressRequestXLanguage ¶ added in v0.1.58
type UpdateDataProgressRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateDataProgressRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c UpdateDataProgressRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateDataProgressRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *UpdateDataProgressRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateDataProgressRequestXLanguage) Value ¶ added in v0.1.58
func (c UpdateDataProgressRequestXLanguage) Value() string
type UpdateDataProgressRequestXLanguageEnum ¶ added in v0.1.58
type UpdateDataProgressRequestXLanguageEnum struct { EN_US UpdateDataProgressRequestXLanguage ZH_CN UpdateDataProgressRequestXLanguage }
func GetUpdateDataProgressRequestXLanguageEnum ¶ added in v0.1.58
func GetUpdateDataProgressRequestXLanguageEnum() UpdateDataProgressRequestXLanguageEnum
type UpdateDataProgressResponse ¶ added in v0.1.58
type UpdateDataProgressResponse struct { // 查询结果id Id *string `json:"id,omitempty"` // 查询状态 pending:处理中 failed:失败 success:成功 Status *UpdateDataProgressResponseStatus `json:"status,omitempty"` // 任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDataProgressResponse Response Object
func (UpdateDataProgressResponse) String ¶ added in v0.1.58
func (o UpdateDataProgressResponse) String() string
type UpdateDataProgressResponseStatus ¶ added in v0.1.58
type UpdateDataProgressResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateDataProgressResponseStatus) MarshalJSON ¶ added in v0.1.58
func (c UpdateDataProgressResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateDataProgressResponseStatus) UnmarshalJSON ¶ added in v0.1.58
func (c *UpdateDataProgressResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateDataProgressResponseStatus) Value ¶ added in v0.1.58
func (c UpdateDataProgressResponseStatus) Value() string
type UpdateDataProgressResponseStatusEnum ¶ added in v0.1.58
type UpdateDataProgressResponseStatusEnum struct { PENDING UpdateDataProgressResponseStatus FAILED UpdateDataProgressResponseStatus SUCCESS UpdateDataProgressResponseStatus }
func GetUpdateDataProgressResponseStatusEnum ¶ added in v0.1.58
func GetUpdateDataProgressResponseStatusEnum() UpdateDataProgressResponseStatusEnum
type UpdateDriverReq ¶ added in v0.1.68
type UpdateDriverReq struct { // jdbc驱动文件名称,name的长度5-64,结尾以.jar结尾。 DriverName string `json:"driver_name"` }
func (UpdateDriverReq) String ¶ added in v0.1.68
func (o UpdateDriverReq) String() string
type UpdateJob ¶
type UpdateJob struct { // 待更新的任务ID。 JobId *string `json:"job_id,omitempty"` BaseInfo *JobBaseInfo `json:"base_info,omitempty"` // 任务源数据库信息体。 SourceEndpoint *[]JobEndpointInfo `json:"source_endpoint,omitempty"` // 任务目标数据库信息体。 TargetEndpoint *[]JobEndpointInfo `json:"target_endpoint,omitempty"` AlarmNotify *AlarmNotifyConfig `json:"alarm_notify,omitempty"` // 限速信息体。 - 限速:自定义的最大迁移速度,迁移过程中的迁移速度将不会超过该速度。 - 不限速:对迁移速度不进行限制,通常会最大化使用源数据库的出口带宽。该流速模式同时会对源数据库造成读消耗,消耗取决于源数据库的出口带宽。比如:源数据库的出口带宽为100MB/s,假设高速模式使用了80%带宽,则迁移对源数据库将造成80MB/s的读操作IO消耗。 SpeedLimit *[]SpeedLimitInfo `json:"speed_limit,omitempty"` UserMigration *UserMigrationInfo `json:"user_migration,omitempty"` PolicyConfig *PolicyConfig `json:"policy_config,omitempty"` DbObject *DbObject `json:"db_object,omitempty"` DbParam *DbParamInfo `json:"db_param,omitempty"` TuningParams *ModifyTuningParams `json:"tuning_params,omitempty"` PeriodOrder *PeriodOrderInfo `json:"period_order,omitempty"` NodeInfo *JobNodeInfo `json:"node_info,omitempty"` }
UpdateJob 更新任务信息体。
type UpdateJobConfigurationsRequest ¶ added in v0.1.77
type UpdateJobConfigurationsRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *string `json:"X-Language,omitempty"` Body *ModifyParameterReq `json:"body,omitempty"` }
UpdateJobConfigurationsRequest Request Object
func (UpdateJobConfigurationsRequest) String ¶ added in v0.1.77
func (o UpdateJobConfigurationsRequest) String() string
type UpdateJobConfigurationsResponse ¶ added in v0.1.77
type UpdateJobConfigurationsResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdateJobConfigurationsResponse Response Object
func (UpdateJobConfigurationsResponse) String ¶ added in v0.1.77
func (o UpdateJobConfigurationsResponse) String() string
type UpdateJobReq ¶
type UpdateJobReq struct { // 更新指定ID任务详情类型。 场景一:更新单个任务详情,取值: - name:更新该任务名称。 - description:更新该任务描述。 - re_create:配置中任务三天以后虚拟机删除后重建。 - expired_days:更新任务异常自动结束时间,单位为天。 - notify:更新任务异常通知信息。 场景二:更新批量异步任务详情,取值: - all:批量异步创建的任务,参数校验不通过,需要指定全部参数进行更新时。 - network:批量异步创建的任务,测试连接不通过,需要更新源库/目标库信息时。 - policy:批量异步创建的任务,需要更新任务配置时。 - db_object:批量异步创建的任务,需要更新对象信息时。 - precheck:批量异步创建的任务,需要重新预检查时。 Type UpdateJobReqType `json:"type"` Params *UpdateJob `json:"params"` }
UpdateJobReq 更新指定ID任务请求体。
func (UpdateJobReq) String ¶
func (o UpdateJobReq) String() string
type UpdateJobReqType ¶
type UpdateJobReqType struct {
// contains filtered or unexported fields
}
func (UpdateJobReqType) MarshalJSON ¶
func (c UpdateJobReqType) MarshalJSON() ([]byte, error)
func (*UpdateJobReqType) UnmarshalJSON ¶
func (c *UpdateJobReqType) UnmarshalJSON(b []byte) error
func (UpdateJobReqType) Value ¶
func (c UpdateJobReqType) Value() string
type UpdateJobReqTypeEnum ¶
type UpdateJobReqTypeEnum struct { NAME UpdateJobReqType DESCRIPTION UpdateJobReqType ALL UpdateJobReqType NETWORK UpdateJobReqType POLICY UpdateJobReqType DB_OBJECT UpdateJobReqType PRECHECK UpdateJobReqType RE_CREATE UpdateJobReqType EXPIRED_DAYS UpdateJobReqType NOTIFY UpdateJobReqType }
func GetUpdateJobReqTypeEnum ¶
func GetUpdateJobReqTypeEnum() UpdateJobReqTypeEnum
type UpdateJobRequest ¶
type UpdateJobRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *UpdateJobRequestXLanguage `json:"X-Language,omitempty"` Body *SingleUpdateJobReq `json:"body,omitempty"` }
UpdateJobRequest Request Object
func (UpdateJobRequest) String ¶
func (o UpdateJobRequest) String() string
type UpdateJobRequestXLanguage ¶
type UpdateJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateJobRequestXLanguage) MarshalJSON ¶
func (c UpdateJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateJobRequestXLanguage) UnmarshalJSON ¶
func (c *UpdateJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateJobRequestXLanguage) Value ¶
func (c UpdateJobRequestXLanguage) Value() string
type UpdateJobRequestXLanguageEnum ¶
type UpdateJobRequestXLanguageEnum struct { EN_US UpdateJobRequestXLanguage ZH_CN UpdateJobRequestXLanguage }
func GetUpdateJobRequestXLanguageEnum ¶
func GetUpdateJobRequestXLanguageEnum() UpdateJobRequestXLanguageEnum
type UpdateJobResponse ¶
type UpdateJobResponse struct { // 错误码。 ErrorCode string `json:"error_code"` // 错误描述。 ErrorMsg string `json:"error_msg"` // 任务ID。 Id string `json:"id"` // 任务名称。 Name string `json:"name"` // 操作结果。 Status string `json:"status"` HttpStatusCode int `json:"-"` }
UpdateJobResponse Response Object
func (UpdateJobResponse) String ¶
func (o UpdateJobResponse) String() string
type UpdateReplicationJobRequest ¶ added in v0.1.117
type UpdateReplicationJobRequest struct { // 备份迁移任务ID。 JobId string `json:"job_id"` // 请求语言类型。 en-us:英文 zh-cn:中文 XLanguage *UpdateReplicationJobRequestXLanguage `json:"X-Language,omitempty"` Body *ModifyOfflineTaskReq `json:"body,omitempty"` }
UpdateReplicationJobRequest Request Object
func (UpdateReplicationJobRequest) String ¶ added in v0.1.117
func (o UpdateReplicationJobRequest) String() string
type UpdateReplicationJobRequestXLanguage ¶ added in v0.1.117
type UpdateReplicationJobRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateReplicationJobRequestXLanguage) MarshalJSON ¶ added in v0.1.117
func (c UpdateReplicationJobRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateReplicationJobRequestXLanguage) UnmarshalJSON ¶ added in v0.1.117
func (c *UpdateReplicationJobRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateReplicationJobRequestXLanguage) Value ¶ added in v0.1.117
func (c UpdateReplicationJobRequestXLanguage) Value() string
type UpdateReplicationJobRequestXLanguageEnum ¶ added in v0.1.117
type UpdateReplicationJobRequestXLanguageEnum struct { EN_US UpdateReplicationJobRequestXLanguage ZH_CN UpdateReplicationJobRequestXLanguage }
func GetUpdateReplicationJobRequestXLanguageEnum ¶ added in v0.1.117
func GetUpdateReplicationJobRequestXLanguageEnum() UpdateReplicationJobRequestXLanguageEnum
type UpdateReplicationJobResponse ¶ added in v0.1.117
type UpdateReplicationJobResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdateReplicationJobResponse Response Object
func (UpdateReplicationJobResponse) String ¶ added in v0.1.117
func (o UpdateReplicationJobResponse) String() string
type UpdateStartPositionRequest ¶ added in v0.1.58
type UpdateStartPositionRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *UpdateStartPositionRequestXLanguage `json:"X-Language,omitempty"` Body *ModifyStartPositionReq `json:"body,omitempty"` }
UpdateStartPositionRequest Request Object
func (UpdateStartPositionRequest) String ¶ added in v0.1.58
func (o UpdateStartPositionRequest) String() string
type UpdateStartPositionRequestXLanguage ¶ added in v0.1.58
type UpdateStartPositionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateStartPositionRequestXLanguage) MarshalJSON ¶ added in v0.1.58
func (c UpdateStartPositionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateStartPositionRequestXLanguage) UnmarshalJSON ¶ added in v0.1.58
func (c *UpdateStartPositionRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateStartPositionRequestXLanguage) Value ¶ added in v0.1.58
func (c UpdateStartPositionRequestXLanguage) Value() string
type UpdateStartPositionRequestXLanguageEnum ¶ added in v0.1.58
type UpdateStartPositionRequestXLanguageEnum struct { EN_US UpdateStartPositionRequestXLanguage ZH_CN UpdateStartPositionRequestXLanguage }
func GetUpdateStartPositionRequestXLanguageEnum ¶ added in v0.1.58
func GetUpdateStartPositionRequestXLanguageEnum() UpdateStartPositionRequestXLanguageEnum
type UpdateStartPositionResponse ¶ added in v0.1.58
type UpdateStartPositionResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdateStartPositionResponse Response Object
func (UpdateStartPositionResponse) String ¶ added in v0.1.58
func (o UpdateStartPositionResponse) String() string
type UpdateUserDriverReq ¶ added in v0.1.111
type UpdateUserDriverReq struct { // JDBC驱动文件名称,name的长度5-64,结尾以.jar结尾。 DriverName string `json:"driver_name"` // 指定待同步的驱动文件类型。取值范围: - db2:DB2 for LUW - informix:Informix DriverType UpdateUserDriverReqDriverType `json:"driver_type"` }
func (UpdateUserDriverReq) String ¶ added in v0.1.111
func (o UpdateUserDriverReq) String() string
type UpdateUserDriverReqDriverType ¶ added in v0.1.111
type UpdateUserDriverReqDriverType struct {
// contains filtered or unexported fields
}
func (UpdateUserDriverReqDriverType) MarshalJSON ¶ added in v0.1.111
func (c UpdateUserDriverReqDriverType) MarshalJSON() ([]byte, error)
func (*UpdateUserDriverReqDriverType) UnmarshalJSON ¶ added in v0.1.111
func (c *UpdateUserDriverReqDriverType) UnmarshalJSON(b []byte) error
func (UpdateUserDriverReqDriverType) Value ¶ added in v0.1.111
func (c UpdateUserDriverReqDriverType) Value() string
type UpdateUserDriverReqDriverTypeEnum ¶ added in v0.1.111
type UpdateUserDriverReqDriverTypeEnum struct { DB2 UpdateUserDriverReqDriverType INFORMIX UpdateUserDriverReqDriverType }
func GetUpdateUserDriverReqDriverTypeEnum ¶ added in v0.1.111
func GetUpdateUserDriverReqDriverTypeEnum() UpdateUserDriverReqDriverTypeEnum
type UploadDbObjectTemplateRequest ¶
type UploadDbObjectTemplateRequest struct { // 任务ID。 JobId string `json:"job_id"` // 请求语言类型。 XLanguage *UploadDbObjectTemplateRequestXLanguage `json:"X-Language,omitempty"` // 文件模板支持数据同步级别,不填默认为table表级。 - database:库级 - table:表级 - column:列级 FileImportDbLevel *UploadDbObjectTemplateRequestFileImportDbLevel `json:"file_import_db_level,omitempty"` Body *UploadDbObjectTemplateRequestBody `json:"body,omitempty" type:"multipart"` }
UploadDbObjectTemplateRequest Request Object
func (UploadDbObjectTemplateRequest) String ¶
func (o UploadDbObjectTemplateRequest) String() string
type UploadDbObjectTemplateRequestBody ¶
func (UploadDbObjectTemplateRequestBody) String ¶
func (o UploadDbObjectTemplateRequestBody) String() string
func (*UploadDbObjectTemplateRequestBody) UnmarshalJSON ¶
func (o *UploadDbObjectTemplateRequestBody) UnmarshalJSON(b []byte) error
type UploadDbObjectTemplateRequestFileImportDbLevel ¶ added in v0.1.49
type UploadDbObjectTemplateRequestFileImportDbLevel struct {
// contains filtered or unexported fields
}
func (UploadDbObjectTemplateRequestFileImportDbLevel) MarshalJSON ¶ added in v0.1.49
func (c UploadDbObjectTemplateRequestFileImportDbLevel) MarshalJSON() ([]byte, error)
func (*UploadDbObjectTemplateRequestFileImportDbLevel) UnmarshalJSON ¶ added in v0.1.49
func (c *UploadDbObjectTemplateRequestFileImportDbLevel) UnmarshalJSON(b []byte) error
func (UploadDbObjectTemplateRequestFileImportDbLevel) Value ¶ added in v0.1.49
func (c UploadDbObjectTemplateRequestFileImportDbLevel) Value() string
type UploadDbObjectTemplateRequestFileImportDbLevelEnum ¶ added in v0.1.49
type UploadDbObjectTemplateRequestFileImportDbLevelEnum struct { DATABASE UploadDbObjectTemplateRequestFileImportDbLevel TABLE UploadDbObjectTemplateRequestFileImportDbLevel COLUMN UploadDbObjectTemplateRequestFileImportDbLevel }
func GetUploadDbObjectTemplateRequestFileImportDbLevelEnum ¶ added in v0.1.49
func GetUploadDbObjectTemplateRequestFileImportDbLevelEnum() UploadDbObjectTemplateRequestFileImportDbLevelEnum
type UploadDbObjectTemplateRequestXLanguage ¶
type UploadDbObjectTemplateRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UploadDbObjectTemplateRequestXLanguage) MarshalJSON ¶
func (c UploadDbObjectTemplateRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UploadDbObjectTemplateRequestXLanguage) UnmarshalJSON ¶
func (c *UploadDbObjectTemplateRequestXLanguage) UnmarshalJSON(b []byte) error
func (UploadDbObjectTemplateRequestXLanguage) Value ¶
func (c UploadDbObjectTemplateRequestXLanguage) Value() string
type UploadDbObjectTemplateRequestXLanguageEnum ¶
type UploadDbObjectTemplateRequestXLanguageEnum struct { EN_US UploadDbObjectTemplateRequestXLanguage ZH_CN UploadDbObjectTemplateRequestXLanguage }
func GetUploadDbObjectTemplateRequestXLanguageEnum ¶
func GetUploadDbObjectTemplateRequestXLanguageEnum() UploadDbObjectTemplateRequestXLanguageEnum
type UploadDbObjectTemplateResponse ¶
type UploadDbObjectTemplateResponse struct { // 是否上传完成。 SendSuccess *bool `json:"send_success,omitempty"` // 文件解析状态。 ProcessStatus *string `json:"process_status,omitempty"` // 解析成功的行数。 ParsedSuccessNumber *string `json:"parsed_success_number,omitempty"` HttpStatusCode int `json:"-"` }
UploadDbObjectTemplateResponse Response Object
func (UploadDbObjectTemplateResponse) String ¶
func (o UploadDbObjectTemplateResponse) String() string
type UploadJdbcDriverRequest ¶ added in v0.1.68
type UploadJdbcDriverRequest struct { // 请求语言类型。 XLanguage *UploadJdbcDriverRequestXLanguage `json:"X-Language,omitempty"` Body *UploadJdbcDriverRequestBody `json:"body,omitempty" type:"multipart"` }
UploadJdbcDriverRequest Request Object
func (UploadJdbcDriverRequest) String ¶ added in v0.1.68
func (o UploadJdbcDriverRequest) String() string
type UploadJdbcDriverRequestBody ¶ added in v0.1.68
type UploadJdbcDriverRequestBody struct { // 驱动文件,驱动文件名称长度5-64,以jar结尾,文件名相同会替换远程驱动文件 File *def.FilePart `json:"file"` }
func (UploadJdbcDriverRequestBody) String ¶ added in v0.1.68
func (o UploadJdbcDriverRequestBody) String() string
func (*UploadJdbcDriverRequestBody) UnmarshalJSON ¶ added in v0.1.68
func (o *UploadJdbcDriverRequestBody) UnmarshalJSON(b []byte) error
type UploadJdbcDriverRequestXLanguage ¶ added in v0.1.68
type UploadJdbcDriverRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UploadJdbcDriverRequestXLanguage) MarshalJSON ¶ added in v0.1.68
func (c UploadJdbcDriverRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UploadJdbcDriverRequestXLanguage) UnmarshalJSON ¶ added in v0.1.68
func (c *UploadJdbcDriverRequestXLanguage) UnmarshalJSON(b []byte) error
func (UploadJdbcDriverRequestXLanguage) Value ¶ added in v0.1.68
func (c UploadJdbcDriverRequestXLanguage) Value() string
type UploadJdbcDriverRequestXLanguageEnum ¶ added in v0.1.68
type UploadJdbcDriverRequestXLanguageEnum struct { EN_US UploadJdbcDriverRequestXLanguage ZH_CN UploadJdbcDriverRequestXLanguage }
func GetUploadJdbcDriverRequestXLanguageEnum ¶ added in v0.1.68
func GetUploadJdbcDriverRequestXLanguageEnum() UploadJdbcDriverRequestXLanguageEnum
type UploadJdbcDriverResponse ¶ added in v0.1.68
type UploadJdbcDriverResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UploadJdbcDriverResponse Response Object
func (UploadJdbcDriverResponse) String ¶ added in v0.1.68
func (o UploadJdbcDriverResponse) String() string
type UploadUserJdbcDriverRequest ¶ added in v0.1.111
type UploadUserJdbcDriverRequest struct { // 请求语言类型。 XLanguage *UploadUserJdbcDriverRequestXLanguage `json:"X-Language,omitempty"` // 指定待上传的驱动文件类型。取值范围: - db2:DB2 for LUW - informix:Informix DriverType UploadUserJdbcDriverRequestDriverType `json:"driver_type"` Body *UploadUserJdbcDriverRequestBody `json:"body,omitempty" type:"multipart"` }
UploadUserJdbcDriverRequest Request Object
func (UploadUserJdbcDriverRequest) String ¶ added in v0.1.111
func (o UploadUserJdbcDriverRequest) String() string
type UploadUserJdbcDriverRequestBody ¶ added in v0.1.111
type UploadUserJdbcDriverRequestBody struct { // 驱动文件,驱动文件名称长度5-64,以jar结尾,文件名相同会替换远程驱动文件。 File *def.FilePart `json:"file"` }
func (UploadUserJdbcDriverRequestBody) String ¶ added in v0.1.111
func (o UploadUserJdbcDriverRequestBody) String() string
func (*UploadUserJdbcDriverRequestBody) UnmarshalJSON ¶ added in v0.1.111
func (o *UploadUserJdbcDriverRequestBody) UnmarshalJSON(b []byte) error
type UploadUserJdbcDriverRequestDriverType ¶ added in v0.1.111
type UploadUserJdbcDriverRequestDriverType struct {
// contains filtered or unexported fields
}
func (UploadUserJdbcDriverRequestDriverType) MarshalJSON ¶ added in v0.1.111
func (c UploadUserJdbcDriverRequestDriverType) MarshalJSON() ([]byte, error)
func (*UploadUserJdbcDriverRequestDriverType) UnmarshalJSON ¶ added in v0.1.111
func (c *UploadUserJdbcDriverRequestDriverType) UnmarshalJSON(b []byte) error
func (UploadUserJdbcDriverRequestDriverType) Value ¶ added in v0.1.111
func (c UploadUserJdbcDriverRequestDriverType) Value() string
type UploadUserJdbcDriverRequestDriverTypeEnum ¶ added in v0.1.111
type UploadUserJdbcDriverRequestDriverTypeEnum struct { DB2 UploadUserJdbcDriverRequestDriverType INFORMIX UploadUserJdbcDriverRequestDriverType }
func GetUploadUserJdbcDriverRequestDriverTypeEnum ¶ added in v0.1.111
func GetUploadUserJdbcDriverRequestDriverTypeEnum() UploadUserJdbcDriverRequestDriverTypeEnum
type UploadUserJdbcDriverRequestXLanguage ¶ added in v0.1.111
type UploadUserJdbcDriverRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UploadUserJdbcDriverRequestXLanguage) MarshalJSON ¶ added in v0.1.111
func (c UploadUserJdbcDriverRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UploadUserJdbcDriverRequestXLanguage) UnmarshalJSON ¶ added in v0.1.111
func (c *UploadUserJdbcDriverRequestXLanguage) UnmarshalJSON(b []byte) error
func (UploadUserJdbcDriverRequestXLanguage) Value ¶ added in v0.1.111
func (c UploadUserJdbcDriverRequestXLanguage) Value() string
type UploadUserJdbcDriverRequestXLanguageEnum ¶ added in v0.1.111
type UploadUserJdbcDriverRequestXLanguageEnum struct { EN_US UploadUserJdbcDriverRequestXLanguage ZH_CN UploadUserJdbcDriverRequestXLanguage }
func GetUploadUserJdbcDriverRequestXLanguageEnum ¶ added in v0.1.111
func GetUploadUserJdbcDriverRequestXLanguageEnum() UploadUserJdbcDriverRequestXLanguageEnum
type UploadUserJdbcDriverResponse ¶ added in v0.1.111
type UploadUserJdbcDriverResponse struct { // 空响应体。 Body *interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UploadUserJdbcDriverResponse Response Object
func (UploadUserJdbcDriverResponse) String ¶ added in v0.1.111
func (o UploadUserJdbcDriverResponse) String() string
type UserMigrationInfo ¶
type UserMigrationInfo struct { // 是否迁移用户。 IsMigrateUser bool `json:"is_migrate_user"` // 是否统一重置密码。取值: - true:重置密码为统一密码。 - false:不统一重置密码。 当前支持的场景: - 实时迁移场景:MySQL迁移。 IsSetPassword bool `json:"is_set_password"` // 重置后的统一密码。统一重置密码为true时必填。 约束:密码不能为空。 Password *string `json:"password,omitempty"` UserList *[]UserMigrationList `json:"user_list,omitempty"` RoleList *[]UserMigrationRole `json:"role_list,omitempty"` }
UserMigrationInfo 用户迁移信息体。
func (UserMigrationInfo) String ¶
func (o UserMigrationInfo) String() string
type UserMigrationList ¶
type UserMigrationList struct { // 用户ID。 Id string `json:"id"` // 用户。 Account string `json:"account"` // 是否重置该用户密码。当前支持的场景: - 实时迁移场景:MySQL迁移。 IsSetPassword *bool `json:"is_set_password,omitempty"` // 重置后的密码。统一重置密码或单个用户重置密码为true时必填,约束:密码不能为空。 Password *string `json:"password,omitempty"` }
UserMigrationList 用户迁移信息用户列表字段。当前支持的场景: - 实时迁移场景:MySQL迁移,MongoDB迁移。
func (UserMigrationList) String ¶
func (o UserMigrationList) String() string
type UserMigrationRole ¶
type UserMigrationRole struct { // 角色。 Role string `json:"role"` }
UserMigrationRole 用户迁移信息角色列表字段。当前支持的场景: - 实时迁移场景:MongoDB迁移。
func (UserMigrationRole) String ¶
func (o UserMigrationRole) String() string
type ValidateJobNameRequest ¶ added in v0.1.49
type ValidateJobNameRequest struct { // 请求语言类型。 XLanguage *ValidateJobNameRequestXLanguage `json:"X-Language,omitempty"` Body *CheckJobNameReq `json:"body,omitempty"` }
ValidateJobNameRequest Request Object
func (ValidateJobNameRequest) String ¶ added in v0.1.49
func (o ValidateJobNameRequest) String() string
type ValidateJobNameRequestXLanguage ¶ added in v0.1.49
type ValidateJobNameRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ValidateJobNameRequestXLanguage) MarshalJSON ¶ added in v0.1.49
func (c ValidateJobNameRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ValidateJobNameRequestXLanguage) UnmarshalJSON ¶ added in v0.1.49
func (c *ValidateJobNameRequestXLanguage) UnmarshalJSON(b []byte) error
func (ValidateJobNameRequestXLanguage) Value ¶ added in v0.1.49
func (c ValidateJobNameRequestXLanguage) Value() string
type ValidateJobNameRequestXLanguageEnum ¶ added in v0.1.49
type ValidateJobNameRequestXLanguageEnum struct { EN_US ValidateJobNameRequestXLanguage ZH_CN ValidateJobNameRequestXLanguage }
func GetValidateJobNameRequestXLanguageEnum ¶ added in v0.1.49
func GetValidateJobNameRequestXLanguageEnum() ValidateJobNameRequestXLanguageEnum
type ValidateJobNameResponse ¶ added in v0.1.49
type ValidateJobNameResponse struct { // 任务名称是否有效。 IsValid *bool `json:"is_valid,omitempty"` // 错误码。 ErrorCode *string `json:"error_code,omitempty"` // 错误信息。 ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
ValidateJobNameResponse Response Object
func (ValidateJobNameResponse) String ¶ added in v0.1.49
func (o ValidateJobNameResponse) String() string
Source Files ¶
- model_action_base_resp.go
- model_action_params.go
- model_action_req.go
- model_add_column_info.go
- model_alarm_notify_config.go
- model_api_http_null_resp.go
- model_async_action_base_resp.go
- model_async_action_resp.go
- model_async_commit_job_resp.go
- model_async_create_job_req.go
- model_async_create_job_resp.go
- model_async_job_resp.go
- model_async_update_job_resp.go
- model_backup_file_info.go
- model_backup_file_resp.go
- model_backup_info.go
- model_backup_info_resp.go
- model_backup_job_base_info.go
- model_backup_job_endpoint_info.go
- model_backup_restore_option_info.go
- model_base_endpoint.go
- model_base_endpoint_config.go
- model_base_resp.go
- model_batch_add_tag_req.go
- model_batch_async_create_job_req.go
- model_batch_async_update_job_req.go
- model_batch_create_jobs_async_request.go
- model_batch_create_jobs_async_response.go
- model_batch_create_tags_request.go
- model_batch_create_tags_response.go
- model_batch_deal_resource_tag_req.go
- model_batch_delete_job_req.go
- model_batch_delete_jobs_by_id_request.go
- model_batch_delete_jobs_by_id_response.go
- model_batch_delete_tag_req.go
- model_batch_delete_tags_request.go
- model_batch_delete_tags_response.go
- model_batch_execute_job_actions_request.go
- model_batch_execute_job_actions_response.go
- model_batch_job_action_req.go
- model_batch_resource_tag.go
- model_batch_stop_job_action_req.go
- model_batch_stop_jobs_action_request.go
- model_batch_stop_jobs_action_response.go
- model_batch_tag_action_request.go
- model_batch_tag_action_response.go
- model_change_to_period_request.go
- model_change_to_period_response.go
- model_check_data_filter_request.go
- model_check_data_filter_response.go
- model_check_job_name_req.go
- model_children_job_list_resp.go
- model_clean_alarms_request.go
- model_clean_alarms_response.go
- model_clone_job_req.go
- model_cloud_base_info.go
- model_cloud_vpc_info.go
- model_collect_columns_request.go
- model_collect_columns_response.go
- model_collect_db_objects_async_request.go
- model_collect_db_objects_async_response.go
- model_collect_db_objects_info_request.go
- model_collect_db_objects_info_response.go
- model_collect_position_async_request.go
- model_collect_position_async_response.go
- model_column_object.go
- model_commit_async_job_request.go
- model_commit_async_job_response.go
- model_compare_job_info.go
- model_compare_result_info.go
- model_compare_task_params.go
- model_connection_config.go
- model_connection_management.go
- model_connection_resp.go
- model_content_compare_detail_info.go
- model_content_compare_overview_info.go
- model_content_diff_detail_info.go
- model_content_diff_detail_vo.go
- model_copy_job_request.go
- model_copy_job_response.go
- model_count_instance_by_tags_request.go
- model_count_instance_by_tags_response.go
- model_create_connection_req.go
- model_create_connection_request.go
- model_create_connection_response.go
- model_create_job_req.go
- model_create_job_request.go
- model_create_job_response.go
- model_create_offline_task_req.go
- model_create_replication_job_request.go
- model_create_replication_job_response.go
- model_customized_dns.go
- model_data_filtering_condition.go
- model_data_process_info.go
- model_data_process_req.go
- model_database_object.go
- model_db_object.go
- model_db_object_column_info.go
- model_db_object_filtering_result.go
- model_db_object_info.go
- model_db_or_table_rename_rule.go
- model_db_param.go
- model_db_param_info.go
- model_ddl_alarm_resp.go
- model_delete_connection_request.go
- model_delete_connection_response.go
- model_delete_driver_req.go
- model_delete_jdbc_driver_request.go
- model_delete_jdbc_driver_response.go
- model_delete_job_request.go
- model_delete_job_resp.go
- model_delete_job_response.go
- model_delete_replication_job_request.go
- model_delete_replication_job_response.go
- model_delete_user_driver_req.go
- model_delete_user_jdbc_driver_request.go
- model_delete_user_jdbc_driver_response.go
- model_dirty_data.go
- model_download_batch_create_template_request.go
- model_download_batch_create_template_response.go
- model_download_db_object_template_request.go
- model_download_db_object_template_response.go
- model_driver_info.go
- model_driver_management.go
- model_endpoint_ssl_config.go
- model_enterprise_project.go
- model_error_resp.go
- model_execute_job_action_request.go
- model_execute_job_action_response.go
- model_export_operation_info_request.go
- model_export_operation_info_response.go
- model_failed_to_bind_eip_child_info.go
- model_flow_compare_data.go
- model_health_compare_job.go
- model_import_batch_create_jobs_request.go
- model_import_batch_create_jobs_request_body.go
- model_import_batch_create_jobs_response.go
- model_import_error_message_resp.go
- model_incre_component_detail.go
- model_job_action_req.go
- model_job_actions.go
- model_job_base_info.go
- model_job_detail_resp.go
- model_job_endpoint_info.go
- model_job_link_resp.go
- model_job_list_resp.go
- model_job_node_base_info.go
- model_job_node_info.go
- model_job_node_spec_info.go
- model_job_node_vpc_info.go
- model_job_progress_info.go
- model_line_compare_overview_info.go
- model_list_async_job_detail_request.go
- model_list_async_job_detail_response.go
- model_list_async_jobs_request.go
- model_list_async_jobs_response.go
- model_list_connections_request.go
- model_list_connections_response.go
- model_list_db_objects_request.go
- model_list_db_objects_response.go
- model_list_instance_by_tags_request.go
- model_list_instance_by_tags_response.go
- model_list_instance_tags_request.go
- model_list_instance_tags_response.go
- model_list_jdbc_drivers_request.go
- model_list_jdbc_drivers_response.go
- model_list_job_ddls_request.go
- model_list_job_ddls_response.go
- model_list_job_history_parameter.go
- model_list_job_history_parameters_request.go
- model_list_job_history_parameters_response.go
- model_list_job_parameters_request.go
- model_list_job_parameters_response.go
- model_list_jobs_request.go
- model_list_jobs_response.go
- model_list_links_request.go
- model_list_links_response.go
- model_list_project_tags_request.go
- model_list_project_tags_response.go
- model_list_replication_jobs_request.go
- model_list_replication_jobs_response.go
- model_list_tags_request.go
- model_list_tags_response.go
- model_list_user_jdbc_drivers_request.go
- model_list_user_jdbc_drivers_response.go
- model_lists_agency_permissions_request.go
- model_lists_agency_permissions_response.go
- model_migration_object_overview_info.go
- model_modify_compare_policy_req.go
- model_modify_connection_request.go
- model_modify_connection_response.go
- model_modify_offline_task_req.go
- model_modify_parameter_req.go
- model_modify_start_position_req.go
- model_modify_tuning_params.go
- model_objects_compare_detail_info.go
- model_objects_compare_overview_info.go
- model_objects_compare_task_info.go
- model_objects_health_compare_overview_info.go
- model_offline_task_info.go
- model_parameter_config.go
- model_parameter_info.go
- model_period_order_info.go
- model_policy_config.go
- model_precheck_fail_sub_job_result.go
- model_precheck_result.go
- model_product_info.go
- model_progress_complete_info.go
- model_project_tag.go
- model_public_ip_config.go
- model_query_column_info.go
- model_query_column_req.go
- model_query_db_position_req.go
- model_query_instance_by_tag_req.go
- model_query_metric_result.go
- model_query_migration_object_progress_info.go
- model_query_network_result.go
- model_query_pre_check_result.go
- model_query_select_object_info_req.go
- model_query_user_selected_object_info_req.go
- model_replay_config_info.go
- model_replay_error_classification.go
- model_replay_error_sql_resp.go
- model_replay_error_sql_template_resp.go
- model_replay_shard_statics_resp.go
- model_replay_slow_sql_resp.go
- model_replay_slow_sql_template_resp.go
- model_replaying_sql_resp.go
- model_resource_instance.go
- model_resource_tag.go
- model_resource_tag_info.go
- model_schema_object.go
- model_select_db_table_object_info.go
- model_show_actions_request.go
- model_show_actions_response.go
- model_show_column_info_result_request.go
- model_show_column_info_result_response.go
- model_show_compare_policy_request.go
- model_show_compare_policy_response.go
- model_show_data_filtering_result_request.go
- model_show_data_filtering_result_response.go
- model_show_data_processing_rules_result_request.go
- model_show_data_processing_rules_result_response.go
- model_show_data_progress_request.go
- model_show_data_progress_response.go
- model_show_db_object_collection_status_request.go
- model_show_db_object_collection_status_response.go
- model_show_db_object_template_progress_request.go
- model_show_db_object_template_progress_response.go
- model_show_db_object_template_result_request.go
- model_show_db_object_template_result_response.go
- model_show_db_objects_list_request.go
- model_show_db_objects_list_response.go
- model_show_dirty_data_request.go
- model_show_dirty_data_response.go
- model_show_enterprise_project_request.go
- model_show_enterprise_project_response.go
- model_show_health_compare_job_detail_request.go
- model_show_health_compare_job_detail_response.go
- model_show_health_compare_job_list_request.go
- model_show_health_compare_job_list_response.go
- model_show_health_object_compare_job_overview_request.go
- model_show_health_object_compare_job_overview_response.go
- model_show_increment_components_detail_request.go
- model_show_increment_components_detail_response.go
- model_show_instance_tags_request.go
- model_show_instance_tags_response.go
- model_show_job_detail_request.go
- model_show_job_detail_response.go
- model_show_metering_request.go
- model_show_metering_response.go
- model_show_monitor_data_request.go
- model_show_monitor_data_response.go
- model_show_object_mapping_request.go
- model_show_object_mapping_response.go
- model_show_position_result_request.go
- model_show_position_result_response.go
- model_show_progress_data_request.go
- model_show_progress_data_response.go
- model_show_replay_results_request.go
- model_show_replay_results_response.go
- model_show_replication_job_request.go
- model_show_replication_job_response.go
- model_show_support_object_type_request.go
- model_show_support_object_type_response.go
- model_show_update_object_saving_status_request.go
- model_show_update_object_saving_status_response.go
- model_single_create_job_req.go
- model_single_update_job_req.go
- model_skip_pre_check_info.go
- model_speed_limit_info.go
- model_stop_job_action_info.go
- model_stop_job_action_req.go
- model_stop_job_action_request.go
- model_stop_job_action_response.go
- model_support_import_file_result.go
- model_sync_jdbc_driver_request.go
- model_sync_jdbc_driver_response.go
- model_sync_user_jdbc_driver_request.go
- model_sync_user_jdbc_driver_response.go
- model_table_line_compare_detail_info.go
- model_table_object.go
- model_tag.go
- model_tag_match.go
- model_target_root_db.go
- model_task_log_info.go
- model_to_period_req.go
- model_tuning_param_info.go
- model_tuning_parameter.go
- model_update_batch_async_jobs_request.go
- model_update_batch_async_jobs_response.go
- model_update_compare_policy_request.go
- model_update_compare_policy_response.go
- model_update_connection_req.go
- model_update_data_progress_request.go
- model_update_data_progress_response.go
- model_update_driver_req.go
- model_update_job.go
- model_update_job_configurations_request.go
- model_update_job_configurations_response.go
- model_update_job_req.go
- model_update_job_request.go
- model_update_job_response.go
- model_update_replication_job_request.go
- model_update_replication_job_response.go
- model_update_start_position_request.go
- model_update_start_position_response.go
- model_update_user_driver_req.go
- model_upload_db_object_template_request.go
- model_upload_db_object_template_request_body.go
- model_upload_db_object_template_response.go
- model_upload_jdbc_driver_request.go
- model_upload_jdbc_driver_request_body.go
- model_upload_jdbc_driver_response.go
- model_upload_user_jdbc_driver_request.go
- model_upload_user_jdbc_driver_request_body.go
- model_upload_user_jdbc_driver_response.go
- model_user_migration_info.go
- model_user_migration_list.go
- model_user_migration_role.go
- model_validate_job_name_request.go
- model_validate_job_name_response.go