v5

package
v0.1.53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrsClientBuilder

func DrsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForBatchCreateJobsAsync

func GenReqDefForBatchCreateJobsAsync() *def.HttpRequestDef

func GenReqDefForBatchDeleteJobsById

func GenReqDefForBatchDeleteJobsById() *def.HttpRequestDef

func GenReqDefForBatchExecuteJobActions

func GenReqDefForBatchExecuteJobActions() *def.HttpRequestDef

func GenReqDefForCollectDbObjectsAsync added in v0.1.21

func GenReqDefForCollectDbObjectsAsync() *def.HttpRequestDef

func GenReqDefForCommitAsyncJob

func GenReqDefForCommitAsyncJob() *def.HttpRequestDef

func GenReqDefForCopyJob added in v0.1.49

func GenReqDefForCopyJob() *def.HttpRequestDef

func GenReqDefForCreateJob

func GenReqDefForCreateJob() *def.HttpRequestDef

func GenReqDefForDeleteJob

func GenReqDefForDeleteJob() *def.HttpRequestDef

func GenReqDefForDownloadBatchCreateTemplate added in v0.1.49

func GenReqDefForDownloadBatchCreateTemplate() *def.HttpRequestDef

func GenReqDefForDownloadDbObjectTemplate

func GenReqDefForDownloadDbObjectTemplate() *def.HttpRequestDef

func GenReqDefForExecuteJobAction

func GenReqDefForExecuteJobAction() *def.HttpRequestDef

func GenReqDefForImportBatchCreateJobs added in v0.1.49

func GenReqDefForImportBatchCreateJobs() *def.HttpRequestDef

func GenReqDefForListAsyncJobDetail

func GenReqDefForListAsyncJobDetail() *def.HttpRequestDef

func GenReqDefForListAsyncJobs

func GenReqDefForListAsyncJobs() *def.HttpRequestDef

func GenReqDefForListDbObjects

func GenReqDefForListDbObjects() *def.HttpRequestDef

func GenReqDefForListJobs

func GenReqDefForListJobs() *def.HttpRequestDef
func GenReqDefForListLinks() *def.HttpRequestDef

func GenReqDefForShowActions added in v0.1.49

func GenReqDefForShowActions() *def.HttpRequestDef

func GenReqDefForShowComparePolicy added in v0.1.49

func GenReqDefForShowComparePolicy() *def.HttpRequestDef

func GenReqDefForShowDbObjectCollectionStatus added in v0.1.21

func GenReqDefForShowDbObjectCollectionStatus() *def.HttpRequestDef

func GenReqDefForShowDbObjectTemplateProgress

func GenReqDefForShowDbObjectTemplateProgress() *def.HttpRequestDef

func GenReqDefForShowDbObjectTemplateResult

func GenReqDefForShowDbObjectTemplateResult() *def.HttpRequestDef

func GenReqDefForShowDirtyData added in v0.1.49

func GenReqDefForShowDirtyData() *def.HttpRequestDef

func GenReqDefForShowEnterpriseProject added in v0.1.49

func GenReqDefForShowEnterpriseProject() *def.HttpRequestDef

func GenReqDefForShowHealthCompareJobList added in v0.1.49

func GenReqDefForShowHealthCompareJobList() *def.HttpRequestDef

func GenReqDefForShowJobDetail

func GenReqDefForShowJobDetail() *def.HttpRequestDef

func GenReqDefForShowMetering added in v0.1.49

func GenReqDefForShowMetering() *def.HttpRequestDef

func GenReqDefForShowObjectMapping added in v0.1.49

func GenReqDefForShowObjectMapping() *def.HttpRequestDef

func GenReqDefForShowProgressData added in v0.1.49

func GenReqDefForShowProgressData() *def.HttpRequestDef

func GenReqDefForShowUpdateObjectSavingStatus added in v0.1.21

func GenReqDefForShowUpdateObjectSavingStatus() *def.HttpRequestDef

func GenReqDefForUpdateBatchAsyncJobs

func GenReqDefForUpdateBatchAsyncJobs() *def.HttpRequestDef

func GenReqDefForUpdateJob

func GenReqDefForUpdateJob() *def.HttpRequestDef

func GenReqDefForUploadDbObjectTemplate

func GenReqDefForUploadDbObjectTemplate() *def.HttpRequestDef

func GenReqDefForValidateJobName added in v0.1.49

func GenReqDefForValidateJobName() *def.HttpRequestDef

Types

type BatchCreateJobsAsyncInvoker

type BatchCreateJobsAsyncInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateJobsAsyncInvoker) Invoke

type BatchDeleteJobsByIdInvoker

type BatchDeleteJobsByIdInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteJobsByIdInvoker) Invoke

type BatchExecuteJobActionsInvoker

type BatchExecuteJobActionsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchExecuteJobActionsInvoker) Invoke

type CollectDbObjectsAsyncInvoker added in v0.1.21

type CollectDbObjectsAsyncInvoker struct {
	*invoker.BaseInvoker
}

func (*CollectDbObjectsAsyncInvoker) Invoke added in v0.1.21

type CommitAsyncJobInvoker

type CommitAsyncJobInvoker struct {
	*invoker.BaseInvoker
}

func (*CommitAsyncJobInvoker) Invoke

type CopyJobInvoker added in v0.1.49

type CopyJobInvoker struct {
	*invoker.BaseInvoker
}

func (*CopyJobInvoker) Invoke added in v0.1.49

func (i *CopyJobInvoker) Invoke() (*model.CopyJobResponse, error)

type CreateJobInvoker

type CreateJobInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateJobInvoker) Invoke

type DeleteJobInvoker

type DeleteJobInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteJobInvoker) Invoke

type DownloadBatchCreateTemplateInvoker added in v0.1.49

type DownloadBatchCreateTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*DownloadBatchCreateTemplateInvoker) Invoke added in v0.1.49

type DownloadDbObjectTemplateInvoker

type DownloadDbObjectTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*DownloadDbObjectTemplateInvoker) Invoke

type DrsClient

type DrsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewDrsClient

func NewDrsClient(hcClient *http_client.HcHttpClient) *DrsClient

func (*DrsClient) BatchCreateJobsAsync

BatchCreateJobsAsync 批量异步创建任务

批量异步创建任务,根据请求参数不同,可以批量异步创建实时迁移、实时同步、实时灾备等任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchCreateJobsAsyncInvoker

func (c *DrsClient) BatchCreateJobsAsyncInvoker(request *model.BatchCreateJobsAsyncRequest) *BatchCreateJobsAsyncInvoker

BatchCreateJobsAsyncInvoker 批量异步创建任务

func (*DrsClient) BatchDeleteJobsById

BatchDeleteJobsById 批量删除任务

批量删除租户指定ID任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchDeleteJobsByIdInvoker

func (c *DrsClient) BatchDeleteJobsByIdInvoker(request *model.BatchDeleteJobsByIdRequest) *BatchDeleteJobsByIdInvoker

BatchDeleteJobsByIdInvoker 批量删除任务

func (*DrsClient) BatchExecuteJobActions

BatchExecuteJobActions 批量操作指定ID任务

批量操作租户指定ID任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchExecuteJobActionsInvoker

func (c *DrsClient) BatchExecuteJobActionsInvoker(request *model.BatchExecuteJobActionsRequest) *BatchExecuteJobActionsInvoker

BatchExecuteJobActionsInvoker 批量操作指定ID任务

func (*DrsClient) CollectDbObjectsAsync added in v0.1.21

CollectDbObjectsAsync 提交查询数据库对象信息

提交查询数据库对象信息。例如: - 当type取值为source时,表示查询源库库表信息。 - 当源库库表信息有变化时,则type取值为source,is_refresh取值为true。 - 当已同步到目标库的库表信息过大,需要提前将数据加载到缓存中时,type取值为synchronized。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) CollectDbObjectsAsyncInvoker added in v0.1.21

func (c *DrsClient) CollectDbObjectsAsyncInvoker(request *model.CollectDbObjectsAsyncRequest) *CollectDbObjectsAsyncInvoker

CollectDbObjectsAsyncInvoker 提交查询数据库对象信息

func (*DrsClient) CommitAsyncJob

func (c *DrsClient) CommitAsyncJob(request *model.CommitAsyncJobRequest) (*model.CommitAsyncJobResponse, error)

CommitAsyncJob 提交批量创建异步任务

提交批量创建异步任务,当批量异步任务创建或更新参数后,系统会自动开始进行参数校验,待所有任务成功完成参数校验后并且无报错时,可调用此接口开始创建DRS任务实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) CommitAsyncJobInvoker

func (c *DrsClient) CommitAsyncJobInvoker(request *model.CommitAsyncJobRequest) *CommitAsyncJobInvoker

CommitAsyncJobInvoker 提交批量创建异步任务

func (*DrsClient) CopyJob added in v0.1.49

func (c *DrsClient) CopyJob(request *model.CopyJobRequest) (*model.CopyJobResponse, error)

CopyJob 克隆任务

DRS支持通过克隆功能,快速复制现有同步任务的配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) CopyJobInvoker added in v0.1.49

func (c *DrsClient) CopyJobInvoker(request *model.CopyJobRequest) *CopyJobInvoker

CopyJobInvoker 克隆任务

func (*DrsClient) CreateJob

func (c *DrsClient) CreateJob(request *model.CreateJobRequest) (*model.CreateJobResponse, error)

CreateJob 创建任务

创建单个任务,根据请求参数不同,可以创建单个实时迁移、实时同步、实时灾备等任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) CreateJobInvoker

func (c *DrsClient) CreateJobInvoker(request *model.CreateJobRequest) *CreateJobInvoker

CreateJobInvoker 创建任务

func (*DrsClient) DeleteJob

func (c *DrsClient) DeleteJob(request *model.DeleteJobRequest) (*model.DeleteJobResponse, error)

DeleteJob 删除指定ID任务

删除租户指定ID任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) DeleteJobInvoker

func (c *DrsClient) DeleteJobInvoker(request *model.DeleteJobRequest) *DeleteJobInvoker

DeleteJobInvoker 删除指定ID任务

func (*DrsClient) DownloadBatchCreateTemplate added in v0.1.49

DownloadBatchCreateTemplate 下载批量导入任务模板

下载批量导入任务模板

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) DownloadBatchCreateTemplateInvoker added in v0.1.49

func (c *DrsClient) DownloadBatchCreateTemplateInvoker(request *model.DownloadBatchCreateTemplateRequest) *DownloadBatchCreateTemplateInvoker

DownloadBatchCreateTemplateInvoker 下载批量导入任务模板

func (*DrsClient) DownloadDbObjectTemplate

DownloadDbObjectTemplate 对象选择(文件导入 - 模板下载)

对象选择(文件导入 - 模板下载)。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) DownloadDbObjectTemplateInvoker

func (c *DrsClient) DownloadDbObjectTemplateInvoker(request *model.DownloadDbObjectTemplateRequest) *DownloadDbObjectTemplateInvoker

DownloadDbObjectTemplateInvoker 对象选择(文件导入 - 模板下载)

func (*DrsClient) ExecuteJobAction

func (c *DrsClient) ExecuteJobAction(request *model.ExecuteJobActionRequest) (*model.ExecuteJobActionResponse, error)

ExecuteJobAction 操作指定ID任务

操作租户指定ID任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ExecuteJobActionInvoker

func (c *DrsClient) ExecuteJobActionInvoker(request *model.ExecuteJobActionRequest) *ExecuteJobActionInvoker

ExecuteJobActionInvoker 操作指定ID任务

func (*DrsClient) ImportBatchCreateJobs added in v0.1.49

ImportBatchCreateJobs 批量导入任务

批量导入任务

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ImportBatchCreateJobsInvoker added in v0.1.49

func (c *DrsClient) ImportBatchCreateJobsInvoker(request *model.ImportBatchCreateJobsRequest) *ImportBatchCreateJobsInvoker

ImportBatchCreateJobsInvoker 批量导入任务

func (*DrsClient) ListAsyncJobDetail

func (c *DrsClient) ListAsyncJobDetail(request *model.ListAsyncJobDetailRequest) (*model.ListAsyncJobDetailResponse, error)

ListAsyncJobDetail 查询指定ID批量异步任务详情

查询租户指定ID批量异步任务详情,默认为任务的“create_time”降序排序获取结果,支持分页查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListAsyncJobDetailInvoker

func (c *DrsClient) ListAsyncJobDetailInvoker(request *model.ListAsyncJobDetailRequest) *ListAsyncJobDetailInvoker

ListAsyncJobDetailInvoker 查询指定ID批量异步任务详情

func (*DrsClient) ListAsyncJobs

func (c *DrsClient) ListAsyncJobs(request *model.ListAsyncJobsRequest) (*model.ListAsyncJobsResponse, error)

ListAsyncJobs 查询批量异步创建的任务列表

查询租户批量异步创建的任务列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListAsyncJobsInvoker

func (c *DrsClient) ListAsyncJobsInvoker(request *model.ListAsyncJobsRequest) *ListAsyncJobsInvoker

ListAsyncJobsInvoker 查询批量异步创建的任务列表

func (*DrsClient) ListDbObjects

func (c *DrsClient) ListDbObjects(request *model.ListDbObjectsRequest) (*model.ListDbObjectsResponse, error)

ListDbObjects 查询数据库对象信息

查询数据库对象信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListDbObjectsInvoker

func (c *DrsClient) ListDbObjectsInvoker(request *model.ListDbObjectsRequest) *ListDbObjectsInvoker

ListDbObjectsInvoker 查询数据库对象信息

func (*DrsClient) ListJobs

func (c *DrsClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)

ListJobs 查询任务列表

查询租户任务列表,可以根据企业项目,引擎类型,网络类型,任务状态,任务名称,任务ID进行查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListJobsInvoker

func (c *DrsClient) ListJobsInvoker(request *model.ListJobsRequest) *ListJobsInvoker

ListJobsInvoker 查询任务列表

func (c *DrsClient) ListLinks(request *model.ListLinksRequest) (*model.ListLinksResponse, error)

ListLinks 查询可用链路信息

根据参数不同,可查询实时迁移、实时同步、实时灾备等可用链路信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListLinksInvoker

func (c *DrsClient) ListLinksInvoker(request *model.ListLinksRequest) *ListLinksInvoker

ListLinksInvoker 查询可用链路信息

func (*DrsClient) ShowActions added in v0.1.49

func (c *DrsClient) ShowActions(request *model.ShowActionsRequest) (*model.ShowActionsResponse, error)

ShowActions 获取指定任务操作信息

获取指定任务允许、不允许、当前操作信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowActionsInvoker added in v0.1.49

func (c *DrsClient) ShowActionsInvoker(request *model.ShowActionsRequest) *ShowActionsInvoker

ShowActionsInvoker 获取指定任务操作信息

func (*DrsClient) ShowComparePolicy added in v0.1.49

func (c *DrsClient) ShowComparePolicy(request *model.ShowComparePolicyRequest) (*model.ShowComparePolicyResponse, error)

ShowComparePolicy 查询对比策略

查询对比策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowComparePolicyInvoker added in v0.1.49

func (c *DrsClient) ShowComparePolicyInvoker(request *model.ShowComparePolicyRequest) *ShowComparePolicyInvoker

ShowComparePolicyInvoker 查询对比策略

func (*DrsClient) ShowDbObjectCollectionStatus added in v0.1.21

ShowDbObjectCollectionStatus 获取提交查询数据库对象信息的结果

获取提交查询数据库对象信息的结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowDbObjectCollectionStatusInvoker added in v0.1.21

func (c *DrsClient) ShowDbObjectCollectionStatusInvoker(request *model.ShowDbObjectCollectionStatusRequest) *ShowDbObjectCollectionStatusInvoker

ShowDbObjectCollectionStatusInvoker 获取提交查询数据库对象信息的结果

func (*DrsClient) ShowDbObjectTemplateProgress

ShowDbObjectTemplateProgress 对象选择(文件导入 - 进度查询)

对象选择(文件导入 - 进度查询)。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowDbObjectTemplateProgressInvoker

func (c *DrsClient) ShowDbObjectTemplateProgressInvoker(request *model.ShowDbObjectTemplateProgressRequest) *ShowDbObjectTemplateProgressInvoker

ShowDbObjectTemplateProgressInvoker 对象选择(文件导入 - 进度查询)

func (*DrsClient) ShowDbObjectTemplateResult

ShowDbObjectTemplateResult 对象选择(文件导入 - 获取导入结果)

对象选择(文件导入 - 获取导入结果)。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowDbObjectTemplateResultInvoker

func (c *DrsClient) ShowDbObjectTemplateResultInvoker(request *model.ShowDbObjectTemplateResultRequest) *ShowDbObjectTemplateResultInvoker

ShowDbObjectTemplateResultInvoker 对象选择(文件导入 - 获取导入结果)

func (*DrsClient) ShowDirtyData added in v0.1.49

func (c *DrsClient) ShowDirtyData(request *model.ShowDirtyDataRequest) (*model.ShowDirtyDataResponse, error)

ShowDirtyData 查询异常数据列表

查询异常数据列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowDirtyDataInvoker added in v0.1.49

func (c *DrsClient) ShowDirtyDataInvoker(request *model.ShowDirtyDataRequest) *ShowDirtyDataInvoker

ShowDirtyDataInvoker 查询异常数据列表

func (*DrsClient) ShowEnterpriseProject added in v0.1.49

ShowEnterpriseProject 查询企业项目列表

查询企业项目列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowEnterpriseProjectInvoker added in v0.1.49

func (c *DrsClient) ShowEnterpriseProjectInvoker(request *model.ShowEnterpriseProjectRequest) *ShowEnterpriseProjectInvoker

ShowEnterpriseProjectInvoker 查询企业项目列表

func (*DrsClient) ShowHealthCompareJobList added in v0.1.49

ShowHealthCompareJobList 查询健康对比列表

查询健康对比列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowHealthCompareJobListInvoker added in v0.1.49

func (c *DrsClient) ShowHealthCompareJobListInvoker(request *model.ShowHealthCompareJobListRequest) *ShowHealthCompareJobListInvoker

ShowHealthCompareJobListInvoker 查询健康对比列表

func (*DrsClient) ShowJobDetail

func (c *DrsClient) ShowJobDetail(request *model.ShowJobDetailRequest) (*model.ShowJobDetailResponse, error)

ShowJobDetail 查询任务详情

查询任务详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowJobDetailInvoker

func (c *DrsClient) ShowJobDetailInvoker(request *model.ShowJobDetailRequest) *ShowJobDetailInvoker

ShowJobDetailInvoker 查询任务详情

func (*DrsClient) ShowMetering added in v0.1.49

func (c *DrsClient) ShowMetering(request *model.ShowMeteringRequest) (*model.ShowMeteringResponse, error)

ShowMetering 获取任务价格信息

获取询价接口的参数。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowMeteringInvoker added in v0.1.49

func (c *DrsClient) ShowMeteringInvoker(request *model.ShowMeteringRequest) *ShowMeteringInvoker

ShowMeteringInvoker 获取任务价格信息

func (*DrsClient) ShowObjectMapping added in v0.1.49

func (c *DrsClient) ShowObjectMapping(request *model.ShowObjectMappingRequest) (*model.ShowObjectMappingResponse, error)

ShowObjectMapping 查询同步映射列表

查询实时同步映射关系包括对象选择时的库映射、schema映射、表映射和数据加工时的列映射。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowObjectMappingInvoker added in v0.1.49

func (c *DrsClient) ShowObjectMappingInvoker(request *model.ShowObjectMappingRequest) *ShowObjectMappingInvoker

ShowObjectMappingInvoker 查询同步映射列表

func (*DrsClient) ShowProgressData added in v0.1.49

func (c *DrsClient) ShowProgressData(request *model.ShowProgressDataRequest) (*model.ShowProgressDataResponse, error)

ShowProgressData 查询数据级流式对比列表

查询不同迁移对象类型的迁移进度。 说明: - 目前仅MySQL->MySQL、MySQL->GaussDB(for MySQL)、MongoDB->DDS、DDS->MongoDB的迁移支持查看迁移明细。 - 在任务未结束前,不能修改源库和目标库的所有用户、密码和用户权限等。 - 全量、增量完成不代表任务结束,如果存在触发器和事件将会进行迁移。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowProgressDataInvoker added in v0.1.49

func (c *DrsClient) ShowProgressDataInvoker(request *model.ShowProgressDataRequest) *ShowProgressDataInvoker

ShowProgressDataInvoker 查询数据级流式对比列表

func (*DrsClient) ShowUpdateObjectSavingStatus added in v0.1.21

ShowUpdateObjectSavingStatus 获取对象保存进度

获取对象保存进度。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowUpdateObjectSavingStatusInvoker added in v0.1.21

func (c *DrsClient) ShowUpdateObjectSavingStatusInvoker(request *model.ShowUpdateObjectSavingStatusRequest) *ShowUpdateObjectSavingStatusInvoker

ShowUpdateObjectSavingStatusInvoker 获取对象保存进度

func (*DrsClient) UpdateBatchAsyncJobs

UpdateBatchAsyncJobs 更新指定ID批量异步任务详情

更新租户指定ID批量异步任务详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) UpdateBatchAsyncJobsInvoker

func (c *DrsClient) UpdateBatchAsyncJobsInvoker(request *model.UpdateBatchAsyncJobsRequest) *UpdateBatchAsyncJobsInvoker

UpdateBatchAsyncJobsInvoker 更新指定ID批量异步任务详情

func (*DrsClient) UpdateJob

func (c *DrsClient) UpdateJob(request *model.UpdateJobRequest) (*model.UpdateJobResponse, error)

UpdateJob 更新指定ID任务详情

更新租户指定ID任务详情。 当type取值为db_object, 进行异步处理。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) UpdateJobInvoker

func (c *DrsClient) UpdateJobInvoker(request *model.UpdateJobRequest) *UpdateJobInvoker

UpdateJobInvoker 更新指定ID任务详情

func (*DrsClient) UploadDbObjectTemplate

UploadDbObjectTemplate 对象选择(文件导入 - 模板上传)

对象选择(文件导入 - 模板上传)。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) UploadDbObjectTemplateInvoker

func (c *DrsClient) UploadDbObjectTemplateInvoker(request *model.UploadDbObjectTemplateRequest) *UploadDbObjectTemplateInvoker

UploadDbObjectTemplateInvoker 对象选择(文件导入 - 模板上传)

func (*DrsClient) ValidateJobName added in v0.1.49

func (c *DrsClient) ValidateJobName(request *model.ValidateJobNameRequest) (*model.ValidateJobNameResponse, error)

ValidateJobName 任务名称校验

创建任务时对任务名称进行校验。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ValidateJobNameInvoker added in v0.1.49

func (c *DrsClient) ValidateJobNameInvoker(request *model.ValidateJobNameRequest) *ValidateJobNameInvoker

ValidateJobNameInvoker 任务名称校验

type ExecuteJobActionInvoker

type ExecuteJobActionInvoker struct {
	*invoker.BaseInvoker
}

func (*ExecuteJobActionInvoker) Invoke

type ImportBatchCreateJobsInvoker added in v0.1.49

type ImportBatchCreateJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ImportBatchCreateJobsInvoker) Invoke added in v0.1.49

type ListAsyncJobDetailInvoker

type ListAsyncJobDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAsyncJobDetailInvoker) Invoke

type ListAsyncJobsInvoker

type ListAsyncJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAsyncJobsInvoker) Invoke

type ListDbObjectsInvoker

type ListDbObjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDbObjectsInvoker) Invoke

type ListJobsInvoker

type ListJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListJobsInvoker) Invoke

func (i *ListJobsInvoker) Invoke() (*model.ListJobsResponse, error)

type ListLinksInvoker

type ListLinksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLinksInvoker) Invoke

type ShowActionsInvoker added in v0.1.49

type ShowActionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowActionsInvoker) Invoke added in v0.1.49

type ShowComparePolicyInvoker added in v0.1.49

type ShowComparePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowComparePolicyInvoker) Invoke added in v0.1.49

type ShowDbObjectCollectionStatusInvoker added in v0.1.21

type ShowDbObjectCollectionStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDbObjectCollectionStatusInvoker) Invoke added in v0.1.21

type ShowDbObjectTemplateProgressInvoker

type ShowDbObjectTemplateProgressInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDbObjectTemplateProgressInvoker) Invoke

type ShowDbObjectTemplateResultInvoker

type ShowDbObjectTemplateResultInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDbObjectTemplateResultInvoker) Invoke

type ShowDirtyDataInvoker added in v0.1.49

type ShowDirtyDataInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDirtyDataInvoker) Invoke added in v0.1.49

type ShowEnterpriseProjectInvoker added in v0.1.49

type ShowEnterpriseProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowEnterpriseProjectInvoker) Invoke added in v0.1.49

type ShowHealthCompareJobListInvoker added in v0.1.49

type ShowHealthCompareJobListInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowHealthCompareJobListInvoker) Invoke added in v0.1.49

type ShowJobDetailInvoker

type ShowJobDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobDetailInvoker) Invoke

type ShowMeteringInvoker added in v0.1.49

type ShowMeteringInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMeteringInvoker) Invoke added in v0.1.49

type ShowObjectMappingInvoker added in v0.1.49

type ShowObjectMappingInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowObjectMappingInvoker) Invoke added in v0.1.49

type ShowProgressDataInvoker added in v0.1.49

type ShowProgressDataInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowProgressDataInvoker) Invoke added in v0.1.49

type ShowUpdateObjectSavingStatusInvoker added in v0.1.21

type ShowUpdateObjectSavingStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowUpdateObjectSavingStatusInvoker) Invoke added in v0.1.21

type UpdateBatchAsyncJobsInvoker

type UpdateBatchAsyncJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateBatchAsyncJobsInvoker) Invoke

type UpdateJobInvoker

type UpdateJobInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateJobInvoker) Invoke

type UploadDbObjectTemplateInvoker

type UploadDbObjectTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*UploadDbObjectTemplateInvoker) Invoke

type ValidateJobNameInvoker added in v0.1.49

type ValidateJobNameInvoker struct {
	*invoker.BaseInvoker
}

func (*ValidateJobNameInvoker) Invoke added in v0.1.49

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL