v3

package
v0.1.112 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 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 GenReqDefForCheckNetAcl added in v0.1.3

func GenReqDefForCheckNetAcl() *def.HttpRequestDef

func GenReqDefForCollectLog added in v0.1.3

func GenReqDefForCollectLog() *def.HttpRequestDef

func GenReqDefForCreateMigproject

func GenReqDefForCreateMigproject() *def.HttpRequestDef

func GenReqDefForCreatePrivacyAgreements added in v0.1.60

func GenReqDefForCreatePrivacyAgreements() *def.HttpRequestDef

func GenReqDefForCreateTask

func GenReqDefForCreateTask() *def.HttpRequestDef

func GenReqDefForCreateTemplate

func GenReqDefForCreateTemplate() *def.HttpRequestDef

func GenReqDefForDeleteMigproject

func GenReqDefForDeleteMigproject() *def.HttpRequestDef

func GenReqDefForDeleteServer

func GenReqDefForDeleteServer() *def.HttpRequestDef

func GenReqDefForDeleteServers

func GenReqDefForDeleteServers() *def.HttpRequestDef

func GenReqDefForDeleteTask

func GenReqDefForDeleteTask() *def.HttpRequestDef

func GenReqDefForDeleteTasks

func GenReqDefForDeleteTasks() *def.HttpRequestDef

func GenReqDefForDeleteTemplate

func GenReqDefForDeleteTemplate() *def.HttpRequestDef

func GenReqDefForDeleteTemplates

func GenReqDefForDeleteTemplates() *def.HttpRequestDef

func GenReqDefForListApiVersion added in v0.1.38

func GenReqDefForListApiVersion() *def.HttpRequestDef

func GenReqDefForListErrorServers

func GenReqDefForListErrorServers() *def.HttpRequestDef

func GenReqDefForListMigprojects

func GenReqDefForListMigprojects() *def.HttpRequestDef

func GenReqDefForListServers

func GenReqDefForListServers() *def.HttpRequestDef

func GenReqDefForListTasks

func GenReqDefForListTasks() *def.HttpRequestDef

func GenReqDefForListTemplates

func GenReqDefForListTemplates() *def.HttpRequestDef

func GenReqDefForRegisterServer

func GenReqDefForRegisterServer() *def.HttpRequestDef

func GenReqDefForShowApiVersion added in v0.1.38

func GenReqDefForShowApiVersion() *def.HttpRequestDef

func GenReqDefForShowCertKey

func GenReqDefForShowCertKey() *def.HttpRequestDef

func GenReqDefForShowCommand

func GenReqDefForShowCommand() *def.HttpRequestDef

func GenReqDefForShowConfig added in v0.1.38

func GenReqDefForShowConfig() *def.HttpRequestDef

func GenReqDefForShowConfigSetting added in v0.1.38

func GenReqDefForShowConfigSetting() *def.HttpRequestDef

func GenReqDefForShowConsistencyResult added in v0.1.72

func GenReqDefForShowConsistencyResult() *def.HttpRequestDef

func GenReqDefForShowMigproject

func GenReqDefForShowMigproject() *def.HttpRequestDef

func GenReqDefForShowOverview

func GenReqDefForShowOverview() *def.HttpRequestDef

func GenReqDefForShowPassphrase added in v0.1.3

func GenReqDefForShowPassphrase() *def.HttpRequestDef

func GenReqDefForShowPrivacyAgreements added in v0.1.60

func GenReqDefForShowPrivacyAgreements() *def.HttpRequestDef

func GenReqDefForShowServer

func GenReqDefForShowServer() *def.HttpRequestDef

func GenReqDefForShowSha256 added in v0.1.3

func GenReqDefForShowSha256() *def.HttpRequestDef

func GenReqDefForShowTargetPassword added in v0.1.3

func GenReqDefForShowTargetPassword() *def.HttpRequestDef

func GenReqDefForShowTask

func GenReqDefForShowTask() *def.HttpRequestDef

func GenReqDefForShowTemplate

func GenReqDefForShowTemplate() *def.HttpRequestDef

func GenReqDefForShowsSpeedLimits

func GenReqDefForShowsSpeedLimits() *def.HttpRequestDef

func GenReqDefForUnlockTargetEcs added in v0.1.3

func GenReqDefForUnlockTargetEcs() *def.HttpRequestDef

func GenReqDefForUpdateCommandResult

func GenReqDefForUpdateCommandResult() *def.HttpRequestDef

func GenReqDefForUpdateConsistencyResult added in v0.1.72

func GenReqDefForUpdateConsistencyResult() *def.HttpRequestDef

func GenReqDefForUpdateCopyState

func GenReqDefForUpdateCopyState() *def.HttpRequestDef

func GenReqDefForUpdateDefaultMigproject

func GenReqDefForUpdateDefaultMigproject() *def.HttpRequestDef

func GenReqDefForUpdateDiskInfo

func GenReqDefForUpdateDiskInfo() *def.HttpRequestDef

func GenReqDefForUpdateMigproject

func GenReqDefForUpdateMigproject() *def.HttpRequestDef

func GenReqDefForUpdateNetworkCheckInfo added in v0.1.38

func GenReqDefForUpdateNetworkCheckInfo() *def.HttpRequestDef

func GenReqDefForUpdateServerName

func GenReqDefForUpdateServerName() *def.HttpRequestDef

func GenReqDefForUpdateSpeed

func GenReqDefForUpdateSpeed() *def.HttpRequestDef

func GenReqDefForUpdateTask

func GenReqDefForUpdateTask() *def.HttpRequestDef

func GenReqDefForUpdateTaskSpeed

func GenReqDefForUpdateTaskSpeed() *def.HttpRequestDef

func GenReqDefForUpdateTaskStatus

func GenReqDefForUpdateTaskStatus() *def.HttpRequestDef

func GenReqDefForUpdateTemplate

func GenReqDefForUpdateTemplate() *def.HttpRequestDef

func GenReqDefForUploadSpecialConfigurationSetting added in v0.1.38

func GenReqDefForUploadSpecialConfigurationSetting() *def.HttpRequestDef

func SmsClientBuilder

func SmsClientBuilder() *httpclient.HcHttpClientBuilder

Types

type CheckNetAclInvoker added in v0.1.3

type CheckNetAclInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckNetAclInvoker) Invoke added in v0.1.3

type CollectLogInvoker added in v0.1.3

type CollectLogInvoker struct {
	*invoker.BaseInvoker
}

func (*CollectLogInvoker) Invoke added in v0.1.3

type CreateMigprojectInvoker added in v0.0.90

type CreateMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateMigprojectInvoker) Invoke added in v0.0.90

type CreatePrivacyAgreementsInvoker added in v0.1.60

type CreatePrivacyAgreementsInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePrivacyAgreementsInvoker) Invoke added in v0.1.60

type CreateTaskInvoker added in v0.0.90

type CreateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTaskInvoker) Invoke added in v0.0.90

type CreateTemplateInvoker added in v0.0.90

type CreateTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTemplateInvoker) Invoke added in v0.0.90

type DeleteMigprojectInvoker added in v0.0.90

type DeleteMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMigprojectInvoker) Invoke added in v0.0.90

type DeleteServerInvoker added in v0.0.90

type DeleteServerInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteServerInvoker) Invoke added in v0.0.90

type DeleteServersInvoker added in v0.0.90

type DeleteServersInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteServersInvoker) Invoke added in v0.0.90

type DeleteTaskInvoker added in v0.0.90

type DeleteTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTaskInvoker) Invoke added in v0.0.90

type DeleteTasksInvoker added in v0.0.90

type DeleteTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTasksInvoker) Invoke added in v0.0.90

type DeleteTemplateInvoker added in v0.0.90

type DeleteTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTemplateInvoker) Invoke added in v0.0.90

type DeleteTemplatesInvoker added in v0.0.90

type DeleteTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTemplatesInvoker) Invoke added in v0.0.90

type ListApiVersionInvoker added in v0.1.38

type ListApiVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ListApiVersionInvoker) Invoke added in v0.1.38

type ListErrorServersInvoker added in v0.0.90

type ListErrorServersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListErrorServersInvoker) Invoke added in v0.0.90

type ListMigprojectsInvoker added in v0.0.90

type ListMigprojectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMigprojectsInvoker) Invoke added in v0.0.90

type ListServersInvoker added in v0.0.90

type ListServersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListServersInvoker) Invoke added in v0.0.90

type ListTasksInvoker added in v0.0.90

type ListTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTasksInvoker) Invoke added in v0.0.90

type ListTemplatesInvoker added in v0.0.90

type ListTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTemplatesInvoker) Invoke added in v0.0.90

type RegisterServerInvoker added in v0.0.90

type RegisterServerInvoker struct {
	*invoker.BaseInvoker
}

func (*RegisterServerInvoker) Invoke added in v0.0.90

type ShowApiVersionInvoker added in v0.1.38

type ShowApiVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowApiVersionInvoker) Invoke added in v0.1.38

type ShowCertKeyInvoker added in v0.1.3

type ShowCertKeyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCertKeyInvoker) Invoke added in v0.1.3

type ShowCommandInvoker added in v0.0.90

type ShowCommandInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCommandInvoker) Invoke added in v0.0.90

type ShowConfigInvoker added in v0.1.38

type ShowConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowConfigInvoker) Invoke added in v0.1.38

type ShowConfigSettingInvoker added in v0.1.38

type ShowConfigSettingInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowConfigSettingInvoker) Invoke added in v0.1.38

type ShowConsistencyResultInvoker added in v0.1.72

type ShowConsistencyResultInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowConsistencyResultInvoker) Invoke added in v0.1.72

type ShowMigprojectInvoker added in v0.0.90

type ShowMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMigprojectInvoker) Invoke added in v0.0.90

type ShowOverviewInvoker added in v0.0.90

type ShowOverviewInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOverviewInvoker) Invoke added in v0.0.90

type ShowPassphraseInvoker added in v0.1.3

type ShowPassphraseInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPassphraseInvoker) Invoke added in v0.1.3

type ShowPrivacyAgreementsInvoker added in v0.1.60

type ShowPrivacyAgreementsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPrivacyAgreementsInvoker) Invoke added in v0.1.60

type ShowServerInvoker added in v0.0.90

type ShowServerInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowServerInvoker) Invoke added in v0.0.90

type ShowSha256Invoker added in v0.1.3

type ShowSha256Invoker struct {
	*invoker.BaseInvoker
}

func (*ShowSha256Invoker) Invoke added in v0.1.3

type ShowTargetPasswordInvoker added in v0.1.3

type ShowTargetPasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTargetPasswordInvoker) Invoke added in v0.1.3

type ShowTaskInvoker added in v0.0.90

type ShowTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTaskInvoker) Invoke added in v0.0.90

func (i *ShowTaskInvoker) Invoke() (*model.ShowTaskResponse, error)

type ShowTemplateInvoker added in v0.0.90

type ShowTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTemplateInvoker) Invoke added in v0.0.90

type ShowsSpeedLimitsInvoker added in v0.0.90

type ShowsSpeedLimitsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowsSpeedLimitsInvoker) Invoke added in v0.0.90

type SmsClient

type SmsClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewSmsClient

func NewSmsClient(hcClient *httpclient.HcHttpClient) *SmsClient

func (*SmsClient) CheckNetAcl added in v0.1.3

func (c *SmsClient) CheckNetAcl(request *model.CheckNetAclRequest) (*model.CheckNetAclResponse, error)

CheckNetAcl 检查网卡安全组端口是否符合要求

检查网卡安全组。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) CheckNetAclInvoker added in v0.1.3

func (c *SmsClient) CheckNetAclInvoker(request *model.CheckNetAclRequest) *CheckNetAclInvoker

CheckNetAclInvoker 检查网卡安全组端口是否符合要求

func (*SmsClient) CollectLog added in v0.1.3

func (c *SmsClient) CollectLog(request *model.CollectLogRequest) (*model.CollectLogResponse, error)

CollectLog 上传迁移任务的日志

上传迁移任务的日志。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) CollectLogInvoker added in v0.1.3

func (c *SmsClient) CollectLogInvoker(request *model.CollectLogRequest) *CollectLogInvoker

CollectLogInvoker 上传迁移任务的日志

func (*SmsClient) CreateMigproject

func (c *SmsClient) CreateMigproject(request *model.CreateMigprojectRequest) (*model.CreateMigprojectResponse, error)

CreateMigproject 新建迁移项目

新建迁移项目。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) CreateMigprojectInvoker added in v0.0.90

func (c *SmsClient) CreateMigprojectInvoker(request *model.CreateMigprojectRequest) *CreateMigprojectInvoker

CreateMigprojectInvoker 新建迁移项目

func (*SmsClient) CreatePrivacyAgreements added in v0.1.60

CreatePrivacyAgreements 同意隐私协议

同意隐私协议接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) CreatePrivacyAgreementsInvoker added in v0.1.60

func (c *SmsClient) CreatePrivacyAgreementsInvoker(request *model.CreatePrivacyAgreementsRequest) *CreatePrivacyAgreementsInvoker

CreatePrivacyAgreementsInvoker 同意隐私协议

func (*SmsClient) CreateTask

func (c *SmsClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)

CreateTask 创建迁移任务

根据源端服务器创建一个迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) CreateTaskInvoker added in v0.0.90

func (c *SmsClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker

CreateTaskInvoker 创建迁移任务

func (*SmsClient) CreateTemplate

func (c *SmsClient) CreateTemplate(request *model.CreateTemplateRequest) (*model.CreateTemplateResponse, error)

CreateTemplate 新增模板信息

新增源端模板信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) CreateTemplateInvoker added in v0.0.90

func (c *SmsClient) CreateTemplateInvoker(request *model.CreateTemplateRequest) *CreateTemplateInvoker

CreateTemplateInvoker 新增模板信息

func (*SmsClient) DeleteMigproject

func (c *SmsClient) DeleteMigproject(request *model.DeleteMigprojectRequest) (*model.DeleteMigprojectResponse, error)

DeleteMigproject 删除迁移项目

删除指定ID的迁移项目。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) DeleteMigprojectInvoker added in v0.0.90

func (c *SmsClient) DeleteMigprojectInvoker(request *model.DeleteMigprojectRequest) *DeleteMigprojectInvoker

DeleteMigprojectInvoker 删除迁移项目

func (*SmsClient) DeleteServer

func (c *SmsClient) DeleteServer(request *model.DeleteServerRequest) (*model.DeleteServerResponse, error)

DeleteServer 删除指定ID的源端服务器信息

从主机迁移服务界面上删除指定ID的源端服务器信息。一旦源端服务器信息被删除,则只能通过重启源端服务器上的迁移Agent来将源端服务器信息重新添加在主机迁移服务界面。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) DeleteServerInvoker added in v0.0.90

func (c *SmsClient) DeleteServerInvoker(request *model.DeleteServerRequest) *DeleteServerInvoker

DeleteServerInvoker 删除指定ID的源端服务器信息

func (*SmsClient) DeleteServers

func (c *SmsClient) DeleteServers(request *model.DeleteServersRequest) (*model.DeleteServersResponse, error)

DeleteServers 批量删除源端服务器信息

批量删除源端服务器信息。一旦源端服务器信息被删除,则只能通过重启源端服务器上的迁移Agent来将源端服务器信息重新添加在主机迁移服务界面。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) DeleteServersInvoker added in v0.0.90

func (c *SmsClient) DeleteServersInvoker(request *model.DeleteServersRequest) *DeleteServersInvoker

DeleteServersInvoker 批量删除源端服务器信息

func (*SmsClient) DeleteTask

func (c *SmsClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)

DeleteTask 删除指定ID的迁移任务

删除指定ID的迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) DeleteTaskInvoker added in v0.0.90

func (c *SmsClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker

DeleteTaskInvoker 删除指定ID的迁移任务

func (*SmsClient) DeleteTasks

func (c *SmsClient) DeleteTasks(request *model.DeleteTasksRequest) (*model.DeleteTasksResponse, error)

DeleteTasks 批量删除迁移任务

批量删除迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) DeleteTasksInvoker added in v0.0.90

func (c *SmsClient) DeleteTasksInvoker(request *model.DeleteTasksRequest) *DeleteTasksInvoker

DeleteTasksInvoker 批量删除迁移任务

func (*SmsClient) DeleteTemplate

func (c *SmsClient) DeleteTemplate(request *model.DeleteTemplateRequest) (*model.DeleteTemplateResponse, error)

DeleteTemplate 删除指定ID的模板

删除指定ID的模板。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) DeleteTemplateInvoker added in v0.0.90

func (c *SmsClient) DeleteTemplateInvoker(request *model.DeleteTemplateRequest) *DeleteTemplateInvoker

DeleteTemplateInvoker 删除指定ID的模板

func (*SmsClient) DeleteTemplates

func (c *SmsClient) DeleteTemplates(request *model.DeleteTemplatesRequest) (*model.DeleteTemplatesResponse, error)

DeleteTemplates 批量删除指定ID的模板

批量删除指定ID的模板。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) DeleteTemplatesInvoker added in v0.0.90

func (c *SmsClient) DeleteTemplatesInvoker(request *model.DeleteTemplatesRequest) *DeleteTemplatesInvoker

DeleteTemplatesInvoker 批量删除指定ID的模板

func (*SmsClient) ListApiVersion added in v0.1.38

func (c *SmsClient) ListApiVersion(request *model.ListApiVersionRequest) (*model.ListApiVersionResponse, error)

ListApiVersion 查询主机迁移服务的API版本信息

查询主机迁移服务的API版本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ListApiVersionInvoker added in v0.1.38

func (c *SmsClient) ListApiVersionInvoker(request *model.ListApiVersionRequest) *ListApiVersionInvoker

ListApiVersionInvoker 查询主机迁移服务的API版本信息

func (*SmsClient) ListErrorServers

func (c *SmsClient) ListErrorServers(request *model.ListErrorServersRequest) (*model.ListErrorServersResponse, error)

ListErrorServers 查询待迁移源端的所有错误

主机迁移过程中可能发生错误,使用该接口可以批量查询迁移过程中出现错误的源端服务器信息,以及它们的错误信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ListErrorServersInvoker added in v0.0.90

func (c *SmsClient) ListErrorServersInvoker(request *model.ListErrorServersRequest) *ListErrorServersInvoker

ListErrorServersInvoker 查询待迁移源端的所有错误

func (*SmsClient) ListMigprojects

func (c *SmsClient) ListMigprojects(request *model.ListMigprojectsRequest) (*model.ListMigprojectsResponse, error)

ListMigprojects 获取项目列表

主机迁移服务中可以使用迁移项目来对源端进行项目管理,使用该接口获取当前账户下所有的迁移项目列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ListMigprojectsInvoker added in v0.0.90

func (c *SmsClient) ListMigprojectsInvoker(request *model.ListMigprojectsRequest) *ListMigprojectsInvoker

ListMigprojectsInvoker 获取项目列表

func (*SmsClient) ListServers

func (c *SmsClient) ListServers(request *model.ListServersRequest) (*model.ListServersResponse, error)

ListServers 查询源端服务器列表

用户在源端安装并成功启动Agent后,Agent会将源端服务器信息注册在主机迁移服务中,调用该接口查询已注册的源端服务器列表信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ListServersInvoker added in v0.0.90

func (c *SmsClient) ListServersInvoker(request *model.ListServersRequest) *ListServersInvoker

ListServersInvoker 查询源端服务器列表

func (*SmsClient) ListTasks

func (c *SmsClient) ListTasks(request *model.ListTasksRequest) (*model.ListTasksResponse, error)

ListTasks 查询迁移任务列表

在设置目的端后,主机迁移服务会自动创建迁移任务,使用该接口可以查询迁移任务列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ListTasksInvoker added in v0.0.90

func (c *SmsClient) ListTasksInvoker(request *model.ListTasksRequest) *ListTasksInvoker

ListTasksInvoker 查询迁移任务列表

func (*SmsClient) ListTemplates

func (c *SmsClient) ListTemplates(request *model.ListTemplatesRequest) (*model.ListTemplatesResponse, error)

ListTemplates 查询模板列表

查询弹性云服务器模板列表,迁移时选择“新建服务器”时可使用该模板创建弹性云服务器。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ListTemplatesInvoker added in v0.0.90

func (c *SmsClient) ListTemplatesInvoker(request *model.ListTemplatesRequest) *ListTemplatesInvoker

ListTemplatesInvoker 查询模板列表

func (*SmsClient) RegisterServer

func (c *SmsClient) RegisterServer(request *model.RegisterServerRequest) (*model.RegisterServerResponse, error)

RegisterServer 上报源端服务器基本信息

上报源端服务器信息,上报成功后会在sms服务器列表中看到对应的源端服务器信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) RegisterServerInvoker added in v0.0.90

func (c *SmsClient) RegisterServerInvoker(request *model.RegisterServerRequest) *RegisterServerInvoker

RegisterServerInvoker 上报源端服务器基本信息

func (*SmsClient) ShowApiVersion added in v0.1.38

func (c *SmsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)

ShowApiVersion 查询主机迁移服务指定API版本信息

查询主机迁移服务指定API版本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowApiVersionInvoker added in v0.1.38

func (c *SmsClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker

ShowApiVersionInvoker 查询主机迁移服务指定API版本信息

func (*SmsClient) ShowCertKey

func (c *SmsClient) ShowCertKey(request *model.ShowCertKeyRequest) (*model.ShowCertKeyResponse, error)

ShowCertKey 获取SSL目的端证书和私钥

当源端服务器为Windows操作系统时,安装在源端服务器上的迁移Agent通过SSLSocket同目的端服务器通信,该接口用于下载目的端服务器所需要的证书和私钥(PEM格式)。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowCertKeyInvoker added in v0.1.3

func (c *SmsClient) ShowCertKeyInvoker(request *model.ShowCertKeyRequest) *ShowCertKeyInvoker

ShowCertKeyInvoker 获取SSL目的端证书和私钥

func (*SmsClient) ShowCommand

func (c *SmsClient) ShowCommand(request *model.ShowCommandRequest) (*model.ShowCommandResponse, error)

ShowCommand 获取服务端命令

迁移Agent调用该接口从SMS服务端获取下发给指定源端迁移Agent的命令。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowCommandInvoker added in v0.0.90

func (c *SmsClient) ShowCommandInvoker(request *model.ShowCommandRequest) *ShowCommandInvoker

ShowCommandInvoker 获取服务端命令

func (*SmsClient) ShowConfig added in v0.1.38

func (c *SmsClient) ShowConfig(request *model.ShowConfigRequest) (*model.ShowConfigResponse, error)

ShowConfig 获取Agent配置信息

源端Agent启动后,访问此接口获取配置信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowConfigInvoker added in v0.1.38

func (c *SmsClient) ShowConfigInvoker(request *model.ShowConfigRequest) *ShowConfigInvoker

ShowConfigInvoker 获取Agent配置信息

func (*SmsClient) ShowConfigSetting added in v0.1.38

func (c *SmsClient) ShowConfigSetting(request *model.ShowConfigSettingRequest) (*model.ShowConfigSettingResponse, error)

ShowConfigSetting 查询配置资源

使用该接口查询任指定任务的指定配置类型的配置信息

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowConfigSettingInvoker added in v0.1.38

func (c *SmsClient) ShowConfigSettingInvoker(request *model.ShowConfigSettingRequest) *ShowConfigSettingInvoker

ShowConfigSettingInvoker 查询配置资源

func (*SmsClient) ShowConsistencyResult added in v0.1.72

ShowConsistencyResult 获取一致性校验结果

获取一致性校验结果简报

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowConsistencyResultInvoker added in v0.1.72

func (c *SmsClient) ShowConsistencyResultInvoker(request *model.ShowConsistencyResultRequest) *ShowConsistencyResultInvoker

ShowConsistencyResultInvoker 获取一致性校验结果

func (*SmsClient) ShowMigproject

func (c *SmsClient) ShowMigproject(request *model.ShowMigprojectRequest) (*model.ShowMigprojectResponse, error)

ShowMigproject 查询指定ID迁移项目详情

查询指定ID的迁移项目详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowMigprojectInvoker added in v0.0.90

func (c *SmsClient) ShowMigprojectInvoker(request *model.ShowMigprojectRequest) *ShowMigprojectInvoker

ShowMigprojectInvoker 查询指定ID迁移项目详情

func (*SmsClient) ShowOverview

func (c *SmsClient) ShowOverview(request *model.ShowOverviewRequest) (*model.ShowOverviewResponse, error)

ShowOverview 获取服务器总览

获取服务器总览

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowOverviewInvoker added in v0.0.90

func (c *SmsClient) ShowOverviewInvoker(request *model.ShowOverviewRequest) *ShowOverviewInvoker

ShowOverviewInvoker 获取服务器总览

func (*SmsClient) ShowPassphrase added in v0.1.3

func (c *SmsClient) ShowPassphrase(request *model.ShowPassphraseRequest) (*model.ShowPassphraseResponse, error)

ShowPassphrase 查询指定任务ID的安全传输通道的证书passphrase

查询指定任务ID的安全传输通道的证书passphrase。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowPassphraseInvoker added in v0.1.3

func (c *SmsClient) ShowPassphraseInvoker(request *model.ShowPassphraseRequest) *ShowPassphraseInvoker

ShowPassphraseInvoker 查询指定任务ID的安全传输通道的证书passphrase

func (*SmsClient) ShowPrivacyAgreements added in v0.1.60

ShowPrivacyAgreements 查询用户是否同意隐私协议

查询用户是否同意隐私协议接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowPrivacyAgreementsInvoker added in v0.1.60

func (c *SmsClient) ShowPrivacyAgreementsInvoker(request *model.ShowPrivacyAgreementsRequest) *ShowPrivacyAgreementsInvoker

ShowPrivacyAgreementsInvoker 查询用户是否同意隐私协议

func (*SmsClient) ShowServer

func (c *SmsClient) ShowServer(request *model.ShowServerRequest) (*model.ShowServerResponse, error)

ShowServer 查询指定ID的源端服务器

迁移Agent将源端服务器信息上报到主机迁移服务后,主机迁移服务会对迁移的可行性进行检测,该接口返回源端服务器的基本信息和检查结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowServerInvoker added in v0.0.90

func (c *SmsClient) ShowServerInvoker(request *model.ShowServerRequest) *ShowServerInvoker

ShowServerInvoker 查询指定ID的源端服务器

func (*SmsClient) ShowSha256 added in v0.1.3

func (c *SmsClient) ShowSha256(request *model.ShowSha256Request) (*model.ShowSha256Response, error)

ShowSha256 计算sha256

计算sha256,加密字段值为uuid。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowSha256Invoker added in v0.1.3

func (c *SmsClient) ShowSha256Invoker(request *model.ShowSha256Request) *ShowSha256Invoker

ShowSha256Invoker 计算sha256

func (*SmsClient) ShowTargetPassword added in v0.1.3

func (c *SmsClient) ShowTargetPassword(request *model.ShowTargetPasswordRequest) (*model.ShowTargetPasswordResponse, error)

ShowTargetPassword 查询指定ID的模板中的目的端服务器的密码

查询指定ID的模板中的目的端服务器的密码。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowTargetPasswordInvoker added in v0.1.3

func (c *SmsClient) ShowTargetPasswordInvoker(request *model.ShowTargetPasswordRequest) *ShowTargetPasswordInvoker

ShowTargetPasswordInvoker 查询指定ID的模板中的目的端服务器的密码

func (*SmsClient) ShowTask

func (c *SmsClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)

ShowTask 查询指定ID的迁移任务

查询指定ID的迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowTaskInvoker added in v0.0.90

func (c *SmsClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker

ShowTaskInvoker 查询指定ID的迁移任务

func (*SmsClient) ShowTemplate

func (c *SmsClient) ShowTemplate(request *model.ShowTemplateRequest) (*model.ShowTemplateResponse, error)

ShowTemplate 查询指定ID模板信息

查询指定ID的弹性云服务器模板信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowTemplateInvoker added in v0.0.90

func (c *SmsClient) ShowTemplateInvoker(request *model.ShowTemplateRequest) *ShowTemplateInvoker

ShowTemplateInvoker 查询指定ID模板信息

func (*SmsClient) ShowsSpeedLimits

func (c *SmsClient) ShowsSpeedLimits(request *model.ShowsSpeedLimitsRequest) (*model.ShowsSpeedLimitsResponse, error)

ShowsSpeedLimits 查询任务限速规则

按时间段查询迁移任务的迁移速率。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowsSpeedLimitsInvoker added in v0.0.90

func (c *SmsClient) ShowsSpeedLimitsInvoker(request *model.ShowsSpeedLimitsRequest) *ShowsSpeedLimitsInvoker

ShowsSpeedLimitsInvoker 查询任务限速规则

func (*SmsClient) UnlockTargetEcs added in v0.1.3

func (c *SmsClient) UnlockTargetEcs(request *model.UnlockTargetEcsRequest) (*model.UnlockTargetEcsResponse, error)

UnlockTargetEcs 解锁指定任务的目的端服务器

解锁指定任务的目的端服务器。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UnlockTargetEcsInvoker added in v0.1.3

func (c *SmsClient) UnlockTargetEcsInvoker(request *model.UnlockTargetEcsRequest) *UnlockTargetEcsInvoker

UnlockTargetEcsInvoker 解锁指定任务的目的端服务器

func (*SmsClient) UpdateCommandResult

UpdateCommandResult 上报服务端命令执行结果

迁移Agent调用该接口向SMS服务端反馈指定指令的执行结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateCommandResultInvoker added in v0.0.90

func (c *SmsClient) UpdateCommandResultInvoker(request *model.UpdateCommandResultRequest) *UpdateCommandResultInvoker

UpdateCommandResultInvoker 上报服务端命令执行结果

func (*SmsClient) UpdateConsistencyResult added in v0.1.72

UpdateConsistencyResult 上传一致性校验结果

Agent 上传一致性校验结果简报

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateConsistencyResultInvoker added in v0.1.72

func (c *SmsClient) UpdateConsistencyResultInvoker(request *model.UpdateConsistencyResultRequest) *UpdateConsistencyResultInvoker

UpdateConsistencyResultInvoker 上传一致性校验结果

func (*SmsClient) UpdateCopyState

func (c *SmsClient) UpdateCopyState(request *model.UpdateCopyStateRequest) (*model.UpdateCopyStateResponse, error)

UpdateCopyState 更新任务对应源端复制状态

更新任务对应源端复制状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateCopyStateInvoker added in v0.0.90

func (c *SmsClient) UpdateCopyStateInvoker(request *model.UpdateCopyStateRequest) *UpdateCopyStateInvoker

UpdateCopyStateInvoker 更新任务对应源端复制状态

func (*SmsClient) UpdateDefaultMigproject

UpdateDefaultMigproject 更新默认迁移项目

更改默认迁移项目,注册源端会注册在当前的默认项目下。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateDefaultMigprojectInvoker added in v0.0.90

func (c *SmsClient) UpdateDefaultMigprojectInvoker(request *model.UpdateDefaultMigprojectRequest) *UpdateDefaultMigprojectInvoker

UpdateDefaultMigprojectInvoker 更新默认迁移项目

func (*SmsClient) UpdateDiskInfo

func (c *SmsClient) UpdateDiskInfo(request *model.UpdateDiskInfoRequest) (*model.UpdateDiskInfoResponse, error)

UpdateDiskInfo 更新磁盘信息

更新服务器的磁盘信息,此接口会把服务器原有磁盘信息清空,然后更新成新磁盘信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateDiskInfoInvoker added in v0.0.90

func (c *SmsClient) UpdateDiskInfoInvoker(request *model.UpdateDiskInfoRequest) *UpdateDiskInfoInvoker

UpdateDiskInfoInvoker 更新磁盘信息

func (*SmsClient) UpdateMigproject

func (c *SmsClient) UpdateMigproject(request *model.UpdateMigprojectRequest) (*model.UpdateMigprojectResponse, error)

UpdateMigproject 更新迁移项目信息

更新迁移项目的信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateMigprojectInvoker added in v0.0.90

func (c *SmsClient) UpdateMigprojectInvoker(request *model.UpdateMigprojectRequest) *UpdateMigprojectInvoker

UpdateMigprojectInvoker 更新迁移项目信息

func (*SmsClient) UpdateNetworkCheckInfo added in v0.1.38

UpdateNetworkCheckInfo 更新网络检测相关的信息

Agent 上报网络检测相关的信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateNetworkCheckInfoInvoker added in v0.1.38

func (c *SmsClient) UpdateNetworkCheckInfoInvoker(request *model.UpdateNetworkCheckInfoRequest) *UpdateNetworkCheckInfoInvoker

UpdateNetworkCheckInfoInvoker 更新网络检测相关的信息

func (*SmsClient) UpdateServerName

func (c *SmsClient) UpdateServerName(request *model.UpdateServerNameRequest) (*model.UpdateServerNameResponse, error)

UpdateServerName 修改指定ID的源端服务器名称

该功能用来修改SMS服务端的源端名称,方便用户对源端进行管理。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateServerNameInvoker added in v0.0.90

func (c *SmsClient) UpdateServerNameInvoker(request *model.UpdateServerNameRequest) *UpdateServerNameInvoker

UpdateServerNameInvoker 修改指定ID的源端服务器名称

func (*SmsClient) UpdateSpeed

func (c *SmsClient) UpdateSpeed(request *model.UpdateSpeedRequest) (*model.UpdateSpeedResponse, error)

UpdateSpeed 设置迁移限速规则

设置迁移任务的迁移速率。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateSpeedInvoker added in v0.0.90

func (c *SmsClient) UpdateSpeedInvoker(request *model.UpdateSpeedRequest) *UpdateSpeedInvoker

UpdateSpeedInvoker 设置迁移限速规则

func (*SmsClient) UpdateTask

func (c *SmsClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)

UpdateTask 更新指定ID的迁移任务

更新指定ID的迁移任务

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateTaskInvoker added in v0.0.90

func (c *SmsClient) UpdateTaskInvoker(request *model.UpdateTaskRequest) *UpdateTaskInvoker

UpdateTaskInvoker 更新指定ID的迁移任务

func (*SmsClient) UpdateTaskSpeed

func (c *SmsClient) UpdateTaskSpeed(request *model.UpdateTaskSpeedRequest) (*model.UpdateTaskSpeedResponse, error)

UpdateTaskSpeed 上报数据迁移进度和速率

此接口由安装在源端服务器上的迁移Agent在数据迁移阶段调用,用来将迁移的具体进度上报给SMS服务端。

迁移Agent自动调用此接口用于上报数据迁移进度,您无需调用此接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateTaskSpeedInvoker added in v0.0.90

func (c *SmsClient) UpdateTaskSpeedInvoker(request *model.UpdateTaskSpeedRequest) *UpdateTaskSpeedInvoker

UpdateTaskSpeedInvoker 上报数据迁移进度和速率

func (*SmsClient) UpdateTaskStatus

func (c *SmsClient) UpdateTaskStatus(request *model.UpdateTaskStatusRequest) (*model.UpdateTaskStatusResponse, error)

UpdateTaskStatus 管理迁移任务

管理迁移任务,包括启动任务,暂停任务,同步任务,日志上传,回滚失败迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateTaskStatusInvoker added in v0.0.90

func (c *SmsClient) UpdateTaskStatusInvoker(request *model.UpdateTaskStatusRequest) *UpdateTaskStatusInvoker

UpdateTaskStatusInvoker 管理迁移任务

func (*SmsClient) UpdateTemplate

func (c *SmsClient) UpdateTemplate(request *model.UpdateTemplateRequest) (*model.UpdateTemplateResponse, error)

UpdateTemplate 修改模板信息

修改源端模板信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateTemplateInvoker added in v0.0.90

func (c *SmsClient) UpdateTemplateInvoker(request *model.UpdateTemplateRequest) *UpdateTemplateInvoker

UpdateTemplateInvoker 修改模板信息

func (*SmsClient) UploadSpecialConfigurationSetting added in v0.1.38

UploadSpecialConfigurationSetting 迁移任务配置设置

配置迁移任务特殊设置,例如配置指定同步的文件或路径

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UploadSpecialConfigurationSettingInvoker added in v0.1.38

func (c *SmsClient) UploadSpecialConfigurationSettingInvoker(request *model.UploadSpecialConfigurationSettingRequest) *UploadSpecialConfigurationSettingInvoker

UploadSpecialConfigurationSettingInvoker 迁移任务配置设置

type UnlockTargetEcsInvoker added in v0.1.3

type UnlockTargetEcsInvoker struct {
	*invoker.BaseInvoker
}

func (*UnlockTargetEcsInvoker) Invoke added in v0.1.3

type UpdateCommandResultInvoker added in v0.0.90

type UpdateCommandResultInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCommandResultInvoker) Invoke added in v0.0.90

type UpdateConsistencyResultInvoker added in v0.1.72

type UpdateConsistencyResultInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateConsistencyResultInvoker) Invoke added in v0.1.72

type UpdateCopyStateInvoker added in v0.0.90

type UpdateCopyStateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCopyStateInvoker) Invoke added in v0.0.90

type UpdateDefaultMigprojectInvoker added in v0.0.90

type UpdateDefaultMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDefaultMigprojectInvoker) Invoke added in v0.0.90

type UpdateDiskInfoInvoker added in v0.0.90

type UpdateDiskInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDiskInfoInvoker) Invoke added in v0.0.90

type UpdateMigprojectInvoker added in v0.0.90

type UpdateMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateMigprojectInvoker) Invoke added in v0.0.90

type UpdateNetworkCheckInfoInvoker added in v0.1.38

type UpdateNetworkCheckInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNetworkCheckInfoInvoker) Invoke added in v0.1.38

type UpdateServerNameInvoker added in v0.0.90

type UpdateServerNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateServerNameInvoker) Invoke added in v0.0.90

type UpdateSpeedInvoker added in v0.0.90

type UpdateSpeedInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSpeedInvoker) Invoke added in v0.0.90

type UpdateTaskInvoker added in v0.0.90

type UpdateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskInvoker) Invoke added in v0.0.90

type UpdateTaskSpeedInvoker added in v0.0.90

type UpdateTaskSpeedInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskSpeedInvoker) Invoke added in v0.0.90

type UpdateTaskStatusInvoker added in v0.0.90

type UpdateTaskStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskStatusInvoker) Invoke added in v0.0.90

type UpdateTemplateInvoker added in v0.0.90

type UpdateTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTemplateInvoker) Invoke added in v0.0.90

type UploadSpecialConfigurationSettingInvoker added in v0.1.38

type UploadSpecialConfigurationSettingInvoker struct {
	*invoker.BaseInvoker
}

func (*UploadSpecialConfigurationSettingInvoker) Invoke added in v0.1.38

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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