v3

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 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 GenReqDefForCheckNetAcl

func GenReqDefForCheckNetAcl() *def.HttpRequestDef

func GenReqDefForCollectLog

func GenReqDefForCollectLog() *def.HttpRequestDef

func GenReqDefForCreateMigproject

func GenReqDefForCreateMigproject() *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

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

func GenReqDefForShowApiVersion() *def.HttpRequestDef

func GenReqDefForShowCertKey

func GenReqDefForShowCertKey() *def.HttpRequestDef

func GenReqDefForShowCommand

func GenReqDefForShowCommand() *def.HttpRequestDef

func GenReqDefForShowConfig

func GenReqDefForShowConfig() *def.HttpRequestDef

func GenReqDefForShowConfigSetting

func GenReqDefForShowConfigSetting() *def.HttpRequestDef

func GenReqDefForShowMigproject

func GenReqDefForShowMigproject() *def.HttpRequestDef

func GenReqDefForShowOverview

func GenReqDefForShowOverview() *def.HttpRequestDef

func GenReqDefForShowPassphrase

func GenReqDefForShowPassphrase() *def.HttpRequestDef

func GenReqDefForShowServer

func GenReqDefForShowServer() *def.HttpRequestDef

func GenReqDefForShowSha256

func GenReqDefForShowSha256() *def.HttpRequestDef

func GenReqDefForShowTargetPassword

func GenReqDefForShowTargetPassword() *def.HttpRequestDef

func GenReqDefForShowTask

func GenReqDefForShowTask() *def.HttpRequestDef

func GenReqDefForShowTemplate

func GenReqDefForShowTemplate() *def.HttpRequestDef

func GenReqDefForShowsSpeedLimits

func GenReqDefForShowsSpeedLimits() *def.HttpRequestDef

func GenReqDefForUnlockTargetEcs

func GenReqDefForUnlockTargetEcs() *def.HttpRequestDef

func GenReqDefForUpdateCommandResult

func GenReqDefForUpdateCommandResult() *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

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

func GenReqDefForUploadSpecialConfigurationSetting() *def.HttpRequestDef

func SmsClientBuilder

func SmsClientBuilder() *http_client.HcHttpClientBuilder

Types

type CheckNetAclInvoker

type CheckNetAclInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckNetAclInvoker) Invoke

type CollectLogInvoker

type CollectLogInvoker struct {
	*invoker.BaseInvoker
}

func (*CollectLogInvoker) Invoke

type CreateMigprojectInvoker

type CreateMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateMigprojectInvoker) Invoke

type CreateTaskInvoker

type CreateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTaskInvoker) Invoke

type CreateTemplateInvoker

type CreateTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTemplateInvoker) Invoke

type DeleteMigprojectInvoker

type DeleteMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMigprojectInvoker) Invoke

type DeleteServerInvoker

type DeleteServerInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteServerInvoker) Invoke

type DeleteServersInvoker

type DeleteServersInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteServersInvoker) Invoke

type DeleteTaskInvoker

type DeleteTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTaskInvoker) Invoke

type DeleteTasksInvoker

type DeleteTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTasksInvoker) Invoke

type DeleteTemplateInvoker

type DeleteTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTemplateInvoker) Invoke

type DeleteTemplatesInvoker

type DeleteTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTemplatesInvoker) Invoke

type ListApiVersionInvoker

type ListApiVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ListApiVersionInvoker) Invoke

type ListErrorServersInvoker

type ListErrorServersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListErrorServersInvoker) Invoke

type ListMigprojectsInvoker

type ListMigprojectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMigprojectsInvoker) Invoke

type ListServersInvoker

type ListServersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListServersInvoker) Invoke

type ListTasksInvoker

type ListTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTasksInvoker) Invoke

type ListTemplatesInvoker

type ListTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTemplatesInvoker) Invoke

type RegisterServerInvoker

type RegisterServerInvoker struct {
	*invoker.BaseInvoker
}

func (*RegisterServerInvoker) Invoke

type ShowApiVersionInvoker

type ShowApiVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowApiVersionInvoker) Invoke

type ShowCertKeyInvoker

type ShowCertKeyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCertKeyInvoker) Invoke

type ShowCommandInvoker

type ShowCommandInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCommandInvoker) Invoke

type ShowConfigInvoker

type ShowConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowConfigInvoker) Invoke

type ShowConfigSettingInvoker

type ShowConfigSettingInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowConfigSettingInvoker) Invoke

type ShowMigprojectInvoker

type ShowMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMigprojectInvoker) Invoke

type ShowOverviewInvoker

type ShowOverviewInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOverviewInvoker) Invoke

type ShowPassphraseInvoker

type ShowPassphraseInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPassphraseInvoker) Invoke

type ShowServerInvoker

type ShowServerInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowServerInvoker) Invoke

type ShowSha256Invoker

type ShowSha256Invoker struct {
	*invoker.BaseInvoker
}

func (*ShowSha256Invoker) Invoke

type ShowTargetPasswordInvoker

type ShowTargetPasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTargetPasswordInvoker) Invoke

type ShowTaskInvoker

type ShowTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTaskInvoker) Invoke

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

type ShowTemplateInvoker

type ShowTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTemplateInvoker) Invoke

type ShowsSpeedLimitsInvoker

type ShowsSpeedLimitsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowsSpeedLimitsInvoker) Invoke

type SmsClient

type SmsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewSmsClient

func NewSmsClient(hcClient *http_client.HcHttpClient) *SmsClient

func (*SmsClient) CheckNetAcl

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

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

检查网卡安全组。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) CheckNetAclInvoker

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

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

func (*SmsClient) CollectLog

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

CollectLog 上传迁移任务的日志

上传迁移任务的日志。

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) CollectLogInvoker

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

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

CreateMigprojectInvoker 新建迁移项目

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

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

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

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

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

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

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

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

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

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

DeleteTemplatesInvoker 批量删除指定ID的模板

func (*SmsClient) ListApiVersion

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

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

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

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

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

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

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

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

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

func (*SmsClient) ShowApiVersion

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

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

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

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

ShowCommandInvoker 获取服务端命令

func (*SmsClient) ShowConfig

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

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

ShowConfigInvoker 获取Agent配置信息

func (*SmsClient) ShowConfigSetting

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

ShowConfigSetting 查询配置资源

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

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowConfigSettingInvoker

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

ShowConfigSettingInvoker 查询配置资源

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

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

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

ShowOverviewInvoker 获取服务器总览

func (*SmsClient) ShowPassphrase

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

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

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

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

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

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

func (*SmsClient) ShowSha256

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

ShowSha256 计算sha256

计算sha256

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) ShowSha256Invoker

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

ShowSha256Invoker 计算sha256

func (*SmsClient) ShowTargetPassword

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

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

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

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

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

ShowsSpeedLimitsInvoker 查询任务限速规则

func (*SmsClient) UnlockTargetEcs

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

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

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

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UnlockTargetEcsInvoker

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

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

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

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

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

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

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

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

UpdateMigprojectInvoker 更新迁移项目信息

func (*SmsClient) UpdateNetworkCheckInfo

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

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

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UpdateNetworkCheckInfoInvoker

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

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

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

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

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

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

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

UpdateTemplateInvoker 修改模板信息

func (*SmsClient) UploadSpecialConfigurationSetting

UploadSpecialConfigurationSetting 迁移任务配置设置

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

Please refer to HUAWEI cloud API Explorer for details.

func (*SmsClient) UploadSpecialConfigurationSettingInvoker

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

UploadSpecialConfigurationSettingInvoker 迁移任务配置设置

type UnlockTargetEcsInvoker

type UnlockTargetEcsInvoker struct {
	*invoker.BaseInvoker
}

func (*UnlockTargetEcsInvoker) Invoke

type UpdateCommandResultInvoker

type UpdateCommandResultInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCommandResultInvoker) Invoke

type UpdateCopyStateInvoker

type UpdateCopyStateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCopyStateInvoker) Invoke

type UpdateDefaultMigprojectInvoker

type UpdateDefaultMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDefaultMigprojectInvoker) Invoke

type UpdateDiskInfoInvoker

type UpdateDiskInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDiskInfoInvoker) Invoke

type UpdateMigprojectInvoker

type UpdateMigprojectInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateMigprojectInvoker) Invoke

type UpdateNetworkCheckInfoInvoker

type UpdateNetworkCheckInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNetworkCheckInfoInvoker) Invoke

type UpdateServerNameInvoker

type UpdateServerNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateServerNameInvoker) Invoke

type UpdateSpeedInvoker

type UpdateSpeedInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSpeedInvoker) Invoke

type UpdateTaskInvoker

type UpdateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskInvoker) Invoke

type UpdateTaskSpeedInvoker

type UpdateTaskSpeedInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskSpeedInvoker) Invoke

type UpdateTaskStatusInvoker

type UpdateTaskStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskStatusInvoker) Invoke

type UpdateTemplateInvoker

type UpdateTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTemplateInvoker) Invoke

type UploadSpecialConfigurationSettingInvoker

type UploadSpecialConfigurationSettingInvoker struct {
	*invoker.BaseInvoker
}

func (*UploadSpecialConfigurationSettingInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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