v1

package
v0.0.104 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 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 CphClientBuilder

func CphClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForBatchExportCloudPhoneData

func GenReqDefForBatchExportCloudPhoneData() *def.HttpRequestDef

func GenReqDefForBatchImportCloudPhoneData

func GenReqDefForBatchImportCloudPhoneData() *def.HttpRequestDef

func GenReqDefForBatchMigrateCloudPhone

func GenReqDefForBatchMigrateCloudPhone() *def.HttpRequestDef

func GenReqDefForChangeCloudPhoneServerModel

func GenReqDefForChangeCloudPhoneServerModel() *def.HttpRequestDef

func GenReqDefForCreateCloudPhoneServer

func GenReqDefForCreateCloudPhoneServer() *def.HttpRequestDef

func GenReqDefForCreateNet2CloudPhoneServer

func GenReqDefForCreateNet2CloudPhoneServer() *def.HttpRequestDef

func GenReqDefForDeleteShareApps

func GenReqDefForDeleteShareApps() *def.HttpRequestDef

func GenReqDefForImportTraffic

func GenReqDefForImportTraffic() *def.HttpRequestDef

func GenReqDefForListCloudPhoneImages

func GenReqDefForListCloudPhoneImages() *def.HttpRequestDef

func GenReqDefForListCloudPhoneModels

func GenReqDefForListCloudPhoneModels() *def.HttpRequestDef

func GenReqDefForListCloudPhoneServerModels

func GenReqDefForListCloudPhoneServerModels() *def.HttpRequestDef

func GenReqDefForListCloudPhoneServers

func GenReqDefForListCloudPhoneServers() *def.HttpRequestDef

func GenReqDefForListCloudPhones

func GenReqDefForListCloudPhones() *def.HttpRequestDef

func GenReqDefForListEncodeServers

func GenReqDefForListEncodeServers() *def.HttpRequestDef

func GenReqDefForListJobs

func GenReqDefForListJobs() *def.HttpRequestDef

func GenReqDefForListShareFiles

func GenReqDefForListShareFiles() *def.HttpRequestDef

func GenReqDefForPushShareApps

func GenReqDefForPushShareApps() *def.HttpRequestDef

func GenReqDefForPushShareFiles

func GenReqDefForPushShareFiles() *def.HttpRequestDef

func GenReqDefForResetCloudPhone

func GenReqDefForResetCloudPhone() *def.HttpRequestDef

func GenReqDefForRestartCloudPhone

func GenReqDefForRestartCloudPhone() *def.HttpRequestDef

func GenReqDefForRestartCloudPhoneServer

func GenReqDefForRestartCloudPhoneServer() *def.HttpRequestDef

func GenReqDefForRestartEncodeServer

func GenReqDefForRestartEncodeServer() *def.HttpRequestDef

func GenReqDefForRunShellCommand

func GenReqDefForRunShellCommand() *def.HttpRequestDef

func GenReqDefForRunSyncCommand

func GenReqDefForRunSyncCommand() *def.HttpRequestDef

func GenReqDefForShowBandwidthDetail

func GenReqDefForShowBandwidthDetail() *def.HttpRequestDef

func GenReqDefForShowCloudPhoneDetail

func GenReqDefForShowCloudPhoneDetail() *def.HttpRequestDef

func GenReqDefForShowCloudPhoneServerDetail

func GenReqDefForShowCloudPhoneServerDetail() *def.HttpRequestDef

func GenReqDefForShowJob

func GenReqDefForShowJob() *def.HttpRequestDef

func GenReqDefForStopCloudPhone

func GenReqDefForStopCloudPhone() *def.HttpRequestDef

func GenReqDefForUpdateBandwidth

func GenReqDefForUpdateBandwidth() *def.HttpRequestDef

func GenReqDefForUpdateCloudPhoneProperty

func GenReqDefForUpdateCloudPhoneProperty() *def.HttpRequestDef

func GenReqDefForUpdateKeypair

func GenReqDefForUpdateKeypair() *def.HttpRequestDef

func GenReqDefForUpdatePhoneName

func GenReqDefForUpdatePhoneName() *def.HttpRequestDef

func GenReqDefForUpdateServerName

func GenReqDefForUpdateServerName() *def.HttpRequestDef

Types

type BatchExportCloudPhoneDataInvoker

type BatchExportCloudPhoneDataInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchExportCloudPhoneDataInvoker) Invoke

type BatchImportCloudPhoneDataInvoker

type BatchImportCloudPhoneDataInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchImportCloudPhoneDataInvoker) Invoke

type BatchMigrateCloudPhoneInvoker

type BatchMigrateCloudPhoneInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchMigrateCloudPhoneInvoker) Invoke

type ChangeCloudPhoneServerModelInvoker

type ChangeCloudPhoneServerModelInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeCloudPhoneServerModelInvoker) Invoke

type CphClient

type CphClient struct {
	HcClient *http_client.HcHttpClient
}

func NewCphClient

func NewCphClient(hcClient *http_client.HcHttpClient) *CphClient

func (*CphClient) BatchExportCloudPhoneData

BatchExportCloudPhoneData 导出云手机数据

批量导出云手机中的数据。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) BatchExportCloudPhoneDataInvoker

func (c *CphClient) BatchExportCloudPhoneDataInvoker(request *model.BatchExportCloudPhoneDataRequest) *BatchExportCloudPhoneDataInvoker

BatchExportCloudPhoneDataInvoker 导出云手机数据

func (*CphClient) BatchImportCloudPhoneData

BatchImportCloudPhoneData 恢复云手机数据

导入数据到手机中。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) BatchImportCloudPhoneDataInvoker

func (c *CphClient) BatchImportCloudPhoneDataInvoker(request *model.BatchImportCloudPhoneDataRequest) *BatchImportCloudPhoneDataInvoker

BatchImportCloudPhoneDataInvoker 恢复云手机数据

func (*CphClient) BatchMigrateCloudPhone

BatchMigrateCloudPhone 迁移云手机

批量迁移整台云手机,包括云手机的系统盘数据和数据盘数据。该接口为异步接口,迁移完成的时间和手机的数据量有一定关系,整机数据大小为11G时,迁移时间大约为3-5分钟。迁移前请关闭云手机。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) BatchMigrateCloudPhoneInvoker

func (c *CphClient) BatchMigrateCloudPhoneInvoker(request *model.BatchMigrateCloudPhoneRequest) *BatchMigrateCloudPhoneInvoker

BatchMigrateCloudPhoneInvoker 迁移云手机

func (*CphClient) ChangeCloudPhoneServerModel

ChangeCloudPhoneServerModel 变更云手机服务器规格

变更云手机服务器规格。只有能使用physical.rx1.xlarge.special私有规格的租户才可使用本接口。变更的目标规格也必须为特殊的规格才可变更。接口调用成功后,大约2分钟左右规格会变更结束,在订单中心可以查看到变更的订单状态为成功,且查询服务器的详细信息,可以查看到服务器规格名称已经变成新的规格名称。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ChangeCloudPhoneServerModelInvoker

func (c *CphClient) ChangeCloudPhoneServerModelInvoker(request *model.ChangeCloudPhoneServerModelRequest) *ChangeCloudPhoneServerModelInvoker

ChangeCloudPhoneServerModelInvoker 变更云手机服务器规格

func (*CphClient) CreateCloudPhoneServer

CreateCloudPhoneServer 购买系统定义网络的云手机服务器

购买系统定义网络云手机服务器。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) CreateCloudPhoneServerInvoker

func (c *CphClient) CreateCloudPhoneServerInvoker(request *model.CreateCloudPhoneServerRequest) *CreateCloudPhoneServerInvoker

CreateCloudPhoneServerInvoker 购买系统定义网络的云手机服务器

func (*CphClient) CreateNet2CloudPhoneServer

CreateNet2CloudPhoneServer 购买自定义网络云手机服务器

购买自定义网络的云手机服务器。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) CreateNet2CloudPhoneServerInvoker

func (c *CphClient) CreateNet2CloudPhoneServerInvoker(request *model.CreateNet2CloudPhoneServerRequest) *CreateNet2CloudPhoneServerInvoker

CreateNet2CloudPhoneServerInvoker 购买自定义网络云手机服务器

func (*CphClient) DeleteShareApps

func (c *CphClient) DeleteShareApps(request *model.DeleteShareAppsRequest) (*model.DeleteShareAppsResponse, error)

DeleteShareApps 删除共享应用

在共享应用存储目录中删除共享应用,该功能仅在支持共享应用的云手机规格上可实现。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) DeleteShareAppsInvoker

func (c *CphClient) DeleteShareAppsInvoker(request *model.DeleteShareAppsRequest) *DeleteShareAppsInvoker

DeleteShareAppsInvoker 删除共享应用

func (*CphClient) ImportTraffic

func (c *CphClient) ImportTraffic(request *model.ImportTrafficRequest) (*model.ImportTrafficResponse, error)

ImportTraffic 云手机流量导流

手机流量路由修改。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ImportTrafficInvoker

func (c *CphClient) ImportTrafficInvoker(request *model.ImportTrafficRequest) *ImportTrafficInvoker

ImportTrafficInvoker 云手机流量导流

func (*CphClient) ListCloudPhoneImages

ListCloudPhoneImages 查询手机镜像

根据项目ID查询可用的手机镜像。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ListCloudPhoneImagesInvoker

func (c *CphClient) ListCloudPhoneImagesInvoker(request *model.ListCloudPhoneImagesRequest) *ListCloudPhoneImagesInvoker

ListCloudPhoneImagesInvoker 查询手机镜像

func (*CphClient) ListCloudPhoneModels

ListCloudPhoneModels 查询云手机规格列表

查询或统计云手机的规格列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ListCloudPhoneModelsInvoker

func (c *CphClient) ListCloudPhoneModelsInvoker(request *model.ListCloudPhoneModelsRequest) *ListCloudPhoneModelsInvoker

ListCloudPhoneModelsInvoker 查询云手机规格列表

func (*CphClient) ListCloudPhoneServerModels

ListCloudPhoneServerModels 查询云手机服务器规格列表

查询云手机服务器的规格列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ListCloudPhoneServerModelsInvoker

func (c *CphClient) ListCloudPhoneServerModelsInvoker(request *model.ListCloudPhoneServerModelsRequest) *ListCloudPhoneServerModelsInvoker

ListCloudPhoneServerModelsInvoker 查询云手机服务器规格列表

func (*CphClient) ListCloudPhoneServers

ListCloudPhoneServers 查询云手机服务器列表

分页查询云手机服务器,云手机服务器列表按照创建时间进行降序排列。分页查询可以指定offset以及limit。如果不存在云手机服务器,则返回空列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ListCloudPhoneServersInvoker

func (c *CphClient) ListCloudPhoneServersInvoker(request *model.ListCloudPhoneServersRequest) *ListCloudPhoneServersInvoker

ListCloudPhoneServersInvoker 查询云手机服务器列表

func (*CphClient) ListCloudPhones

func (c *CphClient) ListCloudPhones(request *model.ListCloudPhonesRequest) (*model.ListCloudPhonesResponse, error)

ListCloudPhones 查询云手机列表

分页查询云手机,云手机列表按照创建时间进行降序排列。分页查询可以指定offset以及limit。如果不存在云手机,则返回空列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ListCloudPhonesInvoker

func (c *CphClient) ListCloudPhonesInvoker(request *model.ListCloudPhonesRequest) *ListCloudPhonesInvoker

ListCloudPhonesInvoker 查询云手机列表

func (*CphClient) ListEncodeServers

func (c *CphClient) ListEncodeServers(request *model.ListEncodeServersRequest) (*model.ListEncodeServersResponse, error)

ListEncodeServers 查询编码服务

查询编码服务列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ListEncodeServersInvoker

func (c *CphClient) ListEncodeServersInvoker(request *model.ListEncodeServersRequest) *ListEncodeServersInvoker

ListEncodeServersInvoker 查询编码服务

func (*CphClient) ListJobs

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

ListJobs 查询任务执行状态列表

查询同一个request id下的任务。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ListJobsInvoker

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

ListJobsInvoker 查询任务执行状态列表

func (*CphClient) ListShareFiles

func (c *CphClient) ListShareFiles(request *model.ListShareFilesRequest) (*model.ListShareFilesResponse, error)

ListShareFiles 查询共享存储文件

查询共享存储指定路径下的文件列表,该功能仅在支持共享存储的云手机规格上可实现。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ListShareFilesInvoker

func (c *CphClient) ListShareFilesInvoker(request *model.ListShareFilesRequest) *ListShareFilesInvoker

ListShareFilesInvoker 查询共享存储文件

func (*CphClient) PushShareApps

func (c *CphClient) PushShareApps(request *model.PushShareAppsRequest) (*model.PushShareAppsResponse, error)

PushShareApps 推送共享应用

推送应用tar文件至共享应用存储目录中,该功能仅在支持共享应用的云手机规格上可实现。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) PushShareAppsInvoker

func (c *CphClient) PushShareAppsInvoker(request *model.PushShareAppsRequest) *PushShareAppsInvoker

PushShareAppsInvoker 推送共享应用

func (*CphClient) PushShareFiles

func (c *CphClient) PushShareFiles(request *model.PushShareFilesRequest) (*model.PushShareFilesResponse, error)

PushShareFiles 推送删除共享存储文件

推送文件至共享存储目录中,删除共享存储目录中文件,该功能仅在支持共享存储的云手机规格上可实现。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) PushShareFilesInvoker

func (c *CphClient) PushShareFilesInvoker(request *model.PushShareFilesRequest) *PushShareFilesInvoker

PushShareFilesInvoker 推送删除共享存储文件

func (*CphClient) ResetCloudPhone

func (c *CphClient) ResetCloudPhone(request *model.ResetCloudPhoneRequest) (*model.ResetCloudPhoneResponse, error)

ResetCloudPhone 重置云手机

批量重置云手机,将云手机恢复出厂设置。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ResetCloudPhoneInvoker

func (c *CphClient) ResetCloudPhoneInvoker(request *model.ResetCloudPhoneRequest) *ResetCloudPhoneInvoker

ResetCloudPhoneInvoker 重置云手机

func (*CphClient) RestartCloudPhone

func (c *CphClient) RestartCloudPhone(request *model.RestartCloudPhoneRequest) (*model.RestartCloudPhoneResponse, error)

RestartCloudPhone 重启云手机

批量重启云手机,也可用于开启云手机。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) RestartCloudPhoneInvoker

func (c *CphClient) RestartCloudPhoneInvoker(request *model.RestartCloudPhoneRequest) *RestartCloudPhoneInvoker

RestartCloudPhoneInvoker 重启云手机

func (*CphClient) RestartCloudPhoneServer

RestartCloudPhoneServer 重启云手机服务器

批量重启云手机服务器。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) RestartCloudPhoneServerInvoker

func (c *CphClient) RestartCloudPhoneServerInvoker(request *model.RestartCloudPhoneServerRequest) *RestartCloudPhoneServerInvoker

RestartCloudPhoneServerInvoker 重启云手机服务器

func (*CphClient) RestartEncodeServer

RestartEncodeServer 重启编码服务

批量重启编码服务。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) RestartEncodeServerInvoker

func (c *CphClient) RestartEncodeServerInvoker(request *model.RestartEncodeServerRequest) *RestartEncodeServerInvoker

RestartEncodeServerInvoker 重启编码服务

func (*CphClient) RunShellCommand

func (c *CphClient) RunShellCommand(request *model.RunShellCommandRequest) (*model.RunShellCommandResponse, error)

RunShellCommand 执行异步adb命令

在云手机中执行异步执行命令并返回任务,可调用查询任务执行状态和查询任务执行状态列表获取任务执行结果。该接口支持push、install、uninstall和shell命令的执行。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) RunShellCommandInvoker

func (c *CphClient) RunShellCommandInvoker(request *model.RunShellCommandRequest) *RunShellCommandInvoker

RunShellCommandInvoker 执行异步adb命令

func (*CphClient) RunSyncCommand

func (c *CphClient) RunSyncCommand(request *model.RunSyncCommandRequest) (*model.RunSyncCommandResponse, error)

RunSyncCommand 执行同步adb命令

在云手机中同步执行命令并返回命令执行的输出信息,该接口仅支持adb shell命令的执行。1分钟内每个用户调用接口次数上限为6次,每个云手机允许执行命令超时时间为2秒,接口时间不超过30秒,执行云手机数越多,接口耗时相应越长。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) RunSyncCommandInvoker

func (c *CphClient) RunSyncCommandInvoker(request *model.RunSyncCommandRequest) *RunSyncCommandInvoker

RunSyncCommandInvoker 执行同步adb命令

func (*CphClient) ShowBandwidthDetail

ShowBandwidthDetail 查询带宽信息

查询云手机使用的带宽信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ShowBandwidthDetailInvoker

func (c *CphClient) ShowBandwidthDetailInvoker(request *model.ShowBandwidthDetailRequest) *ShowBandwidthDetailInvoker

ShowBandwidthDetailInvoker 查询带宽信息

func (*CphClient) ShowCloudPhoneDetail

ShowCloudPhoneDetail 查询云手机详情

查询云手机的详细信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ShowCloudPhoneDetailInvoker

func (c *CphClient) ShowCloudPhoneDetailInvoker(request *model.ShowCloudPhoneDetailRequest) *ShowCloudPhoneDetailInvoker

ShowCloudPhoneDetailInvoker 查询云手机详情

func (*CphClient) ShowCloudPhoneServerDetail

ShowCloudPhoneServerDetail 查询云手机服务器详情

根据server_id查询云手机服务器的详细信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ShowCloudPhoneServerDetailInvoker

func (c *CphClient) ShowCloudPhoneServerDetailInvoker(request *model.ShowCloudPhoneServerDetailRequest) *ShowCloudPhoneServerDetailInvoker

ShowCloudPhoneServerDetailInvoker 查询云手机服务器详情

func (*CphClient) ShowJob

func (c *CphClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)

ShowJob 查询任务执行状态

查询任务的执行状态。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) ShowJobInvoker

func (c *CphClient) ShowJobInvoker(request *model.ShowJobRequest) *ShowJobInvoker

ShowJobInvoker 查询任务执行状态

func (*CphClient) StopCloudPhone

func (c *CphClient) StopCloudPhone(request *model.StopCloudPhoneRequest) (*model.StopCloudPhoneResponse, error)

StopCloudPhone 关闭云手机

批量关闭云手机。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) StopCloudPhoneInvoker

func (c *CphClient) StopCloudPhoneInvoker(request *model.StopCloudPhoneRequest) *StopCloudPhoneInvoker

StopCloudPhoneInvoker 关闭云手机

func (*CphClient) UpdateBandwidth

func (c *CphClient) UpdateBandwidth(request *model.UpdateBandwidthRequest) (*model.UpdateBandwidthResponse, error)

UpdateBandwidth 修改共享带宽

修改云手机使用的共享带宽大小。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) UpdateBandwidthInvoker

func (c *CphClient) UpdateBandwidthInvoker(request *model.UpdateBandwidthRequest) *UpdateBandwidthInvoker

UpdateBandwidthInvoker 修改共享带宽

func (*CphClient) UpdateCloudPhoneProperty

UpdateCloudPhoneProperty 更新云手机属性

部分云手机属性开放更新能力,部分属性无法更新,部分属性需要重启手机生效,属性约束请云手机属性列表。如果手机处于异常状态,属性更新后需恢复手机状态为运行中才可生效。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) UpdateCloudPhonePropertyInvoker

func (c *CphClient) UpdateCloudPhonePropertyInvoker(request *model.UpdateCloudPhonePropertyRequest) *UpdateCloudPhonePropertyInvoker

UpdateCloudPhonePropertyInvoker 更新云手机属性

func (*CphClient) UpdateKeypair

func (c *CphClient) UpdateKeypair(request *model.UpdateKeypairRequest) (*model.UpdateKeypairResponse, error)

UpdateKeypair 更改密钥对

修改连接云手机的密钥对。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) UpdateKeypairInvoker

func (c *CphClient) UpdateKeypairInvoker(request *model.UpdateKeypairRequest) *UpdateKeypairInvoker

UpdateKeypairInvoker 更改密钥对

func (*CphClient) UpdatePhoneName

func (c *CphClient) UpdatePhoneName(request *model.UpdatePhoneNameRequest) (*model.UpdatePhoneNameResponse, error)

UpdatePhoneName 修改云手机名称

根据phoneId修改phoneName。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) UpdatePhoneNameInvoker

func (c *CphClient) UpdatePhoneNameInvoker(request *model.UpdatePhoneNameRequest) *UpdatePhoneNameInvoker

UpdatePhoneNameInvoker 修改云手机名称

func (*CphClient) UpdateServerName

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

UpdateServerName 修改云手机服务器名称

根据serverId修改serverName。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CphClient) UpdateServerNameInvoker

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

UpdateServerNameInvoker 修改云手机服务器名称

type CreateCloudPhoneServerInvoker

type CreateCloudPhoneServerInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateCloudPhoneServerInvoker) Invoke

type CreateNet2CloudPhoneServerInvoker

type CreateNet2CloudPhoneServerInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNet2CloudPhoneServerInvoker) Invoke

type DeleteShareAppsInvoker

type DeleteShareAppsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteShareAppsInvoker) Invoke

type ImportTrafficInvoker

type ImportTrafficInvoker struct {
	*invoker.BaseInvoker
}

func (*ImportTrafficInvoker) Invoke

type ListCloudPhoneImagesInvoker

type ListCloudPhoneImagesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCloudPhoneImagesInvoker) Invoke

type ListCloudPhoneModelsInvoker

type ListCloudPhoneModelsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCloudPhoneModelsInvoker) Invoke

type ListCloudPhoneServerModelsInvoker

type ListCloudPhoneServerModelsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCloudPhoneServerModelsInvoker) Invoke

type ListCloudPhoneServersInvoker

type ListCloudPhoneServersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCloudPhoneServersInvoker) Invoke

type ListCloudPhonesInvoker

type ListCloudPhonesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCloudPhonesInvoker) Invoke

type ListEncodeServersInvoker

type ListEncodeServersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEncodeServersInvoker) Invoke

type ListJobsInvoker

type ListJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListJobsInvoker) Invoke

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

type ListShareFilesInvoker

type ListShareFilesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListShareFilesInvoker) Invoke

type PushShareAppsInvoker

type PushShareAppsInvoker struct {
	*invoker.BaseInvoker
}

func (*PushShareAppsInvoker) Invoke

type PushShareFilesInvoker

type PushShareFilesInvoker struct {
	*invoker.BaseInvoker
}

func (*PushShareFilesInvoker) Invoke

type ResetCloudPhoneInvoker

type ResetCloudPhoneInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetCloudPhoneInvoker) Invoke

type RestartCloudPhoneInvoker

type RestartCloudPhoneInvoker struct {
	*invoker.BaseInvoker
}

func (*RestartCloudPhoneInvoker) Invoke

type RestartCloudPhoneServerInvoker

type RestartCloudPhoneServerInvoker struct {
	*invoker.BaseInvoker
}

func (*RestartCloudPhoneServerInvoker) Invoke

type RestartEncodeServerInvoker

type RestartEncodeServerInvoker struct {
	*invoker.BaseInvoker
}

func (*RestartEncodeServerInvoker) Invoke

type RunShellCommandInvoker

type RunShellCommandInvoker struct {
	*invoker.BaseInvoker
}

func (*RunShellCommandInvoker) Invoke

type RunSyncCommandInvoker

type RunSyncCommandInvoker struct {
	*invoker.BaseInvoker
}

func (*RunSyncCommandInvoker) Invoke

type ShowBandwidthDetailInvoker

type ShowBandwidthDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBandwidthDetailInvoker) Invoke

type ShowCloudPhoneDetailInvoker

type ShowCloudPhoneDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCloudPhoneDetailInvoker) Invoke

type ShowCloudPhoneServerDetailInvoker

type ShowCloudPhoneServerDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCloudPhoneServerDetailInvoker) Invoke

type ShowJobInvoker

type ShowJobInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobInvoker) Invoke

func (i *ShowJobInvoker) Invoke() (*model.ShowJobResponse, error)

type StopCloudPhoneInvoker

type StopCloudPhoneInvoker struct {
	*invoker.BaseInvoker
}

func (*StopCloudPhoneInvoker) Invoke

type UpdateBandwidthInvoker

type UpdateBandwidthInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateBandwidthInvoker) Invoke

type UpdateCloudPhonePropertyInvoker

type UpdateCloudPhonePropertyInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCloudPhonePropertyInvoker) Invoke

type UpdateKeypairInvoker

type UpdateKeypairInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateKeypairInvoker) Invoke

type UpdatePhoneNameInvoker

type UpdatePhoneNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePhoneNameInvoker) Invoke

type UpdateServerNameInvoker

type UpdateServerNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateServerNameInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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