v3

package
v0.1.90 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 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() *httpclient.HcHttpClientBuilder

func GenReqDefForBatchChangeData

func GenReqDefForBatchChangeData() *def.HttpRequestDef

func GenReqDefForBatchCheckJobs

func GenReqDefForBatchCheckJobs() *def.HttpRequestDef

func GenReqDefForBatchCheckResults

func GenReqDefForBatchCheckResults() *def.HttpRequestDef

func GenReqDefForBatchCreateJobs

func GenReqDefForBatchCreateJobs() *def.HttpRequestDef

func GenReqDefForBatchDeleteJobs

func GenReqDefForBatchDeleteJobs() *def.HttpRequestDef

func GenReqDefForBatchListJobDetails

func GenReqDefForBatchListJobDetails() *def.HttpRequestDef

func GenReqDefForBatchListJobStatus

func GenReqDefForBatchListJobStatus() *def.HttpRequestDef

func GenReqDefForBatchListProgresses

func GenReqDefForBatchListProgresses() *def.HttpRequestDef

func GenReqDefForBatchListRposAndRtos

func GenReqDefForBatchListRposAndRtos() *def.HttpRequestDef

func GenReqDefForBatchListStructDetail

func GenReqDefForBatchListStructDetail() *def.HttpRequestDef

func GenReqDefForBatchListStructProcess

func GenReqDefForBatchListStructProcess() *def.HttpRequestDef

func GenReqDefForBatchResetPassword

func GenReqDefForBatchResetPassword() *def.HttpRequestDef

func GenReqDefForBatchRestoreTask

func GenReqDefForBatchRestoreTask() *def.HttpRequestDef

func GenReqDefForBatchSetDefiner

func GenReqDefForBatchSetDefiner() *def.HttpRequestDef

func GenReqDefForBatchSetObjects

func GenReqDefForBatchSetObjects() *def.HttpRequestDef

func GenReqDefForBatchSetPolicy added in v0.0.63

func GenReqDefForBatchSetPolicy() *def.HttpRequestDef

func GenReqDefForBatchSetSmn added in v0.0.84

func GenReqDefForBatchSetSmn() *def.HttpRequestDef

func GenReqDefForBatchSetSpeed

func GenReqDefForBatchSetSpeed() *def.HttpRequestDef

func GenReqDefForBatchShowParams

func GenReqDefForBatchShowParams() *def.HttpRequestDef

func GenReqDefForBatchStartJobs

func GenReqDefForBatchStartJobs() *def.HttpRequestDef

func GenReqDefForBatchStopJobs

func GenReqDefForBatchStopJobs() *def.HttpRequestDef

func GenReqDefForBatchSwitchover

func GenReqDefForBatchSwitchover() *def.HttpRequestDef

func GenReqDefForBatchUpdateJob

func GenReqDefForBatchUpdateJob() *def.HttpRequestDef

func GenReqDefForBatchUpdateUser

func GenReqDefForBatchUpdateUser() *def.HttpRequestDef

func GenReqDefForBatchValidateClustersConnections

func GenReqDefForBatchValidateClustersConnections() *def.HttpRequestDef

func GenReqDefForBatchValidateConnections

func GenReqDefForBatchValidateConnections() *def.HttpRequestDef

func GenReqDefForCreateCompareTask

func GenReqDefForCreateCompareTask() *def.HttpRequestDef

func GenReqDefForListAvailableNodeTypes added in v0.1.86

func GenReqDefForListAvailableNodeTypes() *def.HttpRequestDef

func GenReqDefForListAvailableZone added in v0.0.94

func GenReqDefForListAvailableZone() *def.HttpRequestDef

func GenReqDefForListCompareResult

func GenReqDefForListCompareResult() *def.HttpRequestDef

func GenReqDefForListUsers

func GenReqDefForListUsers() *def.HttpRequestDef

func GenReqDefForShowJobList

func GenReqDefForShowJobList() *def.HttpRequestDef

func GenReqDefForShowMonitoringData

func GenReqDefForShowMonitoringData() *def.HttpRequestDef

func GenReqDefForShowQuotas

func GenReqDefForShowQuotas() *def.HttpRequestDef

func GenReqDefForUpdateParams

func GenReqDefForUpdateParams() *def.HttpRequestDef

func GenReqDefForUpdateTuningParams added in v0.0.94

func GenReqDefForUpdateTuningParams() *def.HttpRequestDef

Types

type BatchChangeDataInvoker added in v0.0.90

type BatchChangeDataInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchChangeDataInvoker) Invoke added in v0.0.90

type BatchCheckJobsInvoker added in v0.0.90

type BatchCheckJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCheckJobsInvoker) Invoke added in v0.0.90

type BatchCheckResultsInvoker added in v0.0.90

type BatchCheckResultsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCheckResultsInvoker) Invoke added in v0.0.90

type BatchCreateJobsInvoker added in v0.0.90

type BatchCreateJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateJobsInvoker) Invoke added in v0.0.90

type BatchDeleteJobsInvoker added in v0.0.90

type BatchDeleteJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteJobsInvoker) Invoke added in v0.0.90

type BatchListJobDetailsInvoker added in v0.0.90

type BatchListJobDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchListJobDetailsInvoker) Invoke added in v0.0.90

type BatchListJobStatusInvoker added in v0.0.90

type BatchListJobStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchListJobStatusInvoker) Invoke added in v0.0.90

type BatchListProgressesInvoker added in v0.0.90

type BatchListProgressesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchListProgressesInvoker) Invoke added in v0.0.90

type BatchListRposAndRtosInvoker added in v0.0.90

type BatchListRposAndRtosInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchListRposAndRtosInvoker) Invoke added in v0.0.90

type BatchListStructDetailInvoker added in v0.0.90

type BatchListStructDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchListStructDetailInvoker) Invoke added in v0.0.90

type BatchListStructProcessInvoker added in v0.0.90

type BatchListStructProcessInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchListStructProcessInvoker) Invoke added in v0.0.90

type BatchResetPasswordInvoker added in v0.0.90

type BatchResetPasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchResetPasswordInvoker) Invoke added in v0.0.90

type BatchRestoreTaskInvoker added in v0.0.90

type BatchRestoreTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchRestoreTaskInvoker) Invoke added in v0.0.90

type BatchSetDefinerInvoker added in v0.0.90

type BatchSetDefinerInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchSetDefinerInvoker) Invoke added in v0.0.90

type BatchSetObjectsInvoker added in v0.0.90

type BatchSetObjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchSetObjectsInvoker) Invoke added in v0.0.90

type BatchSetPolicyInvoker added in v0.0.90

type BatchSetPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchSetPolicyInvoker) Invoke added in v0.0.90

type BatchSetSmnInvoker added in v0.0.90

type BatchSetSmnInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchSetSmnInvoker) Invoke added in v0.0.90

type BatchSetSpeedInvoker added in v0.0.90

type BatchSetSpeedInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchSetSpeedInvoker) Invoke added in v0.0.90

type BatchShowParamsInvoker added in v0.0.90

type BatchShowParamsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchShowParamsInvoker) Invoke added in v0.0.90

type BatchStartJobsInvoker added in v0.0.90

type BatchStartJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchStartJobsInvoker) Invoke added in v0.0.90

type BatchStopJobsInvoker added in v0.0.90

type BatchStopJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchStopJobsInvoker) Invoke added in v0.0.90

type BatchSwitchoverInvoker added in v0.0.90

type BatchSwitchoverInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchSwitchoverInvoker) Invoke added in v0.0.90

type BatchUpdateJobInvoker added in v0.0.90

type BatchUpdateJobInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchUpdateJobInvoker) Invoke added in v0.0.90

type BatchUpdateUserInvoker added in v0.0.90

type BatchUpdateUserInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchUpdateUserInvoker) Invoke added in v0.0.90

type BatchValidateClustersConnectionsInvoker added in v0.0.90

type BatchValidateClustersConnectionsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchValidateClustersConnectionsInvoker) Invoke added in v0.0.90

type BatchValidateConnectionsInvoker added in v0.0.90

type BatchValidateConnectionsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchValidateConnectionsInvoker) Invoke added in v0.0.90

type CreateCompareTaskInvoker added in v0.0.90

type CreateCompareTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateCompareTaskInvoker) Invoke added in v0.0.90

type DrsClient

type DrsClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewDrsClient

func NewDrsClient(hcClient *httpclient.HcHttpClient) *DrsClient

func (*DrsClient) BatchChangeData

func (c *DrsClient) BatchChangeData(request *model.BatchChangeDataRequest) (*model.BatchChangeDataResponse, error)

BatchChangeData 批量数据加工

数据复制服务支持对同步的对象进行加工,即可以为选择的对象添加规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchChangeDataInvoker added in v0.0.90

func (c *DrsClient) BatchChangeDataInvoker(request *model.BatchChangeDataRequest) *BatchChangeDataInvoker

BatchChangeDataInvoker 批量数据加工

func (*DrsClient) BatchCheckJobs

func (c *DrsClient) BatchCheckJobs(request *model.BatchCheckJobsRequest) (*model.BatchCheckJobsResponse, error)

BatchCheckJobs 批量预检查

批量预检查,校验是否可进行迁移。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchCheckJobsInvoker added in v0.0.90

func (c *DrsClient) BatchCheckJobsInvoker(request *model.BatchCheckJobsRequest) *BatchCheckJobsInvoker

BatchCheckJobsInvoker 批量预检查

func (*DrsClient) BatchCheckResults

func (c *DrsClient) BatchCheckResults(request *model.BatchCheckResultsRequest) (*model.BatchCheckResultsResponse, error)

BatchCheckResults 批量查询预检查结果

批量查询任务的预检查结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchCheckResultsInvoker added in v0.0.90

func (c *DrsClient) BatchCheckResultsInvoker(request *model.BatchCheckResultsRequest) *BatchCheckResultsInvoker

BatchCheckResultsInvoker 批量查询预检查结果

func (*DrsClient) BatchCreateJobs

func (c *DrsClient) BatchCreateJobs(request *model.BatchCreateJobsRequest) (*model.BatchCreateJobsResponse, error)

BatchCreateJobs 批量创建任务

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

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchCreateJobsInvoker added in v0.0.90

func (c *DrsClient) BatchCreateJobsInvoker(request *model.BatchCreateJobsRequest) *BatchCreateJobsInvoker

BatchCreateJobsInvoker 批量创建任务

func (*DrsClient) BatchDeleteJobs

func (c *DrsClient) BatchDeleteJobs(request *model.BatchDeleteJobsRequest) (*model.BatchDeleteJobsResponse, error)

BatchDeleteJobs 批量结束任务或删除任务

批量结束任务或删除实时迁移、实时同步、实时灾备任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchDeleteJobsInvoker added in v0.0.90

func (c *DrsClient) BatchDeleteJobsInvoker(request *model.BatchDeleteJobsRequest) *BatchDeleteJobsInvoker

BatchDeleteJobsInvoker 批量结束任务或删除任务

func (*DrsClient) BatchListJobDetails

BatchListJobDetails 批量查询任务详情

根据任务ID批量查询任务详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchListJobDetailsInvoker added in v0.0.90

func (c *DrsClient) BatchListJobDetailsInvoker(request *model.BatchListJobDetailsRequest) *BatchListJobDetailsInvoker

BatchListJobDetailsInvoker 批量查询任务详情

func (*DrsClient) BatchListJobStatus

func (c *DrsClient) BatchListJobStatus(request *model.BatchListJobStatusRequest) (*model.BatchListJobStatusResponse, error)

BatchListJobStatus 批量查询任务状态

根据任务ID批量查询任务状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchListJobStatusInvoker added in v0.0.90

func (c *DrsClient) BatchListJobStatusInvoker(request *model.BatchListJobStatusRequest) *BatchListJobStatusInvoker

BatchListJobStatusInvoker 批量查询任务状态

func (*DrsClient) BatchListProgresses

BatchListProgresses 批量查询任务进度

根据任务ID批量查询全量进度、增量时延信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchListProgressesInvoker added in v0.0.90

func (c *DrsClient) BatchListProgressesInvoker(request *model.BatchListProgressesRequest) *BatchListProgressesInvoker

BatchListProgressesInvoker 批量查询任务进度

func (*DrsClient) BatchListRposAndRtos

BatchListRposAndRtos 批量查询RPO和RTO

批量查询RPO和RTO。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchListRposAndRtosInvoker added in v0.0.90

func (c *DrsClient) BatchListRposAndRtosInvoker(request *model.BatchListRposAndRtosRequest) *BatchListRposAndRtosInvoker

BatchListRposAndRtosInvoker 批量查询RPO和RTO

func (*DrsClient) BatchListStructDetail

BatchListStructDetail 批量查询灾备初始化对象详情

根据任务ID批量查询灾备初始化对象详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchListStructDetailInvoker added in v0.0.90

func (c *DrsClient) BatchListStructDetailInvoker(request *model.BatchListStructDetailRequest) *BatchListStructDetailInvoker

BatchListStructDetailInvoker 批量查询灾备初始化对象详情

func (*DrsClient) BatchListStructProcess

BatchListStructProcess 批量查询灾备初始化进度

根据任务ID批量查询灾备初始化进度,虚拟id不支持查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchListStructProcessInvoker added in v0.0.90

func (c *DrsClient) BatchListStructProcessInvoker(request *model.BatchListStructProcessRequest) *BatchListStructProcessInvoker

BatchListStructProcessInvoker 批量查询灾备初始化进度

func (*DrsClient) BatchResetPassword

func (c *DrsClient) BatchResetPassword(request *model.BatchResetPasswordRequest) (*model.BatchResetPasswordResponse, error)

BatchResetPassword 批量修改源库/目标库密码

任务启动之后需要修改源库/目标库密码时调用此接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchResetPasswordInvoker added in v0.0.90

func (c *DrsClient) BatchResetPasswordInvoker(request *model.BatchResetPasswordRequest) *BatchResetPasswordInvoker

BatchResetPasswordInvoker 批量修改源库/目标库密码

func (*DrsClient) BatchRestoreTask

func (c *DrsClient) BatchRestoreTask(request *model.BatchRestoreTaskRequest) (*model.BatchRestoreTaskResponse, error)

BatchRestoreTask 批量续传/重试

在迁移过程中由于不确定因素导致迁移任务失败,可通过重试功能,重新提交迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchRestoreTaskInvoker added in v0.0.90

func (c *DrsClient) BatchRestoreTaskInvoker(request *model.BatchRestoreTaskRequest) *BatchRestoreTaskInvoker

BatchRestoreTaskInvoker 批量续传/重试

func (*DrsClient) BatchSetDefiner

func (c *DrsClient) BatchSetDefiner(request *model.BatchSetDefinerRequest) (*model.BatchSetDefinerResponse, error)

BatchSetDefiner 批量设置definer

批量设置Definer迁移是否迁移到到该用户下。 - 选择是:迁移后,所有源数据库对象的Definer都会迁移至该用户下,其他用户需要授权后才具有数据库对象权限。 - 选择否:迁移后,将保持源数据库对象Definer定义不变,选择此选项,需要配合下一步用户权限迁移功能,将源数据库的用户全部迁移,这样才能保持源数据库的权限体系完全不变。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchSetDefinerInvoker added in v0.0.90

func (c *DrsClient) BatchSetDefinerInvoker(request *model.BatchSetDefinerRequest) *BatchSetDefinerInvoker

BatchSetDefinerInvoker 批量设置definer

func (*DrsClient) BatchSetObjects

func (c *DrsClient) BatchSetObjects(request *model.BatchSetObjectsRequest) (*model.BatchSetObjectsResponse, error)

BatchSetObjects 批量数据库对象选择

迁移之前,选择需要迁移的数据库或者表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchSetObjectsInvoker added in v0.0.90

func (c *DrsClient) BatchSetObjectsInvoker(request *model.BatchSetObjectsRequest) *BatchSetObjectsInvoker

BatchSetObjectsInvoker 批量数据库对象选择

func (*DrsClient) BatchSetPolicy added in v0.0.63

func (c *DrsClient) BatchSetPolicy(request *model.BatchSetPolicyRequest) (*model.BatchSetPolicyResponse, error)

BatchSetPolicy 批量设置同步策略

- 批量设置同步策略,包括冲突策略、过滤DROP Datase、对象同步范围。 - 设置kafka同步策略

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchSetPolicyInvoker added in v0.0.90

func (c *DrsClient) BatchSetPolicyInvoker(request *model.BatchSetPolicyRequest) *BatchSetPolicyInvoker

BatchSetPolicyInvoker 批量设置同步策略

func (*DrsClient) BatchSetSmn added in v0.0.84

func (c *DrsClient) BatchSetSmn(request *model.BatchSetSmnRequest) (*model.BatchSetSmnResponse, error)

BatchSetSmn 批量配置异常通知

批量设置异常通知,已结束的任务不支持设置。 - 支持选择已有的SMN主题和手动输入手机号、邮箱两种方式,具体根据自己使用情况选择

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchSetSmnInvoker added in v0.0.90

func (c *DrsClient) BatchSetSmnInvoker(request *model.BatchSetSmnRequest) *BatchSetSmnInvoker

BatchSetSmnInvoker 批量配置异常通知

func (*DrsClient) BatchSetSpeed

func (c *DrsClient) BatchSetSpeed(request *model.BatchSetSpeedRequest) (*model.BatchSetSpeedResponse, error)

BatchSetSpeed 批量设置任务限速

批量设置任务限速,任务创建成功后默认不限速。 - 限速:自定义的最大迁移速度,迁移过程中的迁移速度将不会超过该速度。 - 不限速:对迁移速度不进行限制,通常会最大化使用源数据库的出口带宽。该流速模式同时会对源数据库造成读消耗,消耗取决于源数据库的出口带宽。比如:源数据库的出口带宽为100MB/s,假设高速模式使用了80%带宽,则迁移对源数据库将造成80MB/s的读操作IO消耗。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchSetSpeedInvoker added in v0.0.90

func (c *DrsClient) BatchSetSpeedInvoker(request *model.BatchSetSpeedRequest) *BatchSetSpeedInvoker

BatchSetSpeedInvoker 批量设置任务限速

func (*DrsClient) BatchShowParams

func (c *DrsClient) BatchShowParams(request *model.BatchShowParamsRequest) (*model.BatchShowParamsResponse, error)

BatchShowParams 批量获取数据库参数

在进行数据库迁移时,为了确保迁移成功后业务应用的使用不受影响,数据复制服务提供了参数对比功能帮助您进行源库和目标库参数一致性对比,此接口可以获取源库和目标库的数据库参数。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchShowParamsInvoker added in v0.0.90

func (c *DrsClient) BatchShowParamsInvoker(request *model.BatchShowParamsRequest) *BatchShowParamsInvoker

BatchShowParamsInvoker 批量获取数据库参数

func (*DrsClient) BatchStartJobs

func (c *DrsClient) BatchStartJobs(request *model.BatchStartJobsRequest) (*model.BatchStartJobsResponse, error)

BatchStartJobs 批量启动任务

批量启动实时迁移、同步、灾备任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchStartJobsInvoker added in v0.0.90

func (c *DrsClient) BatchStartJobsInvoker(request *model.BatchStartJobsRequest) *BatchStartJobsInvoker

BatchStartJobsInvoker 批量启动任务

func (*DrsClient) BatchStopJobs

func (c *DrsClient) BatchStopJobs(request *model.BatchStopJobsRequest) (*model.BatchStopJobsResponse, error)

BatchStopJobs 批量暂停任务

批量暂停任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchStopJobsInvoker added in v0.0.90

func (c *DrsClient) BatchStopJobsInvoker(request *model.BatchStopJobsRequest) *BatchStopJobsInvoker

BatchStopJobsInvoker 批量暂停任务

func (*DrsClient) BatchSwitchover

func (c *DrsClient) BatchSwitchover(request *model.BatchSwitchoverRequest) (*model.BatchSwitchoverResponse, error)

BatchSwitchover 批量主备倒换

批量主备倒换。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchSwitchoverInvoker added in v0.0.90

func (c *DrsClient) BatchSwitchoverInvoker(request *model.BatchSwitchoverRequest) *BatchSwitchoverInvoker

BatchSwitchoverInvoker 批量主备倒换

func (*DrsClient) BatchUpdateJob

func (c *DrsClient) BatchUpdateJob(request *model.BatchUpdateJobRequest) (*model.BatchUpdateJobResponse, error)

BatchUpdateJob 批量修改任务

批量修改任务名称或描述,设置异常通知信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchUpdateJobInvoker added in v0.0.90

func (c *DrsClient) BatchUpdateJobInvoker(request *model.BatchUpdateJobRequest) *BatchUpdateJobInvoker

BatchUpdateJobInvoker 批量修改任务

func (*DrsClient) BatchUpdateUser

func (c *DrsClient) BatchUpdateUser(request *model.BatchUpdateUserRequest) (*model.BatchUpdateUserResponse, error)

BatchUpdateUser 批量更新迁移用户信息

数据库的迁移过程中,迁移用户需要进行单独处理,该接口可以批量设置需要迁移的用户和角色。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchUpdateUserInvoker added in v0.0.90

func (c *DrsClient) BatchUpdateUserInvoker(request *model.BatchUpdateUserRequest) *BatchUpdateUserInvoker

BatchUpdateUserInvoker 批量更新迁移用户信息

func (*DrsClient) BatchValidateClustersConnections

BatchValidateClustersConnections 批量测试连接-集群模式

- 批量测试连接(集群模式)。 - 主备任务测试连接

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchValidateClustersConnectionsInvoker added in v0.0.90

func (c *DrsClient) BatchValidateClustersConnectionsInvoker(request *model.BatchValidateClustersConnectionsRequest) *BatchValidateClustersConnectionsInvoker

BatchValidateClustersConnectionsInvoker 批量测试连接-集群模式

func (*DrsClient) BatchValidateConnections

BatchValidateConnections 批量测试连接

批量测试连接。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) BatchValidateConnectionsInvoker added in v0.0.90

func (c *DrsClient) BatchValidateConnectionsInvoker(request *model.BatchValidateConnectionsRequest) *BatchValidateConnectionsInvoker

BatchValidateConnectionsInvoker 批量测试连接

func (*DrsClient) CreateCompareTask

func (c *DrsClient) CreateCompareTask(request *model.CreateCompareTaskRequest) (*model.CreateCompareTaskResponse, error)

CreateCompareTask 创建对比任务

创建对比任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) CreateCompareTaskInvoker added in v0.0.90

func (c *DrsClient) CreateCompareTaskInvoker(request *model.CreateCompareTaskRequest) *CreateCompareTaskInvoker

CreateCompareTaskInvoker 创建对比任务

func (*DrsClient) ListAvailableNodeTypes added in v0.1.86

ListAvailableNodeTypes 查询可用的Node规格

查询可用的Node规格

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListAvailableNodeTypesInvoker added in v0.1.86

func (c *DrsClient) ListAvailableNodeTypesInvoker(request *model.ListAvailableNodeTypesRequest) *ListAvailableNodeTypesInvoker

ListAvailableNodeTypesInvoker 查询可用的Node规格

func (*DrsClient) ListAvailableZone added in v0.0.94

func (c *DrsClient) ListAvailableZone(request *model.ListAvailableZoneRequest) (*model.ListAvailableZoneResponse, error)

ListAvailableZone 查询规格未售罄的可用区

查询规格未售罄的可用区

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListAvailableZoneInvoker added in v0.0.94

func (c *DrsClient) ListAvailableZoneInvoker(request *model.ListAvailableZoneRequest) *ListAvailableZoneInvoker

ListAvailableZoneInvoker 查询规格未售罄的可用区

func (*DrsClient) ListCompareResult

func (c *DrsClient) ListCompareResult(request *model.ListCompareResultRequest) (*model.ListCompareResultResponse, error)

ListCompareResult 查询对比结果

查询对比结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListCompareResultInvoker added in v0.0.90

func (c *DrsClient) ListCompareResultInvoker(request *model.ListCompareResultRequest) *ListCompareResultInvoker

ListCompareResultInvoker 查询对比结果

func (*DrsClient) ListUsers

func (c *DrsClient) ListUsers(request *model.ListUsersRequest) (*model.ListUsersResponse, error)

ListUsers 获取源库迁移用户列表

数据库的迁移过程中,迁移用户需要进行单独处理,该接口可以查询源库的用户信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ListUsersInvoker added in v0.0.90

func (c *DrsClient) ListUsersInvoker(request *model.ListUsersRequest) *ListUsersInvoker

ListUsersInvoker 获取源库迁移用户列表

func (*DrsClient) ShowJobList

func (c *DrsClient) ShowJobList(request *model.ShowJobListRequest) (*model.ShowJobListResponse, error)

ShowJobList 查询租户任务列表

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

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowJobListInvoker added in v0.0.90

func (c *DrsClient) ShowJobListInvoker(request *model.ShowJobListRequest) *ShowJobListInvoker

ShowJobListInvoker 查询租户任务列表

func (*DrsClient) ShowMonitoringData

func (c *DrsClient) ShowMonitoringData(request *model.ShowMonitoringDataRequest) (*model.ShowMonitoringDataResponse, error)

ShowMonitoringData 查询容灾监控数据

根据任务ID查询容灾监控数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowMonitoringDataInvoker added in v0.0.90

func (c *DrsClient) ShowMonitoringDataInvoker(request *model.ShowMonitoringDataRequest) *ShowMonitoringDataInvoker

ShowMonitoringDataInvoker 查询容灾监控数据

func (*DrsClient) ShowQuotas

func (c *DrsClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)

ShowQuotas 查询配额

查询单租户在某一项目下DRS服务下的配额信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) ShowQuotasInvoker added in v0.0.90

func (c *DrsClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker

ShowQuotasInvoker 查询配额

func (*DrsClient) UpdateParams

func (c *DrsClient) UpdateParams(request *model.UpdateParamsRequest) (*model.UpdateParamsResponse, error)

UpdateParams 修改数据库参数

修改数据库参数。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) UpdateParamsInvoker added in v0.0.90

func (c *DrsClient) UpdateParamsInvoker(request *model.UpdateParamsRequest) *UpdateParamsInvoker

UpdateParamsInvoker 修改数据库参数

func (*DrsClient) UpdateTuningParams added in v0.0.94

func (c *DrsClient) UpdateTuningParams(request *model.UpdateTuningParamsRequest) (*model.UpdateTuningParamsResponse, error)

UpdateTuningParams 高级设置

修改调优参数的值。

Please refer to HUAWEI cloud API Explorer for details.

func (*DrsClient) UpdateTuningParamsInvoker added in v0.0.94

func (c *DrsClient) UpdateTuningParamsInvoker(request *model.UpdateTuningParamsRequest) *UpdateTuningParamsInvoker

UpdateTuningParamsInvoker 高级设置

type ListAvailableNodeTypesInvoker added in v0.1.86

type ListAvailableNodeTypesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAvailableNodeTypesInvoker) Invoke added in v0.1.86

type ListAvailableZoneInvoker added in v0.0.94

type ListAvailableZoneInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAvailableZoneInvoker) Invoke added in v0.0.94

type ListCompareResultInvoker added in v0.0.90

type ListCompareResultInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCompareResultInvoker) Invoke added in v0.0.90

type ListUsersInvoker added in v0.0.90

type ListUsersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUsersInvoker) Invoke added in v0.0.90

type ShowJobListInvoker added in v0.0.90

type ShowJobListInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobListInvoker) Invoke added in v0.0.90

type ShowMonitoringDataInvoker added in v0.0.90

type ShowMonitoringDataInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMonitoringDataInvoker) Invoke added in v0.0.90

type ShowQuotasInvoker added in v0.0.90

type ShowQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowQuotasInvoker) Invoke added in v0.0.90

type UpdateParamsInvoker added in v0.0.90

type UpdateParamsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateParamsInvoker) Invoke added in v0.0.90

type UpdateTuningParamsInvoker added in v0.0.94

type UpdateTuningParamsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTuningParamsInvoker) Invoke added in v0.0.94

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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