Documentation ¶
Index ¶
- type BatchExportCloudPhoneDataRequest
- type BatchExportCloudPhoneDataRequestBody
- type BatchExportCloudPhoneDataRequestBodyStorageInfos
- type BatchExportCloudPhoneDataResponse
- type BatchImportCloudPhoneDataRequest
- type BatchImportCloudPhoneDataRequestBody
- type BatchImportCloudPhoneDataRequestBodyRestoreInfos
- type BatchImportCloudPhoneDataResponse
- type BatchMigrateCloudPhoneRequest
- type BatchMigrateCloudPhoneRequestBody
- type BatchMigrateCloudPhoneRequestBodyMigrateInfos
- type BatchMigrateCloudPhoneResponse
- type ChangeCloudPhoneServerModelRequest
- type ChangeCloudPhoneServerModelRequestBody
- type ChangeCloudPhoneServerModelRequestBodyExtendParam
- type ChangeCloudPhoneServerModelResponse
- type CreateCloudPhoneServerRequest
- type CreateCloudPhoneServerRequestBody
- type CreateCloudPhoneServerRequestBodyBandWidth
- type CreateCloudPhoneServerRequestBodyExtendParam
- type CreateCloudPhoneServerRequestBodyPorts
- type CreateCloudPhoneServerResponse
- type CreateNet2CloudPhoneServerRequest
- type CreateNet2CloudPhoneServerRequestBody
- type CreateNet2CloudPhoneServerRequestBodyBandWidth
- type CreateNet2CloudPhoneServerRequestBodyExtendParam
- type CreateNet2CloudPhoneServerRequestBodyNics
- type CreateNet2CloudPhoneServerRequestBodyPorts
- type CreateNet2CloudPhoneServerRequestBodyPublicIp
- type CreateNet2CloudPhoneServerRequestBodyPublicIpEip
- type CreateNet2CloudPhoneServerResponse
- type DeleteShareAppsRequest
- type DeleteShareAppsRequestBody
- type DeleteShareAppsResponse
- type ImportTrafficRequest
- type ImportTrafficRequestBody
- type ImportTrafficResponse
- type ListCloudPhoneImagesRequest
- type ListCloudPhoneImagesResponse
- type ListCloudPhoneModelsRequest
- type ListCloudPhoneModelsResponse
- type ListCloudPhoneServerModelsRequest
- type ListCloudPhoneServerModelsResponse
- type ListCloudPhoneServersRequest
- type ListCloudPhoneServersResponse
- type ListCloudPhoneServersResponseBody
- type ListCloudPhonesRequest
- type ListCloudPhonesResponse
- type ListEncodeServersRequest
- type ListEncodeServersResponse
- type ListJobsRequest
- type ListJobsResponse
- type ListShareFilesRequest
- type ListShareFilesResponse
- type Phones
- type PhonesPhones
- type PushShareAppsRequest
- type PushShareAppsRequestBody
- type PushShareAppsResponse
- type PushShareFilesRequest
- type PushShareFilesRequestBody
- type PushShareFilesResponse
- type RequestIdResponseBody
- type ResetCloudPhoneRequest
- type ResetCloudPhoneResponse
- type ResetRestartRequestBody
- type ResetRestartRequestBodyPhones
- type RestartCloudPhoneRequest
- type RestartCloudPhoneResponse
- type RestartCloudPhoneServerRequest
- type RestartCloudPhoneServerRequestBody
- type RestartCloudPhoneServerResponse
- type RestartEncodeServerRequest
- type RestartEncodeServerRequestBody
- type RestartEncodeServerResponse
- type RunShellCommandRequest
- type RunShellCommandRequestBody
- type RunShellCommandResponse
- type RunSyncCommandRequest
- type RunSyncCommandRequestBody
- type RunSyncCommandResponse
- type ShowBandwidthDetailRequest
- type ShowBandwidthDetailResponse
- type ShowCloudPhoneDetailRequest
- type ShowCloudPhoneDetailResponse
- type ShowCloudPhoneServerDetailRequest
- type ShowCloudPhoneServerDetailResponse
- type ShowJobRequest
- type ShowJobResponse
- type StopCloudPhoneRequest
- type StopCloudPhoneRequestBody
- type StopCloudPhoneResponse
- type UpdateBandwidthRequest
- type UpdateBandwidthRequestBody
- type UpdateBandwidthResponse
- type UpdateCloudPhonePropertyRequest
- type UpdateCloudPhonePropertyResponse
- type UpdateKeypairRequest
- type UpdateKeypairRequestBody
- type UpdateKeypairRequestBodyServers
- type UpdateKeypairResponse
- type UpdatePhoneNameRequest
- type UpdatePhoneNameRequestBody
- type UpdatePhoneNameResponse
- type UpdateServerNameRequest
- type UpdateServerNameRequestBody
- type UpdateServerNameResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchExportCloudPhoneDataRequest ¶
type BatchExportCloudPhoneDataRequest struct {
Body *BatchExportCloudPhoneDataRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchExportCloudPhoneDataRequest) String ¶
func (o BatchExportCloudPhoneDataRequest) String() string
type BatchExportCloudPhoneDataRequestBody ¶
type BatchExportCloudPhoneDataRequestBody struct { // 待导出数据的云手机信息 StorageInfos []BatchExportCloudPhoneDataRequestBodyStorageInfos `json:"storage_infos"` }
func (BatchExportCloudPhoneDataRequestBody) String ¶
func (o BatchExportCloudPhoneDataRequestBody) String() string
type BatchExportCloudPhoneDataRequestBodyStorageInfos ¶
type BatchExportCloudPhoneDataRequestBodyStorageInfos struct { // 云手机ID PhoneId string `json:"phone_id"` // 需要导出数据的存储路径 绝对路径,最大长度4096字节;目前只支持大小写字母、数字、小数点(.)、斜线(/)、中划线(-)、空格这些字符 IncludeFiles []string `json:"include_files"` // 不能导出数据的存储路径。exclude_files优先级比include_files高,如果冲突,exclude_files生效。 参数可选,如果指定参数,则不能为空。 路径要求同include_files ExcludeFiles *[]string `json:"exclude_files,omitempty"` // 导出数据存储的OBS桶名。 合法的OBS桶名,3-63个字符,只能由小写字母、数字、中划线(-)和小数点(.)组成 BucketName string `json:"bucket_name"` // 导出数据存储的OBS路径名。bucket_name与object_path长度累加要超过128。 符合OBS的路径名规范,最大长度1024字符 ObjectPath string `json:"object_path"` }
func (BatchExportCloudPhoneDataRequestBodyStorageInfos) String ¶
func (o BatchExportCloudPhoneDataRequestBodyStorageInfos) String() string
type BatchExportCloudPhoneDataResponse ¶
type BatchExportCloudPhoneDataResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchExportCloudPhoneDataResponse) String ¶
func (o BatchExportCloudPhoneDataResponse) String() string
type BatchImportCloudPhoneDataRequest ¶
type BatchImportCloudPhoneDataRequest struct {
Body *BatchImportCloudPhoneDataRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchImportCloudPhoneDataRequest) String ¶
func (o BatchImportCloudPhoneDataRequest) String() string
type BatchImportCloudPhoneDataRequestBody ¶
type BatchImportCloudPhoneDataRequestBody struct { // 待导入数据的云手机信息 RestoreInfos []BatchImportCloudPhoneDataRequestBodyRestoreInfos `json:"restore_infos"` }
func (BatchImportCloudPhoneDataRequestBody) String ¶
func (o BatchImportCloudPhoneDataRequestBody) String() string
type BatchImportCloudPhoneDataRequestBodyRestoreInfos ¶
type BatchImportCloudPhoneDataRequestBodyRestoreInfos struct { // 云手机ID PhoneId string `json:"phone_id"` // 存储云手机数据的OBS桶名。 合法的OBS桶名,3-63个字符,只能由小写字母、数字、中划线(-)和小数点(.)组成 BucketName string `json:"bucket_name"` // 数据存储的OBS路径名。bucket_name与object_path长度累加要超过128。 合法的OBS对象key,最大长度1024字符 ObjectPath string `json:"object_path"` }
func (BatchImportCloudPhoneDataRequestBodyRestoreInfos) String ¶
func (o BatchImportCloudPhoneDataRequestBodyRestoreInfos) String() string
type BatchImportCloudPhoneDataResponse ¶
type BatchImportCloudPhoneDataResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchImportCloudPhoneDataResponse) String ¶
func (o BatchImportCloudPhoneDataResponse) String() string
type BatchMigrateCloudPhoneRequest ¶
type BatchMigrateCloudPhoneRequest struct {
Body *BatchMigrateCloudPhoneRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchMigrateCloudPhoneRequest) String ¶
func (o BatchMigrateCloudPhoneRequest) String() string
type BatchMigrateCloudPhoneRequestBody ¶
type BatchMigrateCloudPhoneRequestBody struct { // 待迁移数据的云手机信息 MigrateInfos []BatchMigrateCloudPhoneRequestBodyMigrateInfos `json:"migrate_infos"` }
func (BatchMigrateCloudPhoneRequestBody) String ¶
func (o BatchMigrateCloudPhoneRequestBody) String() string
type BatchMigrateCloudPhoneRequestBodyMigrateInfos ¶
type BatchMigrateCloudPhoneRequestBodyMigrateInfos struct { // 源云手机ID SourcePhoneId string `json:"source_phone_id"` // 目标云手机ID TargetPhoneId string `json:"target_phone_id"` // 是否迁移原手机的属性到目标手机。为\"true\"时迁移(忽略大小写),不填写或者填写为其他值,则不迁移 IsMigrateProperty *string `json:"is_migrate_property,omitempty"` }
func (BatchMigrateCloudPhoneRequestBodyMigrateInfos) String ¶
func (o BatchMigrateCloudPhoneRequestBodyMigrateInfos) String() string
type BatchMigrateCloudPhoneResponse ¶
type BatchMigrateCloudPhoneResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务列表 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchMigrateCloudPhoneResponse) String ¶
func (o BatchMigrateCloudPhoneResponse) String() string
type ChangeCloudPhoneServerModelRequest ¶
type ChangeCloudPhoneServerModelRequest struct {
Body *ChangeCloudPhoneServerModelRequestBody `json:"body,omitempty"`
}
Request Object
func (ChangeCloudPhoneServerModelRequest) String ¶
func (o ChangeCloudPhoneServerModelRequest) String() string
type ChangeCloudPhoneServerModelRequestBody ¶
type ChangeCloudPhoneServerModelRequestBody struct { // 云手机服务器的唯一标识。只有特定的服务器才能操作变更规格 ServerId string `json:"server_id"` // 要变更为的目标云手机服务器规格,不超过64个字节。 当前只支持填写physical.rx1.xlarge.special ServerModelName string `json:"server_model_name"` ExtendParam *ChangeCloudPhoneServerModelRequestBodyExtendParam `json:"extend_param,omitempty"` }
func (ChangeCloudPhoneServerModelRequestBody) String ¶
func (o ChangeCloudPhoneServerModelRequestBody) String() string
type ChangeCloudPhoneServerModelRequestBodyExtendParam ¶
type ChangeCloudPhoneServerModelRequestBodyExtendParam struct { // 否自动付款。默认不自动付款。如果是规格升配的变更,则需要支付额外的费用,如果是降配的变更,则会自动退款。 - 1 表示自动付款 - 0 表示不自动付款 IsAutoPay *int32 `json:"is_auto_pay,omitempty"` }
购买模式参数
func (ChangeCloudPhoneServerModelRequestBodyExtendParam) String ¶
func (o ChangeCloudPhoneServerModelRequestBodyExtendParam) String() string
type ChangeCloudPhoneServerModelResponse ¶
type ChangeCloudPhoneServerModelResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 订单ID,不超过64个字节 OrderId string `json:"order_id"` // 产品ID,不超过64个字节 ProductId string `json:"product_id"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeCloudPhoneServerModelResponse) String ¶
func (o ChangeCloudPhoneServerModelResponse) String() string
type CreateCloudPhoneServerRequest ¶
type CreateCloudPhoneServerRequest struct {
Body *CreateCloudPhoneServerRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateCloudPhoneServerRequest) String ¶
func (o CreateCloudPhoneServerRequest) String() string
type CreateCloudPhoneServerRequestBody ¶
type CreateCloudPhoneServerRequestBody struct { // 云手机服务器名称 不超过60个字符,只支持英文字母、数字、汉字、下划线和中划线。 批量购买会在服务器名称后自动添加序号,比如设置此参数为server-1,那么创建的云手机服务器名称会自动按序增加数字后缀,比如为server-1-0001 ServerName string `json:"server_name"` // 云手机服务器规格,不超过64个字节 ServerModelName string `json:"server_model_name"` // 云手机规格,不超过64个字节 PhoneModelName string `json:"phone_model_name"` // 云手机镜像ID,不超过32个字节 ImageId string `json:"image_id"` // 购买的云手机服务器个数,最多可购买10台 Count int32 `json:"count"` // 密钥对名称,不超过64个字节,用于云手机ADB登录 KeypairName *string `json:"keypair_name,omitempty"` // 云手机启用的应用端口,云手机服务会做端口转发 Ports *[]CreateCloudPhoneServerRequestBodyPorts `json:"ports,omitempty"` BandWidth *CreateCloudPhoneServerRequestBodyBandWidth `json:"band_width"` ExtendParam *CreateCloudPhoneServerRequestBodyExtendParam `json:"extend_param"` // (已废弃)是否开启VNC方式登录云手机。 - 为\"true\"时开启(忽略大小写)。 - 为其他,则不开启 VncEnable *string `json:"vnc_enable,omitempty"` // 服务器的子网信息,第一次购买系统会自动创建172.31.0.0/16的子网。需要自定义子网的客户,需要全部通过API购买,设置的子网,必须是子网的格式且和已有子网不能重叠 SubnetCidr *string `json:"subnet_cidr,omitempty"` }
func (CreateCloudPhoneServerRequestBody) String ¶
func (o CreateCloudPhoneServerRequestBody) String() string
type CreateCloudPhoneServerRequestBodyBandWidth ¶
type CreateCloudPhoneServerRequestBodyBandWidth struct { // 共享带宽ID,优先用该参数为云手机绑定带宽 BandWidthId *string `json:"band_width_id,omitempty"` BandWidthShareType *int32 `json:"band_width_share_type,omitempty"` // 当band_width_share_type为共享带宽时必选 共享带宽默认取值范围5Mbit/s~2000Mbit/s 独享带宽的默认带宽是300Mbit/s BandWidthSize *int32 `json:"band_width_size,omitempty"` }
云手机使用的带宽信息。独占带宽按流量计费,共享带宽可选择带宽大小
func (CreateCloudPhoneServerRequestBodyBandWidth) String ¶
func (o CreateCloudPhoneServerRequestBodyBandWidth) String() string
type CreateCloudPhoneServerRequestBodyExtendParam ¶
type CreateCloudPhoneServerRequestBodyExtendParam struct { // 计费类型 0 表示包周期 ChargingMode int32 `json:"charging_mode"` // 订购周期类型 - 2 表示月 - 3 表示年 PeriodType int32 `json:"period_type"` // 订购周期数 当订购周期为月时,取值范围[1, 9]。 当订购周期为年时,取值范围[1,10] PeriodNum int32 `json:"period_num"` // 是否自动付款。默认不自动付款。 - 1 表示自动付款 - 0 表示不自动付款 IsAutoPay *int32 `json:"is_auto_pay,omitempty"` }
计费模式参数
func (CreateCloudPhoneServerRequestBodyExtendParam) String ¶
func (o CreateCloudPhoneServerRequestBodyExtendParam) String() string
type CreateCloudPhoneServerRequestBodyPorts ¶
type CreateCloudPhoneServerRequestBodyPorts struct { // 应用端口名称,不超过16个字节,系统关键服务名称不能使用\"adb\"和\"vnc\" Name string `json:"name"` // 端口号,大于等于10000,小于等于50000 ListenPort int32 `json:"listen_port"` // - 为\"true\"则映射出公网访问(忽略大小写)。 - 为其他则不映射 InternetAccessible string `json:"internet_accessible"` }
func (CreateCloudPhoneServerRequestBodyPorts) String ¶
func (o CreateCloudPhoneServerRequestBodyPorts) String() string
type CreateCloudPhoneServerResponse ¶
type CreateCloudPhoneServerResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 订单ID,不超过64个字节 OrderId string `json:"order_id"` // 产品ID,不超过64个字节 ProductId string `json:"product_id"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCloudPhoneServerResponse) String ¶
func (o CreateCloudPhoneServerResponse) String() string
type CreateNet2CloudPhoneServerRequest ¶
type CreateNet2CloudPhoneServerRequest struct {
Body *CreateNet2CloudPhoneServerRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateNet2CloudPhoneServerRequest) String ¶
func (o CreateNet2CloudPhoneServerRequest) String() string
type CreateNet2CloudPhoneServerRequestBody ¶
type CreateNet2CloudPhoneServerRequestBody struct { // 云手机服务器名称 不超过60个字符,只支持英文字母、数字、汉字、下划线和中划线。 批量购买会在服务器名称后自动添加序号,比如设置此参数为server-1,那么创建的云手机服务器名称会自动按序增加数字后缀,比如为server-1-0001 ServerName string `json:"server_name"` // 云手机服务器规格,不超过64个字节 ServerModelName string `json:"server_model_name"` // 云手机规格,不超过64个字节 PhoneModelName string `json:"phone_model_name"` // 云手机镜像ID,不超过32个字节 ImageId string `json:"image_id"` // 购买的云手机服务器个数,最多可购买10台 Count int32 `json:"count"` // 密钥对名称,不超过64个字节,用于云手机ADB登录 KeypairName *string `json:"keypair_name,omitempty"` BrCidr *string `json:"br_cidr,omitempty"` // 云手机启用的应用端口,云手机服务会做端口转发 Ports *[]CreateNet2CloudPhoneServerRequestBodyPorts `json:"ports,omitempty"` ExtendParam *CreateNet2CloudPhoneServerRequestBodyExtendParam `json:"extend_param"` // 租户自定义的VPC ID,为待创建的云服务器所属的虚拟私有云(简称VPC),需要指定已创建VPC的ID,UUID格式 TenantVpcId string `json:"tenant_vpc_id"` // 租户自定义的网卡的结构体,为待创建的云服务器的网卡信息 Nics []CreateNet2CloudPhoneServerRequestBodyNics `json:"nics"` PublicIp *CreateNet2CloudPhoneServerRequestBodyPublicIp `json:"public_ip"` BandWidth *CreateNet2CloudPhoneServerRequestBodyBandWidth `json:"band_width"` // 待创建云服务器所在的可用区,需要指定可用区(AZ)的名称 AvailabilityZone *string `json:"availability_zone,omitempty"` }
func (CreateNet2CloudPhoneServerRequestBody) String ¶
func (o CreateNet2CloudPhoneServerRequestBody) String() string
type CreateNet2CloudPhoneServerRequestBodyBandWidth ¶
type CreateNet2CloudPhoneServerRequestBodyBandWidth struct { int32 `json:"band_width_share_type"` // 功能说明:带宽大小 带宽(Mbit/s),取值范围为[1,2000]。 调整带宽时的最小单位会根据带宽范围不同存在差异。 小于等于300Mbit/s:默认最小单位为1Mbit/s。 300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。 大于1000Mbit/s:默认最小单位为500Mbit/s。 说明: 如果share_type是独享带宽,该参数必选项;如果share_type是共享带宽并且id有值,该参数会忽略 BandWidthSize *int32 `json:"band_width_size,omitempty"` // 带宽ID,创建共享带宽类型带宽的弹性IP时可以指定之前的共享带宽创建。 取值范围:共享带宽类型的带宽ID。 说明: 当创建共享带宽类型的带宽时,该字段必选 BandWidthId *string `json:"band_width_id,omitempty"` }BandWidthShareType
云手机使用的带宽信息
func (CreateNet2CloudPhoneServerRequestBodyBandWidth) String ¶
func (o CreateNet2CloudPhoneServerRequestBodyBandWidth) String() string
type CreateNet2CloudPhoneServerRequestBodyExtendParam ¶
type CreateNet2CloudPhoneServerRequestBodyExtendParam struct { // 计费类型 0 表示包周期 ChargingMode int32 `json:"charging_mode"` // 订购周期类型 2 表示月 3 表示年 PeriodType int32 `json:"period_type"` // 订购周期数 当订购周期为月时,取值范围[1, 9]。 当订购周期为年时,取值范围[1,10] PeriodNum int32 `json:"period_num"` // 是否自动付款。默认不自动付款。 1 表示自动付款 0 表示不自动付款 IsAutoPay *int32 `json:"is_auto_pay,omitempty"` }
计费模式参数
func (CreateNet2CloudPhoneServerRequestBodyExtendParam) String ¶
func (o CreateNet2CloudPhoneServerRequestBodyExtendParam) String() string
type CreateNet2CloudPhoneServerRequestBodyNics ¶
type CreateNet2CloudPhoneServerRequestBodyNics struct { // 租户自定义的子网 ID,为待创建的云服务器所属的子网。 需要指定tenant_vpc_id对应VPC下已创建的子网(subnet)的网络ID,UUID格式 SubnetId string `json:"subnet_id"` }
func (CreateNet2CloudPhoneServerRequestBodyNics) String ¶
func (o CreateNet2CloudPhoneServerRequestBodyNics) String() string
type CreateNet2CloudPhoneServerRequestBodyPorts ¶
type CreateNet2CloudPhoneServerRequestBodyPorts struct { // 应用端口名称,不超过16个字节,系统关键服务名称不能使用\"adb\"和\"vnc\" Name *string `json:"name,omitempty"` // 端口号,大于等于10000,小于等于50000 ListenPort *int32 `json:"listen_port,omitempty"` // 为\"true\"则映射出公网访问(忽略大小写)。 为其他则不映射 InternetAccessible *string `json:"internet_accessible,omitempty"` }
func (CreateNet2CloudPhoneServerRequestBodyPorts) String ¶
func (o CreateNet2CloudPhoneServerRequestBodyPorts) String() string
type CreateNet2CloudPhoneServerRequestBodyPublicIp ¶
type CreateNet2CloudPhoneServerRequestBodyPublicIp struct { // 指定已有的EIP进行服务器创建,当前只支持传入一个已有的EIP ID Ids []string `json:"ids"` Eip *CreateNet2CloudPhoneServerRequestBodyPublicIpEip `json:"eip"` }
租户自定义的弹性公网IP结构体。 配置云服务器的弹性IP信息的方式为: 自动分配,需要指定新创建弹性IP的信息 使用已有,需要指定已经购买的EIP ID
func (CreateNet2CloudPhoneServerRequestBodyPublicIp) String ¶
func (o CreateNet2CloudPhoneServerRequestBodyPublicIp) String() string
type CreateNet2CloudPhoneServerRequestBodyPublicIpEip ¶
type CreateNet2CloudPhoneServerRequestBodyPublicIpEip struct { // 弹性公网IP的类型,取值范围:5_telcom(电信),5_union(联通),5_bgp(全动态BGP),5_sbgp(静态BGP) Type string `json:"type"` }
配置服务器自动分配弹性IP时,创建弹性IP的配置参数,详情见 eip 结构体
func (CreateNet2CloudPhoneServerRequestBodyPublicIpEip) String ¶
func (o CreateNet2CloudPhoneServerRequestBodyPublicIpEip) String() string
type CreateNet2CloudPhoneServerResponse ¶
type CreateNet2CloudPhoneServerResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 订单ID,不超过64个字节 OrderId string `json:"order_id"` // 产品ID,不超过64个字节 ProductId string `json:"product_id"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateNet2CloudPhoneServerResponse) String ¶
func (o CreateNet2CloudPhoneServerResponse) String() string
type DeleteShareAppsRequest ¶
type DeleteShareAppsRequest struct {
}Request Object
func (DeleteShareAppsRequest) String ¶
func (o DeleteShareAppsRequest) String() string
type DeleteShareAppsRequestBody ¶
type DeleteShareAppsRequestBody struct { string `json:"package_name"` ServerIds []string `json:"server_ids"` }PackageName
func (DeleteShareAppsRequestBody) String ¶
func (o DeleteShareAppsRequestBody) String() string
type DeleteShareAppsResponse ¶
type DeleteShareAppsResponse struct { string `json:"request_id"` // 任务信息 }RequestId
Response Object
func (DeleteShareAppsResponse) String ¶
func (o DeleteShareAppsResponse) String() string
type ImportTrafficRequest ¶
type ImportTrafficRequest struct {
Body *ImportTrafficRequestBody `json:"body,omitempty"`
}
Request Object
func (ImportTrafficRequest) String ¶
func (o ImportTrafficRequest) String() string
type ImportTrafficRequestBody ¶
type ImportTrafficRequestBody struct { // 手机路由类型 direct:默认路由 routing:路由到编码容器 TrafficType string `json:"traffic_type"` // 手机id列表 一次调用最多支持100个 PhoneIds []string `json:"phone_ids"` }
func (ImportTrafficRequestBody) String ¶
func (o ImportTrafficRequestBody) String() string
type ImportTrafficResponse ¶
type ImportTrafficResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (ImportTrafficResponse) String ¶
func (o ImportTrafficResponse) String() string
type ListCloudPhoneImagesRequest ¶
type ListCloudPhoneImagesRequest struct { }
Request Object
func (ListCloudPhoneImagesRequest) String ¶
func (o ListCloudPhoneImagesRequest) String() string
type ListCloudPhoneImagesResponse ¶
type ListCloudPhoneImagesResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 手机镜像信息 PhoneImages []interface{} `json:"phone_images"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCloudPhoneImagesResponse) String ¶
func (o ListCloudPhoneImagesResponse) String() string
type ListCloudPhoneModelsRequest ¶
type ListCloudPhoneModelsRequest struct { }
Request Object
func (ListCloudPhoneModelsRequest) String ¶
func (o ListCloudPhoneModelsRequest) String() string
type ListCloudPhoneModelsResponse ¶
type ListCloudPhoneModelsResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 云手机的规格信息 PhoneModels []interface{} `json:"phone_models"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCloudPhoneModelsResponse) String ¶
func (o ListCloudPhoneModelsResponse) String() string
type ListCloudPhoneServerModelsRequest ¶
type ListCloudPhoneServerModelsRequest struct { // 产品类型 - 0:云手机 - 1:云手游 ProductType *int32 `json:"product_type,omitempty"` }
Request Object
func (ListCloudPhoneServerModelsRequest) String ¶
func (o ListCloudPhoneServerModelsRequest) String() string
type ListCloudPhoneServerModelsResponse ¶
type ListCloudPhoneServerModelsResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 云手机服务器的规格信息 ServerModels []interface{} `json:"server_models"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCloudPhoneServerModelsResponse) String ¶
func (o ListCloudPhoneServerModelsResponse) String() string
type ListCloudPhoneServersRequest ¶
type ListCloudPhoneServersRequest struct { // 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源数,默认值为0。 Offset *int32 `json:"offset,omitempty"` // 每页返回的资源个数。取值范围:1~100(默认值为100),一般设置为10、20、50。 Limit *int32 `json:"limit,omitempty"` // 云手机服务器名称,支持模糊查询。 ServerName *string `json:"server_name,omitempty"` // 服务器id。 ServerId *string `json:"server_id,omitempty"` // 云手机服务器是否为自定义网络标识 - v1:系统定义网络的云手机服务器。 - v2:自定义网络的云手机服务器。 NetworkVersion *string `json:"network_version,omitempty"` }
Request Object
func (ListCloudPhoneServersRequest) String ¶
func (o ListCloudPhoneServersRequest) String() string
type ListCloudPhoneServersResponse ¶
type ListCloudPhoneServersResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 云手机服务器信息 Servers []interface{} `json:"servers"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCloudPhoneServersResponse) String ¶
func (o ListCloudPhoneServersResponse) String() string
type ListCloudPhoneServersResponseBody ¶
type ListCloudPhoneServersResponseBody struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 云手机服务器信息 Servers []interface{} `json:"servers"` }
查询云手机服务器猎豹
func (ListCloudPhoneServersResponseBody) String ¶
func (o ListCloudPhoneServersResponseBody) String() string
type ListCloudPhonesRequest ¶
type ListCloudPhonesRequest struct { // 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源数,默认值为0。 Offset *int32 `json:"offset,omitempty"` // 每页返回的资源个数。取值范围:1~100(默认值为100),一般设置为10、20、50。 Limit *int32 `json:"limit,omitempty"` // 云手机名称,支持模糊查询 PhoneName *string `json:"phone_name,omitempty"` // 服务器id。 ServerId *string `json:"server_id,omitempty"` // 云手机状态 - 0:创建中 - 1:创建中 - 2:运行中 - 3:重置中 - 4:重启中 - 6:冻结 - 7:正在关机 - 8:已关机 - -5:重置失败 - -6:重启失败 - -7:手机异常 - -8:创建失败 - -9:关机失败 Status *int32 `json:"status,omitempty"` // 云手机类型 - 0:普通云手机 - 1:试玩云手机 Type *int32 `json:"type,omitempty"` }
Request Object
func (ListCloudPhonesRequest) String ¶
func (o ListCloudPhonesRequest) String() string
type ListCloudPhonesResponse ¶
type ListCloudPhonesResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 云手机信息 Phones []interface{} `json:"phones"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCloudPhonesResponse) String ¶
func (o ListCloudPhonesResponse) String() string
type ListEncodeServersRequest ¶
type ListEncodeServersRequest struct { // 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源数,默认值为0。 Offset *int32 `json:"offset,omitempty"` // 每页返回的资源个数。取值范围:1~100(默认值为100),一般设置为10、20、50。 Limit *int32 `json:"limit,omitempty"` // 编码服务类型 - 0:服务器 - 1:容器 Type *int32 `json:"type,omitempty"` // 状态列表 - 1:运行中 - 2:异常 - 3:重启中 - 4:冻结 - 5:关机 - 100、1014、0:创建中 Status *int32 `json:"status,omitempty"` // 服务器id。 ServerId *string `json:"server_id,omitempty"` }
Request Object
func (ListEncodeServersRequest) String ¶
func (o ListEncodeServersRequest) String() string
type ListEncodeServersResponse ¶
type ListEncodeServersResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 编码服务信息 EncodeServers []interface{} `json:"encode_servers"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEncodeServersResponse) String ¶
func (o ListEncodeServersResponse) String() string
type ListJobsRequest ¶
type ListJobsRequest struct { // 任务下发请求时响应的request_id。 request_id和request_ids必须指定其中一个。request_id和request_ids同时指定的时候,以request_ids为准。 RequestId *string `json:"request_id,omitempty"` // 任务下发请求时响应的多个request_id,用逗号分隔,最多不能超过20个。 request_id和request_ids必须指定其中一个。request_id和request_ids同时指定的时候,以request_ids为准。 RequestIds *string `json:"request_ids,omitempty"` }
Request Object
func (ListJobsRequest) String ¶
func (o ListJobsRequest) String() string
type ListJobsResponse ¶
type ListJobsResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (ListJobsResponse) String ¶
func (o ListJobsResponse) String() string
type ListShareFilesRequest ¶
type ListShareFilesRequest struct { int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` ServerIds string `json:"server_ids"` Path string `json:"path"` }Offset *
Request Object
func (ListShareFilesRequest) String ¶
func (o ListShareFilesRequest) String() string
type ListShareFilesResponse ¶
type ListShareFilesResponse struct { string `json:"request_id"` // 任务信息 }RequestId
Response Object
func (ListShareFilesResponse) String ¶
func (o ListShareFilesResponse) String() string
type Phones ¶
type Phones struct { // 手机列表 Phones []PhonesPhones `json:"phones"` }
type PhonesPhones ¶
type PhonesPhones struct { // 云手机id PhoneId string `json:"phone_id"` // 云手机属性列表 Property string `json:"property"` }
func (PhonesPhones) String ¶
func (o PhonesPhones) String() string
type PushShareAppsRequest ¶
type PushShareAppsRequest struct {
}Request Object
func (PushShareAppsRequest) String ¶
func (o PushShareAppsRequest) String() string
type PushShareAppsRequestBody ¶
type PushShareAppsRequestBody struct { string `json:"package_name"` PreInstallApp *int32 `json:"pre_install_app,omitempty"` BucketName string `json:"bucket_name"` ObjectPath string `json:"object_path"` ServerIds []string `json:"server_ids"` }PackageName
func (PushShareAppsRequestBody) String ¶
func (o PushShareAppsRequestBody) String() string
type PushShareAppsResponse ¶
type PushShareAppsResponse struct { string `json:"request_id"` // 任务信息 }RequestId
Response Object
func (PushShareAppsResponse) String ¶
func (o PushShareAppsResponse) String() string
type PushShareFilesRequest ¶
type PushShareFilesRequest struct {
}Request Object
func (PushShareFilesRequest) String ¶
func (o PushShareFilesRequest) String() string
type PushShareFilesRequestBody ¶
type PushShareFilesRequestBody struct { string `json:"bucket_name,omitempty"` ObjectPath *string `json:"object_path,omitempty"` ServerIds []string `json:"server_ids"` FilePaths *string `json:"file_paths,omitempty"` }BucketName *
func (PushShareFilesRequestBody) String ¶
func (o PushShareFilesRequestBody) String() string
type PushShareFilesResponse ¶
type PushShareFilesResponse struct { string `json:"request_id"` // 任务信息 }RequestId
Response Object
func (PushShareFilesResponse) String ¶
func (o PushShareFilesResponse) String() string
type RequestIdResponseBody ¶
type RequestIdResponseBody struct { // 请求的唯一标识ID RequestId string `json:"request_id"` }
请求id响应体
func (RequestIdResponseBody) String ¶
func (o RequestIdResponseBody) String() string
type ResetCloudPhoneRequest ¶
type ResetCloudPhoneRequest struct {
Body *ResetRestartRequestBody `json:"body,omitempty"`
}
Request Object
func (ResetCloudPhoneRequest) String ¶
func (o ResetCloudPhoneRequest) String() string
type ResetCloudPhoneResponse ¶
type ResetCloudPhoneResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetCloudPhoneResponse) String ¶
func (o ResetCloudPhoneResponse) String() string
type ResetRestartRequestBody ¶
type ResetRestartRequestBody struct { // 云手机镜像 ImageId *string `json:"image_id,omitempty"` // 云手机列表 Phones []ResetRestartRequestBodyPhones `json:"phones"` }
func (ResetRestartRequestBody) String ¶
func (o ResetRestartRequestBody) String() string
type ResetRestartRequestBodyPhones ¶
type ResetRestartRequestBodyPhones struct { // 云手机id PhoneId string `json:"phone_id"` // 云手机属性列表 Property *string `json:"property,omitempty"` }
func (ResetRestartRequestBodyPhones) String ¶
func (o ResetRestartRequestBodyPhones) String() string
type RestartCloudPhoneRequest ¶
type RestartCloudPhoneRequest struct {
Body *ResetRestartRequestBody `json:"body,omitempty"`
}
Request Object
func (RestartCloudPhoneRequest) String ¶
func (o RestartCloudPhoneRequest) String() string
type RestartCloudPhoneResponse ¶
type RestartCloudPhoneResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (RestartCloudPhoneResponse) String ¶
func (o RestartCloudPhoneResponse) String() string
type RestartCloudPhoneServerRequest ¶
type RestartCloudPhoneServerRequest struct {
Body *RestartCloudPhoneServerRequestBody `json:"body,omitempty"`
}
Request Object
func (RestartCloudPhoneServerRequest) String ¶
func (o RestartCloudPhoneServerRequest) String() string
type RestartCloudPhoneServerRequestBody ¶
type RestartCloudPhoneServerRequestBody struct { // 云手机服务器id列表 ServerIds []string `json:"server_ids"` }
func (RestartCloudPhoneServerRequestBody) String ¶
func (o RestartCloudPhoneServerRequestBody) String() string
type RestartCloudPhoneServerResponse ¶
type RestartCloudPhoneServerResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (RestartCloudPhoneServerResponse) String ¶
func (o RestartCloudPhoneServerResponse) String() string
type RestartEncodeServerRequest ¶
type RestartEncodeServerRequest struct {
Body *RestartEncodeServerRequestBody `json:"body,omitempty"`
}
Request Object
func (RestartEncodeServerRequest) String ¶
func (o RestartEncodeServerRequest) String() string
type RestartEncodeServerRequestBody ¶
type RestartEncodeServerRequestBody struct { // 待重启的编码服务的ID EncodeServerIds []string `json:"encode_server_ids"` }
func (RestartEncodeServerRequestBody) String ¶
func (o RestartEncodeServerRequestBody) String() string
type RestartEncodeServerResponse ¶
type RestartEncodeServerResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (RestartEncodeServerResponse) String ¶
func (o RestartEncodeServerResponse) String() string
type RunShellCommandRequest ¶
type RunShellCommandRequest struct {
Body *RunShellCommandRequestBody `json:"body,omitempty"`
}
Request Object
func (RunShellCommandRequest) String ¶
func (o RunShellCommandRequest) String() string
type RunShellCommandRequestBody ¶
type RunShellCommandRequestBody struct { // 手机管理命令 - 推送文件场景固定填写push - 安装apk场景固定填写install - 安装多apk场景固定填写install-multiple - 卸载apk场景固定填写uninstall - 执行命令固定写shell Command string `json:"command"` // - 推送文件场景:指定OBS桶中的tar文件。最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。推送的文件只支持tar文件类型。文件格式:obs://obs-bucket-name/obs-file-path/file.tar - 安装apk场景:指定OBS桶中的apk文件(需要提前上传到指定桶中)。单apk场景,只能传一个apk。最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。推送的文件只支持apk文件类型。文件格式:obs://obs-bucket-name/obs-file-path/file.apk - 安装多apk场景:指定OBS桶中的apk文件(需要提前上传到指定桶中)。多apk场景,最多传50个apk,中间用空格分开,最大长度8100字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。推送的文件只支持apk文件类型。文件格式:obs://obs-bucket-name/obs-file-path/file.apk - 卸载apk场景:待卸载的APP名称。最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-) - 执行命令场景:待执行的命令。最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-) Content string `json:"content"` // 云手机ID列表 server_ids参数不存在时必选 PhoneIds *[]string `json:"phone_ids,omitempty"` // 云手机服务器ID列表 phone_ids参数不存在时必选 ServerIds *[]string `json:"server_ids,omitempty"` }
func (RunShellCommandRequestBody) String ¶
func (o RunShellCommandRequestBody) String() string
type RunShellCommandResponse ¶
type RunShellCommandResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (RunShellCommandResponse) String ¶
func (o RunShellCommandResponse) String() string
type RunSyncCommandRequest ¶
type RunSyncCommandRequest struct {
Body *RunSyncCommandRequestBody `json:"body,omitempty"`
}
Request Object
func (RunSyncCommandRequest) String ¶
func (o RunSyncCommandRequest) String() string
type RunSyncCommandRequestBody ¶
type RunSyncCommandRequestBody struct { // 手机管理命令,仅支持shell命令 Command string `json:"command"` // 待执行的命令。最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-) Content string `json:"content"` // 云手机ID列表 server_ids参数不存在时必选 PhoneIds *[]string `json:"phone_ids,omitempty"` // 云手机服务器ID列表 phone_ids参数不存在时必选 ServerIds *[]string `json:"server_ids,omitempty"` }
func (RunSyncCommandRequestBody) String ¶
func (o RunSyncCommandRequestBody) String() string
type RunSyncCommandResponse ¶
type RunSyncCommandResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (RunSyncCommandResponse) String ¶
func (o RunSyncCommandResponse) String() string
type ShowBandwidthDetailRequest ¶
type ShowBandwidthDetailRequest struct { }
Request Object
func (ShowBandwidthDetailRequest) String ¶
func (o ShowBandwidthDetailRequest) String() string
type ShowBandwidthDetailResponse ¶
type ShowBandwidthDetailResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 带宽信息 BandWidths []interface{} `json:"band_widths"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBandwidthDetailResponse) String ¶
func (o ShowBandwidthDetailResponse) String() string
type ShowCloudPhoneDetailRequest ¶
type ShowCloudPhoneDetailRequest struct { // 云手机id。 PhoneId string `json:"phone_id"` }
Request Object
func (ShowCloudPhoneDetailRequest) String ¶
func (o ShowCloudPhoneDetailRequest) String() string
type ShowCloudPhoneDetailResponse ¶
type ShowCloudPhoneDetailResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 云手机名称,不超过65个字符 PhoneName string `json:"phone_name"` // 云手机服务器ID,不超过32个字节 ServerId string `json:"server_id"` // 云手机的唯一标识,不超过32个字节 PhoneId string `json:"phone_id"` // 云手机镜像ID,不超过32个字节 ImageId string `json:"image_id"` // 云手机是否开启VNC服务 - true:开启 - false:关闭 VncEnable string `json:"vnc_enable"` // 云手机规格名称,不超过64个字节 PhoneModelName string `json:"phone_model_name"` // 云手机状态 - 0:创建中 - 1:创建中 - 2:运行中 - 3:重置中 - 4:重启中 - 6:冻结 - 7:正在关机 - 8:已关机 - -5:重置失败 - -6:重启失败 - -7:手机异常 - -8:创建失败 - -9:关机失败 Status int32 `json:"status"` // 云手机访问信息 AccessInfos []interface{} `json:"access_infos"` // 云手机属性字符串,不超过2048个字节 Property string `json:"property"` // 订单以及产品相关信息 Metadata *interface{} `json:"metadata"` // 创建时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ CreateTime string `json:"create_time"` // 更新时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ。 UpdateTime string `json:"update_time"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCloudPhoneDetailResponse) String ¶
func (o ShowCloudPhoneDetailResponse) String() string
type ShowCloudPhoneServerDetailRequest ¶
type ShowCloudPhoneServerDetailRequest struct { // 服务器id。 ServerId string `json:"server_id"` }
Request Object
func (ShowCloudPhoneServerDetailRequest) String ¶
func (o ShowCloudPhoneServerDetailRequest) String() string
type ShowCloudPhoneServerDetailResponse ¶
type ShowCloudPhoneServerDetailResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 云手机服务器信息 Servers []interface{} `json:"servers"` // 云手机服务器带宽信息的结构体数组 BandWidths []interface{} `json:"band_widths"` // 云手机服务器卷信息的结构体数组 Volumes []interface{} `json:"volumes"` // 服务器扩展网卡绑定的安全组信息 系统定义网络的服务器,该字段返回为空列表 SecurityGroups []string `json:"security_groups"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCloudPhoneServerDetailResponse) String ¶
func (o ShowCloudPhoneServerDetailResponse) String() string
type ShowJobRequest ¶
type ShowJobRequest struct { // 任务id。 JobId string `json:"job_id"` }
Request Object
func (ShowJobRequest) String ¶
func (o ShowJobRequest) String() string
type ShowJobResponse ¶
type ShowJobResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务错误码说明 ErrorMsg string `json:"error_msg"` // 任务执行返回内容,最长1024个字节 ExecuteMsg string `json:"execute_msg"` // 任务的唯一标识 JobId string `json:"job_id"` // 任务处理结束时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ EndTime string `json:"end_time"` // 任务处理开始时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ BeginTime string `json:"begin_time"` // 任务错误码 ErrorCode string `json:"error_code"` // 任务状态 - 1: 运行中 - 2: 成功 - -1: 失败 Status int32 `json:"status"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowJobResponse) String ¶
func (o ShowJobResponse) String() string
type StopCloudPhoneRequest ¶
type StopCloudPhoneRequest struct {
Body *StopCloudPhoneRequestBody `json:"body,omitempty"`
}
Request Object
func (StopCloudPhoneRequest) String ¶
func (o StopCloudPhoneRequest) String() string
type StopCloudPhoneRequestBody ¶
type StopCloudPhoneRequestBody struct { // 云手机id列表 PhoneIds []string `json:"phone_ids"` }
func (StopCloudPhoneRequestBody) String ¶
func (o StopCloudPhoneRequestBody) String() string
type StopCloudPhoneResponse ¶
type StopCloudPhoneResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (StopCloudPhoneResponse) String ¶
func (o StopCloudPhoneResponse) String() string
type UpdateBandwidthRequest ¶
type UpdateBandwidthRequest struct { // 带宽id。 BandWidthId string `json:"band_width_id"` Body *UpdateBandwidthRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateBandwidthRequest) String ¶
func (o UpdateBandwidthRequest) String() string
type UpdateBandwidthRequestBody ¶
type UpdateBandwidthRequestBody struct { // - 小于等于300Mbit/s:默认最小增长步长为1Mbit/s。 - 300Mbit/s~1000Mbit/s:默认最小增长步长为50Mbit/s。 - 大于1000Mbit/s:默认最小增长步长为500Mbit/s。 BandWidthSize int32 `json:"band_width_size"` }
func (UpdateBandwidthRequestBody) String ¶
func (o UpdateBandwidthRequestBody) String() string
type UpdateBandwidthResponse ¶
type UpdateBandwidthResponse struct { // 请求的唯一标识ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateBandwidthResponse) String ¶
func (o UpdateBandwidthResponse) String() string
type UpdateCloudPhonePropertyRequest ¶
type UpdateCloudPhonePropertyRequest struct {
Body *Phones `json:"body,omitempty"`
}
Request Object
func (UpdateCloudPhonePropertyRequest) String ¶
func (o UpdateCloudPhonePropertyRequest) String() string
type UpdateCloudPhonePropertyResponse ¶
type UpdateCloudPhonePropertyResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateCloudPhonePropertyResponse) String ¶
func (o UpdateCloudPhonePropertyResponse) String() string
type UpdateKeypairRequest ¶
type UpdateKeypairRequest struct {
Body *UpdateKeypairRequestBody `json:"body,omitempty"`
}
Request Object
func (UpdateKeypairRequest) String ¶
func (o UpdateKeypairRequest) String() string
type UpdateKeypairRequestBody ¶
type UpdateKeypairRequestBody struct { // 待更改密钥对的云手机服务器信息 Servers []UpdateKeypairRequestBodyServers `json:"servers"` }
func (UpdateKeypairRequestBody) String ¶
func (o UpdateKeypairRequestBody) String() string
type UpdateKeypairRequestBodyServers ¶
type UpdateKeypairRequestBodyServers struct { // 密钥对名称 KeypairName string `json:"keypair_name"` // 云手机服务器ID,不得超过32个字节 ServerId string `json:"server_id"` }
func (UpdateKeypairRequestBodyServers) String ¶
func (o UpdateKeypairRequestBodyServers) String() string
type UpdateKeypairResponse ¶
type UpdateKeypairResponse struct { // 请求的唯一标识ID RequestId string `json:"request_id"` // 任务信息 Jobs []interface{} `json:"jobs"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateKeypairResponse) String ¶
func (o UpdateKeypairResponse) String() string
type UpdatePhoneNameRequest ¶
type UpdatePhoneNameRequest struct { // 云手机id。 PhoneId string `json:"phone_id"` Body *UpdatePhoneNameRequestBody `json:"body,omitempty"` }
Request Object
func (UpdatePhoneNameRequest) String ¶
func (o UpdatePhoneNameRequest) String() string
type UpdatePhoneNameRequestBody ¶
type UpdatePhoneNameRequestBody struct { // 云手机名称,必须为小写字母(a-z)、大写字母(A-Z)、数字(0-9)、中文字符、中划线-、下划线_,且不得超过60个字符。 PhoneName string `json:"phone_name"` }
func (UpdatePhoneNameRequestBody) String ¶
func (o UpdatePhoneNameRequestBody) String() string
type UpdatePhoneNameResponse ¶
type UpdatePhoneNameResponse struct { // 请求的唯一标识ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePhoneNameResponse) String ¶
func (o UpdatePhoneNameResponse) String() string
type UpdateServerNameRequest ¶
type UpdateServerNameRequest struct { // 服务器id。 ServerId string `json:"server_id"` Body *UpdateServerNameRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateServerNameRequest) String ¶
func (o UpdateServerNameRequest) String() string
type UpdateServerNameRequestBody ¶
type UpdateServerNameRequestBody struct { // 云手机服务器名称,必须为小写字母(a-z)、大写字母(A-Z)、数字(0-9)、中文字符、中划线-、下划线_,且不得超过60个字符。 ServerName string `json:"server_name"` }
func (UpdateServerNameRequestBody) String ¶
func (o UpdateServerNameRequestBody) String() string
type UpdateServerNameResponse ¶
type UpdateServerNameResponse struct { // 请求的唯一标识ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateServerNameResponse) String ¶
func (o UpdateServerNameResponse) String() string
Source Files ¶
- model_batch_export_cloud_phone_data_request.go
- model_batch_export_cloud_phone_data_request_body.go
- model_batch_export_cloud_phone_data_request_body_storage_infos.go
- model_batch_export_cloud_phone_data_response.go
- model_batch_import_cloud_phone_data_request.go
- model_batch_import_cloud_phone_data_request_body.go
- model_batch_import_cloud_phone_data_request_body_restore_infos.go
- model_batch_import_cloud_phone_data_response.go
- model_batch_migrate_cloud_phone_request.go
- model_batch_migrate_cloud_phone_request_body.go
- model_batch_migrate_cloud_phone_request_body_migrate_infos.go
- model_batch_migrate_cloud_phone_response.go
- model_change_cloud_phone_server_model_request.go
- model_change_cloud_phone_server_model_request_body.go
- model_change_cloud_phone_server_model_request_body_extend_param.go
- model_change_cloud_phone_server_model_response.go
- model_create_cloud_phone_server_request.go
- model_create_cloud_phone_server_request_body.go
- model_create_cloud_phone_server_request_body_band_width.go
- model_create_cloud_phone_server_request_body_extend_param.go
- model_create_cloud_phone_server_request_body_ports.go
- model_create_cloud_phone_server_response.go
- model_create_net2_cloud_phone_server_request.go
- model_create_net2_cloud_phone_server_request_body.go
- model_create_net2_cloud_phone_server_request_body_band_width.go
- model_create_net2_cloud_phone_server_request_body_extend_param.go
- model_create_net2_cloud_phone_server_request_body_nics.go
- model_create_net2_cloud_phone_server_request_body_ports.go
- model_create_net2_cloud_phone_server_request_body_public_ip.go
- model_create_net2_cloud_phone_server_request_body_public_ip_eip.go
- model_create_net2_cloud_phone_server_response.go
- model_delete_share_apps_request.go
- model_delete_share_apps_request_body.go
- model_delete_share_apps_response.go
- model_import_traffic_request.go
- model_import_traffic_request_body.go
- model_import_traffic_response.go
- model_list_cloud_phone_images_request.go
- model_list_cloud_phone_images_response.go
- model_list_cloud_phone_models_request.go
- model_list_cloud_phone_models_response.go
- model_list_cloud_phone_server_models_request.go
- model_list_cloud_phone_server_models_response.go
- model_list_cloud_phone_servers_request.go
- model_list_cloud_phone_servers_response.go
- model_list_cloud_phone_servers_response_body.go
- model_list_cloud_phones_request.go
- model_list_cloud_phones_response.go
- model_list_encode_servers_request.go
- model_list_encode_servers_response.go
- model_list_jobs_request.go
- model_list_jobs_response.go
- model_list_share_files_request.go
- model_list_share_files_response.go
- model_phones.go
- model_phones_phones.go
- model_push_share_apps_request.go
- model_push_share_apps_request_body.go
- model_push_share_apps_response.go
- model_push_share_files_request.go
- model_push_share_files_request_body.go
- model_push_share_files_response.go
- model_request_id_response_body.go
- model_reset_cloud_phone_request.go
- model_reset_cloud_phone_response.go
- model_reset_restart_request_body.go
- model_reset_restart_request_body_phones.go
- model_restart_cloud_phone_request.go
- model_restart_cloud_phone_response.go
- model_restart_cloud_phone_server_request.go
- model_restart_cloud_phone_server_request_body.go
- model_restart_cloud_phone_server_response.go
- model_restart_encode_server_request.go
- model_restart_encode_server_request_body.go
- model_restart_encode_server_response.go
- model_run_shell_command_request.go
- model_run_shell_command_request_body.go
- model_run_shell_command_response.go
- model_run_sync_command_request.go
- model_run_sync_command_request_body.go
- model_run_sync_command_response.go
- model_show_bandwidth_detail_request.go
- model_show_bandwidth_detail_response.go
- model_show_cloud_phone_detail_request.go
- model_show_cloud_phone_detail_response.go
- model_show_cloud_phone_server_detail_request.go
- model_show_cloud_phone_server_detail_response.go
- model_show_job_request.go
- model_show_job_response.go
- model_stop_cloud_phone_request.go
- model_stop_cloud_phone_request_body.go
- model_stop_cloud_phone_response.go
- model_update_bandwidth_request.go
- model_update_bandwidth_request_body.go
- model_update_bandwidth_response.go
- model_update_cloud_phone_property_request.go
- model_update_cloud_phone_property_response.go
- model_update_keypair_request.go
- model_update_keypair_request_body.go
- model_update_keypair_request_body_servers.go
- model_update_keypair_response.go
- model_update_phone_name_request.go
- model_update_phone_name_request_body.go
- model_update_phone_name_response.go
- model_update_server_name_request.go
- model_update_server_name_request_body.go
- model_update_server_name_response.go