Documentation ¶
Index ¶
- func CphClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchCreateTags() *def.HttpRequestDef
- func GenReqDefForBatchDeleteTags() *def.HttpRequestDef
- func GenReqDefForBatchExportCloudPhoneData() *def.HttpRequestDef
- func GenReqDefForBatchImportCloudPhoneData() *def.HttpRequestDef
- func GenReqDefForBatchMigrateCloudPhone() *def.HttpRequestDef
- func GenReqDefForChangeCloudPhoneServerModel() *def.HttpRequestDef
- func GenReqDefForCreateCloudPhoneServer() *def.HttpRequestDef
- func GenReqDefForCreateNet2CloudPhoneServer() *def.HttpRequestDef
- func GenReqDefForDeleteShareApps() *def.HttpRequestDef
- func GenReqDefForDeleteShareFiles() *def.HttpRequestDef
- func GenReqDefForImportTraffic() *def.HttpRequestDef
- func GenReqDefForInstallApk() *def.HttpRequestDef
- func GenReqDefForListCloudPhoneImages() *def.HttpRequestDef
- func GenReqDefForListCloudPhoneModels() *def.HttpRequestDef
- func GenReqDefForListCloudPhoneServerModels() *def.HttpRequestDef
- func GenReqDefForListCloudPhoneServers() *def.HttpRequestDef
- func GenReqDefForListCloudPhones() *def.HttpRequestDef
- func GenReqDefForListEncodeServers() *def.HttpRequestDef
- func GenReqDefForListJobs() *def.HttpRequestDef
- func GenReqDefForListProjectTags() *def.HttpRequestDef
- func GenReqDefForListResourceInstances() *def.HttpRequestDef
- func GenReqDefForListResourceTags() *def.HttpRequestDef
- func GenReqDefForListShareFiles() *def.HttpRequestDef
- func GenReqDefForPushFile() *def.HttpRequestDef
- func GenReqDefForPushShareApps() *def.HttpRequestDef
- func GenReqDefForPushShareFiles() *def.HttpRequestDef
- func GenReqDefForResetCloudPhone() *def.HttpRequestDef
- func GenReqDefForRestartCloudPhone() *def.HttpRequestDef
- func GenReqDefForRestartCloudPhoneServer() *def.HttpRequestDef
- func GenReqDefForRestartEncodeServer() *def.HttpRequestDef
- func GenReqDefForRunShellCommand() *def.HttpRequestDef
- func GenReqDefForRunSyncCommand() *def.HttpRequestDef
- func GenReqDefForShowBandwidthDetail() *def.HttpRequestDef
- func GenReqDefForShowCloudPhoneDetail() *def.HttpRequestDef
- func GenReqDefForShowCloudPhoneServerDetail() *def.HttpRequestDef
- func GenReqDefForShowJob() *def.HttpRequestDef
- func GenReqDefForStopCloudPhone() *def.HttpRequestDef
- func GenReqDefForUninstallApk() *def.HttpRequestDef
- func GenReqDefForUpdateBandwidth() *def.HttpRequestDef
- func GenReqDefForUpdateCloudPhoneProperty() *def.HttpRequestDef
- func GenReqDefForUpdateKeypair() *def.HttpRequestDef
- func GenReqDefForUpdatePhoneName() *def.HttpRequestDef
- func GenReqDefForUpdateServerName() *def.HttpRequestDef
- type BatchCreateTagsInvoker
- type BatchDeleteTagsInvoker
- type BatchExportCloudPhoneDataInvoker
- type BatchImportCloudPhoneDataInvoker
- type BatchMigrateCloudPhoneInvoker
- type ChangeCloudPhoneServerModelInvoker
- type CphClient
- func (c *CphClient) BatchCreateTags(request *model.BatchCreateTagsRequest) (*model.BatchCreateTagsResponse, error)
- func (c *CphClient) BatchCreateTagsInvoker(request *model.BatchCreateTagsRequest) *BatchCreateTagsInvoker
- func (c *CphClient) BatchDeleteTags(request *model.BatchDeleteTagsRequest) (*model.BatchDeleteTagsResponse, error)
- func (c *CphClient) BatchDeleteTagsInvoker(request *model.BatchDeleteTagsRequest) *BatchDeleteTagsInvoker
- func (c *CphClient) BatchExportCloudPhoneData(request *model.BatchExportCloudPhoneDataRequest) (*model.BatchExportCloudPhoneDataResponse, error)
- func (c *CphClient) BatchExportCloudPhoneDataInvoker(request *model.BatchExportCloudPhoneDataRequest) *BatchExportCloudPhoneDataInvoker
- func (c *CphClient) BatchImportCloudPhoneData(request *model.BatchImportCloudPhoneDataRequest) (*model.BatchImportCloudPhoneDataResponse, error)
- func (c *CphClient) BatchImportCloudPhoneDataInvoker(request *model.BatchImportCloudPhoneDataRequest) *BatchImportCloudPhoneDataInvoker
- func (c *CphClient) BatchMigrateCloudPhone(request *model.BatchMigrateCloudPhoneRequest) (*model.BatchMigrateCloudPhoneResponse, error)
- func (c *CphClient) BatchMigrateCloudPhoneInvoker(request *model.BatchMigrateCloudPhoneRequest) *BatchMigrateCloudPhoneInvoker
- func (c *CphClient) ChangeCloudPhoneServerModel(request *model.ChangeCloudPhoneServerModelRequest) (*model.ChangeCloudPhoneServerModelResponse, error)
- func (c *CphClient) ChangeCloudPhoneServerModelInvoker(request *model.ChangeCloudPhoneServerModelRequest) *ChangeCloudPhoneServerModelInvoker
- func (c *CphClient) CreateCloudPhoneServer(request *model.CreateCloudPhoneServerRequest) (*model.CreateCloudPhoneServerResponse, error)
- func (c *CphClient) CreateCloudPhoneServerInvoker(request *model.CreateCloudPhoneServerRequest) *CreateCloudPhoneServerInvoker
- func (c *CphClient) CreateNet2CloudPhoneServer(request *model.CreateNet2CloudPhoneServerRequest) (*model.CreateNet2CloudPhoneServerResponse, error)
- func (c *CphClient) CreateNet2CloudPhoneServerInvoker(request *model.CreateNet2CloudPhoneServerRequest) *CreateNet2CloudPhoneServerInvoker
- func (c *CphClient) DeleteShareApps(request *model.DeleteShareAppsRequest) (*model.DeleteShareAppsResponse, error)
- func (c *CphClient) DeleteShareAppsInvoker(request *model.DeleteShareAppsRequest) *DeleteShareAppsInvoker
- func (c *CphClient) DeleteShareFiles(request *model.DeleteShareFilesRequest) (*model.DeleteShareFilesResponse, error)
- func (c *CphClient) DeleteShareFilesInvoker(request *model.DeleteShareFilesRequest) *DeleteShareFilesInvoker
- func (c *CphClient) ImportTraffic(request *model.ImportTrafficRequest) (*model.ImportTrafficResponse, error)
- func (c *CphClient) ImportTrafficInvoker(request *model.ImportTrafficRequest) *ImportTrafficInvoker
- func (c *CphClient) InstallApk(request *model.InstallApkRequest) (*model.InstallApkResponse, error)
- func (c *CphClient) InstallApkInvoker(request *model.InstallApkRequest) *InstallApkInvoker
- func (c *CphClient) ListCloudPhoneImages(request *model.ListCloudPhoneImagesRequest) (*model.ListCloudPhoneImagesResponse, error)
- func (c *CphClient) ListCloudPhoneImagesInvoker(request *model.ListCloudPhoneImagesRequest) *ListCloudPhoneImagesInvoker
- func (c *CphClient) ListCloudPhoneModels(request *model.ListCloudPhoneModelsRequest) (*model.ListCloudPhoneModelsResponse, error)
- func (c *CphClient) ListCloudPhoneModelsInvoker(request *model.ListCloudPhoneModelsRequest) *ListCloudPhoneModelsInvoker
- func (c *CphClient) ListCloudPhoneServerModels(request *model.ListCloudPhoneServerModelsRequest) (*model.ListCloudPhoneServerModelsResponse, error)
- func (c *CphClient) ListCloudPhoneServerModelsInvoker(request *model.ListCloudPhoneServerModelsRequest) *ListCloudPhoneServerModelsInvoker
- func (c *CphClient) ListCloudPhoneServers(request *model.ListCloudPhoneServersRequest) (*model.ListCloudPhoneServersResponse, error)
- func (c *CphClient) ListCloudPhoneServersInvoker(request *model.ListCloudPhoneServersRequest) *ListCloudPhoneServersInvoker
- func (c *CphClient) ListCloudPhones(request *model.ListCloudPhonesRequest) (*model.ListCloudPhonesResponse, error)
- func (c *CphClient) ListCloudPhonesInvoker(request *model.ListCloudPhonesRequest) *ListCloudPhonesInvoker
- func (c *CphClient) ListEncodeServers(request *model.ListEncodeServersRequest) (*model.ListEncodeServersResponse, error)
- func (c *CphClient) ListEncodeServersInvoker(request *model.ListEncodeServersRequest) *ListEncodeServersInvoker
- func (c *CphClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)
- func (c *CphClient) ListJobsInvoker(request *model.ListJobsRequest) *ListJobsInvoker
- func (c *CphClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
- func (c *CphClient) ListProjectTagsInvoker(request *model.ListProjectTagsRequest) *ListProjectTagsInvoker
- func (c *CphClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
- func (c *CphClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker
- func (c *CphClient) ListResourceTags(request *model.ListResourceTagsRequest) (*model.ListResourceTagsResponse, error)
- func (c *CphClient) ListResourceTagsInvoker(request *model.ListResourceTagsRequest) *ListResourceTagsInvoker
- func (c *CphClient) ListShareFiles(request *model.ListShareFilesRequest) (*model.ListShareFilesResponse, error)
- func (c *CphClient) ListShareFilesInvoker(request *model.ListShareFilesRequest) *ListShareFilesInvoker
- func (c *CphClient) PushFile(request *model.PushFileRequest) (*model.PushFileResponse, error)
- func (c *CphClient) PushFileInvoker(request *model.PushFileRequest) *PushFileInvoker
- func (c *CphClient) PushShareApps(request *model.PushShareAppsRequest) (*model.PushShareAppsResponse, error)
- func (c *CphClient) PushShareAppsInvoker(request *model.PushShareAppsRequest) *PushShareAppsInvoker
- func (c *CphClient) PushShareFiles(request *model.PushShareFilesRequest) (*model.PushShareFilesResponse, error)
- func (c *CphClient) PushShareFilesInvoker(request *model.PushShareFilesRequest) *PushShareFilesInvoker
- func (c *CphClient) ResetCloudPhone(request *model.ResetCloudPhoneRequest) (*model.ResetCloudPhoneResponse, error)
- func (c *CphClient) ResetCloudPhoneInvoker(request *model.ResetCloudPhoneRequest) *ResetCloudPhoneInvoker
- func (c *CphClient) RestartCloudPhone(request *model.RestartCloudPhoneRequest) (*model.RestartCloudPhoneResponse, error)
- func (c *CphClient) RestartCloudPhoneInvoker(request *model.RestartCloudPhoneRequest) *RestartCloudPhoneInvoker
- func (c *CphClient) RestartCloudPhoneServer(request *model.RestartCloudPhoneServerRequest) (*model.RestartCloudPhoneServerResponse, error)
- func (c *CphClient) RestartCloudPhoneServerInvoker(request *model.RestartCloudPhoneServerRequest) *RestartCloudPhoneServerInvoker
- func (c *CphClient) RestartEncodeServer(request *model.RestartEncodeServerRequest) (*model.RestartEncodeServerResponse, error)
- func (c *CphClient) RestartEncodeServerInvoker(request *model.RestartEncodeServerRequest) *RestartEncodeServerInvoker
- func (c *CphClient) RunShellCommand(request *model.RunShellCommandRequest) (*model.RunShellCommandResponse, error)
- func (c *CphClient) RunShellCommandInvoker(request *model.RunShellCommandRequest) *RunShellCommandInvoker
- func (c *CphClient) RunSyncCommand(request *model.RunSyncCommandRequest) (*model.RunSyncCommandResponse, error)
- func (c *CphClient) RunSyncCommandInvoker(request *model.RunSyncCommandRequest) *RunSyncCommandInvoker
- func (c *CphClient) ShowBandwidthDetail(request *model.ShowBandwidthDetailRequest) (*model.ShowBandwidthDetailResponse, error)
- func (c *CphClient) ShowBandwidthDetailInvoker(request *model.ShowBandwidthDetailRequest) *ShowBandwidthDetailInvoker
- func (c *CphClient) ShowCloudPhoneDetail(request *model.ShowCloudPhoneDetailRequest) (*model.ShowCloudPhoneDetailResponse, error)
- func (c *CphClient) ShowCloudPhoneDetailInvoker(request *model.ShowCloudPhoneDetailRequest) *ShowCloudPhoneDetailInvoker
- func (c *CphClient) ShowCloudPhoneServerDetail(request *model.ShowCloudPhoneServerDetailRequest) (*model.ShowCloudPhoneServerDetailResponse, error)
- func (c *CphClient) ShowCloudPhoneServerDetailInvoker(request *model.ShowCloudPhoneServerDetailRequest) *ShowCloudPhoneServerDetailInvoker
- func (c *CphClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)
- func (c *CphClient) ShowJobInvoker(request *model.ShowJobRequest) *ShowJobInvoker
- func (c *CphClient) StopCloudPhone(request *model.StopCloudPhoneRequest) (*model.StopCloudPhoneResponse, error)
- func (c *CphClient) StopCloudPhoneInvoker(request *model.StopCloudPhoneRequest) *StopCloudPhoneInvoker
- func (c *CphClient) UninstallApk(request *model.UninstallApkRequest) (*model.UninstallApkResponse, error)
- func (c *CphClient) UninstallApkInvoker(request *model.UninstallApkRequest) *UninstallApkInvoker
- func (c *CphClient) UpdateBandwidth(request *model.UpdateBandwidthRequest) (*model.UpdateBandwidthResponse, error)
- func (c *CphClient) UpdateBandwidthInvoker(request *model.UpdateBandwidthRequest) *UpdateBandwidthInvoker
- func (c *CphClient) UpdateCloudPhoneProperty(request *model.UpdateCloudPhonePropertyRequest) (*model.UpdateCloudPhonePropertyResponse, error)
- func (c *CphClient) UpdateCloudPhonePropertyInvoker(request *model.UpdateCloudPhonePropertyRequest) *UpdateCloudPhonePropertyInvoker
- func (c *CphClient) UpdateKeypair(request *model.UpdateKeypairRequest) (*model.UpdateKeypairResponse, error)
- func (c *CphClient) UpdateKeypairInvoker(request *model.UpdateKeypairRequest) *UpdateKeypairInvoker
- func (c *CphClient) UpdatePhoneName(request *model.UpdatePhoneNameRequest) (*model.UpdatePhoneNameResponse, error)
- func (c *CphClient) UpdatePhoneNameInvoker(request *model.UpdatePhoneNameRequest) *UpdatePhoneNameInvoker
- func (c *CphClient) UpdateServerName(request *model.UpdateServerNameRequest) (*model.UpdateServerNameResponse, error)
- func (c *CphClient) UpdateServerNameInvoker(request *model.UpdateServerNameRequest) *UpdateServerNameInvoker
- type CreateCloudPhoneServerInvoker
- type CreateNet2CloudPhoneServerInvoker
- type DeleteShareAppsInvoker
- type DeleteShareFilesInvoker
- type ImportTrafficInvoker
- type InstallApkInvoker
- type ListCloudPhoneImagesInvoker
- type ListCloudPhoneModelsInvoker
- type ListCloudPhoneServerModelsInvoker
- type ListCloudPhoneServersInvoker
- type ListCloudPhonesInvoker
- type ListEncodeServersInvoker
- type ListJobsInvoker
- type ListProjectTagsInvoker
- type ListResourceInstancesInvoker
- type ListResourceTagsInvoker
- type ListShareFilesInvoker
- type PushFileInvoker
- type PushShareAppsInvoker
- type PushShareFilesInvoker
- type ResetCloudPhoneInvoker
- type RestartCloudPhoneInvoker
- type RestartCloudPhoneServerInvoker
- type RestartEncodeServerInvoker
- type RunShellCommandInvoker
- type RunSyncCommandInvoker
- type ShowBandwidthDetailInvoker
- type ShowCloudPhoneDetailInvoker
- type ShowCloudPhoneServerDetailInvoker
- type ShowJobInvoker
- type StopCloudPhoneInvoker
- type UninstallApkInvoker
- type UpdateBandwidthInvoker
- type UpdateCloudPhonePropertyInvoker
- type UpdateKeypairInvoker
- type UpdatePhoneNameInvoker
- type UpdateServerNameInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CphClientBuilder ¶
func CphClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchCreateTags ¶ added in v0.1.21
func GenReqDefForBatchCreateTags() *def.HttpRequestDef
func GenReqDefForBatchDeleteTags ¶ added in v0.1.21
func GenReqDefForBatchDeleteTags() *def.HttpRequestDef
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 GenReqDefForDeleteShareFiles ¶ added in v0.1.10
func GenReqDefForDeleteShareFiles() *def.HttpRequestDef
func GenReqDefForImportTraffic ¶
func GenReqDefForImportTraffic() *def.HttpRequestDef
func GenReqDefForInstallApk ¶ added in v0.1.13
func GenReqDefForInstallApk() *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 GenReqDefForListProjectTags ¶ added in v0.1.21
func GenReqDefForListProjectTags() *def.HttpRequestDef
func GenReqDefForListResourceInstances ¶ added in v0.1.21
func GenReqDefForListResourceInstances() *def.HttpRequestDef
func GenReqDefForListResourceTags ¶ added in v0.1.21
func GenReqDefForListResourceTags() *def.HttpRequestDef
func GenReqDefForListShareFiles ¶
func GenReqDefForListShareFiles() *def.HttpRequestDef
func GenReqDefForPushFile ¶ added in v0.1.13
func GenReqDefForPushFile() *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 GenReqDefForUninstallApk ¶ added in v0.1.13
func GenReqDefForUninstallApk() *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 BatchCreateTagsInvoker ¶ added in v0.1.21
type BatchCreateTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateTagsInvoker) Invoke ¶ added in v0.1.21
func (i *BatchCreateTagsInvoker) Invoke() (*model.BatchCreateTagsResponse, error)
type BatchDeleteTagsInvoker ¶ added in v0.1.21
type BatchDeleteTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchDeleteTagsInvoker) Invoke ¶ added in v0.1.21
func (i *BatchDeleteTagsInvoker) Invoke() (*model.BatchDeleteTagsResponse, error)
type BatchExportCloudPhoneDataInvoker ¶
type BatchExportCloudPhoneDataInvoker struct {
*invoker.BaseInvoker
}
func (*BatchExportCloudPhoneDataInvoker) Invoke ¶
func (i *BatchExportCloudPhoneDataInvoker) Invoke() (*model.BatchExportCloudPhoneDataResponse, error)
type BatchImportCloudPhoneDataInvoker ¶
type BatchImportCloudPhoneDataInvoker struct {
*invoker.BaseInvoker
}
func (*BatchImportCloudPhoneDataInvoker) Invoke ¶
func (i *BatchImportCloudPhoneDataInvoker) Invoke() (*model.BatchImportCloudPhoneDataResponse, error)
type BatchMigrateCloudPhoneInvoker ¶
type BatchMigrateCloudPhoneInvoker struct {
*invoker.BaseInvoker
}
func (*BatchMigrateCloudPhoneInvoker) Invoke ¶
func (i *BatchMigrateCloudPhoneInvoker) Invoke() (*model.BatchMigrateCloudPhoneResponse, error)
type ChangeCloudPhoneServerModelInvoker ¶
type ChangeCloudPhoneServerModelInvoker struct {
*invoker.BaseInvoker
}
func (*ChangeCloudPhoneServerModelInvoker) Invoke ¶
func (i *ChangeCloudPhoneServerModelInvoker) Invoke() (*model.ChangeCloudPhoneServerModelResponse, error)
type CphClient ¶
type CphClient struct {
HcClient *http_client.HcHttpClient
}
func NewCphClient ¶
func NewCphClient(hcClient *http_client.HcHttpClient) *CphClient
func (*CphClient) BatchCreateTags ¶ added in v0.1.21
func (c *CphClient) BatchCreateTags(request *model.BatchCreateTagsRequest) (*model.BatchCreateTagsResponse, error)
BatchCreateTags 批量添加标签
批量添加标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) BatchCreateTagsInvoker ¶ added in v0.1.21
func (c *CphClient) BatchCreateTagsInvoker(request *model.BatchCreateTagsRequest) *BatchCreateTagsInvoker
BatchCreateTagsInvoker 批量添加标签
func (*CphClient) BatchDeleteTags ¶ added in v0.1.21
func (c *CphClient) BatchDeleteTags(request *model.BatchDeleteTagsRequest) (*model.BatchDeleteTagsResponse, error)
BatchDeleteTags 批量删除标签
批量删除标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) BatchDeleteTagsInvoker ¶ added in v0.1.21
func (c *CphClient) BatchDeleteTagsInvoker(request *model.BatchDeleteTagsRequest) *BatchDeleteTagsInvoker
BatchDeleteTagsInvoker 批量删除标签
func (*CphClient) BatchExportCloudPhoneData ¶
func (c *CphClient) BatchExportCloudPhoneData(request *model.BatchExportCloudPhoneDataRequest) (*model.BatchExportCloudPhoneDataResponse, error)
BatchExportCloudPhoneData 导出云手机数据
批量导出云手机中的数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) BatchExportCloudPhoneDataInvoker ¶
func (c *CphClient) BatchExportCloudPhoneDataInvoker(request *model.BatchExportCloudPhoneDataRequest) *BatchExportCloudPhoneDataInvoker
BatchExportCloudPhoneDataInvoker 导出云手机数据
func (*CphClient) BatchImportCloudPhoneData ¶
func (c *CphClient) BatchImportCloudPhoneData(request *model.BatchImportCloudPhoneDataRequest) (*model.BatchImportCloudPhoneDataResponse, error)
BatchImportCloudPhoneData 恢复云手机数据
导入数据到手机中。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) BatchImportCloudPhoneDataInvoker ¶
func (c *CphClient) BatchImportCloudPhoneDataInvoker(request *model.BatchImportCloudPhoneDataRequest) *BatchImportCloudPhoneDataInvoker
BatchImportCloudPhoneDataInvoker 恢复云手机数据
func (*CphClient) BatchMigrateCloudPhone ¶
func (c *CphClient) BatchMigrateCloudPhone(request *model.BatchMigrateCloudPhoneRequest) (*model.BatchMigrateCloudPhoneResponse, error)
BatchMigrateCloudPhone 迁移云手机
批量迁移整台云手机,包括云手机的系统盘数据和数据盘数据。该接口为异步接口,迁移完成的时间和手机的数据量有一定关系,整机数据大小为11G时,迁移时间大约为3-5分钟。迁移前请关闭云手机。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) BatchMigrateCloudPhoneInvoker ¶
func (c *CphClient) BatchMigrateCloudPhoneInvoker(request *model.BatchMigrateCloudPhoneRequest) *BatchMigrateCloudPhoneInvoker
BatchMigrateCloudPhoneInvoker 迁移云手机
func (*CphClient) ChangeCloudPhoneServerModel ¶
func (c *CphClient) ChangeCloudPhoneServerModel(request *model.ChangeCloudPhoneServerModelRequest) (*model.ChangeCloudPhoneServerModelResponse, error)
ChangeCloudPhoneServerModel 变更云手机服务器规格
变更云手机服务器规格。只有能使用physical.rx1.xlarge.special私有规格的租户才可使用本接口。变更的目标规格也必须为特殊的规格才可变更。接口调用成功后,大约2分钟左右规格会变更结束,在订单中心可以查看到变更的订单状态为成功,且查询服务器的详细信息,可以查看到服务器规格名称已经变成新的规格名称。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ChangeCloudPhoneServerModelInvoker ¶
func (c *CphClient) ChangeCloudPhoneServerModelInvoker(request *model.ChangeCloudPhoneServerModelRequest) *ChangeCloudPhoneServerModelInvoker
ChangeCloudPhoneServerModelInvoker 变更云手机服务器规格
func (*CphClient) CreateCloudPhoneServer ¶
func (c *CphClient) CreateCloudPhoneServer(request *model.CreateCloudPhoneServerRequest) (*model.CreateCloudPhoneServerResponse, error)
CreateCloudPhoneServer 购买系统定义网络云手机服务器
购买系统定义网络云手机服务器。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) CreateCloudPhoneServerInvoker ¶
func (c *CphClient) CreateCloudPhoneServerInvoker(request *model.CreateCloudPhoneServerRequest) *CreateCloudPhoneServerInvoker
CreateCloudPhoneServerInvoker 购买系统定义网络云手机服务器
func (*CphClient) CreateNet2CloudPhoneServer ¶
func (c *CphClient) CreateNet2CloudPhoneServer(request *model.CreateNet2CloudPhoneServerRequest) (*model.CreateNet2CloudPhoneServerResponse, error)
CreateNet2CloudPhoneServer 购买自定义网络云手机服务器
购买自定义网络的云手机服务器。
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 删除共享应用
在共享应用存储目录中删除共享应用,该功能仅在支持共享应用的云手机规格上可实现。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) DeleteShareAppsInvoker ¶
func (c *CphClient) DeleteShareAppsInvoker(request *model.DeleteShareAppsRequest) *DeleteShareAppsInvoker
DeleteShareAppsInvoker 删除共享应用
func (*CphClient) DeleteShareFiles ¶ added in v0.1.10
func (c *CphClient) DeleteShareFiles(request *model.DeleteShareFilesRequest) (*model.DeleteShareFilesResponse, error)
DeleteShareFiles 删除共享存储文件
删除共享存储目录中文件,该功能仅在支持共享存储的云手机规格上可实现。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) DeleteShareFilesInvoker ¶ added in v0.1.10
func (c *CphClient) DeleteShareFilesInvoker(request *model.DeleteShareFilesRequest) *DeleteShareFilesInvoker
DeleteShareFilesInvoker 删除共享存储文件
func (*CphClient) ImportTraffic ¶
func (c *CphClient) ImportTraffic(request *model.ImportTrafficRequest) (*model.ImportTrafficResponse, error)
ImportTraffic 云手机流量导流
手机流量路由修改。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ImportTrafficInvoker ¶
func (c *CphClient) ImportTrafficInvoker(request *model.ImportTrafficRequest) *ImportTrafficInvoker
ImportTrafficInvoker 云手机流量导流
func (*CphClient) InstallApk ¶ added in v0.1.13
func (c *CphClient) InstallApk(request *model.InstallApkRequest) (*model.InstallApkResponse, error)
InstallApk 安装apk
在云手机中安装apk。系统会将指定的apk文件下载后直接安装到云手机中。 支持安装单apk应用和多apk应用。可使用install命令安装单apk应用,一次只支持安装一个apk;可使用install-multiple命令安装多apk应用(多apk应用为单个应用拆分成多个apk),一次只支持同一个应用的多个apk。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) InstallApkInvoker ¶ added in v0.1.13
func (c *CphClient) InstallApkInvoker(request *model.InstallApkRequest) *InstallApkInvoker
InstallApkInvoker 安装apk
func (*CphClient) ListCloudPhoneImages ¶
func (c *CphClient) ListCloudPhoneImages(request *model.ListCloudPhoneImagesRequest) (*model.ListCloudPhoneImagesResponse, error)
ListCloudPhoneImages 查询手机镜像
根据项目ID查询可用的手机镜像。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ListCloudPhoneImagesInvoker ¶
func (c *CphClient) ListCloudPhoneImagesInvoker(request *model.ListCloudPhoneImagesRequest) *ListCloudPhoneImagesInvoker
ListCloudPhoneImagesInvoker 查询手机镜像
func (*CphClient) ListCloudPhoneModels ¶
func (c *CphClient) ListCloudPhoneModels(request *model.ListCloudPhoneModelsRequest) (*model.ListCloudPhoneModelsResponse, error)
ListCloudPhoneModels 查询云手机规格列表
查询或统计云手机的规格列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ListCloudPhoneModelsInvoker ¶
func (c *CphClient) ListCloudPhoneModelsInvoker(request *model.ListCloudPhoneModelsRequest) *ListCloudPhoneModelsInvoker
ListCloudPhoneModelsInvoker 查询云手机规格列表
func (*CphClient) ListCloudPhoneServerModels ¶
func (c *CphClient) ListCloudPhoneServerModels(request *model.ListCloudPhoneServerModelsRequest) (*model.ListCloudPhoneServerModelsResponse, error)
ListCloudPhoneServerModels 查询云手机服务器规格列表
查询云手机服务器的规格列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ListCloudPhoneServerModelsInvoker ¶
func (c *CphClient) ListCloudPhoneServerModelsInvoker(request *model.ListCloudPhoneServerModelsRequest) *ListCloudPhoneServerModelsInvoker
ListCloudPhoneServerModelsInvoker 查询云手机服务器规格列表
func (*CphClient) ListCloudPhoneServers ¶
func (c *CphClient) ListCloudPhoneServers(request *model.ListCloudPhoneServersRequest) (*model.ListCloudPhoneServersResponse, error)
ListCloudPhoneServers 查询云手机服务器列表
分页查询云手机服务器,云手机服务器列表按照创建时间进行降序排列。分页查询可以指定offset以及limit。如果不存在云手机服务器,则返回空列表。
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。如果不存在云手机,则返回空列表。
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 查询编码服务
查询编码服务列表。
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下的任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ListJobsInvoker ¶
func (c *CphClient) ListJobsInvoker(request *model.ListJobsRequest) *ListJobsInvoker
ListJobsInvoker 查询任务执行状态列表
func (*CphClient) ListProjectTags ¶ added in v0.1.21
func (c *CphClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
ListProjectTags 查询项目标签
查询租户在指定区域和资源类型的所有标签集合。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ListProjectTagsInvoker ¶ added in v0.1.21
func (c *CphClient) ListProjectTagsInvoker(request *model.ListProjectTagsRequest) *ListProjectTagsInvoker
ListProjectTagsInvoker 查询项目标签
func (*CphClient) ListResourceInstances ¶ added in v0.1.21
func (c *CphClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
ListResourceInstances 查询资源实例
查询资源实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ListResourceInstancesInvoker ¶ added in v0.1.21
func (c *CphClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker
ListResourceInstancesInvoker 查询资源实例
func (*CphClient) ListResourceTags ¶ added in v0.1.21
func (c *CphClient) ListResourceTags(request *model.ListResourceTagsRequest) (*model.ListResourceTagsResponse, error)
ListResourceTags 查询资源标签
查询资源标签列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ListResourceTagsInvoker ¶ added in v0.1.21
func (c *CphClient) ListResourceTagsInvoker(request *model.ListResourceTagsRequest) *ListResourceTagsInvoker
ListResourceTagsInvoker 查询资源标签
func (*CphClient) ListShareFiles ¶
func (c *CphClient) ListShareFiles(request *model.ListShareFilesRequest) (*model.ListShareFilesResponse, error)
ListShareFiles 查询共享存储文件
查询共享存储指定路径下的文件列表,该功能仅在支持共享存储的云手机规格上可实现。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ListShareFilesInvoker ¶
func (c *CphClient) ListShareFilesInvoker(request *model.ListShareFilesRequest) *ListShareFilesInvoker
ListShareFilesInvoker 查询共享存储文件
func (*CphClient) PushFile ¶ added in v0.1.13
func (c *CphClient) PushFile(request *model.PushFileRequest) (*model.PushFileResponse, error)
PushFile 推送文件
推送文件到云手机文件系统中。系统会将所指定的文件下载解压后,将解压后的内容全部推送到云手机的根目录下。只支持指定tar格式的文件进行推送,您需要将tar文件提前上传至您的OBS桶中。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) PushFileInvoker ¶ added in v0.1.13
func (c *CphClient) PushFileInvoker(request *model.PushFileRequest) *PushFileInvoker
PushFileInvoker 推送文件
func (*CphClient) PushShareApps ¶
func (c *CphClient) PushShareApps(request *model.PushShareAppsRequest) (*model.PushShareAppsResponse, error)
PushShareApps 推送共享应用
推送应用tar文件至共享应用存储目录中,该功能仅在支持共享应用的云手机规格上可实现。
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 推送共享存储文件
推送文件至共享存储目录中,该功能仅在支持共享存储的云手机规格上可实现。
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 重置云手机
批量重置云手机,将云手机恢复出厂设置。
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 重启云手机
批量重启云手机,也可用于开启云手机。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) RestartCloudPhoneInvoker ¶
func (c *CphClient) RestartCloudPhoneInvoker(request *model.RestartCloudPhoneRequest) *RestartCloudPhoneInvoker
RestartCloudPhoneInvoker 重启云手机
func (*CphClient) RestartCloudPhoneServer ¶
func (c *CphClient) RestartCloudPhoneServer(request *model.RestartCloudPhoneServerRequest) (*model.RestartCloudPhoneServerResponse, error)
RestartCloudPhoneServer 重启云手机服务器
批量重启云手机服务器。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) RestartCloudPhoneServerInvoker ¶
func (c *CphClient) RestartCloudPhoneServerInvoker(request *model.RestartCloudPhoneServerRequest) *RestartCloudPhoneServerInvoker
RestartCloudPhoneServerInvoker 重启云手机服务器
func (*CphClient) RestartEncodeServer ¶
func (c *CphClient) RestartEncodeServer(request *model.RestartEncodeServerRequest) (*model.RestartEncodeServerResponse, error)
RestartEncodeServer 重启编码服务
批量重启编码服务。
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命令
在云手机中执行shell命令。该接口为异步接口。
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秒,执行云手机数越多,接口耗时相应越长。
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 ¶
func (c *CphClient) ShowBandwidthDetail(request *model.ShowBandwidthDetailRequest) (*model.ShowBandwidthDetailResponse, error)
ShowBandwidthDetail 查询带宽信息
查询云手机使用的带宽信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ShowBandwidthDetailInvoker ¶
func (c *CphClient) ShowBandwidthDetailInvoker(request *model.ShowBandwidthDetailRequest) *ShowBandwidthDetailInvoker
ShowBandwidthDetailInvoker 查询带宽信息
func (*CphClient) ShowCloudPhoneDetail ¶
func (c *CphClient) ShowCloudPhoneDetail(request *model.ShowCloudPhoneDetailRequest) (*model.ShowCloudPhoneDetailResponse, error)
ShowCloudPhoneDetail 查询云手机详情
查询云手机的详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) ShowCloudPhoneDetailInvoker ¶
func (c *CphClient) ShowCloudPhoneDetailInvoker(request *model.ShowCloudPhoneDetailRequest) *ShowCloudPhoneDetailInvoker
ShowCloudPhoneDetailInvoker 查询云手机详情
func (*CphClient) ShowCloudPhoneServerDetail ¶
func (c *CphClient) ShowCloudPhoneServerDetail(request *model.ShowCloudPhoneServerDetailRequest) (*model.ShowCloudPhoneServerDetailResponse, error)
ShowCloudPhoneServerDetail 查询云手机服务器详情
根据server_id查询云手机服务器的详细信息。
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 查询任务执行状态
查询任务的执行状态。
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 关闭云手机
批量关闭云手机。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) StopCloudPhoneInvoker ¶
func (c *CphClient) StopCloudPhoneInvoker(request *model.StopCloudPhoneRequest) *StopCloudPhoneInvoker
StopCloudPhoneInvoker 关闭云手机
func (*CphClient) UninstallApk ¶ added in v0.1.13
func (c *CphClient) UninstallApk(request *model.UninstallApkRequest) (*model.UninstallApkResponse, error)
UninstallApk 卸载apk
在云手机中卸载apk。该接口为异步接口。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) UninstallApkInvoker ¶ added in v0.1.13
func (c *CphClient) UninstallApkInvoker(request *model.UninstallApkRequest) *UninstallApkInvoker
UninstallApkInvoker 卸载apk
func (*CphClient) UpdateBandwidth ¶
func (c *CphClient) UpdateBandwidth(request *model.UpdateBandwidthRequest) (*model.UpdateBandwidthResponse, error)
UpdateBandwidth 修改共享带宽
修改云手机使用的共享带宽大小。
Please refer to HUAWEI cloud API Explorer for details.
func (*CphClient) UpdateBandwidthInvoker ¶
func (c *CphClient) UpdateBandwidthInvoker(request *model.UpdateBandwidthRequest) *UpdateBandwidthInvoker
UpdateBandwidthInvoker 修改共享带宽
func (*CphClient) UpdateCloudPhoneProperty ¶
func (c *CphClient) UpdateCloudPhoneProperty(request *model.UpdateCloudPhonePropertyRequest) (*model.UpdateCloudPhonePropertyResponse, error)
UpdateCloudPhoneProperty 更新云手机属性
部分云手机属性开放更新能力,部分属性无法更新,部分属性需要重启手机生效,属性约束请云手机属性列表。如果手机处于异常状态,属性更新后需恢复手机状态为运行中才可生效。
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 更改密钥对
修改连接云手机的密钥对。
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。
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。
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 ¶
func (i *CreateCloudPhoneServerInvoker) Invoke() (*model.CreateCloudPhoneServerResponse, error)
type CreateNet2CloudPhoneServerInvoker ¶
type CreateNet2CloudPhoneServerInvoker struct {
*invoker.BaseInvoker
}
func (*CreateNet2CloudPhoneServerInvoker) Invoke ¶
func (i *CreateNet2CloudPhoneServerInvoker) Invoke() (*model.CreateNet2CloudPhoneServerResponse, error)
type DeleteShareAppsInvoker ¶
type DeleteShareAppsInvoker struct {
}func (*DeleteShareAppsInvoker) Invoke ¶
func (i *DeleteShareAppsInvoker) Invoke() (*model.DeleteShareAppsResponse, error)
type DeleteShareFilesInvoker ¶ added in v0.1.10
type DeleteShareFilesInvoker struct {
}func (*DeleteShareFilesInvoker) Invoke ¶ added in v0.1.10
func (i *DeleteShareFilesInvoker) Invoke() (*model.DeleteShareFilesResponse, error)
type ImportTrafficInvoker ¶
type ImportTrafficInvoker struct {
*invoker.BaseInvoker
}
func (*ImportTrafficInvoker) Invoke ¶
func (i *ImportTrafficInvoker) Invoke() (*model.ImportTrafficResponse, error)
type InstallApkInvoker ¶ added in v0.1.13
type InstallApkInvoker struct {
*invoker.BaseInvoker
}
func (*InstallApkInvoker) Invoke ¶ added in v0.1.13
func (i *InstallApkInvoker) Invoke() (*model.InstallApkResponse, error)
type ListCloudPhoneImagesInvoker ¶
type ListCloudPhoneImagesInvoker struct {
*invoker.BaseInvoker
}
func (*ListCloudPhoneImagesInvoker) Invoke ¶
func (i *ListCloudPhoneImagesInvoker) Invoke() (*model.ListCloudPhoneImagesResponse, error)
type ListCloudPhoneModelsInvoker ¶
type ListCloudPhoneModelsInvoker struct {
*invoker.BaseInvoker
}
func (*ListCloudPhoneModelsInvoker) Invoke ¶
func (i *ListCloudPhoneModelsInvoker) Invoke() (*model.ListCloudPhoneModelsResponse, error)
type ListCloudPhoneServerModelsInvoker ¶
type ListCloudPhoneServerModelsInvoker struct {
*invoker.BaseInvoker
}
func (*ListCloudPhoneServerModelsInvoker) Invoke ¶
func (i *ListCloudPhoneServerModelsInvoker) Invoke() (*model.ListCloudPhoneServerModelsResponse, error)
type ListCloudPhoneServersInvoker ¶
type ListCloudPhoneServersInvoker struct {
*invoker.BaseInvoker
}
func (*ListCloudPhoneServersInvoker) Invoke ¶
func (i *ListCloudPhoneServersInvoker) Invoke() (*model.ListCloudPhoneServersResponse, error)
type ListCloudPhonesInvoker ¶
type ListCloudPhonesInvoker struct {
*invoker.BaseInvoker
}
func (*ListCloudPhonesInvoker) Invoke ¶
func (i *ListCloudPhonesInvoker) Invoke() (*model.ListCloudPhonesResponse, error)
type ListEncodeServersInvoker ¶
type ListEncodeServersInvoker struct {
*invoker.BaseInvoker
}
func (*ListEncodeServersInvoker) Invoke ¶
func (i *ListEncodeServersInvoker) Invoke() (*model.ListEncodeServersResponse, error)
type ListJobsInvoker ¶
type ListJobsInvoker struct {
*invoker.BaseInvoker
}
func (*ListJobsInvoker) Invoke ¶
func (i *ListJobsInvoker) Invoke() (*model.ListJobsResponse, error)
type ListProjectTagsInvoker ¶ added in v0.1.21
type ListProjectTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListProjectTagsInvoker) Invoke ¶ added in v0.1.21
func (i *ListProjectTagsInvoker) Invoke() (*model.ListProjectTagsResponse, error)
type ListResourceInstancesInvoker ¶ added in v0.1.21
type ListResourceInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceInstancesInvoker) Invoke ¶ added in v0.1.21
func (i *ListResourceInstancesInvoker) Invoke() (*model.ListResourceInstancesResponse, error)
type ListResourceTagsInvoker ¶ added in v0.1.21
type ListResourceTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceTagsInvoker) Invoke ¶ added in v0.1.21
func (i *ListResourceTagsInvoker) Invoke() (*model.ListResourceTagsResponse, error)
type ListShareFilesInvoker ¶
type ListShareFilesInvoker struct {
}func (*ListShareFilesInvoker) Invoke ¶
func (i *ListShareFilesInvoker) Invoke() (*model.ListShareFilesResponse, error)
type PushFileInvoker ¶ added in v0.1.13
type PushFileInvoker struct {
*invoker.BaseInvoker
}
func (*PushFileInvoker) Invoke ¶ added in v0.1.13
func (i *PushFileInvoker) Invoke() (*model.PushFileResponse, error)
type PushShareAppsInvoker ¶
type PushShareAppsInvoker struct {
}func (*PushShareAppsInvoker) Invoke ¶
func (i *PushShareAppsInvoker) Invoke() (*model.PushShareAppsResponse, error)
type PushShareFilesInvoker ¶
type PushShareFilesInvoker struct {
}func (*PushShareFilesInvoker) Invoke ¶
func (i *PushShareFilesInvoker) Invoke() (*model.PushShareFilesResponse, error)
type ResetCloudPhoneInvoker ¶
type ResetCloudPhoneInvoker struct {
*invoker.BaseInvoker
}
func (*ResetCloudPhoneInvoker) Invoke ¶
func (i *ResetCloudPhoneInvoker) Invoke() (*model.ResetCloudPhoneResponse, error)
type RestartCloudPhoneInvoker ¶
type RestartCloudPhoneInvoker struct {
*invoker.BaseInvoker
}
func (*RestartCloudPhoneInvoker) Invoke ¶
func (i *RestartCloudPhoneInvoker) Invoke() (*model.RestartCloudPhoneResponse, error)
type RestartCloudPhoneServerInvoker ¶
type RestartCloudPhoneServerInvoker struct {
*invoker.BaseInvoker
}
func (*RestartCloudPhoneServerInvoker) Invoke ¶
func (i *RestartCloudPhoneServerInvoker) Invoke() (*model.RestartCloudPhoneServerResponse, error)
type RestartEncodeServerInvoker ¶
type RestartEncodeServerInvoker struct {
*invoker.BaseInvoker
}
func (*RestartEncodeServerInvoker) Invoke ¶
func (i *RestartEncodeServerInvoker) Invoke() (*model.RestartEncodeServerResponse, error)
type RunShellCommandInvoker ¶
type RunShellCommandInvoker struct {
*invoker.BaseInvoker
}
func (*RunShellCommandInvoker) Invoke ¶
func (i *RunShellCommandInvoker) Invoke() (*model.RunShellCommandResponse, error)
type RunSyncCommandInvoker ¶
type RunSyncCommandInvoker struct {
*invoker.BaseInvoker
}
func (*RunSyncCommandInvoker) Invoke ¶
func (i *RunSyncCommandInvoker) Invoke() (*model.RunSyncCommandResponse, error)
type ShowBandwidthDetailInvoker ¶
type ShowBandwidthDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBandwidthDetailInvoker) Invoke ¶
func (i *ShowBandwidthDetailInvoker) Invoke() (*model.ShowBandwidthDetailResponse, error)
type ShowCloudPhoneDetailInvoker ¶
type ShowCloudPhoneDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCloudPhoneDetailInvoker) Invoke ¶
func (i *ShowCloudPhoneDetailInvoker) Invoke() (*model.ShowCloudPhoneDetailResponse, error)
type ShowCloudPhoneServerDetailInvoker ¶
type ShowCloudPhoneServerDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCloudPhoneServerDetailInvoker) Invoke ¶
func (i *ShowCloudPhoneServerDetailInvoker) Invoke() (*model.ShowCloudPhoneServerDetailResponse, error)
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 ¶
func (i *StopCloudPhoneInvoker) Invoke() (*model.StopCloudPhoneResponse, error)
type UninstallApkInvoker ¶ added in v0.1.13
type UninstallApkInvoker struct {
*invoker.BaseInvoker
}
func (*UninstallApkInvoker) Invoke ¶ added in v0.1.13
func (i *UninstallApkInvoker) Invoke() (*model.UninstallApkResponse, error)
type UpdateBandwidthInvoker ¶
type UpdateBandwidthInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateBandwidthInvoker) Invoke ¶
func (i *UpdateBandwidthInvoker) Invoke() (*model.UpdateBandwidthResponse, error)
type UpdateCloudPhonePropertyInvoker ¶
type UpdateCloudPhonePropertyInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateCloudPhonePropertyInvoker) Invoke ¶
func (i *UpdateCloudPhonePropertyInvoker) Invoke() (*model.UpdateCloudPhonePropertyResponse, error)
type UpdateKeypairInvoker ¶
type UpdateKeypairInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateKeypairInvoker) Invoke ¶
func (i *UpdateKeypairInvoker) Invoke() (*model.UpdateKeypairResponse, error)
type UpdatePhoneNameInvoker ¶
type UpdatePhoneNameInvoker struct {
*invoker.BaseInvoker
}
func (*UpdatePhoneNameInvoker) Invoke ¶
func (i *UpdatePhoneNameInvoker) Invoke() (*model.UpdatePhoneNameResponse, error)
type UpdateServerNameInvoker ¶
type UpdateServerNameInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateServerNameInvoker) Invoke ¶
func (i *UpdateServerNameInvoker) Invoke() (*model.UpdateServerNameResponse, error)