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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPolicyDetailInfo

type AccessPolicyDetailInfo struct {

	// 策略名,当前只支持专线接入策略名。 * PRIVATE_ACCESS: 专线接入
	PolicyName AccessPolicyDetailInfoPolicyName `json:"policy_name"`

	// 黑名单类型,当前黑名单只支持互联网。 * INTERNET: 互联网
	BlacklistType AccessPolicyDetailInfoBlacklistType `json:"blacklist_type"`

	// 策略id。
	PolicyId *string `json:"policy_id,omitempty"`

	// 用户otp设备绑定时间。
	CreateTime *string `json:"create_time,omitempty"`
}

func (AccessPolicyDetailInfo) String

func (o AccessPolicyDetailInfo) String() string

type AccessPolicyDetailInfoBlacklistType

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

func (AccessPolicyDetailInfoBlacklistType) MarshalJSON

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

func (*AccessPolicyDetailInfoBlacklistType) UnmarshalJSON

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

func (AccessPolicyDetailInfoBlacklistType) Value

type AccessPolicyDetailInfoBlacklistTypeEnum

type AccessPolicyDetailInfoBlacklistTypeEnum struct {
	INTERNET AccessPolicyDetailInfoBlacklistType
}

func GetAccessPolicyDetailInfoBlacklistTypeEnum

func GetAccessPolicyDetailInfoBlacklistTypeEnum() AccessPolicyDetailInfoBlacklistTypeEnum

type AccessPolicyDetailInfoPolicyName

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

func (AccessPolicyDetailInfoPolicyName) MarshalJSON

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

func (*AccessPolicyDetailInfoPolicyName) UnmarshalJSON

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

func (AccessPolicyDetailInfoPolicyName) Value

type AccessPolicyDetailInfoPolicyNameEnum

type AccessPolicyDetailInfoPolicyNameEnum struct {
	PRIVATE_ACCESS AccessPolicyDetailInfoPolicyName
}

func GetAccessPolicyDetailInfoPolicyNameEnum

func GetAccessPolicyDetailInfoPolicyNameEnum() AccessPolicyDetailInfoPolicyNameEnum

type AccessPolicyInfo

type AccessPolicyInfo struct {

	// 策略名,当前只支持专线接入策略名。 * PRIVATE_ACCESS: 专线接入
	PolicyName AccessPolicyInfoPolicyName `json:"policy_name"`

	// 黑名单类型,当前黑名单只支持互联网。 * INTERNET: 互联网
	BlacklistType AccessPolicyInfoBlacklistType `json:"blacklist_type"`
}

func (AccessPolicyInfo) String

func (o AccessPolicyInfo) String() string

type AccessPolicyInfoBlacklistType

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

func (AccessPolicyInfoBlacklistType) MarshalJSON

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

func (*AccessPolicyInfoBlacklistType) UnmarshalJSON

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

func (AccessPolicyInfoBlacklistType) Value

type AccessPolicyInfoBlacklistTypeEnum

type AccessPolicyInfoBlacklistTypeEnum struct {
	INTERNET AccessPolicyInfoBlacklistType
}

func GetAccessPolicyInfoBlacklistTypeEnum

func GetAccessPolicyInfoBlacklistTypeEnum() AccessPolicyInfoBlacklistTypeEnum

type AccessPolicyInfoPolicyName

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

func (AccessPolicyInfoPolicyName) MarshalJSON

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

func (*AccessPolicyInfoPolicyName) UnmarshalJSON

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

func (AccessPolicyInfoPolicyName) Value

type AccessPolicyInfoPolicyNameEnum

type AccessPolicyInfoPolicyNameEnum struct {
	PRIVATE_ACCESS AccessPolicyInfoPolicyName
}

func GetAccessPolicyInfoPolicyNameEnum

func GetAccessPolicyInfoPolicyNameEnum() AccessPolicyInfoPolicyNameEnum

type AccessPolicyObject

type AccessPolicyObject struct {

	// 黑名单中的对象id。
	ObjectId *string `json:"object_id,omitempty"`

	// 对象名。
	ObjectName *string `json:"object_name,omitempty"`

	// 对象类型。 * USER: 用户 * USERGROUP: 用户组
	ObjectType *AccessPolicyObjectObjectType `json:"object_type,omitempty"`
}

func (AccessPolicyObject) String

func (o AccessPolicyObject) String() string

type AccessPolicyObjectInfo

type AccessPolicyObjectInfo struct {

	// 黑名单中的对象id。
	ObjectId string `json:"object_id"`

	// 对象类型。 * USER: 用户 * USERGROUP: 用户组
	ObjectType AccessPolicyObjectInfoObjectType `json:"object_type"`

	// 对象名。后续此参数不会校验。
	ObjectName *string `json:"object_name,omitempty"`
}

func (AccessPolicyObjectInfo) String

func (o AccessPolicyObjectInfo) String() string

type AccessPolicyObjectInfoObjectType

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

func (AccessPolicyObjectInfoObjectType) MarshalJSON

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

func (*AccessPolicyObjectInfoObjectType) UnmarshalJSON

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

func (AccessPolicyObjectInfoObjectType) Value

type AccessPolicyObjectInfoObjectTypeEnum

type AccessPolicyObjectInfoObjectTypeEnum struct {
	USER      AccessPolicyObjectInfoObjectType
	USERGROUP AccessPolicyObjectInfoObjectType
}

func GetAccessPolicyObjectInfoObjectTypeEnum

func GetAccessPolicyObjectInfoObjectTypeEnum() AccessPolicyObjectInfoObjectTypeEnum

type AccessPolicyObjectObjectType

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

func (AccessPolicyObjectObjectType) MarshalJSON

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

func (*AccessPolicyObjectObjectType) UnmarshalJSON

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

func (AccessPolicyObjectObjectType) Value

type AccessPolicyObjectObjectTypeEnum

type AccessPolicyObjectObjectTypeEnum struct {
	USER      AccessPolicyObjectObjectType
	USERGROUP AccessPolicyObjectObjectType
}

func GetAccessPolicyObjectObjectTypeEnum

func GetAccessPolicyObjectObjectTypeEnum() AccessPolicyObjectObjectTypeEnum

type ActionsOfUsersInGroupRequest

type ActionsOfUsersInGroupRequest struct {

	// 要添加或移除的用户Id列表。
	UserIds []string `json:"user_ids"`

	// 操作类型。 * ADD: 添加 * DELETE: 删除
	OpType ActionsOfUsersInGroupRequestOpType `json:"op_type"`
}

func (ActionsOfUsersInGroupRequest) String

type ActionsOfUsersInGroupRequestOpType

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

func (ActionsOfUsersInGroupRequestOpType) MarshalJSON

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

func (*ActionsOfUsersInGroupRequestOpType) UnmarshalJSON

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

func (ActionsOfUsersInGroupRequestOpType) Value

type ActionsOfUsersInGroupRequestOpTypeEnum

type ActionsOfUsersInGroupRequestOpTypeEnum struct {
	ADD    ActionsOfUsersInGroupRequestOpType
	DELETE ActionsOfUsersInGroupRequestOpType
}

func GetActionsOfUsersInGroupRequestOpTypeEnum

func GetActionsOfUsersInGroupRequestOpTypeEnum() ActionsOfUsersInGroupRequestOpTypeEnum

type AdDomain

type AdDomain struct {

	// 域类型。 - LITE_AS:本地认证。 - LOCAL_AD:本地AD。 说明:域类型为“LOCAL_AD”时,请确保所选VPC网络与AD所属网络可连通。
	DomainType AdDomainDomainType `json:"domain_type"`

	// 域名称。域类型为LOCAL_AD时需要配置。 域名必须为AD服务器上已经存在的域名,且长度不超过55。
	DomainName *string `json:"domain_name,omitempty"`

	// 域管理员帐号。域类型为LOCAL_AD时需要配置。 必须为AD服务器上已经存在的域管理员帐号。
	DomainAdminAccount *string `json:"domain_admin_account,omitempty"`

	// 域管理员账号密码。域类型为LOCAL_AD时需要配置。
	DomainPassword *string `json:"domain_password,omitempty"`

	// 主域控制器IP地址。域类型为LOCAL_AD时需要配置。
	ActiveDomainIp *string `json:"active_domain_ip,omitempty"`

	// 主域控制器名称。域类型为LOCAL_AD时需要配置。
	ActiveDomainName *string `json:"active_domain_name,omitempty"`

	// 备域控制器IP地址。域类型为LOCAL_AD时且配置备节点时需要配置。
	StandbyDomainIp *string `json:"standby_domain_ip,omitempty"`

	// 备域控制器名称。域类型为LOCAL_AD时且配置备节点时需要配置。
	StandbyDomainName *string `json:"standby_domain_name,omitempty"`

	// 主DNS IP地址。域类型为LOCAL_AD时需要配置。
	ActiveDnsIp *string `json:"active_dns_ip,omitempty"`

	// 备DNS IP地址。域类型为LOCAL_AD时且配置备节点时需要配置。
	StandbyDnsIp *string `json:"standby_dns_ip,omitempty"`

	// 是否在删除桌面的同时删除AD上对应的计算机对象,0代表不删除,1代表删除。
	DeleteComputerObject *int32 `json:"delete_computer_object,omitempty"`

	// 是否开启LDAPS。
	UseLdaps *bool `json:"use_ldaps,omitempty"`

	TlsConfig *TlsConfig `json:"tls_config,omitempty"`
}

AdDomain 域信息。

func (AdDomain) String

func (o AdDomain) String() string

type AdDomainDomainType

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

func (AdDomainDomainType) MarshalJSON

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

func (*AdDomainDomainType) UnmarshalJSON

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

func (AdDomainDomainType) Value

func (c AdDomainDomainType) Value() string

type AdDomainDomainTypeEnum

type AdDomainDomainTypeEnum struct {
	LITE_AS  AdDomainDomainType
	LOCAL_AD AdDomainDomainType
}

func GetAdDomainDomainTypeEnum

func GetAdDomainDomainTypeEnum() AdDomainDomainTypeEnum

type AdDomainInfo

type AdDomainInfo struct {

	// 域类型。 - LITE_AS:LiteAS。 - LOCAL_AD:本地AD。 说明:域类型为“LOCAL_AD”时,请确保所选VPC网络与“LOCAL_AD”所属网络可连通。
	DomainType AdDomainInfoDomainType `json:"domain_type"`

	// 域管理员帐号。
	DomainAdminAccount string `json:"domain_admin_account"`

	// 域管理员账号密码。
	DomainPassword string `json:"domain_password"`
}

AdDomainInfo 域信息。

func (AdDomainInfo) String

func (o AdDomainInfo) String() string

type AdDomainInfoDomainType

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

func (AdDomainInfoDomainType) MarshalJSON

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

func (*AdDomainInfoDomainType) UnmarshalJSON

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

func (AdDomainInfoDomainType) Value

func (c AdDomainInfoDomainType) Value() string

type AdDomainInfoDomainTypeEnum

type AdDomainInfoDomainTypeEnum struct {
	LITE_AS  AdDomainInfoDomainType
	LOCAL_AD AdDomainInfoDomainType
}

func GetAdDomainInfoDomainTypeEnum

func GetAdDomainInfoDomainTypeEnum() AdDomainInfoDomainTypeEnum

type AdInfo

type AdInfo struct {

	// 域类型。 - LITE_AS:本地认证。 - LOCAL_AD:本地AD。
	DomainType *AdInfoDomainType `json:"domain_type,omitempty"`

	// 域名,域类型为LOCAL_AD时有值。
	DomainName *string `json:"domain_name,omitempty"`

	// 域管理员帐号,域类型为LOCAL_AD时有值。
	DomainAdminAccount *string `json:"domain_admin_account,omitempty"`

	// 主域控制器名称,域类型为LOCAL_AD时有值。
	ActiveDomainName *string `json:"active_domain_name,omitempty"`

	// 主域控制器IP地址,域类型为LOCAL_AD时有值。
	ActiveDomainIp *string `json:"active_domain_ip,omitempty"`

	// 备域控制器名称,域类型为LOCAL_AD时有值。
	StandbyDomainName *string `json:"standby_domain_name,omitempty"`

	// 备域控制器IP地址,域类型为LOCAL_AD时有值。
	StandbyDomainIp *string `json:"standby_domain_ip,omitempty"`

	// 主DNS IP地址,域类型为LOCAL_AD时有值。
	ActiveDnsIp *string `json:"active_dns_ip,omitempty"`

	// 备DNS IP地址,域类型为LOCAL_AD时有值。
	StandbyDnsIp *string `json:"standby_dns_ip,omitempty"`

	// 是否在删除桌面的同时删除AD上对应的计算机对象,'0'代表不删除,'1'代表删除。
	DeleteComputerObject *string `json:"delete_computer_object,omitempty"`

	// 是否开启LDAPS。
	UseLdaps *bool `json:"use_ldaps,omitempty"`

	TlsConfig *TlsConfig `json:"tls_config,omitempty"`
}

AdInfo 域信息。

func (AdInfo) String

func (o AdInfo) String() string

type AdInfoDomainType

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

func (AdInfoDomainType) MarshalJSON

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

func (*AdInfoDomainType) UnmarshalJSON

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

func (AdInfoDomainType) Value

func (c AdInfoDomainType) Value() string

type AdInfoDomainTypeEnum

type AdInfoDomainTypeEnum struct {
	LITE_AS  AdInfoDomainType
	LOCAL_AD AdInfoDomainType
}

func GetAdInfoDomainTypeEnum

func GetAdInfoDomainTypeEnum() AdInfoDomainTypeEnum

type AddDesktopVolumesReq

type AddDesktopVolumesReq struct {

	// 桌面Id。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 待新增的磁盘信息,每个桌面的数据盘数量不超过10个。
	Volumes *[]Volume `json:"volumes,omitempty"`
}

AddDesktopVolumesReq 单个桌面添加磁盘参数。

func (AddDesktopVolumesReq) String

func (o AddDesktopVolumesReq) String() string

type AddDesktopsVolumesReq

type AddDesktopsVolumesReq struct {

	// 新增磁盘参数。
	DesktopVolumes *[]AddDesktopVolumesReq `json:"desktop_volumes,omitempty"`
}

AddDesktopsVolumesReq 增加磁盘请求。

func (AddDesktopsVolumesReq) String

func (o AddDesktopsVolumesReq) String() string

type AddVolumesRequest

type AddVolumesRequest struct {
	Body *AddDesktopsVolumesReq `json:"body,omitempty"`
}

AddVolumesRequest Request Object

func (AddVolumesRequest) String

func (o AddVolumesRequest) String() string

type AddVolumesResponse

type AddVolumesResponse struct {

	// 增加磁盘任务ID
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddVolumesResponse Response Object

func (AddVolumesResponse) String

func (o AddVolumesResponse) String() string

type AddressInfo

type AddressInfo struct {

	// IP地址信息。
	Addr *string `json:"addr,omitempty"`

	// IP地址类型,值为4或6,分别表示IPV4和IPV6。
	Version *string `json:"version,omitempty"`

	// MAC地址。
	OSEXTIPSMACmacAddr *string `json:"OS-EXT-IPS-MAC:mac_addr,omitempty"`

	// IP地址分配方式。 -fixed  私有IP地址。 -floating 浮动IP地址。
	OSEXTIPStype *string `json:"OS-EXT-IPS:type,omitempty"`
}

func (AddressInfo) String

func (o AddressInfo) String() string

type ApplyDesktopsInternetReq

type ApplyDesktopsInternetReq struct {

	// 需要开通上网功能的桌面id列表。
	DesktopIds *[]string `json:"desktop_ids,omitempty"`

	// 支持的类型请参考EIP服务支持的类型。可通过调用如下链接的接口查询,https://support.huaweicloud.com/api-eip/ShowPublicIpType.html
	EipType string `json:"eip_type"`

	// eip带宽计费模式 - TRAFFIC:按流量计费。 - BANDWIDTH:按带宽计费。
	EipChargeMode ApplyDesktopsInternetReqEipChargeMode `json:"eip_charge_mode"`

	// 带宽大小,单位Mbit/s。默认1Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。
	BandwidthSize int32 `json:"bandwidth_size"`

	// 需要购买EIP的数量,当desktop_ids为空时需要填,兼容单独购买EIP场景。
	Count *int32 `json:"count,omitempty"`
}

ApplyDesktopsInternetReq 开通桌面上网能力请求体。

func (ApplyDesktopsInternetReq) String

func (o ApplyDesktopsInternetReq) String() string

type ApplyDesktopsInternetReqEipChargeMode

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

func (ApplyDesktopsInternetReqEipChargeMode) MarshalJSON

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

func (*ApplyDesktopsInternetReqEipChargeMode) UnmarshalJSON

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

func (ApplyDesktopsInternetReqEipChargeMode) Value

type ApplyDesktopsInternetReqEipChargeModeEnum

type ApplyDesktopsInternetReqEipChargeModeEnum struct {
	TRAFFIC   ApplyDesktopsInternetReqEipChargeMode
	BANDWIDTH ApplyDesktopsInternetReqEipChargeMode
}

func GetApplyDesktopsInternetReqEipChargeModeEnum

func GetApplyDesktopsInternetReqEipChargeModeEnum() ApplyDesktopsInternetReqEipChargeModeEnum

type ApplyDesktopsInternetRequest

type ApplyDesktopsInternetRequest struct {
	Body *ApplyDesktopsInternetReq `json:"body,omitempty"`
}

ApplyDesktopsInternetRequest Request Object

func (ApplyDesktopsInternetRequest) String

type ApplyDesktopsInternetResponse

type ApplyDesktopsInternetResponse struct {

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

ApplyDesktopsInternetResponse Response Object

func (ApplyDesktopsInternetResponse) String

type ApplyRuleInfo

type ApplyRuleInfo struct {

	// 认证应用对象类型。 - ACCESS_MODE:接入类型
	RuleType *string `json:"rule_type,omitempty"`

	// 认证应用对象。 - INTERNET:互联网接入,rule_type为ACCESS_MODE时可选该值 - PRIVATE:专线接入,rule_type为ACCESS_MODE时可选该值
	Rule *string `json:"rule,omitempty"`
}

ApplyRuleInfo 认证应用对象信息,为null时代表对所有应用对象生效。

func (ApplyRuleInfo) String

func (o ApplyRuleInfo) String() string

type ApplyWorkspaceReq

type ApplyWorkspaceReq struct {
	AdDomains *AdDomain `json:"ad_domains"`

	// 企业ID。 企业ID是您在云桌面服务的唯一标识,终端用户登录时需要填写企业ID,若不自定义设置企业ID,系统将自动生成您的企业ID。格式为由半角数字、字母、_-组成,长度范围小于等于32个字符。
	EnterpriseId *string `json:"enterprise_id,omitempty"`

	// VPC ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 指定业务子网的网络ID,子网不能与172.16.0.0/12冲突。
	SubnetIds *[]Subnet `json:"subnet_ids,omitempty"`

	// 管理子网网段。 注:不能与172.16.0.0/12以及subnet_ids参数下子网的网段冲突。
	ManageSubnetCidr *string `json:"manage_subnet_cidr,omitempty"`

	// 接入方式。 - INTERNET:表示Internet接入。 - DEDICATED:表示专线接入。 - BOTH:表示两种接入方式都支持。
	AccessMode *ApplyWorkspaceReqAccessMode `json:"access_mode,omitempty"`

	// 专线接入网段列表,多个网段信息用分号隔开,列表长度不超过5。
	DedicatedSubnets *string `json:"dedicated_subnets,omitempty"`

	// 桌面退订是否发送邮件通知。
	IsSendEmail *bool `json:"is_send_email,omitempty"`
}

ApplyWorkspaceReq 申请开通云办公服务请求

func (ApplyWorkspaceReq) String

func (o ApplyWorkspaceReq) String() string

type ApplyWorkspaceReqAccessMode

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

func (ApplyWorkspaceReqAccessMode) MarshalJSON

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

func (*ApplyWorkspaceReqAccessMode) UnmarshalJSON

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

func (ApplyWorkspaceReqAccessMode) Value

type ApplyWorkspaceReqAccessModeEnum

type ApplyWorkspaceReqAccessModeEnum struct {
	INTERNET  ApplyWorkspaceReqAccessMode
	DEDICATED ApplyWorkspaceReqAccessMode
	BOTH      ApplyWorkspaceReqAccessMode
}

func GetApplyWorkspaceReqAccessModeEnum

func GetApplyWorkspaceReqAccessModeEnum() ApplyWorkspaceReqAccessModeEnum

type ApplyWorkspaceRequest

type ApplyWorkspaceRequest struct {
	Body *ApplyWorkspaceReq `json:"body,omitempty"`
}

ApplyWorkspaceRequest Request Object

func (ApplyWorkspaceRequest) String

func (o ApplyWorkspaceRequest) String() string

type ApplyWorkspaceResponse

type ApplyWorkspaceResponse struct {

	// 开通云办公服务的任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ApplyWorkspaceResponse Response Object

func (ApplyWorkspaceResponse) String

func (o ApplyWorkspaceResponse) String() string

type AssistAuthMethodConfigRequest

type AssistAuthMethodConfigRequest struct {
	AuthType *AuthAssistEnum `json:"auth_type,omitempty"`

	OtpConfigInfo *OtpConfigInfo `json:"otp_config_info,omitempty"`
}

AssistAuthMethodConfigRequest 辅助认证策略请求

func (AssistAuthMethodConfigRequest) String

type AssociateDesktopsEipReq

type AssociateDesktopsEipReq struct {

	// 桌面绑定的Eip的id。
	EipId string `json:"eip_id"`

	// 桌面id。
	DesktopId string `json:"desktop_id"`
}

AssociateDesktopsEipReq 桌面绑定EIP请求体。

func (AssociateDesktopsEipReq) String

func (o AssociateDesktopsEipReq) String() string

type AssociateDesktopsEipRequest

type AssociateDesktopsEipRequest struct {
	Body *AssociateDesktopsEipReq `json:"body,omitempty"`
}

AssociateDesktopsEipRequest Request Object

func (AssociateDesktopsEipRequest) String

type AssociateDesktopsEipResponse

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

AssociateDesktopsEipResponse Response Object

func (AssociateDesktopsEipResponse) String

type AuthAssistEnum

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

AuthAssistEnum 认证类型。 OTP:OTP辅助认证

func (AuthAssistEnum) MarshalJSON

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

func (*AuthAssistEnum) UnmarshalJSON

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

func (AuthAssistEnum) Value

func (c AuthAssistEnum) Value() string

type AuthAssistEnumEnum

type AuthAssistEnumEnum struct {
	OTP            AuthAssistEnum
	RADIUS_GATEWAY AuthAssistEnum
	RADIUS         AuthAssistEnum
}

func GetAuthAssistEnumEnum

func GetAuthAssistEnumEnum() AuthAssistEnumEnum

type AuthServerAccessMode

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

AuthServerAccessMode 辅助认证服务接入模式 INTERNET:互联网接入 DEDICATED:专线接入 SYSTEM_DEFAULT:系统默认

func (AuthServerAccessMode) MarshalJSON

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

func (*AuthServerAccessMode) UnmarshalJSON

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

func (AuthServerAccessMode) Value

func (c AuthServerAccessMode) Value() string

type AuthServerAccessModeEnum

type AuthServerAccessModeEnum struct {
	INTERNET       AuthServerAccessMode
	DEDICATED      AuthServerAccessMode
	SYSTEM_DEFAULT AuthServerAccessMode
}

func GetAuthServerAccessModeEnum

func GetAuthServerAccessModeEnum() AuthServerAccessModeEnum

type AvailabilityZoneInfo

type AvailabilityZoneInfo struct {

	// 可用分区编码。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 可用分区名称。
	DisplayName *string `json:"display_name,omitempty"`

	// 可用分区国际化信息。
	I18n map[string]string `json:"i18n,omitempty"`

	SoldOut *SoldOutInfo `json:"sold_out,omitempty"`

	// 指定当前分区下自定义支持的产品ID列表,如果为空则支持所有套餐。
	ProductIds *[]string `json:"product_ids,omitempty"`

	// 是否可见。
	Visible *bool `json:"visible,omitempty"`

	// 是否默认可用分区。
	DefaultAvailabilityZone *bool `json:"default_availability_zone,omitempty"`
}

func (AvailabilityZoneInfo) String

func (o AvailabilityZoneInfo) String() string

type BaseResponse

type BaseResponse struct {

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

	// 错误描述。
	ErrorMsg *string `json:"error_msg,omitempty"`
}

BaseResponse API响应基类

func (BaseResponse) String

func (o BaseResponse) String() string

type BatchActionDesktopsReq

type BatchActionDesktopsReq struct {

	// 操作的桌面ID列表。
	DesktopIds []string `json:"desktop_ids"`

	// 操作类型。 -os-start 启动。 -reboot 重启。 -os-stop 关机。 -os-hibernate 休眠。
	OpType string `json:"op_type"`

	// SOFT:普通操作;HARD:强制操作。例如type为HARD,op_type为os-stop代表强制关机。
	Type *BatchActionDesktopsReqType `json:"type,omitempty"`
}

BatchActionDesktopsReq 批量操作桌面请求。

func (BatchActionDesktopsReq) String

func (o BatchActionDesktopsReq) String() string

type BatchActionDesktopsReqType

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

func (BatchActionDesktopsReqType) MarshalJSON

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

func (*BatchActionDesktopsReqType) UnmarshalJSON

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

func (BatchActionDesktopsReqType) Value

type BatchActionDesktopsReqTypeEnum

type BatchActionDesktopsReqTypeEnum struct {
	SOFT BatchActionDesktopsReqType
	HARD BatchActionDesktopsReqType
}

func GetBatchActionDesktopsReqTypeEnum

func GetBatchActionDesktopsReqTypeEnum() BatchActionDesktopsReqTypeEnum

type BatchCreateUsersReq

type BatchCreateUsersReq struct {

	// 创建单个用户请求。
	Users []CreateUserRequest `json:"users"`
}

func (BatchCreateUsersReq) String

func (o BatchCreateUsersReq) String() string

type BatchCreateUsersRequest

type BatchCreateUsersRequest struct {
	Body *BatchCreateUsersReq `json:"body,omitempty"`
}

BatchCreateUsersRequest Request Object

func (BatchCreateUsersRequest) String

func (o BatchCreateUsersRequest) String() string

type BatchCreateUsersResponse

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

BatchCreateUsersResponse Response Object

func (BatchCreateUsersResponse) String

func (o BatchCreateUsersResponse) String() string

type BatchDeleteAccessPoliciesReq

type BatchDeleteAccessPoliciesReq struct {

	// 策略ID列表。
	PolicyIdList *[]string `json:"policy_id_list,omitempty"`
}

func (BatchDeleteAccessPoliciesReq) String

type BatchDeleteAccessPoliciesRequest

type BatchDeleteAccessPoliciesRequest struct {
	Body *BatchDeleteAccessPoliciesReq `json:"body,omitempty"`
}

BatchDeleteAccessPoliciesRequest Request Object

func (BatchDeleteAccessPoliciesRequest) String

type BatchDeleteAccessPoliciesResponse

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

BatchDeleteAccessPoliciesResponse Response Object

func (BatchDeleteAccessPoliciesResponse) String

type BatchDeleteDesktopsRequest

type BatchDeleteDesktopsRequest struct {
	Body *DeleteDesktopsReq `json:"body,omitempty"`
}

BatchDeleteDesktopsRequest Request Object

func (BatchDeleteDesktopsRequest) String

type BatchDeleteDesktopsResponse

type BatchDeleteDesktopsResponse struct {

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

BatchDeleteDesktopsResponse Response Object

func (BatchDeleteDesktopsResponse) String

type BatchDeleteOtpDevicesRequest

type BatchDeleteOtpDevicesRequest struct {

	// 用户ID。
	UserId string `json:"user_id"`

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

BatchDeleteOtpDevicesRequest Request Object

func (BatchDeleteOtpDevicesRequest) String

type BatchDeleteOtpDevicesResponse

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

BatchDeleteOtpDevicesResponse Response Object

func (BatchDeleteOtpDevicesResponse) String

type BatchDeleteUserGroupsReq

type BatchDeleteUserGroupsReq struct {

	// 用户组ID列表。
	GroupIds []string `json:"group_ids"`
}

func (BatchDeleteUserGroupsReq) String

func (o BatchDeleteUserGroupsReq) String() string

type BatchDeleteUserGroupsRequest

type BatchDeleteUserGroupsRequest struct {
	Body *BatchDeleteUserGroupsReq `json:"body,omitempty"`
}

BatchDeleteUserGroupsRequest Request Object

func (BatchDeleteUserGroupsRequest) String

type BatchDeleteUserGroupsResponse

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

BatchDeleteUserGroupsResponse Response Object

func (BatchDeleteUserGroupsResponse) String

type BatchDisassociateDesktopsEipReq

type BatchDisassociateDesktopsEipReq struct {

	// 待解绑EIP的桌面id。
	DesktopIds *[]string `json:"desktop_ids,omitempty"`
}

BatchDisassociateDesktopsEipReq 批量桌面解绑EIP请求体。

func (BatchDisassociateDesktopsEipReq) String

type BatchDisassociateDesktopsEipRequest

type BatchDisassociateDesktopsEipRequest struct {
	Body *BatchDisassociateDesktopsEipReq `json:"body,omitempty"`
}

BatchDisassociateDesktopsEipRequest Request Object

func (BatchDisassociateDesktopsEipRequest) String

type BatchDisassociateDesktopsEipResponse

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

BatchDisassociateDesktopsEipResponse Response Object

func (BatchDisassociateDesktopsEipResponse) String

type BatchLogoffDesktopsRequest

type BatchLogoffDesktopsRequest struct {
	Body *LogoffDesktopsReq `json:"body,omitempty"`
}

BatchLogoffDesktopsRequest Request Object

func (BatchLogoffDesktopsRequest) String

type BatchLogoffDesktopsResponse

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

BatchLogoffDesktopsResponse Response Object

func (BatchLogoffDesktopsResponse) String

type BatchRunDesktopsRequest

type BatchRunDesktopsRequest struct {
	Body *BatchActionDesktopsReq `json:"body,omitempty"`
}

BatchRunDesktopsRequest Request Object

func (BatchRunDesktopsRequest) String

func (o BatchRunDesktopsRequest) String() string

type BatchRunDesktopsResponse

type BatchRunDesktopsResponse struct {

	// 操作失败桌面列表。
	FailedOperationList *[]VmOperateResult `json:"failed_operation_list,omitempty"`

	// 任务ID,冷迁移启动时返回。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

BatchRunDesktopsResponse Response Object

func (BatchRunDesktopsResponse) String

func (o BatchRunDesktopsResponse) String() string

type CancelWorkspaceRequest

type CancelWorkspaceRequest struct {
}

CancelWorkspaceRequest Request Object

func (CancelWorkspaceRequest) String

func (o CancelWorkspaceRequest) String() string

type CancelWorkspaceResponse

type CancelWorkspaceResponse struct {

	// 注销云办公服务的任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CancelWorkspaceResponse Response Object

func (CancelWorkspaceResponse) String

func (o CancelWorkspaceResponse) String() string

type ChangeUserStatusRequest

type ChangeUserStatusRequest struct {

	// 用户ID。
	UserId string `json:"user_id"`

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

ChangeUserStatusRequest Request Object

func (ChangeUserStatusRequest) String

func (o ChangeUserStatusRequest) String() string

type ChangeUserStatusResponse

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

ChangeUserStatusResponse Response Object

func (ChangeUserStatusResponse) String

func (o ChangeUserStatusResponse) String() string

type CreateAccessPolicyReq

type CreateAccessPolicyReq struct {
	Policy *AccessPolicyInfo `json:"policy"`

	// 策略应用对象列表。
	PolicyObjectsList *[]AccessPolicyObjectInfo `json:"policy_objects_list,omitempty"`
}

func (CreateAccessPolicyReq) String

func (o CreateAccessPolicyReq) String() string

type CreateAccessPolicyRequest

type CreateAccessPolicyRequest struct {
	Body *CreateAccessPolicyReq `json:"body,omitempty"`
}

CreateAccessPolicyRequest Request Object

func (CreateAccessPolicyRequest) String

func (o CreateAccessPolicyRequest) String() string

type CreateAccessPolicyResponse

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

CreateAccessPolicyResponse Response Object

func (CreateAccessPolicyResponse) String

type CreateDesktopReq

type CreateDesktopReq struct {

	// 云桌面类型。  - DEDICATED:专属桌面。
	DesktopType CreateDesktopReqDesktopType `json:"desktop_type"`

	// 可用分区。将桌面创建到指定的可用分区。如果不指定则使用系统随机的可用分区。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 套餐ID。
	ProductId string `json:"product_id"`

	// 镜像类型。默认值为private。  - private:私有镜像。 - gold:公共镜像。
	ImageType string `json:"image_type"`

	// 镜像ID,用于私有镜像创建桌面场景,配合product_id使用。
	ImageId string `json:"image_id"`

	RootVolume *Volume `json:"root_volume"`

	// 数据盘列表。
	DataVolumes *[]Volume `json:"data_volumes,omitempty"`

	// 桌面对应的网卡信息,如果不指定则使用默认网卡。
	Nics *[]Nic `json:"nics,omitempty"`

	// 桌面使用的安全组,如果不指定则默认使用桌面代理中指定的安全组。
	SecurityGroups *[]SecurityGroupInfo `json:"security_groups,omitempty"`

	// 创建桌面使用的参数列表。长度为1-100。  当前不支持一批桌面不同配置,所有桌面的配置和第一台的一致,如果第一台未设置参数,则取外层的同名参数。
	Desktops []Desktop `json:"desktops"`

	// 创建成功后是否发送邮件通知桌面用户,默认为true。
	EmailNotification *bool `json:"email_notification,omitempty"`

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

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

CreateDesktopReq 创建桌面请求。

func (CreateDesktopReq) String

func (o CreateDesktopReq) String() string

type CreateDesktopReqDesktopType

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

func (CreateDesktopReqDesktopType) MarshalJSON

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

func (*CreateDesktopReqDesktopType) UnmarshalJSON

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

func (CreateDesktopReqDesktopType) Value

type CreateDesktopReqDesktopTypeEnum

type CreateDesktopReqDesktopTypeEnum struct {
	DEDICATED CreateDesktopReqDesktopType
}

func GetCreateDesktopReqDesktopTypeEnum

func GetCreateDesktopReqDesktopTypeEnum() CreateDesktopReqDesktopTypeEnum

type CreateDesktopRequest

type CreateDesktopRequest struct {
	Body *CreateDesktopReq `json:"body,omitempty"`
}

CreateDesktopRequest Request Object

func (CreateDesktopRequest) String

func (o CreateDesktopRequest) String() string

type CreateDesktopResponse

type CreateDesktopResponse struct {

	// 创建云桌面总任务id
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDesktopResponse Response Object

func (CreateDesktopResponse) String

func (o CreateDesktopResponse) String() string

type CreateDesktopUserRequest

type CreateDesktopUserRequest struct {
	Body *CreateUserRequest `json:"body,omitempty"`
}

CreateDesktopUserRequest Request Object

func (CreateDesktopUserRequest) String

func (o CreateDesktopUserRequest) String() string

type CreateDesktopUserResponse

type CreateDesktopUserResponse struct {

	// 用户id。
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDesktopUserResponse Response Object

func (CreateDesktopUserResponse) String

func (o CreateDesktopUserResponse) String() string

type CreateTerminalsBindingDesktopsInfo

type CreateTerminalsBindingDesktopsInfo struct {

	// 行号,用于批量导入
	Line *int32 `json:"line,omitempty"`

	// 终端mac地址
	Mac *string `json:"mac,omitempty"`

	// 桌面名称,用于批量导入
	DesktopName *string `json:"desktop_name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`
}

func (CreateTerminalsBindingDesktopsInfo) String

type CreateTerminalsBindingDesktopsRequest

type CreateTerminalsBindingDesktopsRequest struct {
	Body *CreateTerminalsBindingDesktopsRequestBody `json:"body,omitempty"`
}

CreateTerminalsBindingDesktopsRequest Request Object

func (CreateTerminalsBindingDesktopsRequest) String

type CreateTerminalsBindingDesktopsRequestBody

type CreateTerminalsBindingDesktopsRequestBody struct {

	// 需要新增的MAC绑定VM策略信息列表
	BindList *[]CreateTerminalsBindingDesktopsInfo `json:"bind_list,omitempty"`
}

func (CreateTerminalsBindingDesktopsRequestBody) String

type CreateTerminalsBindingDesktopsResponse

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

CreateTerminalsBindingDesktopsResponse Response Object

func (CreateTerminalsBindingDesktopsResponse) String

type CreateUserGroupReq

type CreateUserGroupReq struct {

	// 用户组名称。
	GroupName string `json:"group_name"`

	// 用户组类型。 * AD: AD域用户组 * LOCAL: 本地liteAs用户组
	PlatformType CreateUserGroupReqPlatformType `json:"platform_type"`

	// 用户组描述。
	Description *string `json:"description,omitempty"`
}

func (CreateUserGroupReq) String

func (o CreateUserGroupReq) String() string

type CreateUserGroupReqPlatformType

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

func (CreateUserGroupReqPlatformType) MarshalJSON

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

func (*CreateUserGroupReqPlatformType) UnmarshalJSON

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

func (CreateUserGroupReqPlatformType) Value

type CreateUserGroupReqPlatformTypeEnum

type CreateUserGroupReqPlatformTypeEnum struct {
	AD    CreateUserGroupReqPlatformType
	LOCAL CreateUserGroupReqPlatformType
}

func GetCreateUserGroupReqPlatformTypeEnum

func GetCreateUserGroupReqPlatformTypeEnum() CreateUserGroupReqPlatformTypeEnum

type CreateUserGroupRequest

type CreateUserGroupRequest struct {
	Body *CreateUserGroupReq `json:"body,omitempty"`
}

CreateUserGroupRequest Request Object

func (CreateUserGroupRequest) String

func (o CreateUserGroupRequest) String() string

type CreateUserGroupResponse

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

CreateUserGroupResponse Response Object

func (CreateUserGroupResponse) String

func (o CreateUserGroupResponse) String() string

type CreateUserRequest

type CreateUserRequest struct {

	// 用户名称。
	UserName string `json:"user_name"`

	// 用户邮箱。
	UserEmail *string `json:"user_email,omitempty"`

	// 账户过期时间,0表示永远不过期。时间格式:yyyy-MM-ddTHH:mm:ssZ或yyyy-MM-ddTHH:mm:ss.SSSZ。
	AccountExpires *string `json:"account_expires,omitempty"`

	// 激活类型,默认为用户激活。 * USER_ACTIVATE: 用户激活 * ADMIN_ACTIVATE: 管理员激活
	ActiveType *CreateUserRequestActiveType `json:"active_type,omitempty"`

	// 用户手机号。
	UserPhone *string `json:"user_phone,omitempty"`

	// 用户初始密码。管理员激活模式需要输入。
	Password *string `json:"password,omitempty"`

	// 是否允许用户更改密码,缺省值为true,后续此字段无效,创建时都为true。
	EnableChangePassword *bool `json:"enable_change_password,omitempty"`

	// 下次登录是否必须更改密码,缺省值为true。后续此字段无效,创建时都为true。
	NextLoginChangePassword *bool `json:"next_login_change_password,omitempty"`

	// 用户组的专有ID列表。
	GroupIds *[]string `json:"group_ids,omitempty"`

	// 用户描述,字符串长度区间[0, 255]。
	Description *string `json:"description,omitempty"`

	// 别名。
	AliasName *string `json:"alias_name,omitempty"`
}

func (CreateUserRequest) String

func (o CreateUserRequest) String() string

type CreateUserRequestActiveType

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

func (CreateUserRequestActiveType) MarshalJSON

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

func (*CreateUserRequestActiveType) UnmarshalJSON

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

func (CreateUserRequestActiveType) Value

type CreateUserRequestActiveTypeEnum

type CreateUserRequestActiveTypeEnum struct {
	USER_ACTIVATE  CreateUserRequestActiveType
	ADMIN_ACTIVATE CreateUserRequestActiveType
}

func GetCreateUserRequestActiveTypeEnum

func GetCreateUserRequestActiveTypeEnum() CreateUserRequestActiveTypeEnum

type DelOtpDevicesReq

type DelOtpDevicesReq struct {

	// 待解绑的otp配置id数组。
	OtpIds *[]string `json:"otp_ids,omitempty"`
}

func (DelOtpDevicesReq) String

func (o DelOtpDevicesReq) String() string

type DeleteDesktopRequest

type DeleteDesktopRequest struct {

	// 桌面ID。
	DesktopId string `json:"desktop_id"`

	// 删除桌面后,如果当前用户没有其它桌面,可以删除桌面用户。true:删除用户,false:不删除用户,默认为false。
	DeleteUsers *bool `json:"delete_users,omitempty"`

	// 删除桌面后,是否给桌面用户发送系统通知邮件。true:发送,false:不发送。默认为true。
	EmailNotification *bool `json:"email_notification,omitempty"`
}

DeleteDesktopRequest Request Object

func (DeleteDesktopRequest) String

func (o DeleteDesktopRequest) String() string

type DeleteDesktopResponse

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

DeleteDesktopResponse Response Object

func (DeleteDesktopResponse) String

func (o DeleteDesktopResponse) String() string

type DeleteDesktopVolumesRequest

type DeleteDesktopVolumesRequest struct {

	// 桌面ID。
	DesktopId string `json:"desktop_id"`

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

DeleteDesktopVolumesRequest Request Object

func (DeleteDesktopVolumesRequest) String

type DeleteDesktopVolumesResponse

type DeleteDesktopVolumesResponse struct {

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

DeleteDesktopVolumesResponse Response Object

func (DeleteDesktopVolumesResponse) String

type DeleteDesktopsReq

type DeleteDesktopsReq struct {

	// 待删除的桌面ID列表。
	DesktopIds []string `json:"desktop_ids"`

	// 删除桌面后,如果当前用户没有其它桌面,可以删除桌面用户。true:删除用户,false:不删除用户,默认为false。
	DeleteUsers *bool `json:"delete_users,omitempty"`

	// 是否邮件通知,true:邮件通知,false:不通知,默认值true。
	EmailNotification *bool `json:"email_notification,omitempty"`
}

DeleteDesktopsReq 批量删除桌面请求。

func (DeleteDesktopsReq) String

func (o DeleteDesktopsReq) String() string

type DeleteTerminalsBindingDesktopsRequest

type DeleteTerminalsBindingDesktopsRequest struct {
	Body *DeleteTerminalsBindingDesktopsRequestBody `json:"body,omitempty"`
}

DeleteTerminalsBindingDesktopsRequest Request Object

func (DeleteTerminalsBindingDesktopsRequest) String

type DeleteTerminalsBindingDesktopsRequestBody

type DeleteTerminalsBindingDesktopsRequestBody struct {

	// 绑定策略ID列表
	IdList *[]string `json:"id_list,omitempty"`
}

func (DeleteTerminalsBindingDesktopsRequestBody) String

type DeleteTerminalsBindingDesktopsResponse

type DeleteTerminalsBindingDesktopsResponse struct {

	// 需删除的策略ID列表
	ResultList     *[]DeleteTerminalsBindingDesktopsResult `json:"result_list,omitempty"`
	HttpStatusCode int                                     `json:"-"`
}

DeleteTerminalsBindingDesktopsResponse Response Object

func (DeleteTerminalsBindingDesktopsResponse) String

type DeleteTerminalsBindingDesktopsResult

type DeleteTerminalsBindingDesktopsResult struct {

	// 需删除的策略ID
	Id *string `json:"id,omitempty"`

	// 删除操作的结果码
	DeleteResultCode *string `json:"delete_result_code,omitempty"`

	// 删除操作的结果信息
	DeleteResultMsg *string `json:"delete_result_msg,omitempty"`
}

func (DeleteTerminalsBindingDesktopsResult) String

type DeleteUserGroupRequest

type DeleteUserGroupRequest struct {

	// 桌面用户组ID。
	GroupId string `json:"group_id"`
}

DeleteUserGroupRequest Request Object

func (DeleteUserGroupRequest) String

func (o DeleteUserGroupRequest) String() string

type DeleteUserGroupResponse

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

DeleteUserGroupResponse Response Object

func (DeleteUserGroupResponse) String

func (o DeleteUserGroupResponse) String() string

type DeleteUserRequest

type DeleteUserRequest struct {

	// 用户ID。
	UserId string `json:"user_id"`
}

DeleteUserRequest Request Object

func (DeleteUserRequest) String

func (o DeleteUserRequest) String() string

type DeleteUserResponse

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

DeleteUserResponse Response Object

func (DeleteUserResponse) String

func (o DeleteUserResponse) String() string

type DeleteVolumesReq

type DeleteVolumesReq struct {

	// 待删除的桌面数据盘ID列表。
	VolumeIds *[]string `json:"volume_ids,omitempty"`
}

DeleteVolumesReq 删除桌面数据盘请求。

func (DeleteVolumesReq) String

func (o DeleteVolumesReq) String() string

type Desktop

type Desktop struct {

	// 桌面所属的用户,当桌面创建成功后此用户可以登录该桌面。只允许输入大写字母、小写字母、数字、中划线(-)和下划线(_)。域类型为LITE_AD时,使用小写字母或者大写字母开头,长度范围为[1-20]。当域类型为LOCAL_AD时,用户名可以使用小写字母或者大写字母或者数字开头,长度范围为[1-20]。
	UserName string `json:"user_name"`

	// 合法用户邮箱,桌面创建成功后系统会通过发送邮件的方式通知用户。
	UserEmail *string `json:"user_email,omitempty"`

	// 桌面用户所属的用户组。  - sudo:Linux管理员组。 - default:Linux默认用户组。 - administrators:Windows管理员组。管理员拥有对该桌面的完全访问权,可以做任何需要的更改(禁用操作除外)。 - users:Windows标准用户组。标准用户可以使用大多数软件,并可以更改不影响其他用户的系统设置。
	UserGroup *string `json:"user_group,omitempty"`

	// 桌面名,桌面名必须保证唯一。桌面名称只允许输入大写字母、小写字母、数字、中划线,以字母或数字开头、不能以中划线结尾,长度范围为1~15。
	ComputerName *string `json:"computer_name,omitempty"`

	// 桌面名称前缀,不指定\"computer_name\"时生效。
	DesktopNamePrefix *string `json:"desktop_name_prefix,omitempty"`
}

func (Desktop) String

func (o Desktop) String() string

type DesktopDetailInfo

type DesktopDetailInfo struct {

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 桌面名。
	ComputerName *string `json:"computer_name,omitempty"`

	// 桌面IP地址列表。
	Addresses map[string][]AddressInfo `json:"addresses,omitempty"`

	// IP地址列表。
	IpAddresses *[]string `json:"ip_addresses,omitempty"`

	// 桌面类型。  - DEDICATED:专属桌面。
	DesktopType *string `json:"desktop_type,omitempty"`

	// 桌面元数据。  - charging_mode 周期套餐标识,1表示包周期,0表示按需。 - image_name 创建桌面的镜像名称。 - metering.image_id 镜像ID。 - metering.resourcespeccode 桌面资源编码。 - metering.resourcetype 桌面资源类型。 - os_bit 操作系统位数:32或64。 - os_type 操作系统类型:Linux、Windows或Others。 - desktop_os_version 操作系统版本。
	Metadata map[string]string `json:"metadata,omitempty"`

	Flavor *FlavorInfo `json:"flavor,omitempty"`

	// 桌面状态。
	Status *string `json:"status,omitempty"`

	// 任务状态。  - scheduling:创建中,正在进行调度。 - block_device_mapping:创建中,正在准备磁盘。 - networking:创建中,正在准备网络。 - spawning:创建中,正在内部创建。 - rebooting:重启中。 - reboot_pending:重启中,正在下发重启。 - reboot_started:重启中,开始内部重启。 - rebooting_hard:强制重启中。 - reboot_pending_hard:强制重启中,正在下发重启。 - reboot_started_hard:强制重启中,开始内部重启。 - rebuilding:重建中。 - rebuild_block_device_mapping:重建中,正在准备磁盘。 - rebuild_spawning:重建中,正在内部重建。 - migrating:热迁移中。 - resize_prep:调整规格中,正在准备阶段。 - resize_migrating:调整规格中,正在迁移阶段。 - resize_migrated:调整规格中,已经完成迁移。 - resize_finish:调整规格中,正在完成调整。 - resize_reverting:调整规格中,正在回退调整。 - powering-off:停止中。 - powering-on:启动中。 - deleting:删除中。 - deleteFailed:删除失败。
	TaskStatus *string `json:"task_status,omitempty"`

	// 桌面创建时间。
	Created *string `json:"created,omitempty"`

	// 桌面安全组。
	SecurityGroups *[]SecurityGroupInfo `json:"security_groups,omitempty"`

	// 桌面的登录状态。  - UNREGISTER:表示桌面未注册时的状态(桌面启动后,会自动注册)。关机后也会出现未注册的状态。 - REGISTERED:表示桌面注册以后,等待用户连接的状态。 - CONNECTED:表示用户已经成功登录,正在使用桌面。 - DISCONNECTED:表示桌面与客户端断开会话后显示的状态,可能为关闭客户端窗口,或客户端与桌面网络断开引起。
	LoginStatus *string `json:"login_status,omitempty"`

	// 桌面所属用户。
	UserName *string `json:"user_name,omitempty"`

	// 产品ID。
	ProductId *string `json:"product_id,omitempty"`

	RootVolume *VolumeDetail `json:"root_volume,omitempty"`

	// 数据盘列表。
	DataVolumes *[]VolumeDetail `json:"data_volumes,omitempty"`

	// 桌面用户所属的用户组。  - sudo:Linux管理员组。 - default:Linux默认用户组。 - administrators:Windows管理员组。管理员拥有对该桌面的完全访问权,可以做任何需要的更改(禁用操作除外)。 - users:Windows标准用户组。标准用户可以使用大多数软件,并可以更改不影响其他用户的系统设置。
	UserGroup *string `json:"user_group,omitempty"`

	// 可用分区。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 站点类型
	SiteType *string `json:"site_type,omitempty"`

	// 站点名字
	SiteName *string `json:"site_name,omitempty"`

	Product *ProductDetailInfo `json:"product,omitempty"`

	// 创建桌面时加入的OU名称。
	OuName *string `json:"ou_name,omitempty"`

	// 操作系统版本号。
	OsVersion *string `json:"os_version,omitempty"`

	// SID
	Sid *string `json:"sid,omitempty"`

	// 包周期产品的订单ID。
	OrderId *string `json:"order_id,omitempty"`

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

	// 上网方式。 - NAT:表示NAT上网方式。 - EIP:表示EIP上网方式。 - BOTH:表示两种上网方式都支持。
	InternetMode *DesktopDetailInfoInternetMode `json:"internet_mode,omitempty"`

	// 桌面是否正在绑定EIP。
	IsAttachingEip *bool `json:"is_attaching_eip,omitempty"`
}

DesktopDetailInfo 桌面详情。

func (DesktopDetailInfo) String

func (o DesktopDetailInfo) String() string

type DesktopDetailInfoInternetMode

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

func (DesktopDetailInfoInternetMode) MarshalJSON

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

func (*DesktopDetailInfoInternetMode) UnmarshalJSON

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

func (DesktopDetailInfoInternetMode) Value

type DesktopUsedHoursInfo

type DesktopUsedHoursInfo struct {

	// 桌面Id。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 使用的用户。
	DesktopUsername *string `json:"desktop_username,omitempty"`

	// 桌面使用时间列表。
	UsedInfoList *[]DesktopUsedInfo `json:"used_info_list,omitempty"`
}

DesktopUsedHoursInfo 桌面使用时间信息。

func (DesktopUsedHoursInfo) String

func (o DesktopUsedHoursInfo) String() string

type DesktopUsedInfo

type DesktopUsedInfo struct {

	// 日期,格式:yyyy-MM-dd(UTC时间)。
	Date *string `json:"date,omitempty"`

	// 总共在线时间单位:小时数(h),精确到两位小数,如:1.32。
	UseTime *string `json:"use_time,omitempty"`
}

DesktopUsedInfo 桌面使用时间。

func (DesktopUsedInfo) String

func (o DesktopUsedInfo) String() string

type EditUserGroupRequest

type EditUserGroupRequest struct {

	// 用户组描述。
	Description *string `json:"description,omitempty"`

	// 用户组名,注意AD用户组不支持改名。
	GroupName *string `json:"group_name,omitempty"`
}

func (EditUserGroupRequest) String

func (o EditUserGroupRequest) String() string

type EditUserReq

type EditUserReq struct {

	// 用户描述。
	Description *string `json:"description,omitempty"`

	// 用户邮箱。
	UserEmail *string `json:"user_email,omitempty"`

	// 手机号。
	UserPhone *string `json:"user_phone,omitempty"`

	// 激活类型,默认为用户激活。 * USER_ACTIVATE: 用户激活 * ADMIN_ACTIVATE: 管理员激活
	ActiveType *EditUserReqActiveType `json:"active_type,omitempty"`

	// 账户过期时间,0表示永远不过期。
	AccountExpires *string `json:"account_expires,omitempty"`

	// 是否允许修改密码,true表示允许,false表示不允许。
	EnableChangePassword *bool `json:"enable_change_password,omitempty"`

	// 下次登录是否需要重置密码,true表示需要重置密码,false表示不需要。
	NextLoginChangePassword *bool `json:"next_login_change_password,omitempty"`

	// 密码是否永不过期,true表示密码永不过期,false表示密码会过期。
	PasswordNeverExpired *bool `json:"password_never_expired,omitempty"`

	// 账户是否禁用,true表示被禁用,false表示未禁用。
	Disabled *bool `json:"disabled,omitempty"`
}

func (EditUserReq) String

func (o EditUserReq) String() string

type EditUserReqActiveType

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

func (EditUserReqActiveType) MarshalJSON

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

func (*EditUserReqActiveType) UnmarshalJSON

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

func (EditUserReqActiveType) Value

func (c EditUserReqActiveType) Value() string

type EditUserReqActiveTypeEnum

type EditUserReqActiveTypeEnum struct {
	USER_ACTIVATE  EditUserReqActiveType
	ADMIN_ACTIVATE EditUserReqActiveType
}

func GetEditUserReqActiveTypeEnum

func GetEditUserReqActiveTypeEnum() EditUserReqActiveTypeEnum

type Eip

type Eip struct {

	// 桌面绑定的Eip的id,有值时优先绑定Eip。
	Id *string `json:"id,omitempty"`

	// EIP的类型,5_bgp(全动态BGP),5_sbgp(静态BGP)
	Type *string `json:"type,omitempty"`

	// eip带宽计费模式 - TRAFFIC:按流量计费。 - BANDWIDTH:按带宽计费。
	ChargeMode *EipChargeMode `json:"charge_mode,omitempty"`

	// 带宽大小
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`
}

Eip Eip信息。

func (Eip) String

func (o Eip) String() string

type EipChargeMode

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

func (EipChargeMode) MarshalJSON

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

func (*EipChargeMode) UnmarshalJSON

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

func (EipChargeMode) Value

func (c EipChargeMode) Value() string

type EipChargeModeEnum

type EipChargeModeEnum struct {
	TRAFFIC   EipChargeMode
	BANDWIDTH EipChargeMode
}

func GetEipChargeModeEnum

func GetEipChargeModeEnum() EipChargeModeEnum

type Eips

type Eips struct {

	// EIP的id。
	Id *string `json:"id,omitempty"`

	// Eip地址。
	Address *string `json:"address,omitempty"`

	// 带宽大小。
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// traffic(按流量计费),bandwidth(按带宽计费)。
	EipChargeMode *string `json:"eip_charge_mode,omitempty"`

	// 创建时间,格式为:yyyy-MM-ddTHH:mm:ssZ。
	CreateTime *string `json:"create_time,omitempty"`

	// 绑定的桌面id。
	AttachedDesktopId *string `json:"attached_desktop_id,omitempty"`

	// 绑定的桌面名称。
	AttachedDesktopName *string `json:"attached_desktop_name,omitempty"`
}

Eips 桌面EIP。

func (Eips) String

func (o Eips) String() string

type ExpandDesktopsVolumesReq

type ExpandDesktopsVolumesReq struct {

	// 扩容磁盘参数。
	DesktopVolumesExpansion *[]ExpandVolumesReq `json:"desktop_volumes_expansion,omitempty"`
}

ExpandDesktopsVolumesReq 扩容磁盘请求。

func (ExpandDesktopsVolumesReq) String

func (o ExpandDesktopsVolumesReq) String() string

type ExpandVolumesReq

type ExpandVolumesReq struct {

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 磁盘ID。
	VolumeId *string `json:"volume_id,omitempty"`

	// 扩容后的磁盘大小,单位为GB。
	NewSize *int32 `json:"new_size,omitempty"`
}

ExpandVolumesReq 单个桌面扩容磁盘参数。

func (ExpandVolumesReq) String

func (o ExpandVolumesReq) String() string

type ExpandVolumesRequest

type ExpandVolumesRequest struct {
	Body *ExpandDesktopsVolumesReq `json:"body,omitempty"`
}

ExpandVolumesRequest Request Object

func (ExpandVolumesRequest) String

func (o ExpandVolumesRequest) String() string

type ExpandVolumesResponse

type ExpandVolumesResponse struct {

	// 扩容磁盘任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ExpandVolumesResponse Response Object

func (ExpandVolumesResponse) String

func (o ExpandVolumesResponse) String() string

type ExportUserLoginInfoNewRequest

type ExportUserLoginInfoNewRequest struct {

	// 查询的起始时间。指定该参数后,返回的结果为此时间之后的所有登录记录。时间格式如:“2016-08-20T21:11Z”。终止时间不为空时,起始时间为必填参数。
	StartTime *string `json:"start_time,omitempty"`

	// 查询的终止时间。指定该参数后,返回的结果为此时间之前的所有登录记录。时间格式如:“2016-08-20T21:11Z”。起始时间不为空时,终止时间为必填参数。
	EndTime *string `json:"end_time,omitempty"`

	// 登录桌面的用户名。
	UserName *string `json:"user_name,omitempty"`

	// 计算机名(操作系统信息中可见)。
	ComputerName *string `json:"computer_name,omitempty"`

	// 登录桌面的终端系统类型。
	TerminalType *string `json:"terminal_type,omitempty"`

	// 导出语言,默认英文。 - zh_CN:中文 - en_US:英文
	Language *string `json:"language,omitempty"`
}

ExportUserLoginInfoNewRequest Request Object

func (ExportUserLoginInfoNewRequest) String

type ExportUserLoginInfoNewResponse

type ExportUserLoginInfoNewResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

ExportUserLoginInfoNewResponse Response Object

func (ExportUserLoginInfoNewResponse) Consume

func (o ExportUserLoginInfoNewResponse) Consume(writer io.Writer) (int64, error)

func (ExportUserLoginInfoNewResponse) String

type FlavorInfo

type FlavorInfo struct {

	// 桌面对应的规格ID。
	Id *string `json:"id,omitempty"`

	// 桌面对应规格的相关标记快捷链接信息。
	Links *[]FlavorLinkInfo `json:"links,omitempty"`
}

func (FlavorInfo) String

func (o FlavorInfo) String() string

type FlavorLinkInfo

type FlavorLinkInfo struct {

	// 快捷链接标记名称。
	Rel *string `json:"rel,omitempty"`

	// 对应快捷链接。
	Hrel *string `json:"hrel,omitempty"`
}

func (FlavorLinkInfo) String

func (o FlavorLinkInfo) String() string

type ImageInfo

type ImageInfo struct {

	// 镜像ID。
	Id *string `json:"id,omitempty"`

	// 镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private。
	ImageType *ImageInfoImageType `json:"image_type,omitempty"`

	// 操作系统类型,目前取值Linux, Windows,Other。
	OsType *string `json:"os_type,omitempty"`

	// 操作系统具体版本。
	OsVersion *string `json:"os_version,omitempty"`

	// 镜像格式,目前支持vhd,raw,qcow2,zvhd2格式。
	DiskFormat *string `json:"disk_format,omitempty"`

	// 镜像名称。
	Name *string `json:"name,omitempty"`

	// 镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
	MinRam *int32 `json:"min_ram,omitempty"`

	// 镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。
	MinDisk *int32 `json:"min_disk,omitempty"`

	// 镜像的产品编码。
	ProductCode *string `json:"product_code,omitempty"`
}

func (ImageInfo) String

func (o ImageInfo) String() string

type ImageInfoImageType

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

func (ImageInfoImageType) MarshalJSON

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

func (*ImageInfoImageType) UnmarshalJSON

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

func (ImageInfoImageType) Value

func (c ImageInfoImageType) Value() string

type ImageInfoImageTypeEnum

type ImageInfoImageTypeEnum struct {
	GOLD    ImageInfoImageType
	PRIVATE ImageInfoImageType
}

func GetImageInfoImageTypeEnum

func GetImageInfoImageTypeEnum() ImageInfoImageTypeEnum

type JobDetailInfo

type JobDetailInfo struct {

	// 任务id。
	Id *string `json:"id,omitempty"`

	// 任务类型。
	JobType *string `json:"job_type,omitempty"`

	Entities *JobEntities `json:"entities,omitempty"`

	// 任务创建时间。
	BeginTime *string `json:"begin_time,omitempty"`

	// 任务结束时间。
	EndTime *string `json:"end_time,omitempty"`

	// 任务状态。
	Status *string `json:"status,omitempty"`

	// 任务执行失败时的错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 任务失败原因。
	FailReason *string `json:"fail_reason,omitempty"`

	// 任务失败原因信息。
	Message *string `json:"message,omitempty"`

	// 任务ID。
	JobId *string `json:"job_id,omitempty"`
}

func (JobDetailInfo) String

func (o JobDetailInfo) String() string

type JobEntities

type JobEntities struct {

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 套餐ID。
	ProductId *string `json:"product_id,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`
}

func (JobEntities) String

func (o JobEntities) String() string

type ListAccessPoliciesRequest

type ListAccessPoliciesRequest struct {

	// 每页数量,范围0-100,默认100。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,范围0-99,默认0。
	Offset *int32 `json:"offset,omitempty"`
}

ListAccessPoliciesRequest Request Object

func (ListAccessPoliciesRequest) String

func (o ListAccessPoliciesRequest) String() string

type ListAccessPoliciesResponse

type ListAccessPoliciesResponse struct {

	// 查询接入策略响应。
	Policies *[]AccessPolicyDetailInfo `json:"policies,omitempty"`

	// 策略总数。
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAccessPoliciesResponse Response Object

func (ListAccessPoliciesResponse) String

type ListAccessPolicyObjectsRequest

type ListAccessPolicyObjectsRequest struct {

	// 接入策略id。
	AccessPolicyId string `json:"access_policy_id"`

	// 每页数量,范围0-2000,默认10。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,范围0-1999,默认0。
	Offset *int32 `json:"offset,omitempty"`
}

ListAccessPolicyObjectsRequest Request Object

func (ListAccessPolicyObjectsRequest) String

type ListAccessPolicyObjectsResponse

type ListAccessPolicyObjectsResponse struct {

	// 查询接入策略应用对象响应。
	PolicyObjectsList *[]AccessPolicyObject `json:"policy_objects_list,omitempty"`

	// 对象总数。
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAccessPolicyObjectsResponse Response Object

func (ListAccessPolicyObjectsResponse) String

type ListAvailabilityZonesRequest

type ListAvailabilityZonesRequest struct {
}

ListAvailabilityZonesRequest Request Object

func (ListAvailabilityZonesRequest) String

type ListAvailabilityZonesResponse

type ListAvailabilityZonesResponse struct {

	// 云桌面支持的可用分区列表。
	AvailabilityZones *[]AvailabilityZoneInfo `json:"availability_zones,omitempty"`

	// 云桌面支持的可用分区列表总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAvailabilityZonesResponse Response Object

func (ListAvailabilityZonesResponse) String

type ListDesktopsDetailRequest

type ListDesktopsDetailRequest struct {

	// 桌面状态。  - ACTIVE:运行中。 - SHUTOFF:关机。 - ERROR:异常。
	Status *string `json:"status,omitempty"`

	// 桌面所属用户。
	UserName *string `json:"user_name,omitempty"`

	// 桌面名。
	ComputerName *string `json:"computer_name,omitempty"`

	// 桌面IP地址。
	DesktopIp *string `json:"desktop_ip,omitempty"`

	// 用于分页查询,查询的起始记录序号,从0开始。
	Offset *int32 `json:"offset,omitempty"`

	// 用于分页查询,取值范围0-500,默认值500。
	Limit *int32 `json:"limit,omitempty"`

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 桌面类型。  - DEDICATED:专属桌面。
	DesktopType *string `json:"desktop_type,omitempty"`

	// 桌面的标签。样例:  - key1=value1。 - key1=value1,key2=value2。
	Tag *string `json:"tag,omitempty"`

	// 桌面池ID,多个桌面池ID用逗号隔开。
	PoolId *string `json:"pool_id,omitempty"`
}

ListDesktopsDetailRequest Request Object

func (ListDesktopsDetailRequest) String

func (o ListDesktopsDetailRequest) String() string

type ListDesktopsDetailResponse

type ListDesktopsDetailResponse struct {

	// 桌面详情列表。
	Desktops *[]DesktopDetailInfo `json:"desktops,omitempty"`

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

ListDesktopsDetailResponse Response Object

func (ListDesktopsDetailResponse) String

type ListDesktopsEipsRequest

type ListDesktopsEipsRequest struct {

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 桌面名称。
	DesktopName *string `json:"desktop_name,omitempty"`

	// 桌面所属用户。
	UserName *string `json:"user_name,omitempty"`

	// EIP地址。
	Address *string `json:"address,omitempty"`

	// 用于分页查询,查询的起始记录序号,从0开始。
	Offset *int32 `json:"offset,omitempty"`

	// 用于分页查询,返回桌面数量限制。如果不指定,则返回所有符合条件的记录。
	Limit *int32 `json:"limit,omitempty"`

	// EIP绑定状态。 - bind:表示已绑定的EIP。 - unbind:表示未绑定的EIP。
	State *string `json:"state,omitempty"`
}

ListDesktopsEipsRequest Request Object

func (ListDesktopsEipsRequest) String

func (o ListDesktopsEipsRequest) String() string

type ListDesktopsEipsResponse

type ListDesktopsEipsResponse struct {

	// 桌面EIP。
	Eips *[]Eips `json:"eips,omitempty"`

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

ListDesktopsEipsResponse Response Object

func (ListDesktopsEipsResponse) String

func (o ListDesktopsEipsResponse) String() string

type ListDesktopsRequest

type ListDesktopsRequest struct {

	// 桌面所属用户。
	UserName *string `json:"user_name,omitempty"`

	// 桌面名。
	ComputerName *string `json:"computer_name,omitempty"`

	// 桌面IP地址。
	DesktopIp *string `json:"desktop_ip,omitempty"`

	// 用于分页查询,查询的起始记录序号,从0开始。
	Offset *int32 `json:"offset,omitempty"`

	// 用于分页查询,取值范围0-1000,默认值1000。
	Limit *int32 `json:"limit,omitempty"`

	// 桌面池ID,多个桌面池ID用逗号隔开。
	PoolId *string `json:"pool_id,omitempty"`
}

ListDesktopsRequest Request Object

func (ListDesktopsRequest) String

func (o ListDesktopsRequest) String() string

type ListDesktopsResponse

type ListDesktopsResponse struct {

	// 总数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 桌面信息。
	Desktops       *[]SimpleDesktopInfo `json:"desktops,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ListDesktopsResponse Response Object

func (ListDesktopsResponse) String

func (o ListDesktopsResponse) String() string

type ListHistoryOnlineInfoNewRequest

type ListHistoryOnlineInfoNewRequest struct {

	// 查询的起始时间。指定该参数后,返回的结果为此时间之后的所有登录记录。时间格式如:“2016-08-20T21:11Z”。终止时间不为空时,起始时间为必填参数。类型查询优先于时间查询。类型查询和时间查询必须有一个存在。
	StartTime *string `json:"start_time,omitempty"`

	// 查询的结束时间。指定该参数后,返回的结果为此时间之前的所有登录记录。时间格式如:“2016-08-20T21:11Z”。起始时间不为空时,终止时间为必填参数。类型查询优先于时间查询。类型查询和时间查询必须有一个存在。
	EndTime *string `json:"end_time,omitempty"`

	// 查询类型,类型查询优先于时间查询。类型查询和时间查询必须有一个存在。 -MONTH:按月查询。 -WEEK:按周查询。 -DAY:按天查询。
	QueryType *string `json:"query_type,omitempty"`
}

ListHistoryOnlineInfoNewRequest Request Object

func (ListHistoryOnlineInfoNewRequest) String

type ListHistoryOnlineInfoNewResponse

type ListHistoryOnlineInfoNewResponse struct {

	// 返回前端历史登录信息。查询的时间和计数之间用冒号分隔。查询的时间,按Day查询或时间段在同一天时,按小时计数,其他场景为按天计数。
	TimeCounts     *[]string `json:"time_counts,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListHistoryOnlineInfoNewResponse Response Object

func (ListHistoryOnlineInfoNewResponse) String

type ListImagesRequest

type ListImagesRequest struct {

	// 产品镜像的操作系统类型,如Windows。
	OsType *string `json:"os_type,omitempty"`

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

	// 镜像系统类型,如Windows。
	Platform *string `json:"platform,omitempty"`

	// 镜像架构:x86。
	Architecture *string `json:"architecture,omitempty"`

	// 套餐系列
	PackageType *string `json:"package_type,omitempty"`

	// 每页数量,范围0-100,默认100。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,默认0。
	Offset *int32 `json:"offset,omitempty"`
}

ListImagesRequest Request Object

func (ListImagesRequest) String

func (o ListImagesRequest) String() string

type ListImagesResponse

type ListImagesResponse struct {

	// 云桌面支持的产品镜像列表。
	Images *[]ImageInfo `json:"images,omitempty"`

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

ListImagesResponse Response Object

func (ListImagesResponse) String

func (o ListImagesResponse) String() string

type ListItaSubJobsRequest

type ListItaSubJobsRequest struct {

	// 任务状态 - SUCCESS:成功。 - RUNNING:运行中。 - FAILED:失败。 - WAITING:等待。
	Status *string `json:"status,omitempty"`

	// 任务ID。
	JobId *string `json:"job_id,omitempty"`

	// 任务类型  - createDesktops:创建桌面任务。  - applyWorkspace:开通云桌面服务。  - cancelWorkspace:注销云桌面服务。  - expandVolumes:  扩容磁盘。  - addVolumes: 添加磁盘。
	JobType *string `json:"job_type,omitempty"`

	// 用于分页查询,取值范围0~1000,默认1000。
	Limit *int32 `json:"limit,omitempty"`

	// 用于分页查询,查询的起始记录序号,从0开始。
	Offset *int32 `json:"offset,omitempty"`
}

ListItaSubJobsRequest Request Object

func (ListItaSubJobsRequest) String

func (o ListItaSubJobsRequest) String() string

type ListItaSubJobsResponse

type ListItaSubJobsResponse struct {

	// 任务列表总数。
	TotalCount *int32 `json:"total_count,omitempty"`

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

ListItaSubJobsResponse Response Object

func (ListItaSubJobsResponse) String

func (o ListItaSubJobsResponse) String() string

type ListLoginRecordsNewRequest

type ListLoginRecordsNewRequest struct {

	// 查询的起始时间。指定该参数后,返回的结果为此时间之后的所有登录记录。时间格式如:“2016-08-20T21:11Z”。终止时间不为空时,起始时间为必填参数。
	StartTime *string `json:"start_time,omitempty"`

	// 查询的终止时间。指定该参数后,返回的结果为此时间之前的所有登录记录。时间格式如:“2016-08-20T21:11Z”。起始时间不为空时,终止时间为必填参数。
	EndTime *string `json:"end_time,omitempty"`

	// 登录桌面的用户名。
	UserName *string `json:"user_name,omitempty"`

	// 计算机名(操作系统信息中可见)。
	ComputerName *string `json:"computer_name,omitempty"`

	// 登录桌面的终端系统类型,当前支持:WI(云桌面客户端)。
	TerminalType *string `json:"terminal_type,omitempty"`

	// 用于分页查询,取值范围0-100,默认值20。
	Limit *string `json:"limit,omitempty"`

	// 用于分页查询,查询的起始记录序号,从0开始。
	Offset *string `json:"offset,omitempty"`
}

ListLoginRecordsNewRequest Request Object

func (ListLoginRecordsNewRequest) String

type ListLoginRecordsNewResponse

type ListLoginRecordsNewResponse struct {

	// 用户登录记录总数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 用户登录记录。
	Records        *[]Record `json:"records,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListLoginRecordsNewResponse Response Object

func (ListLoginRecordsNewResponse) String

type ListOtpDevicesByUserIdRequest

type ListOtpDevicesByUserIdRequest struct {

	// 用户ID。
	UserId string `json:"user_id"`
}

ListOtpDevicesByUserIdRequest Request Object

func (ListOtpDevicesByUserIdRequest) String

type ListOtpDevicesByUserIdResponse

type ListOtpDevicesByUserIdResponse struct {

	// otp设备。
	OtpDevices     *[]OtpDevice `json:"otp_devices,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListOtpDevicesByUserIdResponse Response Object

func (ListOtpDevicesByUserIdResponse) String

type ListProductsRequest

type ListProductsRequest struct {

	// 产品ID。
	ProductId *string `json:"product_id,omitempty"`

	// 可用分区。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 产品套餐的操作系统类型,当前支持:Windows、Linux。
	OsType *string `json:"os_type,omitempty"`

	// 周期套餐标识。0表示包周期,1表示按需。
	ChargeMode *string `json:"charge_mode,omitempty"`

	// 架构类型,当前支持:arm、x86。
	Architecture *string `json:"architecture,omitempty"`

	// 套餐系列。
	PackageType *string `json:"package_type,omitempty"`

	// 每页数量,范围0-100,默认100。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,默认0。
	Offset *int32 `json:"offset,omitempty"`
}

ListProductsRequest Request Object

func (ListProductsRequest) String

func (o ListProductsRequest) String() string

type ListProductsResponse

type ListProductsResponse struct {

	// 套餐所支持操作系统类型。请求参数有os_type时,才有此参数。
	OsType *string `json:"os_type,omitempty"`

	// 产品架构。请求参数有package_type=agile时,才有此参数。
	Architecture *string `json:"architecture,omitempty"`

	// 可用分区。请求参数有availability_zone时,才有此参数。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 产品列表。
	Products *[]ProductInfo `json:"products,omitempty"`

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

ListProductsResponse Response Object

func (ListProductsResponse) String

func (o ListProductsResponse) String() string

type ListTerminalsBindingDesktopsConfigRequest

type ListTerminalsBindingDesktopsConfigRequest struct {
}

ListTerminalsBindingDesktopsConfigRequest Request Object

func (ListTerminalsBindingDesktopsConfigRequest) String

type ListTerminalsBindingDesktopsConfigResponse

type ListTerminalsBindingDesktopsConfigResponse struct {

	// 绑定开关,只取值on或off
	TcBindSwitch   *ListTerminalsBindingDesktopsConfigResponseTcBindSwitch `json:"tc_bind_switch,omitempty"`
	HttpStatusCode int                                                     `json:"-"`
}

ListTerminalsBindingDesktopsConfigResponse Response Object

func (ListTerminalsBindingDesktopsConfigResponse) String

type ListTerminalsBindingDesktopsConfigResponseTcBindSwitch

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

func (ListTerminalsBindingDesktopsConfigResponseTcBindSwitch) MarshalJSON

func (*ListTerminalsBindingDesktopsConfigResponseTcBindSwitch) UnmarshalJSON

func (ListTerminalsBindingDesktopsConfigResponseTcBindSwitch) Value

type ListTerminalsBindingDesktopsRequest

type ListTerminalsBindingDesktopsRequest struct {

	// 桌面名。
	ComputerName *string `json:"computer_name,omitempty"`

	// mac地址。
	Mac *string `json:"mac,omitempty"`

	// 起始数。
	Offset int32 `json:"offset"`

	// 数量。
	Limit int32 `json:"limit"`

	// 是否只查询结果总条数
	CountOnly *bool `json:"count_only,omitempty"`
}

ListTerminalsBindingDesktopsRequest Request Object

func (ListTerminalsBindingDesktopsRequest) String

type ListTerminalsBindingDesktopsResponse

type ListTerminalsBindingDesktopsResponse struct {

	// MAC绑定VM信息列表
	BindList *[]TerminalsBindingDesktopsInfo `json:"bind_list,omitempty"`

	// 返回结果总条数
	TotalNum       *int32 `json:"total_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListTerminalsBindingDesktopsResponse Response Object

func (ListTerminalsBindingDesktopsResponse) String

type ListUnusedDesktopsRequest

type ListUnusedDesktopsRequest struct {

	// 从查询结果中的第几条数据开始返回,用于分页查询,取值范围0-2000,默认从0开始。
	Offset *int32 `json:"offset,omitempty"`

	// 查询结果中想要返回的信息条目数量,用于分页查询,取值范围0-2000,默认值1000。
	Limit *int32 `json:"limit,omitempty"`

	// 开始时间:由日期加时间组成,UTC格式,格式:yyyy-MM-ddTHH:mm:ss.SSSZ,若未输入,则查询现在到前一天的未使用的桌面。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间:由日期加时间组成,UTC格式,格式:yyyy-MM-ddTHH:mm:ss.SSSZ,若未输入,则查询现在到前一天的未使用的桌面。
	EndTime *string `json:"end_time,omitempty"`
}

ListUnusedDesktopsRequest Request Object

func (ListUnusedDesktopsRequest) String

func (o ListUnusedDesktopsRequest) String() string

type ListUnusedDesktopsResponse

type ListUnusedDesktopsResponse struct {

	// 指定时间段内未使用桌面列表。
	UnusedDesktops *[]UnusedDesktopInfo `json:"unused_desktops,omitempty"`

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

ListUnusedDesktopsResponse Response Object

func (ListUnusedDesktopsResponse) String

type ListUsedDesktopInfoReq

type ListUsedDesktopInfoReq struct {

	// 桌面id集合。
	DesktopIds *[]string `json:"desktop_ids,omitempty"`

	// 开始时间,格式:yyyy-MM-dd(UTC时间,不传查默认最近15天)最多查31天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间,格式:yyyy-MM-dd(UTC时间,不传查默认最近15天)最多查31天数据。
	EndTime *string `json:"end_time,omitempty"`

	// 若传桌面的用户名,则查询使用时间只有该用户的使用时间。
	DesktopUsername *string `json:"desktop_username,omitempty"`

	// 从查询结果中的第几条数据开始返回,用于分页查询,取值范围0-2000,默认从0开始。
	Offset *int32 `json:"offset,omitempty"`

	// 查询结果中想要返回的信息条目数量,用于分页查询,取值范围0-100,默认值100。
	Limit *int32 `json:"limit,omitempty"`
}

ListUsedDesktopInfoReq 查询使用桌面时长请求。

func (ListUsedDesktopInfoReq) String

func (o ListUsedDesktopInfoReq) String() string

type ListUsedDesktopInfoRequest

type ListUsedDesktopInfoRequest struct {
	Body *ListUsedDesktopInfoReq `json:"body,omitempty"`
}

ListUsedDesktopInfoRequest Request Object

func (ListUsedDesktopInfoRequest) String

type ListUsedDesktopInfoResponse

type ListUsedDesktopInfoResponse struct {

	// 桌面使用信息(以桌面Id划分)。
	DesktopUsedInfoList *[]DesktopUsedHoursInfo `json:"desktop_used_info_list,omitempty"`

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

ListUsedDesktopInfoResponse Response Object

func (ListUsedDesktopInfoResponse) String

type ListUserDetailRequest

type ListUserDetailRequest struct {

	// 用户ID。
	UserId string `json:"user_id"`
}

ListUserDetailRequest Request Object

func (ListUserDetailRequest) String

func (o ListUserDetailRequest) String() string

type ListUserDetailResponse

type ListUserDetailResponse struct {
	UserDetail     *UserDetail `json:"user_detail,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListUserDetailResponse Response Object

func (ListUserDetailResponse) String

func (o ListUserDetailResponse) String() string

type ListUserGroupsRequest

type ListUserGroupsRequest struct {

	// 用于分页查询,返回用户组数量限制。如果不指定或为0,则使用默认值100,从1开始,最大100。
	Limit *string `json:"limit,omitempty"`

	// 用于分页查询,查询的起始记录序号,从0开始,默认值0,必须与limit同时使用。
	Offset *string `json:"offset,omitempty"`

	// 用来匹配用户组的搜索关键字。例如根据组名模糊查询。
	Keyword *string `json:"keyword,omitempty"`
}

ListUserGroupsRequest Request Object

func (ListUserGroupsRequest) String

func (o ListUserGroupsRequest) String() string

type ListUserGroupsResponse

type ListUserGroupsResponse struct {

	// 满足条件的用户组总数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 用户组列表。
	UserGroups     *[]UserGroupInfo `json:"user_groups,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListUserGroupsResponse Response Object

func (ListUserGroupsResponse) String

func (o ListUserGroupsResponse) String() string

type ListUsersOfGroupRequest

type ListUsersOfGroupRequest struct {

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 用户组ID。
	GroupId string `json:"group_id"`

	// 用于分页查询,返回桌面数量限制。如果不指定或为0,默认1000,最大1000。
	Limit *string `json:"limit,omitempty"`

	// 用于分页查询,查询的起始记录序号,从0开始。
	Offset *string `json:"offset,omitempty"`
}

ListUsersOfGroupRequest Request Object

func (ListUsersOfGroupRequest) String

func (o ListUsersOfGroupRequest) String() string

type ListUsersOfGroupResponse

type ListUsersOfGroupResponse struct {

	// 组关联的用户列表。
	Users *[]UserInGroup `json:"users,omitempty"`

	// 用户列表中用户总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListUsersOfGroupResponse Response Object

func (ListUsersOfGroupResponse) String

func (o ListUsersOfGroupResponse) String() string

type ListUsersRequest

type ListUsersRequest struct {

	// 桌面用户名,长度范围为1-20,不能包含特殊字符,不能以数字开头。
	UserName *string `json:"user_name,omitempty"`

	// 用于分页查询,返回用户数量限制。如果不指定,则返回所有符合条件的用户。
	Limit *string `json:"limit,omitempty"`

	// 分页查询起始条数。
	Offset *string `json:"offset,omitempty"`

	// 用户描述查询,模糊匹配。
	Description *string `json:"description,omitempty"`

	// 激活类型,默认为用户激活。 * USER_ACTIVATE: 用户激活 * ADMIN_ACTIVATE: 管理员激活
	ActiveType *string `json:"active_type,omitempty"`
}

ListUsersRequest Request Object

func (ListUsersRequest) String

func (o ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {

	// 用户总数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 用户列表。
	Users          *[]User `json:"users,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListUsersResponse Response Object

func (ListUsersResponse) String

func (o ListUsersResponse) String() string

type ListWorkspacesRequest

type ListWorkspacesRequest struct {
}

ListWorkspacesRequest Request Object

func (ListWorkspacesRequest) String

func (o ListWorkspacesRequest) String() string

type ListWorkspacesResponse

type ListWorkspacesResponse struct {

	// 唯一标识ID。
	Id *string `json:"id,omitempty"`

	AdDomains *AdInfo `json:"ad_domains,omitempty"`

	// VPC ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// VPC名称。
	VpcName *string `json:"vpc_name,omitempty"`

	// 接入方式。 - INTERNET:表示互联网接入。 - DEDICATED:表示专线接入。 - BOTH:表示同时支持互联网接入和专线接入。
	AccessMode *string `json:"access_mode,omitempty"`

	// 专线接入网段,只有access_mode为“DEDICATED”或“BOTH”时才会返回该参数。
	DedicatedSubnets *string `json:"dedicated_subnets,omitempty"`

	// 专线接入地址,只有access_mode为“DEDICATED”或“BOTH”时才会返回该参数。
	DedicatedAccessAddress *string `json:"dedicated_access_address,omitempty"`

	// 互联网接入地址,只有access_mode为“INTERNET”或“BOTH”时才会返回该参数。
	InternetAccessAddress *string `json:"internet_access_address,omitempty"`

	// 互联网接入端口。
	InternetAccessPort *string `json:"internet_access_port,omitempty"`

	// 云办公服务的状态。 - PREPARING:准备开通。 - SUBSCRIBING:开通中。 - SUBSCRIBED:已开通。 - SUBSCRIPTION_FAILED:开通失败。 - DEREGISTERING:销户中。 - DEREGISTRATION_FAILED:销户失败。 - CLOSED:已销户未开通。
	Status *ListWorkspacesResponseStatus `json:"status,omitempty"`

	// 互联网和专线切换任务的状态。 - init: 初始化 - 开通服务后的初始状态。 - available: 可用 - 执行过任务且成功后恢复的正常状态。 - internetOpening: 开启中 - 开通互联网接入开启中。 - dedicatedOpening: 开启中 - 开通专线接入开启中。 - internetOpenFailed: 开启失败 - 开通互联网接入开启失败。 - dedicatedOpenFailed: 开启失败 - 开通专线接入开启失败。 - openSuccess: 开启成功 - 开通互联网接入成功。 - internetClosing: 关闭中 - 关闭互联网接入关闭中。 - dedicatedClosing: 关闭中 - 关闭专线接入关闭中。 - internetCloseFailed: 关闭失败 - 关闭互联网接入方式失败。 - dedicatedCloseFailed: 关闭失败 - 关闭专线接入方式失败。 - closeSuccess: 关闭成功 - 关闭接入方式成功。 - internetAccessPortModifying: 互联网接入端口修改中。 - internetAccessPortModifyFailed: 端口修改失败。
	AccessStatus *string `json:"access_status,omitempty"`

	// 业务子网,可以指定返回的网络ID订购桌面。
	SubnetIds *[]SubnetInfo `json:"subnet_ids,omitempty"`

	// 管理组件的子网网段。
	ManagementSubnetCidr *string `json:"management_subnet_cidr,omitempty"`

	InfrastructureSecurityGroup *SecurityGroup `json:"infrastructure_security_group,omitempty"`

	DesktopSecurityGroup *SecurityGroup `json:"desktop_security_group,omitempty"`

	// 是否可以取消服务。
	Closable *bool `json:"closable,omitempty"`

	// 配置状态。 - \"0\": 开通服务成功,且对接AD成功。 - \"1\": 开通服务成功,但AD配置失败。 - \"2\": 开通服务成功,但AD配置失败后存在其他错误。 - \"3\": 开通服务成功,AD未开启对接。
	ConfigStatus *string `json:"config_status,omitempty"`

	// 开通服务或注销服务的进度,格式为百分比,如:100%。
	Progress *string `json:"progress,omitempty"`

	// 开通服务或取消服务的任务ID。
	JobId *string `json:"job_id,omitempty"`

	// 失败错误码。
	FailCode *int32 `json:"fail_code,omitempty"`

	// 失败原因。
	FailReason *string `json:"fail_reason,omitempty"`

	// 企业ID。
	EnterpriseId *string `json:"enterprise_id,omitempty"`

	// 桌面退订是否发送邮件通知。
	IsSendEmail    *bool `json:"is_send_email,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ListWorkspacesResponse Response Object

func (ListWorkspacesResponse) String

func (o ListWorkspacesResponse) String() string

type ListWorkspacesResponseStatus

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

func (ListWorkspacesResponseStatus) MarshalJSON

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

func (*ListWorkspacesResponseStatus) UnmarshalJSON

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

func (ListWorkspacesResponseStatus) Value

type ListWorkspacesResponseStatusEnum

type ListWorkspacesResponseStatusEnum struct {
	PREPARING             ListWorkspacesResponseStatus
	SUBSCRIBING           ListWorkspacesResponseStatus
	SUBSCRIBED            ListWorkspacesResponseStatus
	SUBSCRIPTION_FAILED   ListWorkspacesResponseStatus
	DEREGISTERING         ListWorkspacesResponseStatus
	DEREGISTRATION_FAILED ListWorkspacesResponseStatus
	CLOSED                ListWorkspacesResponseStatus
}

func GetListWorkspacesResponseStatusEnum

func GetListWorkspacesResponseStatusEnum() ListWorkspacesResponseStatusEnum

type LogoffDesktopsReq

type LogoffDesktopsReq struct {

	// 计算机id列表。
	DesktopIds *[]string `json:"desktop_ids,omitempty"`

	// 下发注销桌面任务时,给用户发送的提示信息。
	Message *string `json:"message,omitempty"`
}

LogoffDesktopsReq 注销桌面的请求。

func (LogoffDesktopsReq) String

func (o LogoffDesktopsReq) String() string

type ModifyWorkspaceAttributesReq

type ModifyWorkspaceAttributesReq struct {
	AdInfo *AdDomainInfo `json:"ad_info,omitempty"`

	AdDomains *AdDomain `json:"ad_domains,omitempty"`

	// 接入模式。 - INTERNET:互联网接入。 - DEDICATED:专线接入。 - BOTH:代表两种接入方式都支持。
	AccessMode *ModifyWorkspaceAttributesReqAccessMode `json:"access_mode,omitempty"`

	// 专线接入网段列表,多个网段信息用分号隔开,列表长度不超过5。
	DedicatedSubnets *string `json:"dedicated_subnets,omitempty"`

	// 子网的网络ID列表。
	SubnetIds *[]string `json:"subnet_ids,omitempty"`

	// 互联网接入端口。
	InternetAccessPort *string `json:"internet_access_port,omitempty"`

	// 企业ID。
	EnterpriseId *string `json:"enterprise_id,omitempty"`

	// 桌面退订是否发送邮件通知。
	IsSendEmail *bool `json:"is_send_email,omitempty"`
}

func (ModifyWorkspaceAttributesReq) String

type ModifyWorkspaceAttributesReqAccessMode

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

func (ModifyWorkspaceAttributesReqAccessMode) MarshalJSON

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

func (*ModifyWorkspaceAttributesReqAccessMode) UnmarshalJSON

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

func (ModifyWorkspaceAttributesReqAccessMode) Value

type Nic

type Nic struct {

	// 网卡对应的子网ID。
	SubnetId string `json:"subnet_id"`
}

func (Nic) String

func (o Nic) String() string

type OperateUserReq

type OperateUserReq struct {

	// 操作类型,可选值为: - LOCK:锁定用户。 - UNLOCK:解锁用户。 - RESET_PWD:重置用户密码。
	OpType OperateUserReqOpType `json:"op_type"`
}

func (OperateUserReq) String

func (o OperateUserReq) String() string

type OperateUserReqOpType

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

func (OperateUserReqOpType) MarshalJSON

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

func (*OperateUserReqOpType) UnmarshalJSON

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

func (OperateUserReqOpType) Value

func (c OperateUserReqOpType) Value() string

type OperateUserReqOpTypeEnum

type OperateUserReqOpTypeEnum struct {
	LOCK      OperateUserReqOpType
	UNLOCK    OperateUserReqOpType
	RESET_PWD OperateUserReqOpType
}

func GetOperateUserReqOpTypeEnum

func GetOperateUserReqOpTypeEnum() OperateUserReqOpTypeEnum

type OtpConfigInfo

type OtpConfigInfo struct {

	// 是否启用
	Enable *bool `json:"enable,omitempty"`

	ReceiveMode *ReceiveModeEnum `json:"receive_mode,omitempty"`

	// 辅助认证服务器地址
	AuthUrl *string `json:"auth_url,omitempty"`

	// 认证服务接入账号
	AppId *string `json:"app_id,omitempty"`

	// 认证服务接入密码
	AppSecret *string `json:"app_secret,omitempty"`

	AuthServerAccessMode *AuthServerAccessMode `json:"auth_server_access_mode,omitempty"`

	// pem格式证书内容
	CertContent *string `json:"cert_content,omitempty"`

	ApplyRule *ApplyRuleInfo `json:"apply_rule,omitempty"`
}

OtpConfigInfo OTP辅助认证方式配置

func (OtpConfigInfo) String

func (o OtpConfigInfo) String() string

type OtpDevice

type OtpDevice struct {

	// 用户otp 信息id。
	Id *string `json:"id,omitempty"`

	// 用户id。
	UserId *string `json:"user_id,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 用户otp设备状态 UNREGISTER: 未绑定 REGISTERED:已绑定
	Status *OtpDeviceStatus `json:"status,omitempty"`

	// 用户otp设备绑定时间。
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

func (OtpDevice) String

func (o OtpDevice) String() string

type OtpDeviceStatus

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

func (OtpDeviceStatus) MarshalJSON

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

func (*OtpDeviceStatus) UnmarshalJSON

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

func (OtpDeviceStatus) Value

func (c OtpDeviceStatus) Value() string

type OtpDeviceStatusEnum

type OtpDeviceStatusEnum struct {
	UNREGISTER OtpDeviceStatus
	REGISTERED OtpDeviceStatus
}

func GetOtpDeviceStatusEnum

func GetOtpDeviceStatusEnum() OtpDeviceStatusEnum

type ProductDetailInfo

type ProductDetailInfo struct {

	// 产品ID。
	ProductId *string `json:"product_id,omitempty"`

	// 产品规格ID。
	FlavorId *string `json:"flavor_id,omitempty"`

	// 产品类型。  - BASE:表示产品基础套餐,套餐镜像中不包括除操作系统之外的其他商业软件,私有镜像场景只能使用此类套餐。
	Type *string `json:"type,omitempty"`

	// CPU
	Cpu *string `json:"cpu,omitempty"`

	// 内存。
	Memory *string `json:"memory,omitempty"`

	// 产品描述。
	Descriptions *string `json:"descriptions,omitempty"`

	// 周期套餐标识,0表示包周期,1表示按需。
	ChargeMode *string `json:"charge_mode,omitempty"`
}

func (ProductDetailInfo) String

func (o ProductDetailInfo) String() string

type ProductInfo

type ProductInfo struct {

	// 产品id。
	ProductId *string `json:"product_id,omitempty"`

	// 规格ID。
	FlavorId *string `json:"flavor_id,omitempty"`

	// 产品类型。取值为: BASE:表示产品基础套餐,套餐镜像中不包括除操作系统之外的其他商业软件,私有镜像场景只能使用此类套餐。
	Type *string `json:"type,omitempty"`

	// 产品架构,当前支持:arm、x86。
	Architecture *string `json:"architecture,omitempty"`

	// cpu。
	Cpu *string `json:"cpu,omitempty"`

	// cpu描述。
	CpuDesc *string `json:"cpu_desc,omitempty"`

	// 内存。
	Memory *string `json:"memory,omitempty"`

	// 是否是GPU类型的规格。
	IsGpu *bool `json:"is_gpu,omitempty"`

	// 系统盘类型。
	SystemDiskType *string `json:"system_disk_type,omitempty"`

	// 系统盘大小,单位GB。
	SystemDiskSize *string `json:"system_disk_size,omitempty"`

	// GPU描述。
	GpuDesc *string `json:"gpu_desc,omitempty"`

	// 话单开关,默认on,on-出话单模式,off-关话单模式,只支持反序列化,不支持序列化,不在接口中展示。
	BillSwitch *string `json:"bill_switch,omitempty"`

	// 产品描述。
	Descriptions *string `json:"descriptions,omitempty"`

	// 周期套餐标识。0表示包周期,1表示按需。
	ChargeMode *string `json:"charge_mode,omitempty"`

	// 套餐计费是否包含了数据盘,off-不包含。
	ContainDataDisk *bool `json:"contain_data_disk,omitempty"`

	// 资源规格。
	ResourceType *string `json:"resource_type,omitempty"`

	// 云服务编码。
	CloudServiceType *string `json:"cloud_service_type,omitempty"`

	// 磁盘产品类型。
	VolumeProductType *string `json:"volume_product_type,omitempty"`

	// 该产品套餐支持的专有域id(domainId)。
	DomainIds *[]string `json:"domain_ids,omitempty"`

	// 产品状态,normal:正常、sellout:售空、abandon:下线。
	Status *string `json:"status,omitempty"`

	// 专属主机的子产品。
	SubProductList *[]string `json:"sub_product_list,omitempty"`
}

func (ProductInfo) String

func (o ProductInfo) String() string

type QuotaNoLimit

type QuotaNoLimit struct {

	// 配额资源列表
	Resources []ResourceNoLimit `json:"resources"`
}

QuotaNoLimit 租户配额对象,不包含最大值和最小值。

func (QuotaNoLimit) String

func (o QuotaNoLimit) String() string

type ReceiveModeEnum

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

ReceiveModeEnum 验证码接收模式 VMFA:虚拟MFA设备 HMFA:硬件MFA设备

func (ReceiveModeEnum) MarshalJSON

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

func (*ReceiveModeEnum) UnmarshalJSON

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

func (ReceiveModeEnum) Value

func (c ReceiveModeEnum) Value() string

type ReceiveModeEnumEnum

type ReceiveModeEnumEnum struct {
	VMFA ReceiveModeEnum
	HMFA ReceiveModeEnum
}

func GetReceiveModeEnumEnum

func GetReceiveModeEnumEnum() ReceiveModeEnumEnum

type Record

type Record struct {

	// 计算机名。
	ComputerName *string `json:"computer_name,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 终端MAC地址。
	TerminalMac *string `json:"terminal_mac,omitempty"`

	// 终端名称。
	TerminalName *string `json:"terminal_name,omitempty"`

	// 终端IP。
	TerminalIp *string `json:"terminal_ip,omitempty"`

	// AccessClient版本。
	ClientVersion *string `json:"client_version,omitempty"`

	// 终端系统类型。
	TerminalType *string `json:"terminal_type,omitempty"`

	// AccessAgent版本。
	AgentVersion *string `json:"agent_version,omitempty"`

	// 桌面IP。
	DesktopIp *string `json:"desktop_ip,omitempty"`

	// 开始连接时间。
	ConnectionStartTime *string `json:"connection_start_time,omitempty"`

	// 建立连接时间。
	ConnectionSetupTime *string `json:"connection_setup_time,omitempty"`

	// 结束连接时间。
	ConnectionEndTime *string `json:"connection_end_time,omitempty"`

	// 是否重连。
	IsReconnect *bool `json:"is_reconnect,omitempty"`

	// 连接失败原因。
	ConnectionFailureReason *string `json:"connection_failure_reason,omitempty"`
}

func (Record) String

func (o Record) String() string

type ResetRandomPasswordRequest

type ResetRandomPasswordRequest struct {

	// 用户ID。
	UserId string `json:"user_id"`

	// 通知用户类型,现在有“email”和“phone”两种,用\",\"分开,用户为用户激活模式时必须要带上通知类型,以便接收到密码通知。
	NotificationType *string `json:"notification_type,omitempty"`
}

ResetRandomPasswordRequest Request Object

func (ResetRandomPasswordRequest) String

type ResetRandomPasswordResponse

type ResetRandomPasswordResponse struct {

	// 密码。
	Password       *string `json:"password,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ResetRandomPasswordResponse Response Object

func (ResetRandomPasswordResponse) String

type ResizeDesktopData

type ResizeDesktopData struct {

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`
}

ResizeDesktopData 变更规格的桌面对象。

func (ResizeDesktopData) String

func (o ResizeDesktopData) String() string

type ResizeDesktopJobResponse

type ResizeDesktopJobResponse struct {

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 任务ID。
	JobId *string `json:"job_id,omitempty"`
}

ResizeDesktopJobResponse 变更桌面规格Job响应。

func (ResizeDesktopJobResponse) String

func (o ResizeDesktopJobResponse) String() string

type ResizeDesktopReq

type ResizeDesktopReq struct {

	// 桌面数据。支持批量按需类型桌面变更为同一规格。
	Desktops []ResizeDesktopData `json:"desktops"`

	// 套餐id。批量变更时,则变更为同一规格的虚拟机。
	ProductId string `json:"product_id"`

	// 是否支持开机状态下执行变更规格操作。固定传值STOP_DESKTOP,如果桌面处于开机状态,会先关机再变更规格。
	Mode string `json:"mode"`
}

ResizeDesktopReq 变更规格请求。

func (ResizeDesktopReq) String

func (o ResizeDesktopReq) String() string

type ResizeDesktopRequest

type ResizeDesktopRequest struct {
	Body *ResizeDesktopReq `json:"body,omitempty"`
}

ResizeDesktopRequest Request Object

func (ResizeDesktopRequest) String

func (o ResizeDesktopRequest) String() string

type ResizeDesktopResponse

type ResizeDesktopResponse struct {

	// 按需桌面变更规格返回的任务信息(jobs字段后续会下线,请使用job_id字段)。
	Jobs *[]ResizeDesktopJobResponse `json:"jobs,omitempty"`

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

ResizeDesktopResponse Response Object

func (ResizeDesktopResponse) String

func (o ResizeDesktopResponse) String() string

type ResourceNoLimit

type ResourceNoLimit struct {

	// 资源类别。 general_instances:普通桌面 Memory:内存 cores:CPU volumes:磁盘数量 volume_gigabytes:磁盘容量 gpu_instances:GPU桌面 deh:云办公主机 users:用户 policy_groups: 策略组 Cores: CPU(配额工具使用)
	Type *string `json:"type,omitempty"`

	// 配额数
	Quota *int32 `json:"quota,omitempty"`

	// 配额已用值
	Used *int32 `json:"used,omitempty"`

	// 配额单位
	Unit *string `json:"unit,omitempty"`
}

ResourceNoLimit 配额资源,不包含最大最小限制值。

func (ResourceNoLimit) String

func (o ResourceNoLimit) String() string

type RunActionsOnGroupRequest

type RunActionsOnGroupRequest struct {

	// 桌面用户组ID。
	GroupId string `json:"group_id"`

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

RunActionsOnGroupRequest Request Object

func (RunActionsOnGroupRequest) String

func (o RunActionsOnGroupRequest) String() string

type RunActionsOnGroupResponse

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

RunActionsOnGroupResponse Response Object

func (RunActionsOnGroupResponse) String

func (o RunActionsOnGroupResponse) String() string

type SecurityGroup

type SecurityGroup struct {

	// 安全组ID。
	Id string `json:"id"`

	// 安全组名称。
	Name *string `json:"name,omitempty"`
}

SecurityGroup 安全组。

func (SecurityGroup) String

func (o SecurityGroup) String() string

type SecurityGroupInfo

type SecurityGroupInfo struct {

	// 安全组ID。
	Id string `json:"id"`
}

func (SecurityGroupInfo) String

func (o SecurityGroupInfo) String() string

type ShowAssistAuthConfigRequest

type ShowAssistAuthConfigRequest struct {
}

ShowAssistAuthConfigRequest Request Object

func (ShowAssistAuthConfigRequest) String

type ShowAssistAuthConfigResponse

type ShowAssistAuthConfigResponse struct {
	OtpConfigInfo  *OtpConfigInfo `json:"otp_config_info,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowAssistAuthConfigResponse Response Object

func (ShowAssistAuthConfigResponse) String

type ShowDesktopDetailRequest

type ShowDesktopDetailRequest struct {

	// 桌面ID。
	DesktopId string `json:"desktop_id"`
}

ShowDesktopDetailRequest Request Object

func (ShowDesktopDetailRequest) String

func (o ShowDesktopDetailRequest) String() string

type ShowDesktopDetailResponse

type ShowDesktopDetailResponse struct {
	Desktop        *DesktopDetailInfo `json:"desktop,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ShowDesktopDetailResponse Response Object

func (ShowDesktopDetailResponse) String

func (o ShowDesktopDetailResponse) String() string

type ShowQuotasRequest

type ShowQuotasRequest struct {
}

ShowQuotasRequest Request Object

func (ShowQuotasRequest) String

func (o ShowQuotasRequest) String() string

type ShowQuotasResponse

type ShowQuotasResponse struct {
	Quotas *QuotaNoLimit `json:"quotas,omitempty"`

	// 站点配额信息,暂不包括中心站点
	SiteQuotas     *[]SiteQuotaNoLimit `json:"site_quotas,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ShowQuotasResponse Response Object

func (ShowQuotasResponse) String

func (o ShowQuotasResponse) String() string

type ShowWorkspaceLockRequest

type ShowWorkspaceLockRequest struct {
}

ShowWorkspaceLockRequest Request Object

func (ShowWorkspaceLockRequest) String

func (o ShowWorkspaceLockRequest) String() string

type ShowWorkspaceLockResponse

type ShowWorkspaceLockResponse struct {

	// 云办公服务是否被锁定,0代表未锁定,1代表锁定。
	IsLock *int32 `json:"is_lock,omitempty"`

	// 云办公服务锁定时间,格式:yyyy-MM-dd HH:mm:ss,时区:UTC。
	LockTime *string `json:"lock_time,omitempty"`

	// 云办公服务锁定原因。
	LockReason     *string `json:"lock_reason,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowWorkspaceLockResponse Response Object

func (ShowWorkspaceLockResponse) String

func (o ShowWorkspaceLockResponse) String() string

type SimpleDesktopInfo

type SimpleDesktopInfo struct {

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 桌面名。
	ComputerName *string `json:"computer_name,omitempty"`

	// 创建时间。
	Created *string `json:"created,omitempty"`

	// 桌面ip地址。
	IpAddress *string `json:"ip_address,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 权限组。
	UserGroup *string `json:"user_group,omitempty"`

	// 桌面的SID信息。
	Sid *string `json:"sid,omitempty"`

	// ou名称。
	OuName *string `json:"ou_name,omitempty"`
}

func (SimpleDesktopInfo) String

func (o SimpleDesktopInfo) String() string

type SimpleProduct

type SimpleProduct struct {

	// 产品ID。
	ProductId *string `json:"product_id,omitempty"`

	// 产品规格ID。
	FlavorId *string `json:"flavor_id,omitempty"`

	// 产品类型。  - BASE:表示产品基础套餐,套餐镜像中不包括除操作系统之外的其他商业软件,私有镜像场景只能使用此类套餐。
	Type *string `json:"type,omitempty"`

	// CPU
	Cpu *string `json:"cpu,omitempty"`

	// 内存。
	Memory *string `json:"memory,omitempty"`

	// 产品描述。
	Descriptions *string `json:"descriptions,omitempty"`

	// 周期套餐标识,0表示包周期,1表示按需。
	ChargeMode *string `json:"charge_mode,omitempty"`
}

SimpleProduct 产品信息。

func (SimpleProduct) String

func (o SimpleProduct) String() string

type SimpleResource

type SimpleResource struct {

	// 资源类别。 general_instances:普通桌面 Memory:内存 cores:CPU volumes:磁盘数量 volume_gigabytes:磁盘容量 gpu_instances:GPU桌面 deh:云办公主机 users:用户 policy_groups: 策略组 Cores: CPU(配额工具使用)
	Type *string `json:"type,omitempty"`

	// 配额数
	Quota *int32 `json:"quota,omitempty"`

	// 配额已用值
	Used *int32 `json:"used,omitempty"`
}

SimpleResource 简单配额资源。

func (SimpleResource) String

func (o SimpleResource) String() string

type SimpleResourceNoUsed

type SimpleResourceNoUsed struct {

	// 资源类别。 general_instances:普通桌面 Memory:内存 cores:CPU volumes:磁盘数量 volume_gigabytes:磁盘容量 gpu_instances:GPU桌面 deh:云办公主机 users:用户 policy_groups: 策略组 Cores: CPU(配额工具使用)
	Type *string `json:"type,omitempty"`

	// 配额数
	Quota *int32 `json:"quota,omitempty"`
}

SimpleResourceNoUsed 简单配额资源,没有已使用值。

func (SimpleResourceNoUsed) String

func (o SimpleResourceNoUsed) String() string

type SiteQuotaNoLimit

type SiteQuotaNoLimit struct {

	// 配额资源列表
	Resources []ResourceNoLimit `json:"resources"`

	// 站点ID
	SiteId *string `json:"site_id,omitempty"`
}

SiteQuotaNoLimit 单个站点的配额

func (SiteQuotaNoLimit) String

func (o SiteQuotaNoLimit) String() string

type SoldOutInfo

type SoldOutInfo struct {

	// 售罄产品ID列表。
	Products *[]string `json:"products,omitempty"`
}

SoldOutInfo 售罄信息。

func (SoldOutInfo) String

func (o SoldOutInfo) String() string

type Subnet

type Subnet struct {

	// 子网的网络ID。
	SubnetId string `json:"subnet_id"`
}

func (Subnet) String

func (o Subnet) String() string

type SubnetInfo

type SubnetInfo struct {

	// 子网的网络ID。
	SubnetId *string `json:"subnet_id,omitempty"`
}

SubnetInfo 子网信息。

func (SubnetInfo) String

func (o SubnetInfo) String() string

type Tag

type Tag struct {

	// 标签的键,不能为空,最大长度128个unicode字符。大小写字母,数字,可以包含中划线“-”,下划线“_”,不能包含以下字符“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。
	Key string `json:"key"`

	// 标签的值,最大长度43个unicode字符。大小写字母,数字,可以包含中划线“-”,下划线“_”,不能包含以下字符“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。
	Value *string `json:"value,omitempty"`
}

Tag 标签

func (Tag) String

func (o Tag) String() string

type TerminalsBindingDesktopsConfig

type TerminalsBindingDesktopsConfig struct {

	// 绑定开关,只取值on或off
	TcBindSwitch TerminalsBindingDesktopsConfigTcBindSwitch `json:"tc_bind_switch"`
}

func (TerminalsBindingDesktopsConfig) String

type TerminalsBindingDesktopsConfigTcBindSwitch

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

func (TerminalsBindingDesktopsConfigTcBindSwitch) MarshalJSON

func (*TerminalsBindingDesktopsConfigTcBindSwitch) UnmarshalJSON

func (TerminalsBindingDesktopsConfigTcBindSwitch) Value

type TerminalsBindingDesktopsInfo

type TerminalsBindingDesktopsInfo struct {

	// MAC绑定策略ID
	Id *string `json:"id,omitempty"`

	// 终端MAC地址
	Mac *string `json:"mac,omitempty"`

	// 虚拟机名称
	DesktopName *string `json:"desktop_name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`
}

func (TerminalsBindingDesktopsInfo) String

type TlsConfig

type TlsConfig struct {

	// pem内容, 有则更新,无则上传。查询不返回。
	CertPem *string `json:"cert_pem,omitempty"`

	// 证书生效开始时间,时间参考样例 2022-01-25T09:24:27。
	CertStartTime *string `json:"cert_start_time,omitempty"`

	// 证书生效截止时间,时间参考样例 2022-01-25T09:24:27。
	CertEndTime *string `json:"cert_end_time,omitempty"`
}

TlsConfig TLS信息。

func (TlsConfig) String

func (o TlsConfig) String() string

type UnlockWorkspaceRequest

type UnlockWorkspaceRequest struct {
	Body *UnlockWorkspaceRequestBody `json:"body,omitempty"`
}

UnlockWorkspaceRequest Request Object

func (UnlockWorkspaceRequest) String

func (o UnlockWorkspaceRequest) String() string

type UnlockWorkspaceRequestBody

type UnlockWorkspaceRequestBody struct {

	// 解除项目锁定操作类型。
	OperateType *string `json:"operate_type,omitempty"`
}

UnlockWorkspaceRequestBody 解除云办公服务锁定状态请求。

func (UnlockWorkspaceRequestBody) String

type UnlockWorkspaceResponse

type UnlockWorkspaceResponse struct {

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

UnlockWorkspaceResponse Response Object

func (UnlockWorkspaceResponse) String

func (o UnlockWorkspaceResponse) String() string

type UnusedDesktopInfo

type UnusedDesktopInfo struct {

	// 桌面id。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 桌面名称。
	ComputeName *string `json:"compute_name,omitempty"`

	// 桌面创建时间。
	CreateTime *string `json:"create_time,omitempty"`

	// 最近一次断连时间。
	DisconnectTime *string `json:"disconnect_time,omitempty"`
}

UnusedDesktopInfo 未使用的桌面信息。

func (UnusedDesktopInfo) String

func (o UnusedDesktopInfo) String() string

type UpdateAccessPolicyObjectsReq

type UpdateAccessPolicyObjectsReq struct {

	// 更新策略应用对象列表请求。
	PolicyObjectsList *[]AccessPolicyObjectInfo `json:"policy_objects_list,omitempty"`
}

func (UpdateAccessPolicyObjectsReq) String

type UpdateAccessPolicyObjectsRequest

type UpdateAccessPolicyObjectsRequest struct {

	// 接入策略id。
	AccessPolicyId string `json:"access_policy_id"`

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

UpdateAccessPolicyObjectsRequest Request Object

func (UpdateAccessPolicyObjectsRequest) String

type UpdateAccessPolicyObjectsResponse

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

UpdateAccessPolicyObjectsResponse Response Object

func (UpdateAccessPolicyObjectsResponse) String

type UpdateAssistAuthMethodConfigRequest

type UpdateAssistAuthMethodConfigRequest struct {
	Body *AssistAuthMethodConfigRequest `json:"body,omitempty"`
}

UpdateAssistAuthMethodConfigRequest Request Object

func (UpdateAssistAuthMethodConfigRequest) String

type UpdateAssistAuthMethodConfigResponse

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

UpdateAssistAuthMethodConfigResponse Response Object

func (UpdateAssistAuthMethodConfigResponse) String

type UpdateTerminalsBindingDesktopsConfigRequest

type UpdateTerminalsBindingDesktopsConfigRequest struct {
	Body *TerminalsBindingDesktopsConfig `json:"body,omitempty"`
}

UpdateTerminalsBindingDesktopsConfigRequest Request Object

func (UpdateTerminalsBindingDesktopsConfigRequest) String

type UpdateTerminalsBindingDesktopsConfigResponse

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

UpdateTerminalsBindingDesktopsConfigResponse Response Object

func (UpdateTerminalsBindingDesktopsConfigResponse) String

type UpdateTerminalsBindingDesktopsRequest

type UpdateTerminalsBindingDesktopsRequest struct {
	Body *UpdateTerminalsBindingDesktopsRequestBody `json:"body,omitempty"`
}

UpdateTerminalsBindingDesktopsRequest Request Object

func (UpdateTerminalsBindingDesktopsRequest) String

type UpdateTerminalsBindingDesktopsRequestBody

type UpdateTerminalsBindingDesktopsRequestBody struct {

	// 策略id
	Id string `json:"id"`

	// 终端MAC地址
	Mac string `json:"mac"`

	// 虚拟机名称
	DesktopName string `json:"desktop_name"`

	// 描述
	Description *string `json:"description,omitempty"`
}

func (UpdateTerminalsBindingDesktopsRequestBody) String

type UpdateTerminalsBindingDesktopsResponse

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

UpdateTerminalsBindingDesktopsResponse Response Object

func (UpdateTerminalsBindingDesktopsResponse) String

type UpdateUserGroupRequest

type UpdateUserGroupRequest struct {

	// 桌面用户组ID。
	GroupId string `json:"group_id"`

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

UpdateUserGroupRequest Request Object

func (UpdateUserGroupRequest) String

func (o UpdateUserGroupRequest) String() string

type UpdateUserGroupResponse

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

UpdateUserGroupResponse Response Object

func (UpdateUserGroupResponse) String

func (o UpdateUserGroupResponse) String() string

type UpdateUserInfoRequest

type UpdateUserInfoRequest struct {

	// 用户ID。
	UserId string `json:"user_id"`

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

UpdateUserInfoRequest Request Object

func (UpdateUserInfoRequest) String

func (o UpdateUserInfoRequest) String() string

type UpdateUserInfoResponse

type UpdateUserInfoResponse struct {

	// 用户id。
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateUserInfoResponse Response Object

func (UpdateUserInfoResponse) String

func (o UpdateUserInfoResponse) String() string

type UpdateWorkspaceRequest

type UpdateWorkspaceRequest struct {
	Body *ModifyWorkspaceAttributesReq `json:"body,omitempty"`
}

UpdateWorkspaceRequest Request Object

func (UpdateWorkspaceRequest) String

func (o UpdateWorkspaceRequest) String() string

type UpdateWorkspaceResponse

type UpdateWorkspaceResponse struct {

	// 修改云办公服务属性的任务ID
	JobId *string `json:"job_id,omitempty"`

	// 企业ID
	EnterpriseId   *string `json:"enterprise_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateWorkspaceResponse Response Object

func (UpdateWorkspaceResponse) String

func (o UpdateWorkspaceResponse) String() string

type User

type User struct {

	// 用户ID。
	Id *string `json:"id,omitempty"`

	// 桌面用户名。
	UserName *string `json:"user_name,omitempty"`

	// 用户邮箱。
	UserEmail *string `json:"user_email,omitempty"`

	// 用户绑定桌面云总数。
	TotalDesktops *int32 `json:"total_desktops,omitempty"`

	// 手机号。
	UserPhone *string `json:"user_phone,omitempty"`

	// 激活类型,默认为用户激活。 * USER_ACTIVATE: 用户激活 * ADMIN_ACTIVATE: 管理员激活
	ActiveType *UserActiveType `json:"active_type,omitempty"`

	// 是不是预创建的用户。
	IsPreUser *bool `json:"is_pre_user,omitempty"`

	// 账户过期时间,0表示永远不过期。
	AccountExpires *string `json:"account_expires,omitempty"`

	// 密码是否永不过期,true表示密码永不过期,false表示密码会过期。
	PasswordNeverExpired *bool `json:"password_never_expired,omitempty"`

	// 帐号是否过期,true表示已过期,false表示未过期。
	AccountExpired *bool `json:"account_expired,omitempty"`

	// 是否允许修改密码,true表示允许,false表示不允许。
	EnableChangePassword *bool `json:"enable_change_password,omitempty"`

	// 下次登录是否需要重置密码,true表示需要重置密码,false表示不需要。
	NextLoginChangePassword *bool `json:"next_login_change_password,omitempty"`

	// 用户描述。
	Description *string `json:"description,omitempty"`

	// 账户是否被锁定,true表示被锁定,false表示未锁定。
	Locked *bool `json:"locked,omitempty"`

	// 账户是否禁用,true表示被禁用,false表示未禁用。
	Disabled *bool `json:"disabled,omitempty"`
}

func (User) String

func (o User) String() string

type UserActiveType

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

func (UserActiveType) MarshalJSON

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

func (*UserActiveType) UnmarshalJSON

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

func (UserActiveType) Value

func (c UserActiveType) Value() string

type UserActiveTypeEnum

type UserActiveTypeEnum struct {
	USER_ACTIVATE  UserActiveType
	ADMIN_ACTIVATE UserActiveType
}

func GetUserActiveTypeEnum

func GetUserActiveTypeEnum() UserActiveTypeEnum

type UserDetail

type UserDetail struct {

	// 用户描述。
	Description *string `json:"description,omitempty"`

	// 用户id。
	Id *string `json:"id,omitempty"`

	// 桌面用户名。
	UserName *string `json:"user_name,omitempty"`

	// 用户邮箱。
	UserEmail *string `json:"user_email,omitempty"`

	// 手机号。
	UserPhone *string `json:"user_phone,omitempty"`

	// 激活类型,默认为用户激活。 * USER_ACTIVATE: 用户激活 * ADMIN_ACTIVATE: 管理员激活
	ActiveType *UserDetailActiveType `json:"active_type,omitempty"`

	// 用户sid。
	ObjectSid *string `json:"object_sid,omitempty"`

	// 登录名(windows以前版本)。
	SamAccountName *string `json:"sam_account_name,omitempty"`

	// 用户登录名。
	UserPrincipalName *string `json:"user_principal_name,omitempty"`

	// 全名。
	FullName *string `json:"full_name,omitempty"`

	// 用户在域树上的唯一位置。
	DistinguishedName *string `json:"distinguished_name,omitempty"`

	// 帐号类型(0:用户;1:用户组)。
	AccountType *int32 `json:"account_type,omitempty"`

	// UTC时间毫秒数对应的字符,格式为:yyyy-MM-ddTHH:mm:ss.SSSZ。
	WhenCreated *string `json:"when_created,omitempty"`

	// 账号有效期最后一天对应的UTC时间,以毫秒为单位。
	AccountExpires *int64 `json:"account_expires,omitempty"`

	// 是否是预创建的用户,true表示是预创建用户,false表示不是预创建用户
	IsPreUser *bool `json:"is_pre_user,omitempty"`

	// 账户是否过期,true表示过期,false表示未过期。
	UserExpired *bool `json:"user_expired,omitempty"`

	// 账户是否被锁定,true表示被锁定,false表示未锁定。
	Locked *bool `json:"locked,omitempty"`

	// 是否允许修改密码,true表示允许修改密码,false表示不允许。
	EnabledChangePassword *bool `json:"enabled_change_password,omitempty"`

	// 密码是否永不过期,true表示密码永不过期,false表示密码会过期。
	PasswordNeverExpired *bool `json:"password_never_expired,omitempty"`

	// 下次登录是否需要重置密码,true表示需要重置密码,false表示不需要。
	NextLoginChangePassword *bool `json:"next_login_change_password,omitempty"`

	// 账户是否禁用,true表示被禁用,false表示未禁用。
	Disabled *bool `json:"disabled,omitempty"`

	// 加入的组列表。
	GroupNames *[]string `json:"group_names,omitempty"`

	// 用户绑定桌面云总数。
	TotalDesktops *int32 `json:"total_desktops,omitempty"`
}

func (UserDetail) String

func (o UserDetail) String() string

type UserDetailActiveType

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

func (UserDetailActiveType) MarshalJSON

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

func (*UserDetailActiveType) UnmarshalJSON

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

func (UserDetailActiveType) Value

func (c UserDetailActiveType) Value() string

type UserDetailActiveTypeEnum

type UserDetailActiveTypeEnum struct {
	ADMIN_ACTIVATE UserDetailActiveType
	USER_ACTIVATE  UserDetailActiveType
}

func GetUserDetailActiveTypeEnum

func GetUserDetailActiveTypeEnum() UserDetailActiveTypeEnum

type UserGroupInfo

type UserGroupInfo struct {

	// 用户组名。
	Name *string `json:"name,omitempty"`

	// 用户组ID。
	Id *string `json:"id,omitempty"`

	// 用户组对应的创建时间,UTC时间:yyyy-MM-ddTHH:mm:ss.SSSZ。
	CreateTime *string `json:"create_time,omitempty"`

	// 用户组描述。
	Description *string `json:"description,omitempty"`

	// 用户列表中用户数。
	UserQuantity *int32 `json:"user_quantity,omitempty"`

	Parent *UserGroupInfo `json:"parent,omitempty"`

	// 用户组域Id。
	RealmId *string `json:"realm_id,omitempty"`

	// 用户组类型。 * AD: AD域用户组 * LOCAL: 本地liteAs用户组
	PlatformType *UserGroupInfoPlatformType `json:"platform_type,omitempty"`

	// 用户组专有名。
	GroupDn *string `json:"group_dn,omitempty"`

	// 用户组域名。
	Domain *string `json:"domain,omitempty"`

	// 用户组sid。
	Sid *string `json:"sid,omitempty"`
}

func (UserGroupInfo) String

func (o UserGroupInfo) String() string

type UserGroupInfoPlatformType

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

func (UserGroupInfoPlatformType) MarshalJSON

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

func (*UserGroupInfoPlatformType) UnmarshalJSON

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

func (UserGroupInfoPlatformType) Value

type UserGroupInfoPlatformTypeEnum

type UserGroupInfoPlatformTypeEnum struct {
	AD    UserGroupInfoPlatformType
	LOCAL UserGroupInfoPlatformType
}

func GetUserGroupInfoPlatformTypeEnum

func GetUserGroupInfoPlatformTypeEnum() UserGroupInfoPlatformTypeEnum

type UserInGroup

type UserInGroup struct {

	// 用户ID。
	Id *string `json:"id,omitempty"`

	// 桌面用户名。
	UserName *string `json:"user_name,omitempty"`

	// 用户邮箱。
	UserEmail *string `json:"user_email,omitempty"`

	// 用户手机号。
	UserPhone *string `json:"user_phone,omitempty"`
}

UserInGroup 查询桌面用户组中的桌面用户响应的用户信息。

func (UserInGroup) String

func (o UserInGroup) String() string

type VmOperateResult

type VmOperateResult struct {

	// 桌面ID。
	DesktopId *string `json:"desktop_id,omitempty"`

	// 桌面名称。
	DesktopName *string `json:"desktop_name,omitempty"`

	// 操作失败的错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 操作失败的原因描述。
	ErrorMsg *string `json:"error_msg,omitempty"`
}

VmOperateResult 操作失败的桌面列表。

func (VmOperateResult) String

func (o VmOperateResult) String() string

type Volume

type Volume struct {

	// 桌面数据盘对应的磁盘类型,需要与系统所提供的磁盘类型相匹配。  -SAS:高IO。 -SSD:超高IO。
	Type string `json:"type"`

	// 磁盘容量,单位GB。系统盘大小范围[80-32760],数据盘范围[10-32760],大小为10的倍数。
	Size int32 `json:"size"`
}

Volume 磁盘

func (Volume) String

func (o Volume) String() string

type VolumeDetail

type VolumeDetail struct {

	// 桌面数据盘对应的磁盘类型,需要与系统所提供的磁盘类型相匹配。  - SAS:高IO。 - SSD:超高IO。
	Type string `json:"type"`

	// 磁盘容量,单位GB。
	Size int32 `json:"size"`

	// 挂载目录。
	Device *string `json:"device,omitempty"`

	// 磁盘表唯一标识ID。
	Id *string `json:"id,omitempty"`

	// 磁盘ID。
	VolumeId *string `json:"volume_id,omitempty"`

	// 磁盘的创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 磁盘名
	DisplayName *string `json:"display_name,omitempty"`
}

VolumeDetail 磁盘信息。

func (VolumeDetail) String

func (o VolumeDetail) String() string

Source Files

Jump to

Keyboard shortcuts

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