model

package
v0.1.112 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddImageMemberRequest added in v0.1.98

type AddImageMemberRequest struct {

	// 镜像id。
	ImageId string `json:"image_id"`

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

AddImageMemberRequest Request Object

func (AddImageMemberRequest) String added in v0.1.98

func (o AddImageMemberRequest) String() string

type AddImageMemberRequestBody added in v0.1.98

type AddImageMemberRequestBody struct {

	// 被共享账号的PROJECT_ID
	Member *string `json:"member,omitempty"`
}

AddImageMemberRequestBody 共享镜像成员请求体

func (AddImageMemberRequestBody) String added in v0.1.98

func (o AddImageMemberRequestBody) String() string

type AddImageMemberResponse added in v0.1.98

type AddImageMemberResponse struct {

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddImageMemberResponse Response Object

func (AddImageMemberResponse) String added in v0.1.98

func (o AddImageMemberResponse) String() string

type Address added in v0.1.10

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 added in v0.1.10

func (o Address) String() string

type Bandwidth added in v0.1.10

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 added in v0.1.10

func (o Bandwidth) String() string

type BatchCreateTagsRequest added in v0.1.21

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 added in v0.1.21

func (o BatchCreateTagsRequest) String() string

type BatchCreateTagsRequestBody added in v0.1.21

type BatchCreateTagsRequestBody struct {

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

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

func (BatchCreateTagsRequestBody) String added in v0.1.21

type BatchCreateTagsRequestResourceType added in v0.1.21

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

func (BatchCreateTagsRequestResourceType) MarshalJSON added in v0.1.21

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

func (*BatchCreateTagsRequestResourceType) UnmarshalJSON added in v0.1.21

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

func (BatchCreateTagsRequestResourceType) Value added in v0.1.21

type BatchCreateTagsRequestResourceTypeEnum added in v0.1.21

type BatchCreateTagsRequestResourceTypeEnum struct {
	CPH_SERVER BatchCreateTagsRequestResourceType
}

func GetBatchCreateTagsRequestResourceTypeEnum added in v0.1.21

func GetBatchCreateTagsRequestResourceTypeEnum() BatchCreateTagsRequestResourceTypeEnum

type BatchCreateTagsResponse added in v0.1.21

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

BatchCreateTagsResponse Response Object

func (BatchCreateTagsResponse) String added in v0.1.21

func (o BatchCreateTagsResponse) String() string

type BatchDeleteTagsRequest added in v0.1.21

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 added in v0.1.21

func (o BatchDeleteTagsRequest) String() string

type BatchDeleteTagsRequestBody added in v0.1.21

type BatchDeleteTagsRequestBody struct {

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

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

func (BatchDeleteTagsRequestBody) String added in v0.1.21

type BatchDeleteTagsRequestResourceType added in v0.1.21

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

func (BatchDeleteTagsRequestResourceType) MarshalJSON added in v0.1.21

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

func (*BatchDeleteTagsRequestResourceType) UnmarshalJSON added in v0.1.21

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

func (BatchDeleteTagsRequestResourceType) Value added in v0.1.21

type BatchDeleteTagsRequestResourceTypeEnum added in v0.1.21

type BatchDeleteTagsRequestResourceTypeEnum struct {
	CPH_SERVER BatchDeleteTagsRequestResourceType
}

func GetBatchDeleteTagsRequestResourceTypeEnum added in v0.1.21

func GetBatchDeleteTagsRequestResourceTypeEnum() BatchDeleteTagsRequestResourceTypeEnum

type BatchDeleteTagsResponse added in v0.1.21

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

BatchDeleteTagsResponse Response Object

func (BatchDeleteTagsResponse) String added in v0.1.21

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 BatchShowPhoneConnectInfosRequest added in v0.1.98

type BatchShowPhoneConnectInfosRequest struct {
	Body *ConnectionRequestBody `json:"body,omitempty"`
}

BatchShowPhoneConnectInfosRequest Request Object

func (BatchShowPhoneConnectInfosRequest) String added in v0.1.98

type BatchShowPhoneConnectInfosResponse added in v0.1.98

type BatchShowPhoneConnectInfosResponse struct {

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

	// 云手机接入信息列表
	ConnectInfos *[]ConnectInfo `json:"connect_infos,omitempty"`

	// 错误信息
	Errors         *[]ConnectErrorInfo `json:"errors,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

BatchShowPhoneConnectInfosResponse Response Object

func (BatchShowPhoneConnectInfosResponse) String added in v0.1.98

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 ChangeCloudPhoneServerRequest added in v0.1.91

type ChangeCloudPhoneServerRequest struct {

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

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

ChangeCloudPhoneServerRequest Request Object

func (ChangeCloudPhoneServerRequest) String added in v0.1.91

type ChangeCloudPhoneServerRequestBody added in v0.1.91

type ChangeCloudPhoneServerRequestBody struct {

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

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

	// 密钥对名称,不超过64个字节,用于云手机ADB登录。
	KeypairName *string `json:"keypair_name,omitempty"`

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

	ExtendParam *ChangeCloudPhoneServerRequestBodyExtendParam `json:"extend_param,omitempty"`

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

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

	PublicIp *ChangeCloudPhoneServerRequestBodyPublicIp `json:"public_ip"`

	// 多少个手机共用一个vip。默认为手机开数,表示所有手机共享1个vip。取值范围:1到手机规格开数。
	PhoneCountPerIp *int32 `json:"phone_count_per_ip,omitempty"`

	PhoneDataVolume *CreateNet2CloudPhoneServerRequestBodyPhoneDataVolume `json:"phone_data_volume,omitempty"`

	ServerShareDataVolume *ChangeCloudPhoneServerRequestBodyServerShareDataVolume `json:"server_share_data_volume,omitempty"`

	BandWidth *ChangeCloudPhoneServerRequestBodyBandWidth `json:"band_width"`
}

func (ChangeCloudPhoneServerRequestBody) String added in v0.1.91

type ChangeCloudPhoneServerRequestBodyBandWidth added in v0.1.91

type ChangeCloudPhoneServerRequestBodyBandWidth 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"`
}

ChangeCloudPhoneServerRequestBodyBandWidth 云手机使用的带宽信息。

func (ChangeCloudPhoneServerRequestBodyBandWidth) String added in v0.1.91

type ChangeCloudPhoneServerRequestBodyExtendParam added in v0.1.91

type ChangeCloudPhoneServerRequestBodyExtendParam struct {

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

ChangeCloudPhoneServerRequestBodyExtendParam 扩展字段。

func (ChangeCloudPhoneServerRequestBodyExtendParam) String added in v0.1.91

type ChangeCloudPhoneServerRequestBodyPublicIp added in v0.1.91

type ChangeCloudPhoneServerRequestBodyPublicIp struct {

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

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

	// Eip数量。默认为1,不需要Eip可设置为0,取值范围为0到手机IP数。
	Count *int32 `json:"count,omitempty"`
}

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

func (ChangeCloudPhoneServerRequestBodyPublicIp) String added in v0.1.91

type ChangeCloudPhoneServerRequestBodyServerShareDataVolume added in v0.1.91

type ChangeCloudPhoneServerRequestBodyServerShareDataVolume struct {

	// 磁盘类型,只支持如下类型:   - SSD   - GPSSD
	VolumeType string `json:"volume_type"`

	// 磁盘大小,单位GB,取值范围[0,32768]。
	Size int32 `json:"size"`
}

ChangeCloudPhoneServerRequestBodyServerShareDataVolume 共享存储磁盘结构体,2.0规格可选。

func (ChangeCloudPhoneServerRequestBodyServerShareDataVolume) String added in v0.1.91

type ChangeCloudPhoneServerResponse added in v0.1.91

type ChangeCloudPhoneServerResponse struct {

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

	// 服务器id。
	ServerId *string `json:"server_id,omitempty"`

	// 任务id。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangeCloudPhoneServerResponse Response Object

func (ChangeCloudPhoneServerResponse) String added in v0.1.91

type ConnectErrorInfo added in v0.1.98

type ConnectErrorInfo struct {

	// 云手机的唯一标识ID。
	PhoneId *string `json:"phone_id,omitempty"`

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

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

ConnectErrorInfo 错误信息列表。

func (ConnectErrorInfo) String added in v0.1.98

func (o ConnectErrorInfo) String() string

type ConnectInfo added in v0.1.98

type ConnectInfo struct {

	// 云手机的唯一标识。
	PhoneId *string `json:"phone_id,omitempty"`

	AccessInfo *ConnectInfoAccessInfo `json:"access_info,omitempty"`
}

ConnectInfo 云手机信息。

func (ConnectInfo) String added in v0.1.98

func (o ConnectInfo) String() string

type ConnectInfoAccessInfo added in v0.1.98

type ConnectInfoAccessInfo struct {

	// 云手机实例的访问IP
	AccessIp *string `json:"access_ip,omitempty"`

	// 云手机实例的内网访问IP
	IntranetIp *string `json:"intranet_ip,omitempty"`

	// 云手机服务器IPv6 IP
	AccessIpv6 *string `json:"access_ipv6,omitempty"`

	// 云手机实例的访问端口
	AccessPort *int32 `json:"access_port,omitempty"`

	// 本次接入的会话ID
	SessionId *string `json:"session_id,omitempty"`

	// 时间戳
	Timestamp *string `json:"timestamp,omitempty"`

	// 签名令牌
	Ticket *string `json:"ticket,omitempty"`
}

ConnectInfoAccessInfo 云手机接入信息

func (ConnectInfoAccessInfo) String added in v0.1.98

func (o ConnectInfoAccessInfo) String() string

type ConnectionRequestBody added in v0.1.98

type ConnectionRequestBody struct {

	// phone_id数组,单次请求最大限制10
	PhoneIds []string `json:"phone_ids"`

	// 申请接入的客户端类型 - ANDROID: 安卓平台SDK - WINDOWS: Windows平台SDK - H5_MOBILE: H5移动端SDK - H5_PC: H5 PC端SDK - IOS: iOS平台SDK
	ClientType ConnectionRequestBodyClientType `json:"client_type"`
}

ConnectionRequestBody 获取云手机连接信息请求体

func (ConnectionRequestBody) String added in v0.1.98

func (o ConnectionRequestBody) String() string

type ConnectionRequestBodyClientType added in v0.1.98

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

func (ConnectionRequestBodyClientType) MarshalJSON added in v0.1.98

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

func (*ConnectionRequestBodyClientType) UnmarshalJSON added in v0.1.98

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

func (ConnectionRequestBodyClientType) Value added in v0.1.98

type ConnectionRequestBodyClientTypeEnum added in v0.1.98

func GetConnectionRequestBodyClientTypeEnum added in v0.1.98

func GetConnectionRequestBodyClientTypeEnum() ConnectionRequestBodyClientTypeEnum

type CreateNet2CloudPhoneServerRequest

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

CreateNet2CloudPhoneServerRequest Request Object

func (CreateNet2CloudPhoneServerRequest) String

type CreateNet2CloudPhoneServerRequestBody

type CreateNet2CloudPhoneServerRequestBody struct {

	// 云手机服务器名称,  不超过60个字符,只支持英文字母、数字、汉字、下划线和中划线。  批量[创建](tag:fcs)[购买](tag:hws,hws_hk,cmcc)会在服务器名称后自动添加序号,比如设置此参数为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"`

	// [创建](tag:fcs)[购买](tag:hws,hws_hk,cmcc)的云手机服务器个数,最多可[创建](tag:fcs)[购买](tag:hws,hws_hk,cmcc)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"`

	// 多少个手机共用一个vip。默认为手机开数,表示所有手机共享1个vip。取值范围:1到手机规格开数。
	PhoneCountPerIp *int32 `json:"phone_count_per_ip,omitempty"`

	PhoneDataVolume *CreateNet2CloudPhoneServerRequestBodyPhoneDataVolume `json:"phone_data_volume,omitempty"`

	ServerShareDataVolume *CreateNet2CloudPhoneServerRequestBodyServerShareDataVolume `json:"server_share_data_volume,omitempty"`

	BandWidth *CreateNet2CloudPhoneServerRequestBodyBandWidth `json:"band_width"`

	// 待创建云服务器所在的可用区,需要指定可用区(AZ)的名称。如上海一可用区1为cn-east-3a。
	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:包周期](tag:hws,hws_hk,cmcc) [- 1:按需](tag:fcs)
	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 CreateNet2CloudPhoneServerRequestBodyPhoneDataVolume added in v0.1.91

type CreateNet2CloudPhoneServerRequestBodyPhoneDataVolume struct {

	// 磁盘类型,只支持如下类型: - SSD - GPSSD
	VolumeType string `json:"volume_type"`

	// 磁盘大小,单位GB,取值范围[0,32768]。
	Size int32 `json:"size"`
}

CreateNet2CloudPhoneServerRequestBodyPhoneDataVolume 手机磁盘结构体,2.0规格必选。

func (CreateNet2CloudPhoneServerRequestBodyPhoneDataVolume) String added in v0.1.91

type CreateNet2CloudPhoneServerRequestBodyPublicIp

type CreateNet2CloudPhoneServerRequestBodyPublicIp struct {

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

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

	// Eip数量。默认为1,不需要Eip可设置为0,取值范围为0到手机IP数。
	Count *int32 `json:"count,omitempty"`
}

CreateNet2CloudPhoneServerRequestBodyPublicIp 租户自定义的弹性公网IP结构体。 配置云服务器的弹性IP信息的方式, 自动分配,需要指定新创建弹性IP的信息; 使用已有,需要指定已经[创建](tag:fcs)[购买](tag:hws,hws_hk,cmcc)的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 CreateNet2CloudPhoneServerRequestBodyServerShareDataVolume added in v0.1.91

type CreateNet2CloudPhoneServerRequestBodyServerShareDataVolume struct {

	// 磁盘类型,只支持如下类型:   - SSD   - GPSSD
	VolumeType string `json:"volume_type"`

	// 磁盘大小,单位GB,取值范围[0,32768]。
	Size int32 `json:"size"`
}

CreateNet2CloudPhoneServerRequestBodyServerShareDataVolume 共享存储磁盘结构体,2.0规格可选。

func (CreateNet2CloudPhoneServerRequestBodyServerShareDataVolume) String added in v0.1.91

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 DeleteCloudPhoneServerRequest added in v0.1.91

type DeleteCloudPhoneServerRequest struct {
	Body *DeleteCloudPhoneServerRequestBody `json:"body,omitempty"`
}

DeleteCloudPhoneServerRequest Request Object

func (DeleteCloudPhoneServerRequest) String added in v0.1.91

type DeleteCloudPhoneServerRequestBody added in v0.1.91

type DeleteCloudPhoneServerRequestBody struct {

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

DeleteCloudPhoneServerRequestBody 删除云手机服务器请求体。

func (DeleteCloudPhoneServerRequestBody) String added in v0.1.91

type DeleteCloudPhoneServerResponse added in v0.1.91

type DeleteCloudPhoneServerResponse struct {

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

	// 任务id。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteCloudPhoneServerResponse Response Object

func (DeleteCloudPhoneServerResponse) String added in v0.1.91

type DeleteImageMemberRequest added in v0.1.98

type DeleteImageMemberRequest struct {

	// 镜像id。
	ImageId string `json:"image_id"`

	// 被共享账号的PROJECT_ID。
	MemberId string `json:"member_id"`
}

DeleteImageMemberRequest Request Object

func (DeleteImageMemberRequest) String added in v0.1.98

func (o DeleteImageMemberRequest) String() string

type DeleteImageMemberResponse added in v0.1.98

type DeleteImageMemberResponse struct {

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteImageMemberResponse Response Object

func (DeleteImageMemberResponse) String added in v0.1.98

func (o DeleteImageMemberResponse) String() string

type DeleteImageRequest added in v0.1.98

type DeleteImageRequest struct {

	// 镜像id。
	ImageId string `json:"image_id"`
}

DeleteImageRequest Request Object

func (DeleteImageRequest) String added in v0.1.98

func (o DeleteImageRequest) String() string

type DeleteImageResponse added in v0.1.98

type DeleteImageResponse struct {

	// 请求id
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteImageResponse Response Object

func (DeleteImageResponse) String added in v0.1.98

func (o DeleteImageResponse) String() 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 {

	// 所需删除的共享应用的合法包名。最大长度128字节。只支持包含大小写字母、数字、下划线、点,其中不允许以数字和下划线开头,点不能作为结尾且包名中至少有一个点。
	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 added in v0.1.10

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

DeleteShareFilesRequest Request Object

func (DeleteShareFilesRequest) String added in v0.1.10

func (o DeleteShareFilesRequest) String() string

type DeleteShareFilesRequestBody added in v0.1.10

type DeleteShareFilesRequestBody struct {

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

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

func (DeleteShareFilesRequestBody) String added in v0.1.10

type DeleteShareFilesResponse added in v0.1.10

type DeleteShareFilesResponse struct {

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

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

DeleteShareFilesResponse Response Object

func (DeleteShareFilesResponse) String added in v0.1.10

func (o DeleteShareFilesResponse) String() string

type EncodeServer added in v0.1.13

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

	// 编码服务IPv6地址。
	EncodeServerIpv6 *string `json:"encode_server_ipv6,omitempty"`
}

EncodeServer 编码容器信息。

func (EncodeServer) String added in v0.1.13

func (o EncodeServer) String() string

type EncodeServerAccessInfo added in v0.1.13

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

	// 编码服务访问的内网IPv6 IP(新增)。
	ServerIpv6 *string `json:"server_ipv6,omitempty"`
}

EncodeServerAccessInfo 编码服务访问信息。

func (EncodeServerAccessInfo) String added in v0.1.13

func (o EncodeServerAccessInfo) String() string

type EncodeServerJob added in v0.1.13

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 added in v0.1.13

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 added in v0.1.13

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

InstallApkRequest Request Object

func (InstallApkRequest) String added in v0.1.13

func (o InstallApkRequest) String() string

type InstallApkRequestBody added in v0.1.13

type InstallApkRequestBody struct {

	// 安装单apk场景填写install,多apk场景填写install-multiple。
	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 added in v0.1.13

func (o InstallApkRequestBody) String() string

type InstallApkResponse added in v0.1.13

type InstallApkResponse struct {

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

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

InstallApkResponse Response Object

func (InstallApkResponse) String added in v0.1.13

func (o InstallApkResponse) String() string

type Job added in v0.1.13

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 added in v0.1.13

func (o Job) String() string

type ListCloudPhoneImagesRequest

type ListCloudPhoneImagesRequest struct {

	// 镜像类型 公共镜像:public 私有镜像:private 共享镜像:share 所有类型镜像:all
	ImageType *string `json:"image_type,omitempty"`
}

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

	// 手机规格名称。
	PhoneModelName *string `json:"phone_model_name,omitempty"`

	// 查询的起始时间戳。
	CreateSince *int64 `json:"create_since,omitempty"`

	// 查询的结束时间戳。
	CreateUntil *int64 `json:"create_until,omitempty"`

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

ListCloudPhoneServersRequest Request Object

func (ListCloudPhoneServersRequest) String

type ListCloudPhoneServersResponse

type ListCloudPhoneServersResponse struct {

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

	// 实例总数。
	Count *int32 `json:"count,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~200(默认值为200),一般设置为10、20、50。
	Limit *int32 `json:"limit,omitempty"`

	// 云手机名称,支持模糊查询。
	PhoneName *string `json:"phone_name,omitempty"`

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

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

	// 云手机类型。 - 0:普通云手机
	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"`

	// 实例总数。
	Count          *int32 `json:"count,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 ListImageMembersRequest added in v0.1.98

type ListImageMembersRequest struct {

	// 镜像id。
	ImageId string `json:"image_id"`
}

ListImageMembersRequest Request Object

func (ListImageMembersRequest) String added in v0.1.98

func (o ListImageMembersRequest) String() string

type ListImageMembersResponse added in v0.1.98

type ListImageMembersResponse struct {

	// 镜像成员详情
	Members        *[]ListImageMembersView `json:"members,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListImageMembersResponse Response Object

func (ListImageMembersResponse) String added in v0.1.98

func (o ListImageMembersResponse) String() string

type ListImageMembersView added in v0.1.98

type ListImageMembersView struct {

	// 共享时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 镜像ID
	ImageId *string `json:"image_id,omitempty"`

	// 被共享账号的PROJECT_ID
	MemberId *string `json:"member_id,omitempty"`
}

ListImageMembersView 列举镜像成员响应体

func (ListImageMembersView) String added in v0.1.98

func (o ListImageMembersView) String() string

type ListImagesRequest added in v0.1.98

type ListImagesRequest struct {

	// 镜像类型。 - public:公共镜像 - private:私有镜像 - share:共享镜像
	ImageType *string `json:"image_type,omitempty"`

	// 镜像状态。 - 0:CREATING 创建中 - 1:PRODUCTION 生产态,可使用 - 2:CREATE_FAILED 创建失败
	Status *int32 `json:"status,omitempty"`

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

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

	// 镜像id
	ImageId *string `json:"image_id,omitempty"`

	// 镜像名称
	ImageName *string `json:"image_name,omitempty"`

	// 起始时间
	CreateSince *int64 `json:"create_since,omitempty"`

	// 截止时间
	CreateUntil *int64 `json:"create_until,omitempty"`

	// 共享镜像账号的projectId
	SrcProjectId *string `json:"src_project_id,omitempty"`
}

ListImagesRequest Request Object

func (ListImagesRequest) String added in v0.1.98

func (o ListImagesRequest) String() string

type ListImagesResponse added in v0.1.98

type ListImagesResponse struct {

	// 镜像详情
	ImageInfos *[]ListImagesView `json:"image_infos,omitempty"`

	// 总条数
	Total *int32 `json:"total,omitempty"`

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

ListImagesResponse Response Object

func (ListImagesResponse) String added in v0.1.98

func (o ListImagesResponse) String() string

type ListImagesView added in v0.1.98

type ListImagesView struct {

	// 镜像所属租户
	DomainId *string `json:"domain_id,omitempty"`

	// 镜像名称
	ImageName *string `json:"image_name,omitempty"`

	// 镜像更新时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 镜像创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 镜像大小,单位byte
	ImageSize *int64 `json:"image_size,omitempty"`

	// project_id(当image_type为private时,才会返回此字段)
	ProjectId *string `json:"project_id,omitempty"`

	// 镜像ID
	ImageId *string `json:"image_id,omitempty"`

	// 镜像AOSP版本
	ImageVersion *string `json:"image_version,omitempty"`

	// 镜像类型 公共镜像:public 私有镜像:private 共享镜像:share
	ImageType *string `json:"image_type,omitempty"`

	// 镜像状态。 - 0:CREATING 创建中 - 1:PRODUCTION 生产态,可使用 - 2:CREATE_FAILED 创建失败
	Status *int32 `json:"status,omitempty"`

	// 共享镜像账号的projectId(当image_type为share时,才会返回此字段)
	SrcProjectId *string `json:"src_project_id,omitempty"`
}

ListImagesView 镜像详情

func (ListImagesView) String added in v0.1.98

func (o ListImagesView) 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 added in v0.1.21

type ListProjectTagsRequest struct {

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

ListProjectTagsRequest Request Object

func (ListProjectTagsRequest) String added in v0.1.21

func (o ListProjectTagsRequest) String() string

type ListProjectTagsRequestResourceType added in v0.1.21

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

func (ListProjectTagsRequestResourceType) MarshalJSON added in v0.1.21

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

func (*ListProjectTagsRequestResourceType) UnmarshalJSON added in v0.1.21

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

func (ListProjectTagsRequestResourceType) Value added in v0.1.21

type ListProjectTagsRequestResourceTypeEnum added in v0.1.21

type ListProjectTagsRequestResourceTypeEnum struct {
	CPH_SERVER ListProjectTagsRequestResourceType
}

func GetListProjectTagsRequestResourceTypeEnum added in v0.1.21

func GetListProjectTagsRequestResourceTypeEnum() ListProjectTagsRequestResourceTypeEnum

type ListProjectTagsResponse added in v0.1.21

type ListProjectTagsResponse struct {

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

ListProjectTagsResponse Response Object

func (ListProjectTagsResponse) String added in v0.1.21

func (o ListProjectTagsResponse) String() string

type ListResourceInstancesRequest added in v0.1.21

type ListResourceInstancesRequest struct {

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

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

ListResourceInstancesRequest Request Object

func (ListResourceInstancesRequest) String added in v0.1.21

type ListResourceInstancesRequestBody added in v0.1.21

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 added in v0.1.21

type ListResourceInstancesRequestBodyAction added in v0.1.21

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

func (ListResourceInstancesRequestBodyAction) MarshalJSON added in v0.1.21

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

func (*ListResourceInstancesRequestBodyAction) UnmarshalJSON added in v0.1.21

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

func (ListResourceInstancesRequestBodyAction) Value added in v0.1.21

type ListResourceInstancesRequestBodyActionEnum added in v0.1.21

type ListResourceInstancesRequestBodyActionEnum struct {
	FILTER ListResourceInstancesRequestBodyAction
	COUNT  ListResourceInstancesRequestBodyAction
}

func GetListResourceInstancesRequestBodyActionEnum added in v0.1.21

func GetListResourceInstancesRequestBodyActionEnum() ListResourceInstancesRequestBodyActionEnum

type ListResourceInstancesRequestResourceType added in v0.1.21

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

func (ListResourceInstancesRequestResourceType) MarshalJSON added in v0.1.21

func (*ListResourceInstancesRequestResourceType) UnmarshalJSON added in v0.1.21

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

func (ListResourceInstancesRequestResourceType) Value added in v0.1.21

type ListResourceInstancesRequestResourceTypeEnum added in v0.1.21

type ListResourceInstancesRequestResourceTypeEnum struct {
	CPH_SERVER ListResourceInstancesRequestResourceType
}

func GetListResourceInstancesRequestResourceTypeEnum added in v0.1.21

func GetListResourceInstancesRequestResourceTypeEnum() ListResourceInstancesRequestResourceTypeEnum

type ListResourceInstancesResponse added in v0.1.21

type ListResourceInstancesResponse struct {

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

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

ListResourceInstancesResponse Response Object

func (ListResourceInstancesResponse) String added in v0.1.21

type ListResourceTagsRequest added in v0.1.21

type ListResourceTagsRequest struct {

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

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

ListResourceTagsRequest Request Object

func (ListResourceTagsRequest) String added in v0.1.21

func (o ListResourceTagsRequest) String() string

type ListResourceTagsRequestResourceType added in v0.1.21

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

func (ListResourceTagsRequestResourceType) MarshalJSON added in v0.1.21

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

func (*ListResourceTagsRequestResourceType) UnmarshalJSON added in v0.1.21

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

func (ListResourceTagsRequestResourceType) Value added in v0.1.21

type ListResourceTagsRequestResourceTypeEnum added in v0.1.21

type ListResourceTagsRequestResourceTypeEnum struct {
	CPH_SERVER ListResourceTagsRequestResourceType
}

func GetListResourceTagsRequestResourceTypeEnum added in v0.1.21

func GetListResourceTagsRequestResourceTypeEnum() ListResourceTagsRequestResourceTypeEnum

type ListResourceTagsResponse added in v0.1.21

type ListResourceTagsResponse struct {

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

ListResourceTagsResponse Response Object

func (ListResourceTagsResponse) String added in v0.1.21

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 added in v0.1.21

type Match struct {

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

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

Match 搜索字段。

func (Match) String added in v0.1.21

func (o Match) String() string

type MatchKey added in v0.1.21

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

func (MatchKey) MarshalJSON added in v0.1.21

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

func (*MatchKey) UnmarshalJSON added in v0.1.21

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

func (MatchKey) Value added in v0.1.21

func (c MatchKey) Value() string

type MatchKeyEnum added in v0.1.21

type MatchKeyEnum struct {
	RESOURCE_NAME MatchKey
}

func GetMatchKeyEnum added in v0.1.21

func GetMatchKeyEnum() MatchKeyEnum

type Nic added in v0.1.13

type Nic struct {

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

	// 是否支持ipv6。  取值为true时,标识此网卡支持ipv6。
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	Ipv6Bandwidth *NicIpv6Bandwidth `json:"ipv6_bandwidth,omitempty"`
}

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

func (Nic) String added in v0.1.13

func (o Nic) String() string

type NicIpv6Bandwidth added in v0.1.60

type NicIpv6Bandwidth struct {

	// ipv6绑定的共享带宽ID。
	BandWidthId string `json:"band_width_id"`
}

NicIpv6Bandwidth 绑定的共享带宽信息,详情请参见 ipv6_bandwidth数据结构说明。

func (NicIpv6Bandwidth) String added in v0.1.60

func (o NicIpv6Bandwidth) String() string

type Phone added in v0.1.13

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

	// 镜像版本。
	ImageVersion *string `json:"image_version,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"`

	// imei码。
	Imei *string `json:"imei,omitempty"`

	// 手机路由类型。 - direct:默认路由 - routing:路由到编码容器
	TrafficType *string `json:"traffic_type,omitempty"`

	// 手机物理磁盘是否独立。 - 0:不独立 - 1:独立
	VolumeMode *int32 `json:"volume_mode,omitempty"`

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

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

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

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

Phone 云手机信息。

func (Phone) String added in v0.1.13

func (o Phone) String() string

type PhoneAccessInfo added in v0.1.13

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

	// 云手机IPv6 IP,新增字段。
	PhoneIpv6 *string `json:"phone_ipv6,omitempty"`

	// 云手机服务器IPv6 IP,新增字段。
	ServerIpv6 *string `json:"server_ipv6,omitempty"`
}

PhoneAccessInfo 云手机访问信息。

func (PhoneAccessInfo) String added in v0.1.13

func (o PhoneAccessInfo) String() string

type PhoneDataVolume added in v0.1.91

type PhoneDataVolume struct {

	// 云手机数据盘类型。
	VolumeType *string `json:"volume_type,omitempty"`

	// 云手机数据盘大小。
	VolumeSize *int32 `json:"volume_size,omitempty"`
}

PhoneDataVolume 云手机数据盘信息。

func (PhoneDataVolume) String added in v0.1.91

func (o PhoneDataVolume) String() string

type PhoneImage added in v0.1.13

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 added in v0.1.13

func (o PhoneImage) String() string

type PhoneJob added in v0.1.13

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 added in v0.1.13

func (o PhoneJob) String() string

type PhoneMetadata added in v0.1.13

type PhoneMetadata struct {

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

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

PhoneMetadata 订单以及产品相关信息。

func (PhoneMetadata) String added in v0.1.13

func (o PhoneMetadata) String() string

type PhoneModel added in v0.1.13

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_phone_1620 - cloud_game - cloud_game_1620
	ImageLabel *string `json:"image_label,omitempty"`

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

	// 规格版本: - 0:规格1.0 - 1:规格2.0
	PhoneModelVersion *int32 `json:"phone_model_version,omitempty"`

	// 每英寸点数。
	Dpi *int32 `json:"dpi,omitempty"`

	// 渲染帧率。
	Fps *string `json:"fps,omitempty"`

	// 手机物理磁盘是否独立。 - 0:不独立 - 1:独立
	VolumeMode *int32 `json:"volume_mode,omitempty"`
}

PhoneModel 云手机规格信息。

func (PhoneModel) String added in v0.1.13

func (o PhoneModel) String() string

type PhoneProperty added in v0.1.13

type PhoneProperty struct {

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

	// 云手机属性列表,为Json格式字符串。
	Property *string `json:"property,omitempty"`
}

PhoneProperty 云手机属性信息。

func (PhoneProperty) String added in v0.1.13

func (o PhoneProperty) String() string

type Port added in v0.1.13

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 added in v0.1.13

func (o Port) String() string

type Property added in v0.1.13

type Property struct {

	// 云手机id,不超过32个字节。
	PhoneId string `json:"phone_id"`

	// 云手机属性列表,为Json格式字符串。
	Property string `json:"property"`
}

Property 云手机属性信息。

func (Property) String added in v0.1.13

func (o Property) String() string

type PushFileRequest added in v0.1.13

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

PushFileRequest Request Object

func (PushFileRequest) String added in v0.1.13

func (o PushFileRequest) String() string

type PushFileRequestBody added in v0.1.13

type PushFileRequestBody struct {

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

	// 推送的文件只支持tar文件类型,指定OBS桶中的tar文件。 最大长度为1024字节,只支持大小写字母、数字、下划线(_)、点(.)、斜线(/)、冒号(:)、中划线(-)。文件格式:obs://obs-bucket-name/obs-file-path/file.tar,文件路径与OBS桶对象路径对应。
	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 added in v0.1.13

func (o PushFileRequestBody) String() string

type PushFileResponse added in v0.1.13

type PushFileResponse struct {

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

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

PushFileResponse Response Object

func (PushFileResponse) String added in v0.1.13

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对象路径,最大长度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 added in v0.1.13

type ResetCloudPhoneRequestBody struct {

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

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

ResetCloudPhoneRequestBody 重置云手机请求体。

func (ResetCloudPhoneRequestBody) String added in v0.1.13

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 added in v0.1.21

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 added in v0.1.21

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 added in v0.1.13

type RestartCloudPhoneRequestBody struct {

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

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

RestartCloudPhoneRequestBody 重启云手机请求体。

func (RestartCloudPhoneRequestBody) String added in v0.1.13

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 added in v0.1.13

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 added in v0.1.13

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 added in v0.1.13

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 added in v0.1.13

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 added in v0.1.13

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)的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"`

	// 云手机服务器的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 added in v0.1.13

func (o Server) String() string

type ServerJob added in v0.1.13

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 added in v0.1.13

func (o ServerJob) String() string

type ServerKeypair added in v0.1.13

type ServerKeypair struct {

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

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

ServerKeypair 服务器密钥对。

func (ServerKeypair) String added in v0.1.13

func (o ServerKeypair) String() string

type ServerMetadata added in v0.1.13

type ServerMetadata struct {

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

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

ServerMetadata 订单以及产品相关信息。

func (ServerMetadata) String added in v0.1.13

func (o ServerMetadata) String() string

type ServerModel added in v0.1.13

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

	// 服务器磁盘的免费配额,单位G。
	FreeSize *int32 `json:"free_size,omitempty"`
}

ServerModel 服务器规格。

func (ServerModel) String added in v0.1.13

func (o ServerModel) String() string

type ServerModelExtendSpec added in v0.1.13

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 added in v0.1.13

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

	// 镜像版本。
	ImageVersion *string `json:"image_version,omitempty"`

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

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

	// 云手机状态。 - 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"`

	PhoneDataVolume *PhoneDataVolume `json:"phone_data_volume,omitempty"`

	// imei码。
	Imei *string `json:"imei,omitempty"`

	// 手机路由类型。 - direct:默认路由 - routing:路由到编码容器
	TrafficType *string `json:"traffic_type,omitempty"`

	// 手机物理磁盘是否独立。 - 0:不独立 - 1:独立
	VolumeMode *int32 `json:"volume_mode,omitempty"`

	// 云手机服务器所在的可用区。
	AvailabilityZone *string `json:"availability_zone,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 added in v0.1.13

type ShowCloudPhoneDetailResponseBodyMetadata struct {

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

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

ShowCloudPhoneDetailResponseBodyMetadata 订单以及产品相关信息。

func (ShowCloudPhoneDetailResponseBodyMetadata) String added in v0.1.13

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

	ShareVolumeInfo *ShowCloudPhoneServerDetailResponseBodyShareVolumeInfo `json:"share_volume_info,omitempty"`

	// 是否为自定义网络的云手机服务器标识。\"v1\",非自定义网络的云手机服务器。\"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 added in v0.1.13

type ShowCloudPhoneServerDetailResponseBodyMetadata struct {

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

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

ShowCloudPhoneServerDetailResponseBodyMetadata 订单以及产品相关信息。

func (ShowCloudPhoneServerDetailResponseBodyMetadata) String added in v0.1.13

type ShowCloudPhoneServerDetailResponseBodyShareVolumeInfo added in v0.1.91

type ShowCloudPhoneServerDetailResponseBodyShareVolumeInfo struct {

	// 共享存储磁盘类型。
	VolumeType *string `json:"volume_type,omitempty"`

	// 共享存储大小,单位G。
	Size *int32 `json:"size,omitempty"`

	// 共享存储版本: - 0:共享存储1.0 - 1:共享存储2.0
	Version *int32 `json:"version,omitempty"`
}

ShowCloudPhoneServerDetailResponseBodyShareVolumeInfo 云手机服务器的共享存储相关信息。

func (ShowCloudPhoneServerDetailResponseBodyShareVolumeInfo) String added in v0.1.91

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 added in v0.1.13

type StorageInfo struct {

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

	// 需要导出数据的存储路径,绝对路径,最大长度4096字节。仅支持导出/data和、cache目录下的数据。目前只支持大小写字母、数字、小数点(.)、斜线(/)、中划线(-)、下划线(_)、加号(+)、井号(#)、星号(*)、等号这些字符。
	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 added in v0.1.13

func (o StorageInfo) String() string

type Tag added in v0.1.21

type Tag struct {

	// 键。  - 最大长度127个unicode字符。          - 不能为空,可以包含任意语种字母、数字、空格和_.:=+-@,但首尾不能含有空所有服务均可在标签输入框下拉选择同一标格,不能以_sys_开头。
	Key string `json:"key"`

	// 值列表。  - 每个值最大长度255个unicode字符。 - 不能为空,可以包含任意语种字母、、数字、空格和_.:=+-@,但首尾不能含有空格。
	Value string `json:"value"`
}

Tag 资源标签。

func (Tag) String added in v0.1.21

func (o Tag) String() string

type Tags added in v0.1.21

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 added in v0.1.21

func (o Tags) String() string

type UninstallApkRequest added in v0.1.13

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

UninstallApkRequest Request Object

func (UninstallApkRequest) String added in v0.1.13

func (o UninstallApkRequest) String() string

type UninstallApkRequestBody added in v0.1.13

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 added in v0.1.13

func (o UninstallApkRequestBody) String() string

type UninstallApkResponse added in v0.1.13

type UninstallApkResponse struct {

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

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

UninstallApkResponse Response Object

func (UninstallApkResponse) String added in v0.1.13

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 added in v0.1.13

type UpdateCloudPhonePropertyRequestBody struct {

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

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

func (UpdateCloudPhonePropertyRequestBody) String added in v0.1.13

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 added in v0.1.10

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 added in v0.1.10

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