model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {

	// 云手机服务器的内网IP,过期字段
	IntranetIp *string `json:"intranet_ip,omitempty"`

	// 云手机服务器的公网IP,过期字段
	AccessIp *string `json:"access_ip,omitempty"`

	// 云手机服务器的内网IP,新增字段
	ServerIp *string `json:"server_ip,omitempty"`

	// 云手机服务器的公网IP,新增字段
	PublicIp *string `json:"public_ip,omitempty"`
}

Address 服务器开发端口信息

func (Address) String

func (o Address) String() string

type Bandwidth

type Bandwidth struct {

	// 云手机服务器的带宽名称
	BandWidthName *string `json:"band_width_name,omitempty"`

	// 云手机服务器的带宽唯一标识
	BandWidthId *string `json:"band_width_id,omitempty"`

	// 云手机服务器的带宽大小
	BandWidthSize *int32 `json:"band_width_size,omitempty"`

	// 云手机服务器带宽的计费方式  取值范围:  - 0,bandwidth, 按带宽计费  - 1,traffic, 按流量计费
	BandWidthChargeMode *int32 `json:"band_width_charge_mode,omitempty"`

	// 云手机服务器的带宽类型  - 0,per,独享带宽 - 1,whole,共享带宽
	BandWidthShareType *int32 `json:"band_width_share_type,omitempty"`

	// 带宽创建时间  时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	CreateTime *string `json:"create_time,omitempty"`

	// 带宽更新时间  时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	UpdateTime *string `json:"update_time,omitempty"`
}

Bandwidth 带宽信息响应

func (Bandwidth) String

func (o Bandwidth) String() string

type BatchCreateTagsRequest

type BatchCreateTagsRequest struct {

	// 资源类型。  - cph-server,云手机服务器
	ResourceType BatchCreateTagsRequestResourceType `json:"resource_type"`

	// 资源ID。
	ResourceId string `json:"resource_id"`

	Body *BatchCreateTagsRequestBody `json:"body,omitempty"`
}

BatchCreateTagsRequest Request Object

func (BatchCreateTagsRequest) String

func (o BatchCreateTagsRequest) String() string

type BatchCreateTagsRequestBody

type BatchCreateTagsRequestBody struct {

	// 操作标识: - create,创建
	Action string `json:"action"`

	// 标签列表。
	Tags []Tag `json:"tags"`
}

func (BatchCreateTagsRequestBody) String

type BatchCreateTagsRequestResourceType

type BatchCreateTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (BatchCreateTagsRequestResourceType) MarshalJSON

func (c BatchCreateTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*BatchCreateTagsRequestResourceType) UnmarshalJSON

func (c *BatchCreateTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (BatchCreateTagsRequestResourceType) Value

type BatchCreateTagsRequestResourceTypeEnum

type BatchCreateTagsRequestResourceTypeEnum struct {
	CPH_SERVER BatchCreateTagsRequestResourceType
}

func GetBatchCreateTagsRequestResourceTypeEnum

func GetBatchCreateTagsRequestResourceTypeEnum() BatchCreateTagsRequestResourceTypeEnum

type BatchCreateTagsResponse

type BatchCreateTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

BatchCreateTagsResponse Response Object

func (BatchCreateTagsResponse) String

func (o BatchCreateTagsResponse) String() string

type BatchDeleteTagsRequest

type BatchDeleteTagsRequest struct {

	// 资源类型。  - cph-server,云手机服务器
	ResourceType BatchDeleteTagsRequestResourceType `json:"resource_type"`

	// 资源ID。
	ResourceId string `json:"resource_id"`

	Body *BatchDeleteTagsRequestBody `json:"body,omitempty"`
}

BatchDeleteTagsRequest Request Object

func (BatchDeleteTagsRequest) String

func (o BatchDeleteTagsRequest) String() string

type BatchDeleteTagsRequestBody

type BatchDeleteTagsRequestBody struct {

	// 操作标识: - delete,刪除
	Action string `json:"action"`

	// 标签列表。
	Tags []Tag `json:"tags"`
}

func (BatchDeleteTagsRequestBody) String

type BatchDeleteTagsRequestResourceType

type BatchDeleteTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (BatchDeleteTagsRequestResourceType) MarshalJSON

func (c BatchDeleteTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*BatchDeleteTagsRequestResourceType) UnmarshalJSON

func (c *BatchDeleteTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (BatchDeleteTagsRequestResourceType) Value

type BatchDeleteTagsRequestResourceTypeEnum

type BatchDeleteTagsRequestResourceTypeEnum struct {
	CPH_SERVER BatchDeleteTagsRequestResourceType
}

func GetBatchDeleteTagsRequestResourceTypeEnum

func GetBatchDeleteTagsRequestResourceTypeEnum() BatchDeleteTagsRequestResourceTypeEnum

type BatchDeleteTagsResponse

type BatchDeleteTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

BatchDeleteTagsResponse Response Object

func (BatchDeleteTagsResponse) String

func (o BatchDeleteTagsResponse) String() string

type BatchExportCloudPhoneDataRequest

type BatchExportCloudPhoneDataRequest struct {
	Body *BatchExportCloudPhoneDataRequestBody `json:"body,omitempty"`
}

BatchExportCloudPhoneDataRequest Request Object

func (BatchExportCloudPhoneDataRequest) String

type BatchExportCloudPhoneDataRequestBody

type BatchExportCloudPhoneDataRequestBody struct {

	// 待导出数据的云手机信息
	StorageInfos []StorageInfo `json:"storage_infos"`
}

BatchExportCloudPhoneDataRequestBody 导出云手机数据请求体。

func (BatchExportCloudPhoneDataRequestBody) String

type BatchExportCloudPhoneDataResponse

type BatchExportCloudPhoneDataResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

BatchExportCloudPhoneDataResponse Response Object

func (BatchExportCloudPhoneDataResponse) String

type BatchImportCloudPhoneDataRequest

type BatchImportCloudPhoneDataRequest struct {
	Body *BatchImportCloudPhoneDataRequestBody `json:"body,omitempty"`
}

BatchImportCloudPhoneDataRequest Request Object

func (BatchImportCloudPhoneDataRequest) String

type BatchImportCloudPhoneDataRequestBody

type BatchImportCloudPhoneDataRequestBody struct {

	// 待导入数据的云手机信息
	RestoreInfos []RestoreInfo `json:"restore_infos"`
}

BatchImportCloudPhoneDataRequestBody 导入云手机数据请求体

func (BatchImportCloudPhoneDataRequestBody) String

type BatchImportCloudPhoneDataResponse

type BatchImportCloudPhoneDataResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

BatchImportCloudPhoneDataResponse Response Object

func (BatchImportCloudPhoneDataResponse) String

type BatchMigrateCloudPhoneRequest

type BatchMigrateCloudPhoneRequest struct {
	Body *BatchMigrateCloudPhoneRequestBody `json:"body,omitempty"`
}

BatchMigrateCloudPhoneRequest Request Object

func (BatchMigrateCloudPhoneRequest) String

type BatchMigrateCloudPhoneRequestBody

type BatchMigrateCloudPhoneRequestBody struct {

	// 待迁移数据的云手机信息。
	MigrateInfos []MigrateInfo `json:"migrate_infos"`
}

BatchMigrateCloudPhoneRequestBody 迁移云手机请求体。

func (BatchMigrateCloudPhoneRequestBody) String

type BatchMigrateCloudPhoneResponse

type BatchMigrateCloudPhoneResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表
	Jobs           *[]PhoneMigrateJob `json:"jobs,omitempty"`
	HttpStatusCode int                `json:"-"`
}

BatchMigrateCloudPhoneResponse Response Object

func (BatchMigrateCloudPhoneResponse) String

type ChangeCloudPhoneServerModelRequest

type ChangeCloudPhoneServerModelRequest struct {
	Body *ChangeCloudPhoneServerModelRequestBody `json:"body,omitempty"`
}

ChangeCloudPhoneServerModelRequest Request Object

func (ChangeCloudPhoneServerModelRequest) String

type ChangeCloudPhoneServerModelRequestBody

type ChangeCloudPhoneServerModelRequestBody struct {

	// 云手机服务器的唯一标识。只有特定的服务器才能操作变更规格
	ServerId string `json:"server_id"`

	// 目标云手机服务器规格,不超过64个字节。仅允许相同代系服务器之间的规格切换。
	ServerModelName string `json:"server_model_name"`

	// 目标云手机规格。要求与变更前云手机规格路数相同,与目标云手机服务器规格匹配。
	PhoneModelName string `json:"phone_model_name"`

	ExtendParam *ChangeCloudPhoneServerModelRequestBodyExtendParam `json:"extend_param,omitempty"`
}

func (ChangeCloudPhoneServerModelRequestBody) String

type ChangeCloudPhoneServerModelRequestBodyExtendParam

type ChangeCloudPhoneServerModelRequestBodyExtendParam struct {

	// 否自动付款。默认不自动付款。如果是规格升配的变更,则需要支付额外的费用,如果是降配的变更,则会自动退款。 - 1 表示自动付款 - 0 表示不自动付款
	IsAutoPay *int32 `json:"is_auto_pay,omitempty"`
}

ChangeCloudPhoneServerModelRequestBodyExtendParam 购买模式参数

func (ChangeCloudPhoneServerModelRequestBodyExtendParam) String

type ChangeCloudPhoneServerModelResponse

type ChangeCloudPhoneServerModelResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 订单ID,不超过64个字节
	OrderId *string `json:"order_id,omitempty"`

	// 产品ID,不超过64个字节
	ProductId      *string `json:"product_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangeCloudPhoneServerModelResponse Response Object

func (ChangeCloudPhoneServerModelResponse) String

type CreateCloudPhoneServerRequest

type CreateCloudPhoneServerRequest struct {
	Body *CreateCloudPhoneServerRequestBody `json:"body,omitempty"`
}

CreateCloudPhoneServerRequest Request Object

func (CreateCloudPhoneServerRequest) 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 *[]Port `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

type CreateCloudPhoneServerRequestBodyBandWidth

type CreateCloudPhoneServerRequestBodyBandWidth struct {

	// 云手机服务器的带宽唯一标识
	BandWidthId *string `json:"band_width_id,omitempty"`

	// 云手机服务器的带宽大小
	BandWidthSize *int32 `json:"band_width_size,omitempty"`

	// 云手机服务器的带宽类型  - 0,per,独享带宽 - 1,whole,共享带宽
	BandWidthShareType *int32 `json:"band_width_share_type,omitempty"`
}

CreateCloudPhoneServerRequestBodyBandWidth 云手机使用的带宽信息。独占带宽按流量计费,共享带宽可选择带宽大小

func (CreateCloudPhoneServerRequestBodyBandWidth) 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"`

	// 是否自动续订。默认不自动续订。 - 1 表示自动续订 - 0 表示不自动续订
	IsAutoRenew *int32 `json:"is_auto_renew,omitempty"`

	// 企业项目ID。 该字段不传(或传为字符串“0”),则将资源绑定给默认企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

CreateCloudPhoneServerRequestBodyExtendParam 计费模式参数

func (CreateCloudPhoneServerRequestBodyExtendParam) String

type CreateCloudPhoneServerResponse

type CreateCloudPhoneServerResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 订单ID,不超过64个字节
	OrderId *string `json:"order_id,omitempty"`

	// 产品ID,不超过64个字节
	ProductId *string `json:"product_id,omitempty"`

	// 服务器ID列表
	ServerIds      *[]string `json:"server_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

CreateCloudPhoneServerResponse Response Object

func (CreateCloudPhoneServerResponse) String

type CreateNet2CloudPhoneServerRequest

type CreateNet2CloudPhoneServerRequest struct {
	Body *CreateNet2CloudPhoneServerRequestBody `json:"body,omitempty"`
}

CreateNet2CloudPhoneServerRequest Request Object

func (CreateNet2CloudPhoneServerRequest) 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"`

	// 云手机启用的应用端口,云手机服务会做端口转发
	Ports *[]Port `json:"ports,omitempty"`

	ExtendParam *CreateNet2CloudPhoneServerRequestBodyExtendParam `json:"extend_param"`

	// 租户自定义的VPC ID,为待创建的云服务器所属的虚拟私有云(简称VPC),需要指定已创建VPC的ID,UUID格式
	TenantVpcId string `json:"tenant_vpc_id"`

	// 租户自定义的网卡的结构体,为待创建的云服务器的网卡信息
	Nics []Nic `json:"nics"`

	PublicIp *CreateNet2CloudPhoneServerRequestBodyPublicIp `json:"public_ip"`

	BandWidth *CreateNet2CloudPhoneServerRequestBodyBandWidth `json:"band_width"`

	// 待创建云服务器所在的可用区,需要指定可用区(AZ)的名称
	AvailabilityZone *string `json:"availability_zone,omitempty"`
}

func (CreateNet2CloudPhoneServerRequestBody) String

type CreateNet2CloudPhoneServerRequestBodyBandWidth

type CreateNet2CloudPhoneServerRequestBodyBandWidth struct {

	// 云手机服务器的带宽唯一标识
	BandWidthId *string `json:"band_width_id,omitempty"`

	// 云手机服务器的带宽大小
	BandWidthSize *int32 `json:"band_width_size,omitempty"`

	// 云手机服务器带宽的计费方式  取值范围:  - 0,bandwidth, 按带宽计费  - 1,traffic, 按流量计费
	BandWidthChargeMode int32 `json:"band_width_charge_mode"`

	// 云手机服务器的带宽类型  - 0,per,独享带宽 - 1,whole,共享带宽
	BandWidthShareType int32 `json:"band_width_share_type"`
}

CreateNet2CloudPhoneServerRequestBodyBandWidth 云手机使用的带宽信息

func (CreateNet2CloudPhoneServerRequestBodyBandWidth) 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"`

	// 是否自动续订。默认不自动续订。 1 表示自动续订 0 表示不自动续订
	IsAutoRenew *int32 `json:"is_auto_renew,omitempty"`

	// 企业项目ID。 该字段不传(或传为字符串“0”),则将资源绑定给默认企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

CreateNet2CloudPhoneServerRequestBodyExtendParam 计费模式参数

func (CreateNet2CloudPhoneServerRequestBodyExtendParam) String

type CreateNet2CloudPhoneServerRequestBodyPublicIp

type CreateNet2CloudPhoneServerRequestBodyPublicIp struct {

	// 指定已有的EIP进行服务器创建,当前只支持传入一个已有的EIP ID
	Ids *[]string `json:"ids,omitempty"`

	Eip *CreateNet2CloudPhoneServerRequestBodyPublicIpEip `json:"eip,omitempty"`
}

CreateNet2CloudPhoneServerRequestBodyPublicIp 租户自定义的弹性公网IP结构体。 配置云服务器的弹性IP信息的方式为: 自动分配,需要指定新创建弹性IP的信息 使用已有,需要指定已经购买的EIP ID

func (CreateNet2CloudPhoneServerRequestBodyPublicIp) String

type CreateNet2CloudPhoneServerRequestBodyPublicIpEip

type CreateNet2CloudPhoneServerRequestBodyPublicIpEip struct {

	// 弹性公网IP的类型,取值范围:5_telcom(电信),5_union(联通),5_bgp(全动态BGP),5_sbgp(静态BGP)
	Type string `json:"type"`
}

CreateNet2CloudPhoneServerRequestBodyPublicIpEip 配置服务器自动分配弹性IP时,创建弹性IP的配置参数,详情见 eip 结构体

func (CreateNet2CloudPhoneServerRequestBodyPublicIpEip) String

type CreateNet2CloudPhoneServerResponse

type CreateNet2CloudPhoneServerResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 订单ID,不超过64个字节
	OrderId *string `json:"order_id,omitempty"`

	// 产品ID,不超过64个字节
	ProductId *string `json:"product_id,omitempty"`

	// 服务器ID列表
	ServerIds      *[]string `json:"server_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

CreateNet2CloudPhoneServerResponse Response Object

func (CreateNet2CloudPhoneServerResponse) String

type DeleteShareAppsRequest

type DeleteShareAppsRequest struct {
	Body *DeleteShareAppsRequestBody `json:"body,omitempty"`
}

DeleteShareAppsRequest Request Object

func (DeleteShareAppsRequest) String

func (o DeleteShareAppsRequest) String() string

type DeleteShareAppsRequestBody

type DeleteShareAppsRequestBody struct {

	// 所需删除的共享应用的合法包名
	PackageName string `json:"package_name"`

	// 云手机服务器ID列表
	ServerIds []string `json:"server_ids"`
}

func (DeleteShareAppsRequestBody) String

type DeleteShareAppsResponse

type DeleteShareAppsResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]ServerJob `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

DeleteShareAppsResponse Response Object

func (DeleteShareAppsResponse) String

func (o DeleteShareAppsResponse) String() string

type DeleteShareFilesRequest

type DeleteShareFilesRequest struct {
	Body *DeleteShareFilesRequestBody `json:"body,omitempty"`
}

DeleteShareFilesRequest Request Object

func (DeleteShareFilesRequest) String

func (o DeleteShareFilesRequest) String() string

type DeleteShareFilesRequestBody

type DeleteShareFilesRequestBody struct {

	// 云手机服务器ID列表。
	ServerIds []string `json:"server_ids"`

	// 所需删除的共享存储文件绝对路径。以/开头,最大长度4096字节,目前只支持大小写字母、数字、点(.)、斜线(/)、中划线(-)、空格、下划线(_)、等号(=),不支持中文。路径中不能包含.. 上层目录路径,防止跨目录攻击。仅删除共享存储接口使用。
	FilePaths []string `json:"file_paths"`
}

func (DeleteShareFilesRequestBody) String

type DeleteShareFilesResponse

type DeleteShareFilesResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]ServerJob `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

DeleteShareFilesResponse Response Object

func (DeleteShareFilesResponse) String

func (o DeleteShareFilesResponse) String() string

type EncodeServer

type EncodeServer struct {

	// 编码服务的名称,不大于64个字节
	EncodeServerName *string `json:"encode_server_name,omitempty"`

	// 编码服务的唯一标识ID,不大于32个字节
	EncodeServerId *string `json:"encode_server_id,omitempty"`

	// 编码服务IP地址
	EncodeServerIp *string `json:"encode_server_ip,omitempty"`

	// 云手机服务器ID,不大于32个字节
	ServerId *string `json:"server_id,omitempty"`

	// 编码服务登录密钥名称
	KeypairName *string `json:"keypair_name,omitempty"`

	// 编码服务类型 - 0:服务器 - 1:容器
	Type *int32 `json:"type,omitempty"`

	// 编码服务状态 - 1:运行中 - 2:异常 - 3:重启中 - 0、4、5:创建中
	Status *int32 `json:"status,omitempty"`

	// 编码服务的访问信息
	AccessInfos *[]EncodeServerAccessInfo `json:"access_infos,omitempty"`
}

EncodeServer 编码容器信息。

func (EncodeServer) String

func (o EncodeServer) String() string

type EncodeServerAccessInfo

type EncodeServerAccessInfo struct {

	// 编码服务监听端口
	ListenPort *int32 `json:"listen_port,omitempty"`

	// 编码服务访问的公网IP(过期)
	AccessIp *string `json:"access_ip,omitempty"`

	// 编码服务访问的内网IP(过期)
	IntranetIp *string `json:"intranet_ip,omitempty"`

	// 编码服务访问的公网IP(新增)
	PublicIp *string `json:"public_ip,omitempty"`

	// 编码服务访问的内网IP(新增)
	ServerIp *string `json:"server_ip,omitempty"`

	// 编码服务公网的访问端口
	AccessPort *int32 `json:"access_port,omitempty"`

	// 编码服务的端口类型,取值如下: - adb:云手机的ADB端口 - vnc:云手机的VNC端口 - cph_app_server:云游戏客户端接入端 - cph_h5_server:云游戏H5 web网页接入端口 - 其他值:用户自定义端口
	Type *string `json:"type,omitempty"`
}

EncodeServerAccessInfo 编码服务访问信息。

func (EncodeServerAccessInfo) String

func (o EncodeServerAccessInfo) String() string

type EncodeServerJob

type EncodeServerJob struct {

	// 编码服务的唯一标识ID,编码服务相关任务包含此字段。
	EncodeServerId *string `json:"encode_server_id,omitempty"`

	// 任务的唯一标识。
	JobId *string `json:"job_id,omitempty"`

	// 错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误说明。
	ErrorMsg *string `json:"error_msg,omitempty"`
}

EncodeServerJob 编码容器任务。

func (EncodeServerJob) String

func (o EncodeServerJob) String() string

type ImportTrafficRequest

type ImportTrafficRequest struct {
	Body *ImportTrafficRequestBody `json:"body,omitempty"`
}

ImportTrafficRequest 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,omitempty"`

	// 任务列表
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ImportTrafficResponse Response Object

func (ImportTrafficResponse) String

func (o ImportTrafficResponse) String() string

type InstallApkRequest

type InstallApkRequest struct {
	Body *InstallApkRequestBody `json:"body,omitempty"`
}

InstallApkRequest Request Object

func (InstallApkRequest) String

func (o InstallApkRequest) String() string

type InstallApkRequestBody

type InstallApkRequestBody struct {

	// 安装应用固定填写install。
	Command string `json:"command"`

	// 指定OBS桶中的apk文件(需要提前上传到指定桶中)。 只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。推送的文件只支持apk文件类型。  单apk场景,只能传一个apk,最大长度为1024字节;多apk场景,最多传50个apk,中间用空格分开,最大长度8100字节。
	Content string `json:"content"`

	// 云手机ID列表。 server_ids参数不存在时必选,同时存在只处理phone_ids。
	PhoneIds *[]string `json:"phone_ids,omitempty"`

	// 云手机服务器ID列表。 phone_ids参数不存在时必选,同时存在只处理phone_ids。
	ServerIds *[]string `json:"server_ids,omitempty"`
}

InstallApkRequestBody 安装应用请求体。

func (InstallApkRequestBody) String

func (o InstallApkRequestBody) String() string

type InstallApkResponse

type InstallApkResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

InstallApkResponse Response Object

func (InstallApkResponse) String

func (o InstallApkResponse) String() string

type Job

type Job struct {

	// 云手机的唯一标识,云手机相关任务包含此字段
	PhoneId *string `json:"phone_id,omitempty"`

	// 云手机服务器的唯一标识ID,云手机服务器相关任务包含此字段
	ServerId *string `json:"server_id,omitempty"`

	// (已废弃)云手机服务器的唯一标识ID,云手机服务 含此字段
	NodeId *string `json:"node_id,omitempty"`

	// 任务的唯一标识
	JobId *string `json:"job_id,omitempty"`

	// 任务处理开始时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	BeginTime *string `json:"begin_time,omitempty"`

	// 任务处理结束时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	EndTime *string `json:"end_time,omitempty"`

	// 任务状态 - 1 :运行中 - 2 : 成功 - -1 :失败
	Status *int32 `json:"status,omitempty"`

	// 任务错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 任务错误码说明
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 任务执行返回内容,最长1024个字节
	ExecuteMsg *string `json:"execute_msg,omitempty"`
}

Job 任务。

func (Job) String

func (o Job) String() string

type ListCloudPhoneImagesRequest

type ListCloudPhoneImagesRequest struct {
}

ListCloudPhoneImagesRequest Request Object

func (ListCloudPhoneImagesRequest) String

type ListCloudPhoneImagesResponse

type ListCloudPhoneImagesResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 手机镜像信息
	PhoneImages    *[]PhoneImage `json:"phone_images,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListCloudPhoneImagesResponse Response Object

func (ListCloudPhoneImagesResponse) String

type ListCloudPhoneModelsRequest

type ListCloudPhoneModelsRequest struct {

	// 规格状态 - 0:下线状态 - 1:正常使用 不传该参数表示查询所有状态的规格。
	Status *int32 `json:"status,omitempty"`

	// 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源数,默认值为0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页返回的资源个数。取值范围:1~100(默认值为100),一般设置为10、20、50。
	Limit *int32 `json:"limit,omitempty"`
}

ListCloudPhoneModelsRequest Request Object

func (ListCloudPhoneModelsRequest) String

type ListCloudPhoneModelsResponse

type ListCloudPhoneModelsResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 云手机的规格信息
	PhoneModels    *[]PhoneModel `json:"phone_models,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListCloudPhoneModelsResponse Response Object

func (ListCloudPhoneModelsResponse) String

type ListCloudPhoneServerModelsRequest

type ListCloudPhoneServerModelsRequest struct {

	// 产品类型 - 0:云手机 - 1:云手游
	ProductType *int32 `json:"product_type,omitempty"`
}

ListCloudPhoneServerModelsRequest Request Object

func (ListCloudPhoneServerModelsRequest) String

type ListCloudPhoneServerModelsResponse

type ListCloudPhoneServerModelsResponse struct {

	// 请求的唯一标识ID
	RequestId *string `json:"request_id,omitempty"`

	// 云手机服务器的规格信息
	ServerModels   *[]ServerModel `json:"server_models,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListCloudPhoneServerModelsResponse Response Object

func (ListCloudPhoneServerModelsResponse) 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"`

	// 云手机服务器的唯一标识。
	ServerId *string `json:"server_id,omitempty"`

	// 云手机服务器是否为自定义网络标识 - v1:系统定义网络的云手机服务器。 - v2:自定义网络的云手机服务器。
	NetworkVersion *string `json:"network_version,omitempty"`
}

ListCloudPhoneServersRequest Request Object

func (ListCloudPhoneServersRequest) String

type ListCloudPhoneServersResponse

type ListCloudPhoneServersResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 云手机服务器信息
	Servers        *[]Server `json:"servers,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListCloudPhoneServersResponse Response Object

func (ListCloudPhoneServersResponse) 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"`

	// 云手机服务器的唯一标识。
	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"`
}

ListCloudPhonesRequest Request Object

func (ListCloudPhonesRequest) String

func (o ListCloudPhonesRequest) String() string

type ListCloudPhonesResponse

type ListCloudPhonesResponse struct {

	// 云手机信息
	Phones *[]Phone `json:"phones,omitempty"`

	// 请求的唯一标识ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListCloudPhonesResponse 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"`

	// 云手机服务器的唯一标识。
	ServerId *string `json:"server_id,omitempty"`
}

ListEncodeServersRequest Request Object

func (ListEncodeServersRequest) String

func (o ListEncodeServersRequest) String() string

type ListEncodeServersResponse

type ListEncodeServersResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 编码服务信息。
	EncodeServers  *[]EncodeServer `json:"encode_servers,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListEncodeServersResponse 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"`

	// 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源数,默认值为0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页返回的资源个数。取值范围:1~100(默认值为100),一般设置为10、20、50。
	Limit *int32 `json:"limit,omitempty"`
}

ListJobsRequest Request Object

func (ListJobsRequest) String

func (o ListJobsRequest) String() string

type ListJobsResponse

type ListJobsResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]Job `json:"jobs,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListJobsResponse Response Object

func (ListJobsResponse) String

func (o ListJobsResponse) String() string

type ListProjectTagsRequest

type ListProjectTagsRequest struct {

	// 资源类型。  - cph-server,云手机服务器
	ResourceType ListProjectTagsRequestResourceType `json:"resource_type"`
}

ListProjectTagsRequest Request Object

func (ListProjectTagsRequest) String

func (o ListProjectTagsRequest) String() string

type ListProjectTagsRequestResourceType

type ListProjectTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListProjectTagsRequestResourceType) MarshalJSON

func (c ListProjectTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListProjectTagsRequestResourceType) UnmarshalJSON

func (c *ListProjectTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (ListProjectTagsRequestResourceType) Value

type ListProjectTagsRequestResourceTypeEnum

type ListProjectTagsRequestResourceTypeEnum struct {
	CPH_SERVER ListProjectTagsRequestResourceType
}

func GetListProjectTagsRequestResourceTypeEnum

func GetListProjectTagsRequestResourceTypeEnum() ListProjectTagsRequestResourceTypeEnum

type ListProjectTagsResponse

type ListProjectTagsResponse struct {

	// 资源标签列表。
	Tags           *[]Tags `json:"tags,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListProjectTagsResponse Response Object

func (ListProjectTagsResponse) String

func (o ListProjectTagsResponse) String() string

type ListResourceInstancesRequest

type ListResourceInstancesRequest struct {

	// 资源类型。  - cph-server,云手机服务器
	ResourceType ListResourceInstancesRequestResourceType `json:"resource_type"`

	Body *ListResourceInstancesRequestBody `json:"body,omitempty"`
}

ListResourceInstancesRequest Request Object

func (ListResourceInstancesRequest) String

type ListResourceInstancesRequestBody

type ListResourceInstancesRequestBody struct {

	// 操作标识(仅限于filter,count):filter(过滤),count(查询总条数)。 为filter时表示分页查询,为count只需按照条件将总条数返回即可。
	Action ListResourceInstancesRequestBodyAction `json:"action"`

	// 索引位置, 从offset指定的下一条数据开始查询。 查询第一页数据时,不需要传入此参数,查询后续页码数据时,将查询前一页数据时响应体中的值带入此参数。  action为count时无此参数。  action为filter时,默认为0,必须为数字,且不能为负数。
	Offset *string `json:"offset,omitempty"`

	// 查询记录数。  action为count时无此参数。  action为filter时,默认为1000。limit最多为1000,不能为负数,最小值为1。
	Limit *string `json:"limit,omitempty"`

	// 不包含任意一个标签,该字段为true时查询所有不带标签的资源。
	WithoutAnyTag *bool `json:"without_any_tag,omitempty"`

	// 最多包含10个key,每个key最多包含10个value,结构体不能缺失。key不能为空或者空字符串。key不能重复,同一个key中value不能重复,不同key对应的资源之间为与的关系。
	Tags *[]Tags `json:"tags,omitempty"`

	// 搜索字段。  key为要匹配的字段,当前只支持resource_name。  value为匹配的值,当前为精确匹配。
	Matches *[]Match `json:"matches,omitempty"`
}

ListResourceInstancesRequestBody 查询资源实例请求体

func (ListResourceInstancesRequestBody) String

type ListResourceInstancesRequestBodyAction

type ListResourceInstancesRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (ListResourceInstancesRequestBodyAction) MarshalJSON

func (c ListResourceInstancesRequestBodyAction) MarshalJSON() ([]byte, error)

func (*ListResourceInstancesRequestBodyAction) UnmarshalJSON

func (c *ListResourceInstancesRequestBodyAction) UnmarshalJSON(b []byte) error

func (ListResourceInstancesRequestBodyAction) Value

type ListResourceInstancesRequestBodyActionEnum

type ListResourceInstancesRequestBodyActionEnum struct {
	FILTER ListResourceInstancesRequestBodyAction
	COUNT  ListResourceInstancesRequestBodyAction
}

func GetListResourceInstancesRequestBodyActionEnum

func GetListResourceInstancesRequestBodyActionEnum() ListResourceInstancesRequestBodyActionEnum

type ListResourceInstancesRequestResourceType

type ListResourceInstancesRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListResourceInstancesRequestResourceType) MarshalJSON

func (*ListResourceInstancesRequestResourceType) UnmarshalJSON

func (c *ListResourceInstancesRequestResourceType) UnmarshalJSON(b []byte) error

func (ListResourceInstancesRequestResourceType) Value

type ListResourceInstancesRequestResourceTypeEnum

type ListResourceInstancesRequestResourceTypeEnum struct {
	CPH_SERVER ListResourceInstancesRequestResourceType
}

func GetListResourceInstancesRequestResourceTypeEnum

func GetListResourceInstancesRequestResourceTypeEnum() ListResourceInstancesRequestResourceTypeEnum

type ListResourceInstancesResponse

type ListResourceInstancesResponse struct {

	// 资源列表
	Resources *[]Resource `json:"resources,omitempty"`

	// 资源总数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListResourceInstancesResponse Response Object

func (ListResourceInstancesResponse) String

type ListResourceTagsRequest

type ListResourceTagsRequest struct {

	// 资源类型。  - cph-server,云手机服务器
	ResourceType ListResourceTagsRequestResourceType `json:"resource_type"`

	// 资源ID。
	ResourceId string `json:"resource_id"`
}

ListResourceTagsRequest Request Object

func (ListResourceTagsRequest) String

func (o ListResourceTagsRequest) String() string

type ListResourceTagsRequestResourceType

type ListResourceTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListResourceTagsRequestResourceType) MarshalJSON

func (c ListResourceTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListResourceTagsRequestResourceType) UnmarshalJSON

func (c *ListResourceTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (ListResourceTagsRequestResourceType) Value

type ListResourceTagsRequestResourceTypeEnum

type ListResourceTagsRequestResourceTypeEnum struct {
	CPH_SERVER ListResourceTagsRequestResourceType
}

func GetListResourceTagsRequestResourceTypeEnum

func GetListResourceTagsRequestResourceTypeEnum() ListResourceTagsRequestResourceTypeEnum

type ListResourceTagsResponse

type ListResourceTagsResponse struct {

	// 资源标签列表
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListResourceTagsResponse Response Object

func (ListResourceTagsResponse) String

func (o ListResourceTagsResponse) String() string

type ListShareFilesRequest

type ListShareFilesRequest struct {

	// 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源数,默认值为0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页返回的资源个数。取值范围:1~100(默认值为100),一般设置为10、20、50。
	Limit *int32 `json:"limit,omitempty"`

	// 云手机服务器ID列表,多个服务器ID用逗号(,)分隔。
	ServerIds string `json:"server_ids"`

	// 待查询的目录名称 可以包含大小写字母、数字、“.”、“+”、“-”、“_”、“/”、\"=\";必须以“/”开头,并且不能只包含“/”;不能包含“../”、“//”等。 示例:/data/data
	Path string `json:"path"`
}

ListShareFilesRequest Request Object

func (ListShareFilesRequest) String

func (o ListShareFilesRequest) String() string

type ListShareFilesResponse

type ListShareFilesResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]ServerJob `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListShareFilesResponse Response Object

func (ListShareFilesResponse) String

func (o ListShareFilesResponse) String() string

type Match

type Match struct {

	// 键。  当前key的参数值只能取“resource_name”,此时value的参数值为资源名称。
	Key MatchKey `json:"key"`

	// 值。  当前key的参数值只能取“resource_name”,此时value的参数值为资源名称。
	Value string `json:"value"`
}

Match 搜索字段

func (Match) String

func (o Match) String() string

type MatchKey

type MatchKey struct {
	// contains filtered or unexported fields
}

func (MatchKey) MarshalJSON

func (c MatchKey) MarshalJSON() ([]byte, error)

func (*MatchKey) UnmarshalJSON

func (c *MatchKey) UnmarshalJSON(b []byte) error

func (MatchKey) Value

func (c MatchKey) Value() string

type MatchKeyEnum

type MatchKeyEnum struct {
	RESOURCE_NAME MatchKey
}

func GetMatchKeyEnum

func GetMatchKeyEnum() MatchKeyEnum

type MigrateInfo

type MigrateInfo struct {

	// 源云手机ID
	SourcePhoneId string `json:"source_phone_id"`

	// 目标云手机ID
	TargetPhoneId string `json:"target_phone_id"`

	// 是否迁移原手机的属性到目标手机。为\"true\"时迁移(忽略大小写),不填写或者其他值,则不迁移
	IsMigrateProperty *string `json:"is_migrate_property,omitempty"`
}

MigrateInfo 待迁移数据的云手机信息。

func (MigrateInfo) String

func (o MigrateInfo) String() string

type Nic

type Nic struct {

	// 租户自定义的子网 ID,为待创建的云服务器所属的子网。  需要指定tenant_vpc_id对应VPC下已创建的子网(subnet)的网络ID,UUID格式。
	SubnetId string `json:"subnet_id"`
}

Nic 租户自定义的网卡的结构体,为待创建的云服务器的网卡信息。

func (Nic) String

func (o Nic) String() string

type Phone

type Phone struct {

	// 云手机的名称,不超过65个字符
	PhoneName *string `json:"phone_name,omitempty"`

	// 云手机所在的服务器ID,不超过32个字节
	ServerId *string `json:"server_id,omitempty"`

	// 云手机的唯一标识,不超过32个字节
	PhoneId *string `json:"phone_id,omitempty"`

	// 云手机规格名称,不超过64个字节
	PhoneModelName *string `json:"phone_model_name,omitempty"`

	// 云手机镜像ID,不超过32个字节
	ImageId *string `json:"image_id,omitempty"`

	// 云手机是否开启VNC服务 - true表示开启 - false表示不开启
	VncEnable *string `json:"vnc_enable,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"`

	Metadata *PhoneMetadata `json:"metadata,omitempty"`

	// 创建时间 时间格式为UTC
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间 时间格式为UTC
	UpdateTime *string `json:"update_time,omitempty"`
}

Phone 云手机信息。

func (Phone) String

func (o Phone) String() string

type PhoneAccessInfo

type PhoneAccessInfo struct {

	// 自定义端口类型,不超过16个字节
	Type *string `json:"type,omitempty"`

	// 云手机IP(过期)
	DeviceIp *string `json:"device_ip,omitempty"`

	// 云手机IP
	PhoneIp *string `json:"phone_ip,omitempty"`

	// 服务监听端口
	ListenPort *int32 `json:"listen_port,omitempty"`

	// 云手机服务器的访问IP(过期)
	AccessIp *string `json:"access_ip,omitempty"`

	// 云手机服务器的公网IP,如果端口设置了非公网访问,该字段返回空字符串
	PublicIp *string `json:"public_ip,omitempty"`

	// 云手机服务器的内网IP(过期)
	IntranetIp *string `json:"intranet_ip,omitempty"`

	// 云手机服务器的内网IP
	ServerIp *string `json:"server_ip,omitempty"`

	// 服务映射到公网的访问端口
	AccessPort *int32 `json:"access_port,omitempty"`
}

PhoneAccessInfo 云手机访问信息。

func (PhoneAccessInfo) String

func (o PhoneAccessInfo) String() string

type PhoneImage

type PhoneImage struct {

	// 手机镜像名称,不超过128个字节
	ImageName *string `json:"image_name,omitempty"`

	// 镜像操作系统类型,不超过16个字节
	OsType *string `json:"os_type,omitempty"`

	// 镜像类型 - 1:公有镜像 - 2 :私有镜像
	IsPublic *int32 `json:"is_public,omitempty"`

	// 手机操作系统,不超过36个字节
	OsName *string `json:"os_name,omitempty"`

	// 镜像适用的云手机规格 - cloud_phone:适用于physical.rx1.xlarge 类型云手机服务器 - cloud_phone_1620:适用于physical.kg1.4xlarge.cp类型云手机服务器 - cloud_game:适用于physical.rx1.xlarge.cg 类型云手游服务器 - cloud_game_1620:适用于physical.kg1.4xlarge.cg 类型云手游服务器 - qemu_phone: 适用于physical.rx1.xlarge 类型云手机服务器中 qemu类型云手机规格
	ImageLabel *string `json:"image_label,omitempty"`

	// 手机镜像唯一标识ID,不超过32个字节
	ImageId *string `json:"image_id,omitempty"`
}

PhoneImage 云手机镜像信息。

func (PhoneImage) String

func (o PhoneImage) String() string

type PhoneJob

type PhoneJob struct {

	// 云手机的唯一标识ID,云手机相关任务包含此字段。
	PhoneId *string `json:"phone_id,omitempty"`

	// 任务的唯一标识。
	JobId *string `json:"job_id,omitempty"`

	// 错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误说明。
	ErrorMsg *string `json:"error_msg,omitempty"`
}

PhoneJob 云手机任务。

func (PhoneJob) String

func (o PhoneJob) String() string

type PhoneMetadata

type PhoneMetadata struct {

	// 订单ID,不超过64个字节
	OrderId *string `json:"order_id,omitempty"`

	// 产品ID,不超过64个字节
	ProductId *string `json:"product_id,omitempty"`
}

PhoneMetadata 订单以及产品相关信息

func (PhoneMetadata) String

func (o PhoneMetadata) String() string

type PhoneMigrateJob

type PhoneMigrateJob struct {

	// 源云手机id。
	SourcePhoneId *string `json:"source_phone_id,omitempty"`

	// 目标云手机id。
	TargetPhoneId *string `json:"target_phone_id,omitempty"`

	// 任务的唯一标识。
	JobId *string `json:"job_id,omitempty"`

	// 错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误说明。
	ErrorMsg *string `json:"error_msg,omitempty"`
}

PhoneMigrateJob 云手机迁移任务。

func (PhoneMigrateJob) String

func (o PhoneMigrateJob) String() string

type PhoneModel

type PhoneModel struct {

	// 云手机服务器的规格名称,不超过64个字节
	ServerModelName *string `json:"server_model_name,omitempty"`

	// 云手机的规格名称,不超过64个字节
	PhoneModelName *string `json:"phone_model_name,omitempty"`

	// 规格状态 - 1 表示正常使用状态 - 0 表示已下线状态 已下线的规格不可用来购买云手机服务器
	Status *int32 `json:"status,omitempty"`

	// CPU核数
	Cpu *int32 `json:"cpu,omitempty"`

	// 内存大小,单位:MB
	Memory *int32 `json:"memory,omitempty"`

	// 系统存储大小,单位:GB
	Disk *int32 `json:"disk,omitempty"`

	// 分辨率,不超过16个字节
	Resolution *string `json:"resolution,omitempty"`

	// 扩展描述,不超过512个字节
	ExtendSpec *string `json:"extend_spec,omitempty"`

	// 规格名称,不超过64个字节
	SpecCode *string `json:"spec_code,omitempty"`

	// 当前云手机规格包含的云手机个数
	PhoneCapacity *int32 `json:"phone_capacity,omitempty"`

	// 镜像类型,只支持如下类型: - qemu_phone - cloud_phone - cloud_game
	ImageLabel *string `json:"image_label,omitempty"`

	// 产品类型 - 0:云手机 - 1:云手游
	ProductType *int32 `json:"product_type,omitempty"`
}

PhoneModel 云手机规格信息。

func (PhoneModel) String

func (o PhoneModel) String() string

type PhoneProperty

type PhoneProperty struct {

	// 云手机id
	PhoneId string `json:"phone_id"`

	// 云手机属性列表
	Property *string `json:"property,omitempty"`
}

PhoneProperty 云手机属性信息。

func (PhoneProperty) String

func (o PhoneProperty) String() string

type Port

type Port struct {

	// 应用端口名称,不超过16个字节,系统关键服务名称不能使用\"adb\"和\"vnc\"。
	Name string `json:"name"`

	// 端口号,大于等于10000,小于等于50000。
	ListenPort int32 `json:"listen_port"`

	// 为\"true\"则映射出公网访问(忽略大小写)。 为其他则不映射。
	InternetAccessible string `json:"internet_accessible"`
}

Port 云手机启用的应用端口,云手机服务会做端口转发。

func (Port) String

func (o Port) String() string

type Property

type Property struct {

	// 云手机id
	PhoneId string `json:"phone_id"`

	// 云手机属性列表
	Property string `json:"property"`
}

Property 云手机属性信息。

func (Property) String

func (o Property) String() string

type PushFileRequest

type PushFileRequest struct {
	Body *PushFileRequestBody `json:"body,omitempty"`
}

PushFileRequest Request Object

func (PushFileRequest) String

func (o PushFileRequest) String() string

type PushFileRequestBody

type PushFileRequestBody struct {

	// 推送文件固定填写push。
	Command string `json:"command"`

	// 推送的文件只支持tar文件类型,指定OBS桶中的tar文件。 最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。
	Content string `json:"content"`

	// 云手机ID列表。 server_ids参数不存在时必选,同时存在只处理phone_ids。
	PhoneIds *[]string `json:"phone_ids,omitempty"`

	// 云手机服务器ID列表。 phone_ids参数不存在时必选,同时存在只处理phone_ids。
	ServerIds *[]string `json:"server_ids,omitempty"`
}

PushFileRequestBody 推送文件请求体。

func (PushFileRequestBody) String

func (o PushFileRequestBody) String() string

type PushFileResponse

type PushFileResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

PushFileResponse Response Object

func (PushFileResponse) String

func (o PushFileResponse) String() string

type PushShareAppsRequest

type PushShareAppsRequest struct {
	Body *PushShareAppsRequestBody `json:"body,omitempty"`
}

PushShareAppsRequest Request Object

func (PushShareAppsRequest) String

func (o PushShareAppsRequest) String() string

type PushShareAppsRequestBody

type PushShareAppsRequestBody struct {

	// 合法的应用包名
	PackageName string `json:"package_name"`

	// 是否预装应用,1:预装,0:不预装;默认不预装
	PreInstallApp *int32 `json:"pre_install_app,omitempty"`

	// 合法的OBS桶名,3-63个字符,只能由小写字母、数字、中划线(-)和小数点组成
	BucketName string `json:"bucket_name"`

	// 合法的OBS对象key,最大长度1024字符。 推送的文件只支持tar文件类型。推送时,按tar文件解压后的文件目录结构推送到手机
	ObjectPath string `json:"object_path"`

	// 云手机服务器ID列表
	ServerIds []string `json:"server_ids"`
}

func (PushShareAppsRequestBody) String

func (o PushShareAppsRequestBody) String() string

type PushShareAppsResponse

type PushShareAppsResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]ServerJob `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

PushShareAppsResponse Response Object

func (PushShareAppsResponse) String

func (o PushShareAppsResponse) String() string

type PushShareFilesRequest

type PushShareFilesRequest struct {
	Body *PushShareFilesRequestBody `json:"body,omitempty"`
}

PushShareFilesRequest Request Object

func (PushShareFilesRequest) String

func (o PushShareFilesRequest) String() string

type PushShareFilesRequestBody

type PushShareFilesRequestBody struct {

	// 合法的OBS桶名,3-63个字符,只能由小写字母、数字、中划线(-)和小数点组成。仅推送共享存储接口使用。
	BucketName string `json:"bucket_name"`

	// 合法的OBS对象key,最大长度1024字符。 推送的文件只支持tar文件类型。推送时,按tar文件解压后的文件目录结构推送到手机。当前只支持/data和/cache目录推送。仅推送共享存储接口使用。
	ObjectPath string `json:"object_path"`

	// 云手机服务器ID列表。
	ServerIds []string `json:"server_ids"`
}

func (PushShareFilesRequestBody) String

func (o PushShareFilesRequestBody) String() string

type PushShareFilesResponse

type PushShareFilesResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]ServerJob `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

PushShareFilesResponse Response Object

func (PushShareFilesResponse) String

func (o PushShareFilesResponse) String() string

type ResetCloudPhoneRequest

type ResetCloudPhoneRequest struct {
	Body *ResetCloudPhoneRequestBody `json:"body,omitempty"`
}

ResetCloudPhoneRequest Request Object

func (ResetCloudPhoneRequest) String

func (o ResetCloudPhoneRequest) String() string

type ResetCloudPhoneRequestBody

type ResetCloudPhoneRequestBody struct {

	// 云手机镜像
	ImageId *string `json:"image_id,omitempty"`

	// 云手机列表
	Phones []PhoneProperty `json:"phones"`
}

ResetCloudPhoneRequestBody 重置云手机请求体。

func (ResetCloudPhoneRequestBody) String

type ResetCloudPhoneResponse

type ResetCloudPhoneResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ResetCloudPhoneResponse Response Object

func (ResetCloudPhoneResponse) String

func (o ResetCloudPhoneResponse) String() string

type Resource

type Resource struct {

	// 资源ID。
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源详情。
	ResourceDetail *string `json:"resource_detail,omitempty"`

	// 资源名称。
	ResourceName *string `json:"resource_name,omitempty"`

	// 标签列表
	Tags *[]Tag `json:"tags,omitempty"`
}

Resource 资源详情。

func (Resource) String

func (o Resource) String() string

type RestartCloudPhoneRequest

type RestartCloudPhoneRequest struct {
	Body *RestartCloudPhoneRequestBody `json:"body,omitempty"`
}

RestartCloudPhoneRequest Request Object

func (RestartCloudPhoneRequest) String

func (o RestartCloudPhoneRequest) String() string

type RestartCloudPhoneRequestBody

type RestartCloudPhoneRequestBody struct {

	// 云手机镜像
	ImageId *string `json:"image_id,omitempty"`

	// 云手机列表
	Phones []PhoneProperty `json:"phones"`
}

RestartCloudPhoneRequestBody 重启云手机请求体。

func (RestartCloudPhoneRequestBody) String

type RestartCloudPhoneResponse

type RestartCloudPhoneResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

RestartCloudPhoneResponse Response Object

func (RestartCloudPhoneResponse) String

func (o RestartCloudPhoneResponse) String() string

type RestartCloudPhoneServerRequest

type RestartCloudPhoneServerRequest struct {
	Body *RestartCloudPhoneServerRequestBody `json:"body,omitempty"`
}

RestartCloudPhoneServerRequest Request Object

func (RestartCloudPhoneServerRequest) String

type RestartCloudPhoneServerRequestBody

type RestartCloudPhoneServerRequestBody struct {

	// 云手机服务器id列表
	ServerIds []string `json:"server_ids"`
}

func (RestartCloudPhoneServerRequestBody) String

type RestartCloudPhoneServerResponse

type RestartCloudPhoneServerResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]ServerJob `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

RestartCloudPhoneServerResponse Response Object

func (RestartCloudPhoneServerResponse) String

type RestartEncodeServerRequest

type RestartEncodeServerRequest struct {
	Body *RestartEncodeServerRequestBody `json:"body,omitempty"`
}

RestartEncodeServerRequest Request Object

func (RestartEncodeServerRequest) String

type RestartEncodeServerRequestBody

type RestartEncodeServerRequestBody struct {

	// 待重启的编码服务的ID
	EncodeServerIds []string `json:"encode_server_ids"`
}

func (RestartEncodeServerRequestBody) String

type RestartEncodeServerResponse

type RestartEncodeServerResponse struct {

	// 请求的唯一标识ID
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]EncodeServerJob `json:"jobs,omitempty"`
	HttpStatusCode int                `json:"-"`
}

RestartEncodeServerResponse Response Object

func (RestartEncodeServerResponse) String

type RestoreInfo

type RestoreInfo struct {

	// 云手机ID
	PhoneId string `json:"phone_id"`

	// 导出数据存储的OBS桶名。 合法的OBS桶名,3-63个字符,只能由小写字母、数字、中划线(-)和小数点(.)组成
	BucketName string `json:"bucket_name"`

	// 导出数据存储的OBS路径名。 符合OBS的路径名规范,最大长度1024字符
	ObjectPath string `json:"object_path"`
}

RestoreInfo 待重建数据的云手机信息。

func (RestoreInfo) String

func (o RestoreInfo) String() string

type RunShellCommandRequest

type RunShellCommandRequest struct {
	Body *RunShellCommandRequestBody `json:"body,omitempty"`
}

RunShellCommandRequest Request Object

func (RunShellCommandRequest) String

func (o RunShellCommandRequest) String() string

type RunShellCommandRequestBody

type RunShellCommandRequestBody struct {

	// ADB命令,固定填写shell。
	Command string `json:"command"`

	// 待执行的命令。  最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。
	Content string `json:"content"`

	// 云手机ID列表。 server_ids参数不存在时必选,同时存在只处理phone_ids。
	PhoneIds *[]string `json:"phone_ids,omitempty"`

	// 云手机服务器ID列表。 phone_ids参数不存在时必选,同时存在只处理phone_ids。
	ServerIds *[]string `json:"server_ids,omitempty"`
}

RunShellCommandRequestBody 执行shell命令请求体。

func (RunShellCommandRequestBody) String

type RunShellCommandResponse

type RunShellCommandResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

RunShellCommandResponse Response Object

func (RunShellCommandResponse) String

func (o RunShellCommandResponse) String() string

type RunSyncCommandJob

type RunSyncCommandJob struct {

	// 云手机的唯一标识,云手机相关任务包含此字段
	PhoneId *string `json:"phone_id,omitempty"`

	// 任务的唯一标识
	JobId *string `json:"job_id,omitempty"`

	// 任务状态 - 2:成功 - 1:运行中 - -1:失败
	Status *int32 `json:"status,omitempty"`

	// 任务错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 任务错误码说明
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 任务执行返回内容,最长1024字节
	ExecuteMsg *string `json:"execute_msg,omitempty"`
}

RunSyncCommandJob 执行异步shell命令任务。

func (RunSyncCommandJob) String

func (o RunSyncCommandJob) String() string

type RunSyncCommandRequest

type RunSyncCommandRequest struct {
	Body *RunSyncCommandRequestBody `json:"body,omitempty"`
}

RunSyncCommandRequest Request Object

func (RunSyncCommandRequest) String

func (o RunSyncCommandRequest) String() string

type RunSyncCommandRequestBody

type RunSyncCommandRequestBody struct {

	// ADB命令,固定填写shell。
	Command string `json:"command"`

	// 待执行的命令。  最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。
	Content string `json:"content"`

	// 云手机ID列表。 server_ids参数不存在时必选,同时存在只处理phone_ids。
	PhoneIds *[]string `json:"phone_ids,omitempty"`

	// 云手机服务器ID列表。 phone_ids参数不存在时必选,同时存在只处理phone_ids。
	ServerIds *[]string `json:"server_ids,omitempty"`
}

RunSyncCommandRequestBody 执行shell命令请求体。

func (RunSyncCommandRequestBody) String

func (o RunSyncCommandRequestBody) String() string

type RunSyncCommandResponse

type RunSyncCommandResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]RunSyncCommandJob `json:"jobs,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

RunSyncCommandResponse Response Object

func (RunSyncCommandResponse) String

func (o RunSyncCommandResponse) String() string

type Server

type Server struct {

	// 云手机服务器名称 不超过65字符,只支持英文字母、数字、汉字、下划线和中划线
	ServerName *string `json:"server_name,omitempty"`

	// 云手机服务器所在的可用区
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 云手机服务器的唯一标识,不超过32个字节
	ServerId *string `json:"server_id,omitempty"`

	// 云手机服务器规格名称,不超过64个字节
	ServerModelName *string `json:"server_model_name,omitempty"`

	// 云手机规格名称,不超过64个字节
	PhoneModelName *string `json:"phone_model_name,omitempty"`

	// 连接云手机所使用的密钥对的名称,不超过64个字节
	KeypairName *string `json:"keypair_name,omitempty"`

	// 服务器状态 - 0、1、3、4:创建中 - 2:异常 - 5:正常 - 8:冻结 - 10:关机 - 11:关机中 - 12:关机失败 - 13:开机中
	Status *int32 `json:"status,omitempty"`

	// 云手机服务器所属虚拟私有云(简称VPC  网络版本 network_version 取值为“v1”时,表示云手机服务器所属资源租户的VPC ID;取值为“v2”时,表示租户创建服务器时指定 VPC 的 VPC ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 云手机服务器所属虚拟私有云(简称VPC  网络版本 network_version 取值为“v1”时,表示云手机服务器所属资源租户的VPC CIDR;取值为“v2”时,表示租户创建服务器时指定 VPC 的 VPC CIDR
	Cidr *string `json:"cidr,omitempty"`

	// 云手机服务器所属虚拟私有云(简称VPC  网络版本 network_version 取值为“v1”时,表示云手机服务器所属资源租户的VPC CIDR;取值为“v2”时,表示租户创建服务器时指定 VPC 的 VPC CIDR
	VpcCidr *string `json:"vpc_cidr,omitempty"`

	// 云手机服务器所属子   仅在网络版本 network_version 取值为“v2”时,该取值表示租户创建服务器时指定子网的 ID,网络版本取值为“v1”时,该字段表示云手机服务器所属资源租户的子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 云手机服务器所属子   网络版本 network_version 取值为“v2”时,表示租户创建服务器时指定子网的 CIDR; 取值为“v1”时,表示云手机服务器所属资源租户的子网CIDR
	SubnetCidr *string `json:"subnet_cidr,omitempty"`

	// 云手机服务器的IP相关信息
	Addresses *[]Address `json:"addresses,omitempty"`

	// 云手机服务器的项目ID
	ResourceProjectId *string `json:"resource_project_id,omitempty"`

	Metadata *ServerMetadata `json:"metadata,omitempty"`

	// 是否为自定义网络的云手机服务器标识。  \"v1\",非自定义网络的云手机服务器。  v2\",自定义网络的云手机服务器。 支持按照网络版本字段进行筛选
	NetworkVersion *string `json:"network_version,omitempty"`

	// 云手机服务器所属企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 创建时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	UpdateTime *string `json:"update_time,omitempty"`
}

Server 云手机信息。

func (Server) String

func (o Server) String() string

type ServerJob

type ServerJob struct {

	// 云手机服务器的唯一标识ID,云手机服务器相关任务包含此字段。
	ServerId *string `json:"server_id,omitempty"`

	// 任务的唯一标识。
	JobId *string `json:"job_id,omitempty"`

	// 错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误说明。
	ErrorMsg *string `json:"error_msg,omitempty"`
}

ServerJob 云手机服务器任务。

func (ServerJob) String

func (o ServerJob) String() string

type ServerKeypair

type ServerKeypair struct {

	// 云手机服务器ID,不得超过32个字节。
	ServerId string `json:"server_id"`

	// 密钥对名称。
	KeypairName string `json:"keypair_name"`
}

ServerKeypair 服务器秘钥对。

func (ServerKeypair) String

func (o ServerKeypair) String() string

type ServerMetadata

type ServerMetadata struct {

	// 订单ID,不超过64个字节
	ProductId *string `json:"product_id,omitempty"`

	// 产品ID,不超过64个字节
	OrderId *string `json:"order_id,omitempty"`
}

ServerMetadata 订单以及产品相关信息

func (ServerMetadata) String

func (o ServerMetadata) String() string

type ServerModel

type ServerModel struct {

	// 云手机服务器的规格名称,不超过64字节
	ServerModelName *string `json:"server_model_name,omitempty"`

	// 云手机服务器的型号,如Hi1616。不超过32字节
	ServerType *string `json:"server_type,omitempty"`

	// 云手机服务器的CPU核数
	Cpu *int32 `json:"cpu,omitempty"`

	// 云手机服务器的内存大小,单位G
	Memory *int32 `json:"memory,omitempty"`

	ExtendSpec *ServerModelExtendSpec `json:"extend_spec,omitempty"`

	// 产品类型 - 0:云手机 - 1:云手游
	ProductType *int32 `json:"product_type,omitempty"`
}

ServerModel 服务器规格。

func (ServerModel) String

func (o ServerModel) String() string

type ServerModelExtendSpec

type ServerModelExtendSpec struct {

	// 云手机服务器cpu类型
	Cpu *string `json:"cpu,omitempty"`

	// 云手机服务器内存类型
	Memory *string `json:"memory,omitempty"`

	// 云手机服务器磁盘类型
	Disk *string `json:"disk,omitempty"`

	// 云手机服务器网络类型
	NetworkInterface *string `json:"network_interface,omitempty"`

	// 云手机服务器gpu类型
	Gpu *string `json:"gpu,omitempty"`

	// 云手机服务器bms规格
	BmsFlavor *string `json:"bms_flavor,omitempty"`

	// 云手机服务器gpu数量
	GpuCount *int32 `json:"gpu_count,omitempty"`

	// 云手机服务器numa数量
	NumaCount *int32 `json:"numa_count,omitempty"`
}

ServerModelExtendSpec 云手机服务器的属性描述,不超过512个字节

func (ServerModelExtendSpec) String

func (o ServerModelExtendSpec) String() string

type ShowBandwidthDetailRequest

type ShowBandwidthDetailRequest struct {

	// 偏移量为一个大于0小于资源总个数的整数,表示查询该偏移量后面的所有的资源数,默认值为0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页返回的资源个数。取值范围:1~100(默认值为100),一般设置为10、20、50。
	Limit *int32 `json:"limit,omitempty"`
}

ShowBandwidthDetailRequest Request Object

func (ShowBandwidthDetailRequest) String

type ShowBandwidthDetailResponse

type ShowBandwidthDetailResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 带宽信息
	BandWidths     *[]Bandwidth `json:"band_widths,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowBandwidthDetailResponse Response Object

func (ShowBandwidthDetailResponse) String

type ShowCloudPhoneDetailRequest

type ShowCloudPhoneDetailRequest struct {

	// 云手机id。
	PhoneId string `json:"phone_id"`
}

ShowCloudPhoneDetailRequest Request Object

func (ShowCloudPhoneDetailRequest) String

type ShowCloudPhoneDetailResponse

type ShowCloudPhoneDetailResponse struct {

	// 请求的唯一标识ID,不超过32个字节。
	RequestId *string `json:"request_id,omitempty"`

	// 云手机名称,不超过65个字符
	PhoneName *string `json:"phone_name,omitempty"`

	// 云手机服务器ID,不超过32个字节
	ServerId *string `json:"server_id,omitempty"`

	// 云手机的唯一标识,不超过32个字节
	PhoneId *string `json:"phone_id,omitempty"`

	// 云手机镜像ID,不超过32个字节
	ImageId *string `json:"image_id,omitempty"`

	// 云手机是否开启VNC服务 - true:开启 - false:关闭
	VncEnable *string `json:"vnc_enable,omitempty"`

	// 云手机规格名称,不超过64个字节
	PhoneModelName *string `json:"phone_model_name,omitempty"`

	// 云手机状态 - 0:创建中 - 1:创建中 - 2:运行中 - 3:重置中 - 4:重启中 - 6:冻结 - 7:正在关机 - 8:已关机 - -5:重置失败 - -6:重启失败 - -7:手机异常 - -8:创建失败 - -9:关机失败
	Status *int32 `json:"status,omitempty"`

	// 云手机访问信息
	AccessInfos *[]PhoneAccessInfo `json:"access_infos,omitempty"`

	// 云手机属性字符串,不超过2048个字节
	Property *string `json:"property,omitempty"`

	Metadata *ShowCloudPhoneDetailResponseBodyMetadata `json:"metadata,omitempty"`

	// 创建时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ。
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowCloudPhoneDetailResponse Response Object

func (ShowCloudPhoneDetailResponse) String

type ShowCloudPhoneDetailResponseBodyMetadata

type ShowCloudPhoneDetailResponseBodyMetadata struct {

	// 订单ID,不超过64个字节
	OrderId *string `json:"order_id,omitempty"`

	// 产品ID,不超过64个字节
	ProductId *string `json:"product_id,omitempty"`
}

ShowCloudPhoneDetailResponseBodyMetadata 订单以及产品相关信息

func (ShowCloudPhoneDetailResponseBodyMetadata) String

type ShowCloudPhoneServerDetailRequest

type ShowCloudPhoneServerDetailRequest struct {

	// 云手机服务器的唯一标识。
	ServerId string `json:"server_id"`
}

ShowCloudPhoneServerDetailRequest Request Object

func (ShowCloudPhoneServerDetailRequest) String

type ShowCloudPhoneServerDetailResponse

type ShowCloudPhoneServerDetailResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 云手机服务器名称 不超过65字符,只支持英文字母、数字、汉字、下划线和中划线
	ServerName *string `json:"server_name,omitempty"`

	// 云手机服务器所在的可用区
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 云手机服务器的唯一标识,不超过32个字节
	ServerId *string `json:"server_id,omitempty"`

	// 云手机服务器规格名称,不超过64个字节
	ServerModelName *string `json:"server_model_name,omitempty"`

	// 云手机规格名称,不超过64个字节
	PhoneModelName *string `json:"phone_model_name,omitempty"`

	// 连接云手机所使用的密钥对的名称,不超过64个字节
	KeypairName *string `json:"keypair_name,omitempty"`

	// 服务器状态 - 0、1、3、4:创建中 - 2:异常 - 5:正常 - 8:冻结 - 10:关机 - 11:关机中 - 12:关机失败 - 13:开机中
	Status *int32 `json:"status,omitempty"`

	// 云手机服务器所属虚拟私有云(简称VPC)的ID 网络版本 network_version 取值为“v1”时,表示云手机服务器所属资源租户的VPC ID;取值为“v2”时,表示租户创建服务器时指定 VPC 的 VPC ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 云手机服务器所属虚拟私有云(简称VPC)的网段 网络版本 network_version 取值为“v1”时,表示云手机服务器所属资源租户的VPC CIDR;取值为“v2”时,表示租户创建服务器时指定 VPC 的 VPC CIDR
	Cidr *string `json:"cidr,omitempty"`

	// 云手机服务器所属虚拟私有云(简称VPC)的网段 网络版本 network_version 取值为“v1”时,表示云手机服务器所属资源租户的VPC CIDR;取值为“v2”时,表示租户创建服务器时指定 VPC 的 VPC CIDR
	VpcCidr *string `json:"vpc_cidr,omitempty"`

	// 云手机服务器所属子网的ID 仅在网络版本 network_version 取值为“v2”时,该取值表示租户创建服务器时指定子网的 ID,网络版本取值为“v1”时,该字段表示云手机服务器所属资源租户的子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 云手机服务器所属子网的网段 网络版本 network_version 取值为“v2”时,表示租户创建服务器时指定子网的 CIDR; 取值为“v1”时,表示云手机服务器所属资源租户的子网CIDR
	SubnetCidr *string `json:"subnet_cidr,omitempty"`

	// 云手机服务器的项目ID
	ResourceProjectId *string `json:"resource_project_id,omitempty"`

	Metadata *ShowCloudPhoneServerDetailResponseBodyMetadata `json:"metadata,omitempty"`

	// 云手机服务器的IP相关信息
	Addresses *[]Address `json:"addresses,omitempty"`

	// 云手机服务器带宽信息的结构体数组
	BandWidths *[]Bandwidth `json:"band_widths,omitempty"`

	// 云手机服务器卷信息的结构体数组
	Volumes *[]Volume `json:"volumes,omitempty"`

	// 是否为自定义网络的云手机服务器标识。  \"v1\",非自定义网络的云手机服务器。\\t\"v2\",自定义网络的云手机服务器。 支持按照网络版本字段进行筛选
	NetworkVersion *string `json:"network_version,omitempty"`

	// 云手机服务器所属企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 服务器扩展网卡绑定的安全组信息 系统定义网络的服务器,该字段返回为空列表
	SecurityGroups *[]string `json:"security_groups,omitempty"`

	// 创建时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowCloudPhoneServerDetailResponse Response Object

func (ShowCloudPhoneServerDetailResponse) String

type ShowCloudPhoneServerDetailResponseBodyMetadata

type ShowCloudPhoneServerDetailResponseBodyMetadata struct {

	// 订单ID,不超过64个字节
	ProductId *string `json:"product_id,omitempty"`

	// 产品ID,不超过64个字节
	OrderId *string `json:"order_id,omitempty"`
}

ShowCloudPhoneServerDetailResponseBodyMetadata 订单以及产品相关信息

func (ShowCloudPhoneServerDetailResponseBodyMetadata) String

type ShowJobRequest

type ShowJobRequest struct {

	// 任务id。
	JobId string `json:"job_id"`
}

ShowJobRequest Request Object

func (ShowJobRequest) String

func (o ShowJobRequest) String() string

type ShowJobResponse

type ShowJobResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务的唯一标识
	JobId *string `json:"job_id,omitempty"`

	// 任务处理开始时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	BeginTime *string `json:"begin_time,omitempty"`

	// 任务处理结束时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	EndTime *string `json:"end_time,omitempty"`

	// 任务状态 - 1: 运行中 - 2: 成功 - -1: 失败
	Status *int32 `json:"status,omitempty"`

	// 任务错误码说明。
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 任务错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 任务执行返回内容,最长1024个字节
	ExecuteMsg     *string `json:"execute_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowJobResponse Response Object

func (ShowJobResponse) String

func (o ShowJobResponse) String() string

type StopCloudPhoneRequest

type StopCloudPhoneRequest struct {
	Body *StopCloudPhoneRequestBody `json:"body,omitempty"`
}

StopCloudPhoneRequest Request Object

func (StopCloudPhoneRequest) String

func (o StopCloudPhoneRequest) String() string

type StopCloudPhoneRequestBody

type StopCloudPhoneRequestBody struct {

	// 云手机id列表
	PhoneIds []string `json:"phone_ids"`
}

StopCloudPhoneRequestBody 关闭云手机请求体。

func (StopCloudPhoneRequestBody) String

func (o StopCloudPhoneRequestBody) String() string

type StopCloudPhoneResponse

type StopCloudPhoneResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

StopCloudPhoneResponse Response Object

func (StopCloudPhoneResponse) String

func (o StopCloudPhoneResponse) String() string

type StorageInfo

type StorageInfo 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路径名。 符合OBS的路径名规范,最大长度1024字符
	ObjectPath string `json:"object_path"`
}

StorageInfo 待导出数据的云手机信息。

func (StorageInfo) String

func (o StorageInfo) String() string

type Tag

type Tag struct {

	// 键。  - 最大长度127个unicode字符。  - key不能为空。
	Key string `json:"key"`

	// 值列表。  - 每个值最大长度255个unicode字符。
	Value string `json:"value"`
}

Tag 资源标签

func (Tag) String

func (o Tag) String() string

type Tags

type Tags struct {

	// 键。  - 最大长度127个unicode字符。  - key不能为空。
	Key string `json:"key"`

	// 值列表。  - 最多10个value。  - value不允许重复。  - 每个值最大长度255个unicode字符。  - 如果values为空则表示any_value。  - value之间为或的关系。
	Values []string `json:"values"`
}

Tags 资源标签列表

func (Tags) String

func (o Tags) String() string

type UninstallApkRequest

type UninstallApkRequest struct {
	Body *UninstallApkRequestBody `json:"body,omitempty"`
}

UninstallApkRequest Request Object

func (UninstallApkRequest) String

func (o UninstallApkRequest) String() string

type UninstallApkRequestBody

type UninstallApkRequestBody struct {

	// 卸载应用固定填写uninstall。
	Command string `json:"command"`

	// 待卸载的APP名称。  最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。
	Content string `json:"content"`

	// 云手机ID列表。 server_ids参数不存在时必选,同时存在只处理phone_ids。
	PhoneIds *[]string `json:"phone_ids,omitempty"`

	// 云手机服务器ID列表。 phone_ids参数不存在时必选,同时存在只处理phone_ids。
	ServerIds *[]string `json:"server_ids,omitempty"`
}

UninstallApkRequestBody 卸载应用请求体。

func (UninstallApkRequestBody) String

func (o UninstallApkRequestBody) String() string

type UninstallApkResponse

type UninstallApkResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务列表。
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

UninstallApkResponse Response Object

func (UninstallApkResponse) String

func (o UninstallApkResponse) String() string

type UpdateBandwidthRequest

type UpdateBandwidthRequest struct {

	// 带宽id。
	BandWidthId string `json:"band_width_id"`

	Body *UpdateBandwidthRequestBody `json:"body,omitempty"`
}

UpdateBandwidthRequest 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

type UpdateBandwidthResponse

type UpdateBandwidthResponse struct {

	// 请求的唯一标识ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateBandwidthResponse Response Object

func (UpdateBandwidthResponse) String

func (o UpdateBandwidthResponse) String() string

type UpdateCloudPhonePropertyRequest

type UpdateCloudPhonePropertyRequest struct {
	Body *UpdateCloudPhonePropertyRequestBody `json:"body,omitempty"`
}

UpdateCloudPhonePropertyRequest Request Object

func (UpdateCloudPhonePropertyRequest) String

type UpdateCloudPhonePropertyRequestBody

type UpdateCloudPhonePropertyRequestBody struct {

	// 手机列表
	Phones []Property `json:"phones"`
}

UpdateCloudPhonePropertyRequestBody 更新云手机属性请求体。

func (UpdateCloudPhonePropertyRequestBody) String

type UpdateCloudPhonePropertyResponse

type UpdateCloudPhonePropertyResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]PhoneJob `json:"jobs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

UpdateCloudPhonePropertyResponse Response Object

func (UpdateCloudPhonePropertyResponse) String

type UpdateKeypairRequest

type UpdateKeypairRequest struct {
	Body *UpdateKeypairRequestBody `json:"body,omitempty"`
}

UpdateKeypairRequest Request Object

func (UpdateKeypairRequest) String

func (o UpdateKeypairRequest) String() string

type UpdateKeypairRequestBody

type UpdateKeypairRequestBody struct {

	// 待更改密钥对的云手机服务器信息
	Servers []ServerKeypair `json:"servers"`
}

func (UpdateKeypairRequestBody) String

func (o UpdateKeypairRequestBody) String() string

type UpdateKeypairResponse

type UpdateKeypairResponse struct {

	// 请求的唯一标识ID。
	RequestId *string `json:"request_id,omitempty"`

	// 任务信息
	Jobs           *[]ServerJob `json:"jobs,omitempty"`
	HttpStatusCode int          `json:"-"`
}

UpdateKeypairResponse 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"`
}

UpdatePhoneNameRequest 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"`
}

UpdatePhoneNameRequestBody 更新云手机名称请求体。

func (UpdatePhoneNameRequestBody) String

type UpdatePhoneNameResponse

type UpdatePhoneNameResponse struct {

	// 请求的唯一标识ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdatePhoneNameResponse Response Object

func (UpdatePhoneNameResponse) String

func (o UpdatePhoneNameResponse) String() string

type UpdateServerNameRequest

type UpdateServerNameRequest struct {

	// 云手机服务器的唯一标识。
	ServerId string `json:"server_id"`

	Body *UpdateServerNameRequestBody `json:"body,omitempty"`
}

UpdateServerNameRequest 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

type UpdateServerNameResponse

type UpdateServerNameResponse struct {

	// 请求的唯一标识ID
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateServerNameResponse Response Object

func (UpdateServerNameResponse) String

func (o UpdateServerNameResponse) String() string

type Volume

type Volume struct {

	// 云手机服务器的硬盘名称
	VolumeName *string `json:"volume_name,omitempty"`

	// 云手机服务器的硬盘唯一标识
	VolumeId *string `json:"volume_id,omitempty"`

	// 云手机服务器的硬盘大小,单位G
	VolumeSize *int32 `json:"volume_size,omitempty"`

	// 云手机服务器的硬盘类型
	VolumeType *string `json:"volume_type,omitempty"`

	// 硬盘创建时间  时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	CreateTime *string `json:"create_time,omitempty"`

	// 硬盘更新时间  时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
	UpdateTime *string `json:"update_time,omitempty"`
}

Volume 云手机服务器卷信息

func (Volume) String

func (o Volume) String() string

Source Files

Jump to

Keyboard shortcuts

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