model

package
v0.1.112 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPolicyDetailInfo added in v0.1.15

type AccessPolicyDetailInfo struct {

	// 策略名,当前只支持专线接入策略名。 * PRIVATE_ACCESS: 专线接入
	PolicyName string `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 added in v0.1.15

func (o AccessPolicyDetailInfo) String() string

type AccessPolicyDetailInfoBlacklistType added in v0.1.15

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

func (AccessPolicyDetailInfoBlacklistType) MarshalJSON added in v0.1.15

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

func (*AccessPolicyDetailInfoBlacklistType) UnmarshalJSON added in v0.1.15

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

func (AccessPolicyDetailInfoBlacklistType) Value added in v0.1.15

type AccessPolicyDetailInfoBlacklistTypeEnum added in v0.1.15

type AccessPolicyDetailInfoBlacklistTypeEnum struct {
	INTERNET AccessPolicyDetailInfoBlacklistType
}

func GetAccessPolicyDetailInfoBlacklistTypeEnum added in v0.1.15

func GetAccessPolicyDetailInfoBlacklistTypeEnum() AccessPolicyDetailInfoBlacklistTypeEnum

type AccessPolicyInfo added in v0.1.15

type AccessPolicyInfo struct {

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

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

func (AccessPolicyInfo) String added in v0.1.15

func (o AccessPolicyInfo) String() string

type AccessPolicyInfoBlacklistType added in v0.1.15

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

func (AccessPolicyInfoBlacklistType) MarshalJSON added in v0.1.15

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

func (*AccessPolicyInfoBlacklistType) UnmarshalJSON added in v0.1.15

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

func (AccessPolicyInfoBlacklistType) Value added in v0.1.15

type AccessPolicyInfoBlacklistTypeEnum added in v0.1.15

type AccessPolicyInfoBlacklistTypeEnum struct {
	INTERNET AccessPolicyInfoBlacklistType
}

func GetAccessPolicyInfoBlacklistTypeEnum added in v0.1.15

func GetAccessPolicyInfoBlacklistTypeEnum() AccessPolicyInfoBlacklistTypeEnum

type AccessPolicyObject added in v0.1.46

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

func (o AccessPolicyObject) String() string

type AccessPolicyObjectInfo added in v0.1.15

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

func (o AccessPolicyObjectInfo) String() string

type AccessPolicyObjectInfoObjectType added in v0.1.15

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

func (AccessPolicyObjectInfoObjectType) MarshalJSON added in v0.1.15

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

func (*AccessPolicyObjectInfoObjectType) UnmarshalJSON added in v0.1.15

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

func (AccessPolicyObjectInfoObjectType) Value added in v0.1.15

type AccessPolicyObjectInfoObjectTypeEnum added in v0.1.15

type AccessPolicyObjectInfoObjectTypeEnum struct {
	USER      AccessPolicyObjectInfoObjectType
	USERGROUP AccessPolicyObjectInfoObjectType
}

func GetAccessPolicyObjectInfoObjectTypeEnum added in v0.1.15

func GetAccessPolicyObjectInfoObjectTypeEnum() AccessPolicyObjectInfoObjectTypeEnum

type AccessPolicyObjectObjectType added in v0.1.46

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

func (AccessPolicyObjectObjectType) MarshalJSON added in v0.1.46

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

func (*AccessPolicyObjectObjectType) UnmarshalJSON added in v0.1.46

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

func (AccessPolicyObjectObjectType) Value added in v0.1.46

type AccessPolicyObjectObjectTypeEnum added in v0.1.46

type AccessPolicyObjectObjectTypeEnum struct {
	USER      AccessPolicyObjectObjectType
	USERGROUP AccessPolicyObjectObjectType
}

func GetAccessPolicyObjectObjectTypeEnum added in v0.1.46

func GetAccessPolicyObjectObjectTypeEnum() AccessPolicyObjectObjectTypeEnum

type ActionsOfUsersInGroupRequest added in v0.1.46

type ActionsOfUsersInGroupRequest struct {

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

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

func (ActionsOfUsersInGroupRequest) String added in v0.1.46

type ActionsOfUsersInGroupRequestOpType added in v0.1.46

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

func (ActionsOfUsersInGroupRequestOpType) MarshalJSON added in v0.1.46

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

func (*ActionsOfUsersInGroupRequestOpType) UnmarshalJSON added in v0.1.46

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

func (ActionsOfUsersInGroupRequestOpType) Value added in v0.1.46

type ActionsOfUsersInGroupRequestOpTypeEnum added in v0.1.46

type ActionsOfUsersInGroupRequestOpTypeEnum struct {
	ADD    ActionsOfUsersInGroupRequestOpType
	DELETE ActionsOfUsersInGroupRequestOpType
}

func GetActionsOfUsersInGroupRequestOpTypeEnum added in v0.1.46

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

type AddMetricNotifyRuleReq struct {

	// 统计指标名称,目前仅支持固定值:desktop_idle_duration 同一指标的规则不允许重复 * `desktop_idle_duration` -  桌面空闲时长, 仅允许设置 '>=' threshold
	MetricName string `json:"metric_name"`

	// 规则配置-阈值(天)
	Threshold *int32 `json:"threshold,omitempty"`

	// 统计指标对应的统计值和threshold进行比较的条件 * `>=` -  统计指标大于等于threshold时触发 * `>` -   统计指标大于threshold时触发 * `=` -  统计指标等于threshold时触发 * `<=` -  统计指标小于等于threshold时触发 * `<` -  统计指标小于threshold时触发
	ComparisonOperator string `json:"comparison_operator"`

	// 触发通知后;下次通知的间隔时间;默认每天一次
	Interval *int32 `json:"interval,omitempty"`

	// 启禁用规则 true:启用 false:禁用
	Enable bool `json:"enable"`

	// 通知对象;smn的主题urn
	NotifyObject string `json:"notify_object"`
}

AddMetricNotifyRuleReq 设置通知规则

func (AddMetricNotifyRuleReq) String added in v0.1.85

func (o AddMetricNotifyRuleReq) String() string

type AddMetricNotifyRuleRequest added in v0.1.85

type AddMetricNotifyRuleRequest struct {
	Body *AddMetricNotifyRuleReq `json:"body,omitempty"`
}

AddMetricNotifyRuleRequest Request Object

func (AddMetricNotifyRuleRequest) String added in v0.1.85

type AddMetricNotifyRuleResponse added in v0.1.85

type AddMetricNotifyRuleResponse struct {

	// 规则ID
	RuleId *string `json:"rule_id,omitempty"`

	// 统计指标名称,目前仅支持固定值:desktop_idle_duration * `desktop_idle_duration` -  桌面空闲时长
	MetricName *string `json:"metric_name,omitempty"`

	// 统计持续周期(天)
	Threshold *int32 `json:"threshold,omitempty"`

	// 统计指标对应的统计值和threshold进行比较的条件 * `>=` -  统计指标大于等于threshold时触发 * `>` -   统计指标大于threshold时触发 * `=` -  统计指标等于threshold时触发 * `<=` -  统计指标小于等于threshold时触发 * `<` -  统计指标小于threshold时触发
	ComparisonOperator *string `json:"comparison_operator,omitempty"`

	// 触发通知后;下次通知的间隔时间;默认每天一次
	Interval *int32 `json:"interval,omitempty"`

	// 启禁用规则 true:启用 false:禁用
	Enable *bool `json:"enable,omitempty"`

	// 通知对象;smn的主题urn
	NotifyObject   *string `json:"notify_object,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddMetricNotifyRuleResponse Response Object

func (AddMetricNotifyRuleResponse) String added in v0.1.85

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

type AgenciesInfo struct {

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

	// 委托权限信息
	Permissions *[]AgenciesPermissionInfo `json:"permissions,omitempty"`
}

AgenciesInfo 委托信息

func (AgenciesInfo) String added in v0.1.85

func (o AgenciesInfo) String() string

type AgenciesPermissionInfo added in v0.1.85

type AgenciesPermissionInfo struct {

	// 委托权限项
	SystemPermissionDisplayNames *[]string `json:"system_permission_display_names,omitempty"`

	// 需要委托的权限项
	WantedSystemPermissionDisplayNames *[]string `json:"wanted_system_permission_display_names,omitempty"`
}

AgenciesPermissionInfo 委托权限信息

func (AgenciesPermissionInfo) String added in v0.1.85

func (o AgenciesPermissionInfo) String() string

type ApplyDedicatedStandbyNetworkParam added in v0.1.77

type ApplyDedicatedStandbyNetworkParam struct {

	// 租户指定的专线备用地址
	Address *string `json:"address,omitempty"`

	// 租户指定的专线备用地址端口
	Port *int32 `json:"port,omitempty"`

	// 开通服务资源使用的可用分区,默认随机使用2个可用区
	AvailabilityZone *[]string `json:"availability_zone,omitempty"`
}

ApplyDedicatedStandbyNetworkParam 开通专线备用线路入参

func (ApplyDedicatedStandbyNetworkParam) String added in v0.1.77

type ApplyDesktopsInternetReq added in v0.1.46

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

	// 企业项目ID,默认\"0\"
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

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

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

func (ApplyDesktopsInternetReq) String added in v0.1.46

func (o ApplyDesktopsInternetReq) String() string

type ApplyDesktopsInternetReqEipChargeMode added in v0.1.46

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

func (ApplyDesktopsInternetReqEipChargeMode) MarshalJSON added in v0.1.46

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

func (*ApplyDesktopsInternetReqEipChargeMode) UnmarshalJSON added in v0.1.46

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

func (ApplyDesktopsInternetReqEipChargeMode) Value added in v0.1.46

type ApplyDesktopsInternetReqEipChargeModeEnum added in v0.1.46

type ApplyDesktopsInternetReqEipChargeModeEnum struct {
	TRAFFIC   ApplyDesktopsInternetReqEipChargeMode
	BANDWIDTH ApplyDesktopsInternetReqEipChargeMode
}

func GetApplyDesktopsInternetReqEipChargeModeEnum added in v0.1.46

func GetApplyDesktopsInternetReqEipChargeModeEnum() ApplyDesktopsInternetReqEipChargeModeEnum

type ApplyDesktopsInternetRequest added in v0.1.46

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

ApplyDesktopsInternetRequest Request Object

func (ApplyDesktopsInternetRequest) String added in v0.1.46

type ApplyDesktopsInternetResponse added in v0.1.46

type ApplyDesktopsInternetResponse struct {

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

ApplyDesktopsInternetResponse Response Object

func (ApplyDesktopsInternetResponse) String added in v0.1.46

type ApplyObject added in v0.1.85

type ApplyObject struct {

	// 对象ID。
	ObjectId *string `json:"object_id,omitempty"`

	// 对象类型,可选值为: - DESKTOP:桌面。 - DESKTOP_POOL:桌面池。 - ALL_DESKTOPS: 所有桌面,仅供触发式任务使用。
	ObjectType *ApplyObjectObjectType `json:"object_type,omitempty"`

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

ApplyObject 定时任务应用对象。

func (ApplyObject) String added in v0.1.85

func (o ApplyObject) String() string

type ApplyObjectObjectType added in v0.1.85

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

func (ApplyObjectObjectType) MarshalJSON added in v0.1.85

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

func (*ApplyObjectObjectType) UnmarshalJSON added in v0.1.85

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

func (ApplyObjectObjectType) Value added in v0.1.85

func (c ApplyObjectObjectType) Value() string

type ApplyObjectObjectTypeEnum added in v0.1.85

type ApplyObjectObjectTypeEnum struct {
	DESKTOP      ApplyObjectObjectType
	DESKTOP_POOL ApplyObjectObjectType
	ALL_DESKTOPS ApplyObjectObjectType
}

func GetApplyObjectObjectTypeEnum added in v0.1.85

func GetApplyObjectObjectTypeEnum() ApplyObjectObjectTypeEnum

type ApplyRuleInfo added in v0.1.46

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

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

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

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

AssistAuthMethodConfigRequest 辅助认证策略请求

func (AssistAuthMethodConfigRequest) String added in v0.1.15

type AssociateDesktopsEipReq added in v0.1.46

type AssociateDesktopsEipReq struct {

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

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

AssociateDesktopsEipReq 桌面绑定EIP请求体。

func (AssociateDesktopsEipReq) String added in v0.1.46

func (o AssociateDesktopsEipReq) String() string

type AssociateDesktopsEipRequest added in v0.1.46

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

AssociateDesktopsEipRequest Request Object

func (AssociateDesktopsEipRequest) String added in v0.1.46

type AssociateDesktopsEipResponse added in v0.1.46

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

AssociateDesktopsEipResponse Response Object

func (AssociateDesktopsEipResponse) String added in v0.1.46

type AttachInstancesDesktopInfo added in v0.1.85

type AttachInstancesDesktopInfo struct {

	// 待分配的桌面ID。
	DesktopId string `json:"desktop_id"`

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

	// 合法用户邮箱,桌面分配成功后系统会通过发送邮件的方式通知用户
	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"`

	// 该字段只有当解绑和绑定为同一个用户时生效。表示绑定时是否清理桌面数据,true:清理,false:不清理,默认值为true。
	IsClearData *bool `json:"is_clear_data,omitempty"`

	// 待分配的用户信息列表。
	AttachUserInfos *[]AttachInstancesUserInfo `json:"attach_user_infos,omitempty"`
}

AttachInstancesDesktopInfo 分配用户请求桌面信息。

func (AttachInstancesDesktopInfo) String added in v0.1.85

type AttachInstancesReq added in v0.1.85

type AttachInstancesReq struct {

	// 桌面信息列表。
	Desktops []AttachInstancesDesktopInfo `json:"desktops"`

	// 镜像类型,涉及变更镜像时需传(可选)
	ImageType *string `json:"image_type,omitempty"`

	// 模板ID,涉及变更镜像时需传(可选)
	ImageId *string `json:"image_id,omitempty"`

	// os类型,涉及变更镜像时需传(可选)
	OsType *string `json:"os_type,omitempty"`

	// 企业项目ID,默认\"0\"
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 策略id,用于指定生成桌面名称策略,如果指定了桌面名称则优先使用指定的桌面名称。
	DesktopNamePolicyId *string `json:"desktop_name_policy_id,omitempty"`
}

AttachInstancesReq 分配用户请求。

func (AttachInstancesReq) String added in v0.1.85

func (o AttachInstancesReq) String() string

type AttachInstancesRequest added in v0.1.85

type AttachInstancesRequest struct {
	Body *AttachInstancesReq `json:"body,omitempty"`
}

AttachInstancesRequest Request Object

func (AttachInstancesRequest) String added in v0.1.85

func (o AttachInstancesRequest) String() string

type AttachInstancesResponse added in v0.1.85

type AttachInstancesResponse struct {

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

AttachInstancesResponse Response Object

func (AttachInstancesResponse) String added in v0.1.85

func (o AttachInstancesResponse) String() string

type AttachInstancesUserInfo added in v0.1.65

type AttachInstancesUserInfo struct {

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

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

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

	// 对象类型,可选值为: - USER:用户。 - GROUP:用户组。
	Type *AttachInstancesUserInfoType `json:"type,omitempty"`
}

AttachInstancesUserInfo 分配桌面用户信息。

func (AttachInstancesUserInfo) String added in v0.1.65

func (o AttachInstancesUserInfo) String() string

type AttachInstancesUserInfoType added in v0.1.85

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

func (AttachInstancesUserInfoType) MarshalJSON added in v0.1.85

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

func (*AttachInstancesUserInfoType) UnmarshalJSON added in v0.1.85

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

func (AttachInstancesUserInfoType) Value added in v0.1.85

type AttachInstancesUserInfoTypeEnum added in v0.1.85

type AttachInstancesUserInfoTypeEnum struct {
	USER  AttachInstancesUserInfoType
	GROUP AttachInstancesUserInfoType
}

func GetAttachInstancesUserInfoTypeEnum added in v0.1.85

func GetAttachInstancesUserInfoTypeEnum() AttachInstancesUserInfoTypeEnum

type AttachUsersInfo added in v0.1.111

type AttachUsersInfo struct {

	// 当type字段为USER时,填写用户id;当type字段为GROUP时,填写用户组id,后端服务会校验组id是否存在;
	Id *string `json:"id,omitempty"`

	// 桌面分配对象的名称,当type类型USER时填写用户名字;当type类型GROUP时填写用户组名称。 - 当type类型USER时:桌面所属的用户,当桌面分配成功后此用户可以登录该桌面。只允许输入大写字母、小写字母、数字、中划线(-)和下划线(_)。域类型为LITE_AD时,使用小写字母或者大写字母开头,长度范围为[1-20]。当域类型为LOCAL_AD时,用户名可以使用小写字母或者大写字母或者数字开头,长度范围为[1-64]。Windows桌面用户最长支持20个字符,Linux桌面用户最长支持64个字符。后端服务会校验用户名是否存在,并且用户名不能与机器名重复。 - 当type类型GROUP时:只能为中文、字母、数字及特殊符号-_。
	Name *string `json:"name,omitempty"`

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

	// 对象类型,可选值为: - USER:用户。 - GROUP:用户组。
	Type *string `json:"type,omitempty"`
}

AttachUsersInfo 桌面分配用户信息。

func (AttachUsersInfo) String added in v0.1.111

func (o AttachUsersInfo) String() string

type AuthAssistEnum added in v0.1.15

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

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

func (AuthAssistEnum) MarshalJSON added in v0.1.15

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

func (*AuthAssistEnum) UnmarshalJSON added in v0.1.15

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

func (AuthAssistEnum) Value added in v0.1.15

func (c AuthAssistEnum) Value() string

type AuthAssistEnumEnum added in v0.1.15

type AuthAssistEnumEnum struct {
	OTP            AuthAssistEnum
	RADIUS_GATEWAY AuthAssistEnum
	RADIUS         AuthAssistEnum
}

func GetAuthAssistEnumEnum added in v0.1.15

func GetAuthAssistEnumEnum() AuthAssistEnumEnum

type AuthServerAccessMode added in v0.1.15

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

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

func (AuthServerAccessMode) MarshalJSON added in v0.1.15

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

func (*AuthServerAccessMode) UnmarshalJSON added in v0.1.15

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

func (AuthServerAccessMode) Value added in v0.1.15

func (c AuthServerAccessMode) Value() string

type AuthServerAccessModeEnum added in v0.1.15

type AuthServerAccessModeEnum struct {
	INTERNET       AuthServerAccessMode
	DEDICATED      AuthServerAccessMode
	SYSTEM_DEFAULT AuthServerAccessMode
}

func GetAuthServerAccessModeEnum added in v0.1.15

func GetAuthServerAccessModeEnum() AuthServerAccessModeEnum

type AvailabilityZoneInfo added in v0.1.46

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

func (o AvailabilityZoneInfo) String() string

type BaseResponse added in v0.1.46

type BaseResponse struct {

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

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

BaseResponse API响应基类

func (BaseResponse) String added in v0.1.46

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

type BatchAddDesktopsTagsReq struct {

	// 桌面(桌面携带标签列表)列表
	Desktops []DesktopTagsInfo `json:"desktops"`
}

BatchAddDesktopsTagsReq 批量桌面添加标签

func (BatchAddDesktopsTagsReq) String added in v0.1.67

func (o BatchAddDesktopsTagsReq) String() string

type BatchAddDesktopsTagsRequest added in v0.1.67

type BatchAddDesktopsTagsRequest struct {
	Body *BatchAddDesktopsTagsReq `json:"body,omitempty"`
}

BatchAddDesktopsTagsRequest Request Object

func (BatchAddDesktopsTagsRequest) String added in v0.1.67

type BatchAddDesktopsTagsResponse added in v0.1.67

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

BatchAddDesktopsTagsResponse Response Object

func (BatchAddDesktopsTagsResponse) String added in v0.1.67

type BatchChangeTagsRequest added in v0.1.65

type BatchChangeTagsRequest struct {

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

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

BatchChangeTagsRequest Request Object

func (BatchChangeTagsRequest) String added in v0.1.65

func (o BatchChangeTagsRequest) String() string

type BatchChangeTagsResponse added in v0.1.65

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

BatchChangeTagsResponse Response Object

func (BatchChangeTagsResponse) String added in v0.1.65

func (o BatchChangeTagsResponse) String() string

type BatchCreateUsersReq added in v0.1.46

type BatchCreateUsersReq struct {

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

func (BatchCreateUsersReq) String added in v0.1.46

func (o BatchCreateUsersReq) String() string

type BatchCreateUsersRequest added in v0.1.46

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

BatchCreateUsersRequest Request Object

func (BatchCreateUsersRequest) String added in v0.1.46

func (o BatchCreateUsersRequest) String() string

type BatchCreateUsersResponse added in v0.1.46

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

BatchCreateUsersResponse Response Object

func (BatchCreateUsersResponse) String added in v0.1.46

func (o BatchCreateUsersResponse) String() string

type BatchDeleteAccessPoliciesReq added in v0.1.15

type BatchDeleteAccessPoliciesReq struct {

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

func (BatchDeleteAccessPoliciesReq) String added in v0.1.15

type BatchDeleteAccessPoliciesRequest added in v0.1.15

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

BatchDeleteAccessPoliciesRequest Request Object

func (BatchDeleteAccessPoliciesRequest) String added in v0.1.15

type BatchDeleteAccessPoliciesResponse added in v0.1.15

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

BatchDeleteAccessPoliciesResponse Response Object

func (BatchDeleteAccessPoliciesResponse) String added in v0.1.15

type BatchDeleteDesktopNamePolicyReq added in v0.1.77

type BatchDeleteDesktopNamePolicyReq struct {

	// 策略id数组,最多支持50。
	PolicyIds *[]string `json:"policy_ids,omitempty"`
}

BatchDeleteDesktopNamePolicyReq 删除桌面名称策略请求。

func (BatchDeleteDesktopNamePolicyReq) String added in v0.1.77

type BatchDeleteDesktopNamePolicyRequest added in v0.1.77

type BatchDeleteDesktopNamePolicyRequest struct {
	Body *BatchDeleteDesktopNamePolicyReq `json:"body,omitempty"`
}

BatchDeleteDesktopNamePolicyRequest Request Object

func (BatchDeleteDesktopNamePolicyRequest) String added in v0.1.77

type BatchDeleteDesktopNamePolicyResponse added in v0.1.77

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

BatchDeleteDesktopNamePolicyResponse Response Object

func (BatchDeleteDesktopNamePolicyResponse) String added in v0.1.77

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

type BatchDeleteDesktopsTagsReq struct {

	// 桌面(桌面携带标签列表)列表
	Desktops []DesktopTagsInfo `json:"desktops"`
}

BatchDeleteDesktopsTagsReq 批量桌面删除标签

func (BatchDeleteDesktopsTagsReq) String added in v0.1.67

type BatchDeleteDesktopsTagsRequest added in v0.1.67

type BatchDeleteDesktopsTagsRequest struct {
	Body *BatchDeleteDesktopsTagsReq `json:"body,omitempty"`
}

BatchDeleteDesktopsTagsRequest Request Object

func (BatchDeleteDesktopsTagsRequest) String added in v0.1.67

type BatchDeleteDesktopsTagsResponse added in v0.1.67

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

BatchDeleteDesktopsTagsResponse Response Object

func (BatchDeleteDesktopsTagsResponse) String added in v0.1.67

type BatchDeleteOtpDevicesRequest added in v0.1.15

type BatchDeleteOtpDevicesRequest struct {

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

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

BatchDeleteOtpDevicesRequest Request Object

func (BatchDeleteOtpDevicesRequest) String added in v0.1.15

type BatchDeleteOtpDevicesResponse added in v0.1.15

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

BatchDeleteOtpDevicesResponse Response Object

func (BatchDeleteOtpDevicesResponse) String added in v0.1.15

type BatchDeleteScheduledTasksRequest added in v0.1.85

type BatchDeleteScheduledTasksRequest struct {
	Body *DeleteScheduledTasksReq `json:"body,omitempty"`
}

BatchDeleteScheduledTasksRequest Request Object

func (BatchDeleteScheduledTasksRequest) String added in v0.1.85

type BatchDeleteScheduledTasksResponse added in v0.1.85

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

BatchDeleteScheduledTasksResponse Response Object

func (BatchDeleteScheduledTasksResponse) String added in v0.1.85

type BatchDeleteUserGroupsReq added in v0.1.46

type BatchDeleteUserGroupsReq struct {

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

func (BatchDeleteUserGroupsReq) String added in v0.1.46

func (o BatchDeleteUserGroupsReq) String() string

type BatchDeleteUserGroupsRequest added in v0.1.46

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

BatchDeleteUserGroupsRequest Request Object

func (BatchDeleteUserGroupsRequest) String added in v0.1.46

type BatchDeleteUserGroupsResponse added in v0.1.46

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

BatchDeleteUserGroupsResponse Response Object

func (BatchDeleteUserGroupsResponse) String added in v0.1.46

type BatchDisassociateDesktopsEipReq added in v0.1.46

type BatchDisassociateDesktopsEipReq struct {

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

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

func (BatchDisassociateDesktopsEipReq) String added in v0.1.46

type BatchDisassociateDesktopsEipRequest added in v0.1.46

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

BatchDisassociateDesktopsEipRequest Request Object

func (BatchDisassociateDesktopsEipRequest) String added in v0.1.46

type BatchDisassociateDesktopsEipResponse added in v0.1.46

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

BatchDisassociateDesktopsEipResponse Response Object

func (BatchDisassociateDesktopsEipResponse) String added in v0.1.46

type BatchLogoffDesktopsRequest added in v0.1.46

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

BatchLogoffDesktopsRequest Request Object

func (BatchLogoffDesktopsRequest) String added in v0.1.46

type BatchLogoffDesktopsResponse added in v0.1.46

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

BatchLogoffDesktopsResponse Response Object

func (BatchLogoffDesktopsResponse) String added in v0.1.46

type BatchRebuildDesktopsSystemDiskRequest added in v0.1.65

type BatchRebuildDesktopsSystemDiskRequest struct {
	Body *RebuildDesktopsReq `json:"body,omitempty"`
}

BatchRebuildDesktopsSystemDiskRequest Request Object

func (BatchRebuildDesktopsSystemDiskRequest) String added in v0.1.65

type BatchRebuildDesktopsSystemDiskResponse added in v0.1.65

type BatchRebuildDesktopsSystemDiskResponse struct {

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

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

	// 重建系统盘总任务id。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

BatchRebuildDesktopsSystemDiskResponse Response Object

func (BatchRebuildDesktopsSystemDiskResponse) String added in v0.1.65

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

type CancelRemoteAssistanceRequest struct {

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

CancelRemoteAssistanceRequest Request Object

func (CancelRemoteAssistanceRequest) String added in v0.1.90

type CancelRemoteAssistanceResponse added in v0.1.90

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

CancelRemoteAssistanceResponse Response Object

func (CancelRemoteAssistanceResponse) String added in v0.1.90

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

type ChangeDesktopNetworkReq struct {

	// 待切换VPC的ID
	VpcId string `json:"vpc_id"`

	// 待切换子网的ID
	SubnetId string `json:"subnet_id"`

	// 指定私有IP地址
	PrivateIp *string `json:"private_ip,omitempty"`

	// 安全组ID列表
	SecurityGroupIds []string `json:"security_group_ids"`
}

ChangeDesktopNetworkReq 切换桌面网络请求体

func (ChangeDesktopNetworkReq) String added in v0.1.65

func (o ChangeDesktopNetworkReq) String() string

type ChangeDesktopNetworkRequest added in v0.1.65

type ChangeDesktopNetworkRequest struct {

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

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

ChangeDesktopNetworkRequest Request Object

func (ChangeDesktopNetworkRequest) String added in v0.1.65

type ChangeDesktopNetworkResponse added in v0.1.65

type ChangeDesktopNetworkResponse struct {

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

ChangeDesktopNetworkResponse Response Object

func (ChangeDesktopNetworkResponse) String added in v0.1.65

type ChangeUserStatusRequest added in v0.1.10

type ChangeUserStatusRequest struct {

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

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

ChangeUserStatusRequest Request Object

func (ChangeUserStatusRequest) String added in v0.1.10

func (o ChangeUserStatusRequest) String() string

type ChangeUserStatusResponse added in v0.1.10

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

ChangeUserStatusResponse Response Object

func (ChangeUserStatusResponse) String added in v0.1.10

func (o ChangeUserStatusResponse) String() string

type ConnectDesktopsInfo added in v0.1.111

type ConnectDesktopsInfo struct {

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

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

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

	// 桌面已分配的用户或用户组信息列表。
	AttachUsers *[]AttachUsersInfo `json:"attach_users,omitempty"`
}

ConnectDesktopsInfo 桌面登录状态信息。

func (ConnectDesktopsInfo) String added in v0.1.111

func (o ConnectDesktopsInfo) String() string

type CreateAccessPolicyReq added in v0.1.15

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

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

func (CreateAccessPolicyReq) String added in v0.1.15

func (o CreateAccessPolicyReq) String() string

type CreateAccessPolicyRequest added in v0.1.15

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

CreateAccessPolicyRequest Request Object

func (CreateAccessPolicyRequest) String added in v0.1.15

func (o CreateAccessPolicyRequest) String() string

type CreateAccessPolicyResponse added in v0.1.15

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

CreateAccessPolicyResponse Response Object

func (CreateAccessPolicyResponse) String added in v0.1.15

type CreateAgenciesRequest added in v0.1.85

type CreateAgenciesRequest struct {
	Body *interface{} `json:"body,omitempty"`
}

CreateAgenciesRequest Request Object

func (CreateAgenciesRequest) String added in v0.1.85

func (o CreateAgenciesRequest) String() string

type CreateAgenciesResponse added in v0.1.85

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

CreateAgenciesResponse Response Object

func (CreateAgenciesResponse) String added in v0.1.85

func (o CreateAgenciesResponse) String() string

type CreateDesktopNamePolicyReq added in v0.1.77

type CreateDesktopNamePolicyReq struct {

	// 策略名称,由数字、字母、下划线组成,必须以字母或下划线开头,长度范围为1~30个字符。
	PolicyName string `json:"policy_name"`

	// 策略前缀。
	NamePrefix string `json:"name_prefix"`

	// 策略后缀有效位数。
	DigitNumber int32 `json:"digit_number"`

	// 策略后缀起始数字。
	StartNumber int32 `json:"start_number"`

	// 是否单用户名递增。 - 1 单用户名递增。 - 0 租户递增。
	SingleDomainUserInc int32 `json:"single_domain_user_inc"`

	// 是否为默认策略,true默认策略。
	IsDefaultPolicy *bool `json:"is_default_policy,omitempty"`
}

CreateDesktopNamePolicyReq 创建桌面名称策略请求体。

func (CreateDesktopNamePolicyReq) String added in v0.1.77

type CreateDesktopNamePolicyRequest added in v0.1.77

type CreateDesktopNamePolicyRequest struct {
	Body *CreateDesktopNamePolicyReq `json:"body,omitempty"`
}

CreateDesktopNamePolicyRequest Request Object

func (CreateDesktopNamePolicyRequest) String added in v0.1.77

type CreateDesktopNamePolicyResponse added in v0.1.77

type CreateDesktopNamePolicyResponse struct {

	// 策略id。
	PolicyId       *string `json:"policy_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDesktopNamePolicyResponse Response Object

func (CreateDesktopNamePolicyResponse) String added in v0.1.77

type CreateDesktopReq

type CreateDesktopReq struct {

	// 云桌面类型。 - DEDICATED:专属桌面,单用户。 - SHARED: 多用户共享桌面。
	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 *[]SecurityGroup `json:"security_groups,omitempty"`

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

	// 搭配size使用,当size为1时代表桌面名,位数1-15,当size大于1时代表桌面名前缀,位数:1-13。
	DesktopName *string `json:"desktop_name,omitempty"`

	// 创建不分配用户的桌面的个数,和desktops不能同时生效,搭配desktop_name使用。
	Size *int32 `json:"size,omitempty"`

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

	// 企业项目ID,默认\"0\"
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

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

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

	// 策略id,用于指定生成桌面名称策略,如果指定了桌面名称则优先使用指定的桌面名称。
	DesktopNamePolicyId *string `json:"desktop_name_policy_id,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
	SHARED    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 CreateRemoteAssistanceRequest added in v0.1.90

type CreateRemoteAssistanceRequest struct {

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

CreateRemoteAssistanceRequest Request Object

func (CreateRemoteAssistanceRequest) String added in v0.1.90

type CreateRemoteAssistanceResponse added in v0.1.90

type CreateRemoteAssistanceResponse struct {

	// 协同空间ID
	ShareSpaceId *string `json:"share_space_id,omitempty"`

	// 协同空间状态 - OPEN 协同空间已创建 - CLOSE 协同空间已关闭 - WAIT_USER_CONFIRM 等待用户确认进入远程协助 - WAIT_USER_ACCESS 等待用户进入远程协助
	Status *string `json:"status,omitempty"`

	// 桌面的desktopId
	DesktopId *string `json:"desktop_id,omitempty"`

	// 发起方类型 - ADMIN_INITIATE 管理员发起 - ENDUSER_INITIATE 终端用户发起
	InitiatorType  *string `json:"initiator_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateRemoteAssistanceResponse Response Object

func (CreateRemoteAssistanceResponse) String added in v0.1.90

type CreateScheduledTasksReq added in v0.1.85

type CreateScheduledTasksReq struct {

	// 执行周期类型,可选值为: - FIXED_TIME:指定时间。 - DAY:按天。 - WEEK:按周。 - MONTH:按月。 - LIFE_CYCLE:指定场景下触发。
	ScheduledType *CreateScheduledTasksReqScheduledType `json:"scheduled_type,omitempty"`

	// 周期按天时:按x天间隔执行。
	DayInterval *int32 `json:"day_interval,omitempty"`

	// 周期按周时:取值1~7,分别对应周日~周六,英文逗号分隔,如1,2,7。
	WeekList *string `json:"week_list,omitempty"`

	// 周期按月时:取值1~12,英文逗号分隔,如1,3,12。
	MonthList *string `json:"month_list,omitempty"`

	// 周期按月时:取值1~31及L(代表当月最后一天),英文逗号分隔,如1,2,28,L。
	DateList *string `json:"date_list,omitempty"`

	// 周期指定时间时:表示指定的日期,格式为yyyy-MM-dd。
	ScheduledDate *string `json:"scheduled_date,omitempty"`

	// 指定的执行时间点,格式为HH:mm:ss。
	ScheduledTime *string `json:"scheduled_time,omitempty"`

	// 到期时间,格式为yyyy-MM-dd HH:mm:ss。
	ExpireTime *string `json:"expire_time,omitempty"`

	// 灰度对象数量,优先级高于gray_desktop_ids。只支持脚本执行。
	GrayCount *int32 `json:"gray_count,omitempty"`

	// 灰度执行的桌面id列表,优先级低于gray_count。只支持脚本执行。
	GrayDesktopIds *[]string `json:"gray_desktop_ids,omitempty"`

	// 灰度失败阈值,灰度执行失败次数达到该值时,不执行下一批任务。只支持脚本执行。
	GrayFailThreshold *int32 `json:"gray_fail_threshold,omitempty"`

	// 触发场景。POST_CREATE_DESKTOP_SUCCESS:创建桌面成功后,POST_REBUILD_DESKTOP_SUCCESS:重建桌面成功后,POST_REATTACH_DESKTOP_SUCCESS:触发重建的分配用户任务成功后。
	LifeCycleType *string `json:"life_cycle_type,omitempty"`

	// 时区。
	TimeZone *string `json:"time_zone,omitempty"`

	// 任务类型,可选值为: - START:开机。 - STOP:关机。 - REBOOT:重启。 - HIBERNATE:休眠。 - REBUILD:重建系统盘。 - EXECUTE_SCRIPT:执行脚本。
	TaskType CreateScheduledTasksReqTaskType `json:"task_type"`

	// 任务名称。
	TaskName string `json:"task_name"`

	// 是否强制执行,true表示强制执行,false表示不强制执行。
	ForceExecute *bool `json:"force_execute,omitempty"`

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

	// 扩展参数,json格式。
	ExtraParams *string `json:"extra_params,omitempty"`

	// 定时任务应用的对象列表。
	ApplyObjects *[]ApplyObject `json:"apply_objects,omitempty"`
}

CreateScheduledTasksReq 创建定时任务请求体。

func (CreateScheduledTasksReq) String added in v0.1.85

func (o CreateScheduledTasksReq) String() string

type CreateScheduledTasksReqScheduledType added in v0.1.85

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

func (CreateScheduledTasksReqScheduledType) MarshalJSON added in v0.1.85

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

func (*CreateScheduledTasksReqScheduledType) UnmarshalJSON added in v0.1.85

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

func (CreateScheduledTasksReqScheduledType) Value added in v0.1.85

type CreateScheduledTasksReqTaskType added in v0.1.85

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

func (CreateScheduledTasksReqTaskType) MarshalJSON added in v0.1.85

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

func (*CreateScheduledTasksReqTaskType) UnmarshalJSON added in v0.1.85

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

func (CreateScheduledTasksReqTaskType) Value added in v0.1.85

type CreateScheduledTasksReqTaskTypeEnum added in v0.1.85

func GetCreateScheduledTasksReqTaskTypeEnum added in v0.1.85

func GetCreateScheduledTasksReqTaskTypeEnum() CreateScheduledTasksReqTaskTypeEnum

type CreateScheduledTasksRequest added in v0.1.85

type CreateScheduledTasksRequest struct {
	Body *CreateScheduledTasksReq `json:"body,omitempty"`
}

CreateScheduledTasksRequest Request Object

func (CreateScheduledTasksRequest) String added in v0.1.85

type CreateScheduledTasksResponse added in v0.1.85

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

CreateScheduledTasksResponse Response Object

func (CreateScheduledTasksResponse) String added in v0.1.85

type CreateTagReq added in v0.1.65

type CreateTagReq struct {
	Tag *Tag `json:"tag"`
}

func (CreateTagReq) String added in v0.1.65

func (o CreateTagReq) String() string

type CreateTagRequest added in v0.1.65

type CreateTagRequest struct {

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

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

CreateTagRequest Request Object

func (CreateTagRequest) String added in v0.1.65

func (o CreateTagRequest) String() string

type CreateTagResponse added in v0.1.65

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

CreateTagResponse Response Object

func (CreateTagResponse) String added in v0.1.65

func (o CreateTagResponse) String() string

type CreateTerminalsBindingDesktopsInfo added in v0.1.15

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

type CreateTerminalsBindingDesktopsRequest added in v0.1.15

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

CreateTerminalsBindingDesktopsRequest Request Object

func (CreateTerminalsBindingDesktopsRequest) String added in v0.1.15

type CreateTerminalsBindingDesktopsRequestBody added in v0.1.15

type CreateTerminalsBindingDesktopsRequestBody struct {

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

func (CreateTerminalsBindingDesktopsRequestBody) String added in v0.1.15

type CreateTerminalsBindingDesktopsResponse added in v0.1.15

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

CreateTerminalsBindingDesktopsResponse Response Object

func (CreateTerminalsBindingDesktopsResponse) String added in v0.1.15

type CreateUserGroupReq added in v0.1.46

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

func (o CreateUserGroupReq) String() string

type CreateUserGroupReqPlatformType added in v0.1.46

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

func (CreateUserGroupReqPlatformType) MarshalJSON added in v0.1.46

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

func (*CreateUserGroupReqPlatformType) UnmarshalJSON added in v0.1.46

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

func (CreateUserGroupReqPlatformType) Value added in v0.1.46

type CreateUserGroupReqPlatformTypeEnum added in v0.1.46

type CreateUserGroupReqPlatformTypeEnum struct {
	AD    CreateUserGroupReqPlatformType
	LOCAL CreateUserGroupReqPlatformType
}

func GetCreateUserGroupReqPlatformTypeEnum added in v0.1.46

func GetCreateUserGroupReqPlatformTypeEnum() CreateUserGroupReqPlatformTypeEnum

type CreateUserGroupRequest added in v0.1.46

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

CreateUserGroupRequest Request Object

func (CreateUserGroupRequest) String added in v0.1.46

func (o CreateUserGroupRequest) String() string

type CreateUserGroupResponse added in v0.1.46

type CreateUserGroupResponse struct {

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

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

CreateUserGroupResponse Response Object

func (CreateUserGroupResponse) String added in v0.1.46

func (o CreateUserGroupResponse) String() string

type CreateUserRequest added in v0.1.46

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

func (o CreateUserRequest) String() string

type CreateUserRequestActiveType added in v0.1.46

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

func (CreateUserRequestActiveType) MarshalJSON added in v0.1.46

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

func (*CreateUserRequestActiveType) UnmarshalJSON added in v0.1.46

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

func (CreateUserRequestActiveType) Value added in v0.1.46

type CreateUserRequestActiveTypeEnum added in v0.1.46

type CreateUserRequestActiveTypeEnum struct {
	USER_ACTIVATE  CreateUserRequestActiveType
	ADMIN_ACTIVATE CreateUserRequestActiveType
}

func GetCreateUserRequestActiveTypeEnum added in v0.1.46

func GetCreateUserRequestActiveTypeEnum() CreateUserRequestActiveTypeEnum

type DelOtpDevicesReq added in v0.1.15

type DelOtpDevicesReq struct {

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

func (DelOtpDevicesReq) String added in v0.1.15

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

	// 是否强制删除
	IsForceDelete *bool `json:"is_force_delete,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 added in v0.1.15

type DeleteDesktopVolumesRequest struct {

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

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

DeleteDesktopVolumesRequest Request Object

func (DeleteDesktopVolumesRequest) String added in v0.1.15

type DeleteDesktopVolumesResponse added in v0.1.15

type DeleteDesktopVolumesResponse struct {

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

DeleteDesktopVolumesResponse Response Object

func (DeleteDesktopVolumesResponse) String added in v0.1.15

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

	// 是否强制删除,true:强制删除,false:不强制删除
	IsForceDelete *bool `json:"is_force_delete,omitempty"`
}

DeleteDesktopsReq 批量删除桌面请求。

func (DeleteDesktopsReq) String

func (o DeleteDesktopsReq) String() string

type DeleteMetricNotifyRuleRequest added in v0.1.85

type DeleteMetricNotifyRuleRequest struct {

	// 通知规则ID
	RuleId string `json:"rule_id"`
}

DeleteMetricNotifyRuleRequest Request Object

func (DeleteMetricNotifyRuleRequest) String added in v0.1.85

type DeleteMetricNotifyRuleResponse added in v0.1.85

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

DeleteMetricNotifyRuleResponse Response Object

func (DeleteMetricNotifyRuleResponse) String added in v0.1.85

type DeleteScheduledTasksReq added in v0.1.85

type DeleteScheduledTasksReq struct {

	// 待删除的任务ID列表。
	TaskIds *[]string `json:"task_ids,omitempty"`
}

DeleteScheduledTasksReq 删除定时任务请求体。

func (DeleteScheduledTasksReq) String added in v0.1.85

func (o DeleteScheduledTasksReq) String() string

type DeleteScheduledTasksRequest added in v0.1.85

type DeleteScheduledTasksRequest struct {

	// 任务ID。
	TaskId string `json:"task_id"`
}

DeleteScheduledTasksRequest Request Object

func (DeleteScheduledTasksRequest) String added in v0.1.85

type DeleteScheduledTasksResponse added in v0.1.85

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

DeleteScheduledTasksResponse Response Object

func (DeleteScheduledTasksResponse) String added in v0.1.85

type DeleteTagRequest added in v0.1.65

type DeleteTagRequest struct {

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

	// 标签key。
	Key string `json:"key"`
}

DeleteTagRequest Request Object

func (DeleteTagRequest) String added in v0.1.65

func (o DeleteTagRequest) String() string

type DeleteTagResponse added in v0.1.65

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

DeleteTagResponse Response Object

func (DeleteTagResponse) String added in v0.1.65

func (o DeleteTagResponse) String() string

type DeleteTerminalsBindingDesktopsRequest added in v0.1.15

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

DeleteTerminalsBindingDesktopsRequest Request Object

func (DeleteTerminalsBindingDesktopsRequest) String added in v0.1.15

type DeleteTerminalsBindingDesktopsRequestBody added in v0.1.15

type DeleteTerminalsBindingDesktopsRequestBody struct {

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

func (DeleteTerminalsBindingDesktopsRequestBody) String added in v0.1.15

type DeleteTerminalsBindingDesktopsResponse added in v0.1.15

type DeleteTerminalsBindingDesktopsResponse struct {

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

DeleteTerminalsBindingDesktopsResponse Response Object

func (DeleteTerminalsBindingDesktopsResponse) String added in v0.1.15

type DeleteTerminalsBindingDesktopsResult added in v0.1.15

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

type DeleteUserGroupRequest added in v0.1.46

type DeleteUserGroupRequest struct {

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

DeleteUserGroupRequest Request Object

func (DeleteUserGroupRequest) String added in v0.1.46

func (o DeleteUserGroupRequest) String() string

type DeleteUserGroupResponse added in v0.1.46

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

DeleteUserGroupResponse Response Object

func (DeleteUserGroupResponse) String added in v0.1.46

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

type DeleteVolumesReq struct {

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

DeleteVolumesReq 删除桌面数据盘请求。

func (DeleteVolumesReq) String added in v0.1.15

func (o DeleteVolumesReq) String() string

type Desktop

type Desktop struct {

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

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

	// 合法用户手机号。
	UserPhone *string `json:"user_phone,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"`

	// 用户列表
	UserList *[]string `json:"user_list,omitempty"`

	// 用户组列表
	UserGroupList *[]string `json:"user_group_list,omitempty"`

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

	// 桌面元数据。  - charging_mode 周期套餐标识,1表示包周期,0表示按需。 - image_name 创建桌面的镜像名称。 - bill_resource_id 镜像计费资源ID。 - 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 *[]SecurityGroup `json:"security_groups,omitempty"`

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

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

	// 桌面已分配的用户信息列表。
	AttachUserInfos *[]AttachInstancesUserInfo `json:"attach_user_infos,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"`

	// 分配状态。 - ATTACHED:已分配。 - UNATTACH:未分配 表示未关联。 - DEATTACHED:已解分配。 - ATTACHING:分配中。 - DEATTACHING:解分配中。 - ATTACHFAIL:分配失败。 - DEATTACHFAIL:解分配失败。 - WAITING:等待被分配中,描述从批量分配(解分配)下发到转入分配(解分配)的中间状态 同时方便单个关联流程的状态独立性。 - ATTACH_FAIL_CAN_ATTACH_AGAIN:分配失败,还可以再关联。 - DEATTACH_FAIL_CAN_DEATTACH_AGAIN:解分配失败,还可以再解分配。
	AttachState *DesktopDetailInfoAttachState `json:"attach_state,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

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

	// 桌面计费资源ID
	BillResourceId *string `json:"bill_resource_id,omitempty"`

	// 桌面任务进度, 取值范围0-100以及null,null表示该桌面无任务,0-100表明该任务进度的百分比。
	Process *int32 `json:"process,omitempty"`
}

DesktopDetailInfo 桌面详情。

func (DesktopDetailInfo) String

func (o DesktopDetailInfo) String() string

type DesktopDetailInfoAttachState added in v0.1.65

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

func (DesktopDetailInfoAttachState) MarshalJSON added in v0.1.65

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

func (*DesktopDetailInfoAttachState) UnmarshalJSON added in v0.1.65

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

func (DesktopDetailInfoAttachState) Value added in v0.1.65

type DesktopDetailInfoAttachStateEnum added in v0.1.65

type DesktopDetailInfoAttachStateEnum struct {
	ATTACHED                         DesktopDetailInfoAttachState
	UNATTACH                         DesktopDetailInfoAttachState
	DEATTACHED                       DesktopDetailInfoAttachState
	ATTACHING                        DesktopDetailInfoAttachState
	DEATTACHING                      DesktopDetailInfoAttachState
	ATTACHFAIL                       DesktopDetailInfoAttachState
	DEATTACHFAIL                     DesktopDetailInfoAttachState
	WAITING                          DesktopDetailInfoAttachState
	ATTACH_FAIL_CAN_ATTACH_AGAIN     DesktopDetailInfoAttachState
	DEATTACH_FAIL_CAN_DEATTACH_AGAIN DesktopDetailInfoAttachState
}

func GetDesktopDetailInfoAttachStateEnum added in v0.1.65

func GetDesktopDetailInfoAttachStateEnum() DesktopDetailInfoAttachStateEnum

type DesktopDetailInfoInternetMode added in v0.1.46

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

func (DesktopDetailInfoInternetMode) MarshalJSON added in v0.1.46

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

func (*DesktopDetailInfoInternetMode) UnmarshalJSON added in v0.1.46

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

func (DesktopDetailInfoInternetMode) Value added in v0.1.46

type DesktopDetailInfoInternetModeEnum added in v0.1.46

type DesktopDetailInfoInternetModeEnum struct {
	NAT  DesktopDetailInfoInternetMode
	EIP  DesktopDetailInfoInternetMode
	BOTH DesktopDetailInfoInternetMode
}

func GetDesktopDetailInfoInternetModeEnum added in v0.1.46

func GetDesktopDetailInfoInternetModeEnum() DesktopDetailInfoInternetModeEnum

type DesktopMetric added in v0.1.85

type DesktopMetric struct {

	// 桌面ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 桌面池ID(仅桌面池中的桌面存在该字段)
	ResourcePoolId *string `json:"resource_pool_id,omitempty"`

	// 桌面名称
	ResourceName *string `json:"resource_name,omitempty"`

	// 统计信息 * `desktop_usage` -  桌面使用时长(单位:秒) * `desktop_idle_duration` -  桌面空闲时长(单位:秒)
	Metric *[]Metric `json:"metric,omitempty"`
}

func (DesktopMetric) String added in v0.1.85

func (o DesktopMetric) String() string

type DesktopMetricNotifyRecord added in v0.1.85

type DesktopMetricNotifyRecord struct {

	// 满足通知规则阈值的桌面数
	MatchCount *int32 `json:"match_count,omitempty"`

	// 指标名称
	MetricName *string `json:"metric_name,omitempty"`

	// 统计持续周期(天)
	Threshold *int32 `json:"threshold,omitempty"`

	// 统计指标对应的统计值和threshold进行比较的条件 * `>=` -  统计指标大于等于threshold时触发 * `>` -   统计指标大于threshold时触发 * `=` -  统计指标等于threshold时触发 * `<=` -  统计指标小于等于threshold时触发 * `<` -  统计指标小于threshold时触发
	ComparisonOperator *string `json:"comparison_operator,omitempty"`
}

DesktopMetricNotifyRecord 对应指标维度产生的告警记录

func (DesktopMetricNotifyRecord) String added in v0.1.85

func (o DesktopMetricNotifyRecord) String() string

type DesktopNamePolicyInfo added in v0.1.77

type DesktopNamePolicyInfo struct {

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

	// 策略名称。
	PolicyName *string `json:"policy_name,omitempty"`

	// 策略前缀。
	NamePrefix *string `json:"name_prefix,omitempty"`

	// 策略后缀有效位数。
	DigitNumber *int32 `json:"digit_number,omitempty"`

	// 策略后缀起始数字。
	StartNumber *int32 `json:"start_number,omitempty"`

	// 是否单用户名递增。 - 1 单用户名递增。 - 0 租户递增。
	SingleDomainUserInc *int32 `json:"single_domain_user_inc,omitempty"`

	// 是否为默认策略,true默认策略。
	IsDefaultPolicy *bool `json:"is_default_policy,omitempty"`

	// 是否包含用户名的桌面名称策略,true包含。
	IsContainUser *bool `json:"is_contain_user,omitempty"`
}

DesktopNamePolicyInfo 桌面名称策略信息。

func (DesktopNamePolicyInfo) String added in v0.1.77

func (o DesktopNamePolicyInfo) String() string

type DesktopSubnet added in v0.1.71

type DesktopSubnet struct {

	// 桌面所在子网Id
	Id *string `json:"id,omitempty"`

	// 桌面所在子网名称
	Name *string `json:"name,omitempty"`

	// 桌面所在子网网段
	Cidr *string `json:"cidr,omitempty"`
}

DesktopSubnet 子网信息

func (DesktopSubnet) String added in v0.1.71

func (o DesktopSubnet) String() string

type DesktopTagsInfo added in v0.1.67

type DesktopTagsInfo struct {

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

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

DesktopTagsInfo 桌面携带标签数据结构

func (DesktopTagsInfo) String added in v0.1.67

func (o DesktopTagsInfo) String() string

type DesktopUsedHoursInfo added in v0.1.46

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

func (o DesktopUsedHoursInfo) String() string

type DesktopUsedInfo added in v0.1.46

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

func (o DesktopUsedInfo) String() string

type DetachInstancesReq added in v0.1.85

type DetachInstancesReq struct {

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

DetachInstancesReq 解绑用户请求

func (DetachInstancesReq) String added in v0.1.85

func (o DetachInstancesReq) String() string

type DetachInstancesRequest added in v0.1.85

type DetachInstancesRequest struct {
	Body *DetachInstancesReq `json:"body,omitempty"`
}

DetachInstancesRequest Request Object

func (DetachInstancesRequest) String added in v0.1.85

func (o DetachInstancesRequest) String() string

type DetachInstancesResponse added in v0.1.85

type DetachInstancesResponse struct {

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

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

DetachInstancesResponse Response Object

func (DetachInstancesResponse) String added in v0.1.85

func (o DetachInstancesResponse) String() string

type EditUserGroupRequest added in v0.1.46

type EditUserGroupRequest struct {

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

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

func (EditUserGroupRequest) String added in v0.1.46

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

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

func (EditUserReqActiveType) MarshalJSON added in v0.1.46

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

func (*EditUserReqActiveType) UnmarshalJSON added in v0.1.46

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

func (EditUserReqActiveType) Value added in v0.1.46

func (c EditUserReqActiveType) Value() string

type EditUserReqActiveTypeEnum added in v0.1.46

type EditUserReqActiveTypeEnum struct {
	USER_ACTIVATE  EditUserReqActiveType
	ADMIN_ACTIVATE EditUserReqActiveType
}

func GetEditUserReqActiveTypeEnum added in v0.1.46

func GetEditUserReqActiveTypeEnum() EditUserReqActiveTypeEnum

type Eip added in v0.1.46

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

func (o Eip) String() string

type EipChargeMode added in v0.1.46

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

func (EipChargeMode) MarshalJSON added in v0.1.46

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

func (*EipChargeMode) UnmarshalJSON added in v0.1.46

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

func (EipChargeMode) Value added in v0.1.46

func (c EipChargeMode) Value() string

type EipChargeModeEnum added in v0.1.46

type EipChargeModeEnum struct {
	TRAFFIC   EipChargeMode
	BANDWIDTH EipChargeMode
}

func GetEipChargeModeEnum added in v0.1.46

func GetEipChargeModeEnum() EipChargeModeEnum

type Eips added in v0.1.46

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

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Eips 桌面EIP。

func (Eips) String added in v0.1.46

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 *string `json:"image_type,omitempty"`

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

	// 操作系统架构,目前取值arm,x86
	Architecture *string `json:"architecture,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 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"`

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

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

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

	// 任务进度。
	Process *int32 `json:"process,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 added in v0.1.15

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

func (o ListAccessPoliciesRequest) String() string

type ListAccessPoliciesResponse added in v0.1.15

type ListAccessPoliciesResponse struct {

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

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

ListAccessPoliciesResponse Response Object

func (ListAccessPoliciesResponse) String added in v0.1.15

type ListAccessPolicyObjectsRequest added in v0.1.15

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

type ListAccessPolicyObjectsResponse added in v0.1.15

type ListAccessPolicyObjectsResponse struct {

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

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

ListAccessPolicyObjectsResponse Response Object

func (ListAccessPolicyObjectsResponse) String added in v0.1.15

type ListAgenciesRequest added in v0.1.85

type ListAgenciesRequest struct {
}

ListAgenciesRequest Request Object

func (ListAgenciesRequest) String added in v0.1.85

func (o ListAgenciesRequest) String() string

type ListAgenciesResponse added in v0.1.85

type ListAgenciesResponse struct {

	// 委托信息
	ExistingAgencies *[]AgenciesInfo `json:"existing_agencies,omitempty"`
	HttpStatusCode   int             `json:"-"`
}

ListAgenciesResponse Response Object

func (ListAgenciesResponse) String added in v0.1.85

func (o ListAgenciesResponse) String() 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 ListDesktopByTagsRequest added in v0.1.65

type ListDesktopByTagsRequest struct {
	Body *QueryDesktopByTagReq `json:"body,omitempty"`
}

ListDesktopByTagsRequest Request Object

func (ListDesktopByTagsRequest) String added in v0.1.65

func (o ListDesktopByTagsRequest) String() string

type ListDesktopByTagsResponse added in v0.1.65

type ListDesktopByTagsResponse struct {

	// 指定查询信息列表的偏移量,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 资源对象
	Resources *[]TagResource `json:"resources,omitempty"`

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

ListDesktopByTagsResponse Response Object

func (ListDesktopByTagsResponse) String added in v0.1.65

func (o ListDesktopByTagsResponse) String() string

type ListDesktopNamePolicyRequest added in v0.1.77

type ListDesktopNamePolicyRequest struct {

	// 是否包含用户名的桌面名称策略。 - true 包含 - false 不包含
	IsContainUser *bool `json:"is_contain_user,omitempty"`

	// 策略名称,由数字、字母、下划线组成,必须以字母或下划线开头,长度范围为1~30个字符,支持模糊筛选。
	PolicyName *string `json:"policy_name,omitempty"`

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

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

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

ListDesktopNamePolicyRequest Request Object

func (ListDesktopNamePolicyRequest) String added in v0.1.77

type ListDesktopNamePolicyResponse added in v0.1.77

type ListDesktopNamePolicyResponse struct {

	// 桌面名称策略信息。
	DesktopNamePolicyInfos *[]DesktopNamePolicyInfo `json:"desktop_name_policy_infos,omitempty"`

	// 查询返回总条数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDesktopNamePolicyResponse Response Object

func (ListDesktopNamePolicyResponse) String added in v0.1.77

type ListDesktopUsageMetricRequest added in v0.1.85

type ListDesktopUsageMetricRequest struct {

	// 查询起始时间(0时区) 云服务每天凌晨02:00进行聚合运算前一天00:00:00~23:59:59的使用时长,并将周期范围内的数据聚合到周期边界上 跨天的记录会按照统计周期进行计算 假设一天内桌面登录多次,09:00~12:00,13:00~21:00,22:00~01:00(次日): 则当天的累计使用时长数据会被汇聚到23:59:59这个点;总使用时长为 3hours(09:00~12:00)+8hours(13:00~21:00)+2hours(22:00~00:00) 如果查询的from-to不足一个周期内,可能造成查询到数据为空;
	StartTime string `json:"start_time"`

	// 查询截至时间(0时区)
	EndTime string `json:"end_time"`

	// 资源名称(模糊匹配)
	ResourceName *string `json:"resource_name,omitempty"`

	// 最小空闲天数
	MinIdleDays *int32 `json:"min_idle_days,omitempty"`

	// 最大空闲天数 min_idle_days、max_idle_days都非空时,max_idle_days必须大于等于min_idle_days否则可能查询不到数据
	MaxIdleDays *int32 `json:"max_idle_days,omitempty"`

	// 使用时长(hour)最小值
	UsageMinHours *int32 `json:"usage_min_hours,omitempty"`

	// 使用时长(hour)最大值(必须大于等于usage_min_hours)
	UsageMaxHours *int32 `json:"usage_max_hours,omitempty"`

	// 按照指标进行排序 * `desktop_usage` -  按照桌面使用时长排序 * `desktop_idle_duration` -  按照桌面空闲周期排序
	SortField *string `json:"sort_field,omitempty"`

	// 按照指标进行排序的方向;需配合sort_field起义使用 * `DESC` - 降序返回数据 * `ASC` -  升序返回数据
	SortType *string `json:"sort_type,omitempty"`

	// 查询的偏移量,默认值0
	Offset *int32 `json:"offset,omitempty"`

	// 单次查询的大小[1-100],默认值10
	Limit *int32 `json:"limit,omitempty"`
}

ListDesktopUsageMetricRequest Request Object

func (ListDesktopUsageMetricRequest) String added in v0.1.85

type ListDesktopUsageMetricResponse added in v0.1.85

type ListDesktopUsageMetricResponse struct {

	// 总数
	Count *int32 `json:"count,omitempty"`

	// 桌面统计指标
	Items          *[]DesktopMetric `json:"items,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListDesktopUsageMetricResponse Response Object

func (ListDesktopUsageMetricResponse) String added in v0.1.85

type ListDesktopsConnectStatusRequest added in v0.1.111

type ListDesktopsConnectStatusRequest struct {

	// 桌面所属用户,批量筛选,最多不超过100个用户。
	UserNames *[]string `json:"user_names,omitempty"`

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

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

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

ListDesktopsConnectStatusRequest Request Object

func (ListDesktopsConnectStatusRequest) String added in v0.1.111

type ListDesktopsConnectStatusResponse added in v0.1.111

type ListDesktopsConnectStatusResponse struct {

	// 桌面登录信息列表。
	Desktops *[]ConnectDesktopsInfo `json:"desktops,omitempty"`

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

ListDesktopsConnectStatusResponse Response Object

func (ListDesktopsConnectStatusResponse) String added in v0.1.111

type ListDesktopsDetailRequest

type ListDesktopsDetailRequest struct {

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

	// 桌面所属用户,当传user_names时,本字段不生效。
	UserName *string `json:"user_name,omitempty"`

	// 桌面所属用户,批量筛选,最多不超过100个用户。
	UserNames *[]string `json:"user_names,omitempty"`

	// 排序字段名称,需要结合sort_type字段一起使用。 - created 创建时间。 - computer_name 桌面名称。
	SortField *ListDesktopsDetailRequestSortField `json:"sort_field,omitempty"`

	// 排序类型,默认升序,需要结合sort_field字段一起使用。 - ASC 升序。 - DESC 降序。
	SortType *ListDesktopsDetailRequestSortType `json:"sort_type,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:普通桌面,包括专享桌面、专属桌面等 - POOLED:池桌面,即桌面池里的桌面 - SHARED: 多用户共享桌面。
	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"`

	// 是否分配了用户。
	UserAttached *bool `json:"user_attached,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

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

	// 计费模式,0:包周期,1:按需。
	ChargeMode *string `json:"charge_mode,omitempty"`

	// 按照维护模式过滤
	InMaintenanceMode *bool `json:"in_maintenance_mode,omitempty"`

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

ListDesktopsDetailRequest Request Object

func (ListDesktopsDetailRequest) String

func (o ListDesktopsDetailRequest) String() string

type ListDesktopsDetailRequestSortField added in v0.1.65

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

func (ListDesktopsDetailRequestSortField) MarshalJSON added in v0.1.65

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

func (*ListDesktopsDetailRequestSortField) UnmarshalJSON added in v0.1.65

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

func (ListDesktopsDetailRequestSortField) Value added in v0.1.65

type ListDesktopsDetailRequestSortFieldEnum added in v0.1.65

type ListDesktopsDetailRequestSortFieldEnum struct {
	CREATED       ListDesktopsDetailRequestSortField
	COMPUTER_NAME ListDesktopsDetailRequestSortField
}

func GetListDesktopsDetailRequestSortFieldEnum added in v0.1.65

func GetListDesktopsDetailRequestSortFieldEnum() ListDesktopsDetailRequestSortFieldEnum

type ListDesktopsDetailRequestSortType added in v0.1.65

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

func (ListDesktopsDetailRequestSortType) MarshalJSON added in v0.1.65

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

func (*ListDesktopsDetailRequestSortType) UnmarshalJSON added in v0.1.65

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

func (ListDesktopsDetailRequestSortType) Value added in v0.1.65

type ListDesktopsDetailRequestSortTypeEnum added in v0.1.65

type ListDesktopsDetailRequestSortTypeEnum struct {
	ASC  ListDesktopsDetailRequestSortType
	DESC ListDesktopsDetailRequestSortType
}

func GetListDesktopsDetailRequestSortTypeEnum added in v0.1.65

func GetListDesktopsDetailRequestSortTypeEnum() ListDesktopsDetailRequestSortTypeEnum

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

type ListDesktopsEipsRequest struct {

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 桌面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 added in v0.1.46

func (o ListDesktopsEipsRequest) String() string

type ListDesktopsEipsResponse added in v0.1.46

type ListDesktopsEipsResponse struct {

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

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

ListDesktopsEipsResponse Response Object

func (ListDesktopsEipsResponse) String added in v0.1.46

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

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 桌面类型,为空时查所有桌面。查询多个类型时用,隔开。 - DEDICATED:普通桌面,包括专享桌面、专属桌面等。 - SHARED: 多用户共享桌面。
	DesktopType *string `json:"desktop_type,omitempty"`

	// 桌面的子网ID。
	SubnetId *string `json:"subnet_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 ListFutureExecutionsReq added in v0.1.85

type ListFutureExecutionsReq struct {

	// 执行周期类型,可选值为: - FIXED_TIME:指定时间。 - DAY:按天。 - WEEK:按周。 - MONTH:按月。 - LIFE_CYCLE:指定场景下触发。
	ScheduledType *ListFutureExecutionsReqScheduledType `json:"scheduled_type,omitempty"`

	// 周期按天时:按x天间隔执行。
	DayInterval *int32 `json:"day_interval,omitempty"`

	// 周期按周时:取值1~7,分别对应周日~周六,英文逗号分隔,如1,2,7。
	WeekList *string `json:"week_list,omitempty"`

	// 周期按月时:取值1~12,英文逗号分隔,如1,3,12。
	MonthList *string `json:"month_list,omitempty"`

	// 周期按月时:取值1~31及L(代表当月最后一天),英文逗号分隔,如1,2,28,L。
	DateList *string `json:"date_list,omitempty"`

	// 周期指定时间时:表示指定的日期,格式为yyyy-MM-dd。
	ScheduledDate *string `json:"scheduled_date,omitempty"`

	// 指定的执行时间点,格式为HH:mm:ss。
	ScheduledTime *string `json:"scheduled_time,omitempty"`

	// 到期时间,格式为yyyy-MM-dd HH:mm:ss。
	ExpireTime *string `json:"expire_time,omitempty"`

	// 灰度对象数量,优先级高于gray_desktop_ids。只支持脚本执行。
	GrayCount *int32 `json:"gray_count,omitempty"`

	// 灰度执行的桌面id列表,优先级低于gray_count。只支持脚本执行。
	GrayDesktopIds *[]string `json:"gray_desktop_ids,omitempty"`

	// 灰度失败阈值,灰度执行失败次数达到该值时,不执行下一批任务。只支持脚本执行。
	GrayFailThreshold *int32 `json:"gray_fail_threshold,omitempty"`

	// 触发场景。POST_CREATE_DESKTOP_SUCCESS:创建桌面成功后,POST_REBUILD_DESKTOP_SUCCESS:重建桌面成功后,POST_REATTACH_DESKTOP_SUCCESS:触发重建的分配用户任务成功后。
	LifeCycleType *string `json:"life_cycle_type,omitempty"`

	// 时区。
	TimeZone *string `json:"time_zone,omitempty"`
}

ListFutureExecutionsReq 获取未来执行的具体时间列表请求体。

func (ListFutureExecutionsReq) String added in v0.1.85

func (o ListFutureExecutionsReq) String() string

type ListFutureExecutionsReqScheduledType added in v0.1.85

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

func (ListFutureExecutionsReqScheduledType) MarshalJSON added in v0.1.85

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

func (*ListFutureExecutionsReqScheduledType) UnmarshalJSON added in v0.1.85

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

func (ListFutureExecutionsReqScheduledType) Value added in v0.1.85

type ListFutureExecutionsRequest added in v0.1.85

type ListFutureExecutionsRequest struct {
	Body *ListFutureExecutionsReq `json:"body,omitempty"`
}

ListFutureExecutionsRequest Request Object

func (ListFutureExecutionsRequest) String added in v0.1.85

type ListFutureExecutionsResponse added in v0.1.85

type ListFutureExecutionsResponse struct {

	// 未来执行的具体时间列表。
	FutureExecutions *[]string `json:"future_executions,omitempty"`
	HttpStatusCode   int       `json:"-"`
}

ListFutureExecutionsResponse Response Object

func (ListFutureExecutionsResponse) String added in v0.1.85

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

	// 镜像Id
	ImageId *string `json:"image_id,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"`

	// 桌面池ID。
	DesktopPoolId *string `json:"desktop_pool_id,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 ListMetricNotifyRecordRequest added in v0.1.85

type ListMetricNotifyRecordRequest struct {

	// 指标名称(精确匹配) (metric_name和rule_id不允许同时为空)
	MetricName *string `json:"metric_name,omitempty"`

	// 通知规则ID (metric_name和rule_id不允许同时为空)
	RuleId *string `json:"rule_id,omitempty"`

	// 查询的偏移量,默认值0
	Offset *int32 `json:"offset,omitempty"`

	// 单次查询的大小[1-100],默认值10
	Limit *int32 `json:"limit,omitempty"`
}

ListMetricNotifyRecordRequest Request Object

func (ListMetricNotifyRecordRequest) String added in v0.1.85

type ListMetricNotifyRecordResponse added in v0.1.85

type ListMetricNotifyRecordResponse struct {

	// 总数
	Count *int32 `json:"count,omitempty"`

	// 通知记录
	Items          *[]DesktopMetricNotifyRecord `json:"items,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

ListMetricNotifyRecordResponse Response Object

func (ListMetricNotifyRecordResponse) String added in v0.1.85

type ListMetricNotifyRuleRequest added in v0.1.85

type ListMetricNotifyRuleRequest struct {

	// 指标名称(精确匹配)
	MetricName *string `json:"metric_name,omitempty"`

	// 通知规则ID
	RuleId *string `json:"rule_id,omitempty"`

	// 查询的偏移量,默认值0
	Offset *int32 `json:"offset,omitempty"`

	// 单次查询的大小[1-100],默认值10
	Limit *int32 `json:"limit,omitempty"`
}

ListMetricNotifyRuleRequest Request Object

func (ListMetricNotifyRuleRequest) String added in v0.1.85

type ListMetricNotifyRuleResponse added in v0.1.85

type ListMetricNotifyRuleResponse struct {

	// 总数
	Count *int32 `json:"count,omitempty"`

	// 规则列表
	Items          *[]MetricNotifyRule `json:"items,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListMetricNotifyRuleResponse Response Object

func (ListMetricNotifyRuleResponse) String added in v0.1.85

type ListMetricsRequest added in v0.1.103

type ListMetricsRequest struct {

	// 开始时间, UTC时间, 格式为:yyyy-MM-ddTHH:mm:ssZ
	StartTime string `json:"start_time"`

	// 结束时间 ,UTC时间, 格式为:yyyy-MM-ddTHH:mm:ssZ
	EndTime string `json:"end_time"`

	// 指标维度 | 目前最大支持3个维度,必须从0开始;维度格式为dim.{i}=key,value,key的最大长度32,value的最大长度为256。 单维度:dim.0=instance_id,6f3c6f91-4b24-4e1b-b7d1-a94ac1cb011d 多维度:dim.0=key,value&dim.1=key,value
	Dim *string `json:"dim,omitempty"`

	// 指标名称列表
	MetricNames []string `json:"metric_names"`

	// 数据周期 | DAY - 天级数据 HOUR - 小时级数据
	Period *ListMetricsRequestPeriod `json:"period,omitempty"`
}

ListMetricsRequest Request Object

func (ListMetricsRequest) String added in v0.1.103

func (o ListMetricsRequest) String() string

type ListMetricsRequestPeriod added in v0.1.103

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

func (ListMetricsRequestPeriod) MarshalJSON added in v0.1.103

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

func (*ListMetricsRequestPeriod) UnmarshalJSON added in v0.1.103

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

func (ListMetricsRequestPeriod) Value added in v0.1.103

func (c ListMetricsRequestPeriod) Value() string

type ListMetricsRequestPeriodEnum added in v0.1.103

type ListMetricsRequestPeriodEnum struct {
	DAY  ListMetricsRequestPeriod
	HOUR ListMetricsRequestPeriod
}

func GetListMetricsRequestPeriodEnum added in v0.1.103

func GetListMetricsRequestPeriodEnum() ListMetricsRequestPeriodEnum

type ListMetricsResponse added in v0.1.103

type ListMetricsResponse struct {

	// 查询指标响应体
	Body           *[]Metric `json:"body,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListMetricsResponse Response Object

func (ListMetricsResponse) String added in v0.1.103

func (o ListMetricsResponse) String() string

type ListMetricsTrendRequest added in v0.1.103

type ListMetricsTrendRequest struct {

	// 开始时间, UTC时间, 格式为:yyyy-MM-ddTHH:mm:ssZ
	StartTime string `json:"start_time"`

	// 结束时间, UTC时间, 格式为:yyyy-MM-ddTHH:mm:ssZ
	EndTime string `json:"end_time"`

	// 指标维度 | 目前最大支持3个维度,必须从0开始;维度格式为dim.{i}=key,value,key的最大长度32,value的最大长度为256。 单维度:dim.0=instance_id,6f3c6f91-4b24-4e1b-b7d1-a94ac1cb011d 多维度:dim.0=key,value&dim.1=key,value
	Dim *string `json:"dim,omitempty"`

	// 指标名称列表
	MetricNames []string `json:"metric_names"`

	// 数据周期 | DAY - 天级数据 HOUR - 小时级数据
	Period *ListMetricsTrendRequestPeriod `json:"period,omitempty"`
}

ListMetricsTrendRequest Request Object

func (ListMetricsTrendRequest) String added in v0.1.103

func (o ListMetricsTrendRequest) String() string

type ListMetricsTrendRequestPeriod added in v0.1.103

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

func (ListMetricsTrendRequestPeriod) MarshalJSON added in v0.1.103

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

func (*ListMetricsTrendRequestPeriod) UnmarshalJSON added in v0.1.103

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

func (ListMetricsTrendRequestPeriod) Value added in v0.1.103

type ListMetricsTrendRequestPeriodEnum added in v0.1.103

type ListMetricsTrendRequestPeriodEnum struct {
	DAY  ListMetricsTrendRequestPeriod
	HOUR ListMetricsTrendRequestPeriod
}

func GetListMetricsTrendRequestPeriodEnum added in v0.1.103

func GetListMetricsTrendRequestPeriodEnum() ListMetricsTrendRequestPeriodEnum

type ListMetricsTrendResponse added in v0.1.103

type ListMetricsTrendResponse struct {

	// 查询指标趋势响应
	Body           *[]MetricsWithTime `json:"body,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListMetricsTrendResponse Response Object

func (ListMetricsTrendResponse) String added in v0.1.103

func (o ListMetricsTrendResponse) String() string

type ListOtpDevicesByUserIdRequest added in v0.1.15

type ListOtpDevicesByUserIdRequest struct {

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

ListOtpDevicesByUserIdRequest Request Object

func (ListOtpDevicesByUserIdRequest) String added in v0.1.15

type ListOtpDevicesByUserIdResponse added in v0.1.15

type ListOtpDevicesByUserIdResponse struct {

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

ListOtpDevicesByUserIdResponse Response Object

func (ListOtpDevicesByUserIdResponse) String added in v0.1.15

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

type ListProjectTagsRequest struct {
}

ListProjectTagsRequest Request Object

func (ListProjectTagsRequest) String added in v0.1.65

func (o ListProjectTagsRequest) String() string

type ListProjectTagsResponse added in v0.1.65

type ListProjectTagsResponse struct {

	// 标签对象
	Tags           *[]Tags `json:"tags,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListProjectTagsResponse Response Object

func (ListProjectTagsResponse) String added in v0.1.65

func (o ListProjectTagsResponse) String() string

type ListScheduledTasksRecordsDetailsRequest added in v0.1.85

type ListScheduledTasksRecordsDetailsRequest struct {

	// 任务ID。
	TaskId string `json:"task_id"`

	// 任务执行记录ID。
	RecordId string `json:"record_id"`

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

	// 用于分页查询,每页返回的个数,取值范围0~50。
	Limit int32 `json:"limit"`
}

ListScheduledTasksRecordsDetailsRequest Request Object

func (ListScheduledTasksRecordsDetailsRequest) String added in v0.1.85

type ListScheduledTasksRecordsDetailsResponse added in v0.1.85

type ListScheduledTasksRecordsDetailsResponse struct {

	// 定时任务执行记录详情列表。
	TasksRecordsDetails *[]ScheduledTasksRecordsDetails `json:"tasks_records_details,omitempty"`

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

ListScheduledTasksRecordsDetailsResponse Response Object

func (ListScheduledTasksRecordsDetailsResponse) String added in v0.1.85

type ListScheduledTasksRecordsRequest added in v0.1.85

type ListScheduledTasksRecordsRequest struct {

	// 任务ID。
	TaskId string `json:"task_id"`
}

ListScheduledTasksRecordsRequest Request Object

func (ListScheduledTasksRecordsRequest) String added in v0.1.85

type ListScheduledTasksRecordsResponse added in v0.1.85

type ListScheduledTasksRecordsResponse struct {

	// 定时任务执行记录列表。
	TasksRecords *[]ScheduledTasksRecords `json:"tasks_records,omitempty"`

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

ListScheduledTasksRecordsResponse Response Object

func (ListScheduledTasksRecordsResponse) String added in v0.1.85

type ListScheduledTasksRequest added in v0.1.85

type ListScheduledTasksRequest struct {

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

	// 用于分页查询,每页返回的个数,取值范围0~50。
	Limit int32 `json:"limit"`

	// 任务名称。
	TaskName *string `json:"task_name,omitempty"`

	// 任务类型。START:开机,STOP:关机,REBOOT:重启,HIBERNATE:休眠,REBUILD:重建系统盘,EXECUTE_SCRIPT:执行脚本。
	TaskType *string `json:"task_type,omitempty"`

	// 执行周期类型。FIXED_TIME:指定时间,DAY:按天,WEEK:按周,MONTH:按月,LIFE_CYCLE:触发式。指定LIFE_CYCLE时,才返回触发式任务。
	ScheduledType *string `json:"scheduled_type,omitempty"`

	// 触发场景类型。POST_CREATE_DESKTOP_SUCCESS:创建桌面成功后,POST_REBUILD_DESKTOP_SUCCESS:重建桌面成功后,POST_REATTACH_DESKTOP_SUCCESS:触发重建的分配用户任务成功后。
	LifeCycleType *string `json:"life_cycle_type,omitempty"`

	// 最近一次执行状态。SUCCESS:成功,SKIP:跳过,FAIL:失败。
	LastStatus *string `json:"last_status,omitempty"`
}

ListScheduledTasksRequest Request Object

func (ListScheduledTasksRequest) String added in v0.1.85

func (o ListScheduledTasksRequest) String() string

type ListScheduledTasksResponse added in v0.1.85

type ListScheduledTasksResponse struct {

	// 定时任务列表。
	ScheduledTasks *[]ScheduledTask `json:"scheduled_tasks,omitempty"`

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

ListScheduledTasksResponse Response Object

func (ListScheduledTasksResponse) String added in v0.1.85

type ListTerminalsBindingDesktopsConfigRequest added in v0.1.15

type ListTerminalsBindingDesktopsConfigRequest struct {
}

ListTerminalsBindingDesktopsConfigRequest Request Object

func (ListTerminalsBindingDesktopsConfigRequest) String added in v0.1.15

type ListTerminalsBindingDesktopsConfigResponse added in v0.1.15

type ListTerminalsBindingDesktopsConfigResponse struct {

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

ListTerminalsBindingDesktopsConfigResponse Response Object

func (ListTerminalsBindingDesktopsConfigResponse) String added in v0.1.15

type ListTerminalsBindingDesktopsConfigResponseTcBindSwitch added in v0.1.15

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

func (ListTerminalsBindingDesktopsConfigResponseTcBindSwitch) MarshalJSON added in v0.1.15

func (*ListTerminalsBindingDesktopsConfigResponseTcBindSwitch) UnmarshalJSON added in v0.1.15

func (ListTerminalsBindingDesktopsConfigResponseTcBindSwitch) Value added in v0.1.15

type ListTerminalsBindingDesktopsConfigResponseTcBindSwitchEnum added in v0.1.15

type ListTerminalsBindingDesktopsConfigResponseTcBindSwitchEnum struct {
	ON  ListTerminalsBindingDesktopsConfigResponseTcBindSwitch
	OFF ListTerminalsBindingDesktopsConfigResponseTcBindSwitch
}

func GetListTerminalsBindingDesktopsConfigResponseTcBindSwitchEnum added in v0.1.15

func GetListTerminalsBindingDesktopsConfigResponseTcBindSwitchEnum() ListTerminalsBindingDesktopsConfigResponseTcBindSwitchEnum

type ListTerminalsBindingDesktopsRequest added in v0.1.15

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

type ListTerminalsBindingDesktopsResponse added in v0.1.15

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

type ListUnusedDesktopsRequest added in v0.1.46

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

func (o ListUnusedDesktopsRequest) String() string

type ListUnusedDesktopsResponse added in v0.1.46

type ListUnusedDesktopsResponse struct {

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

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

ListUnusedDesktopsResponse Response Object

func (ListUnusedDesktopsResponse) String added in v0.1.46

type ListUsedDesktopInfoReq added in v0.1.46

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

	// 统计方式,不传则默认按天。可选值为: - DAY: 按天。 - HOUR: 按小时。
	GroupByType *ListUsedDesktopInfoReqGroupByType `json:"group_by_type,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 added in v0.1.46

func (o ListUsedDesktopInfoReq) String() string

type ListUsedDesktopInfoReqGroupByType added in v0.1.77

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

func (ListUsedDesktopInfoReqGroupByType) MarshalJSON added in v0.1.77

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

func (*ListUsedDesktopInfoReqGroupByType) UnmarshalJSON added in v0.1.77

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

func (ListUsedDesktopInfoReqGroupByType) Value added in v0.1.77

type ListUsedDesktopInfoReqGroupByTypeEnum added in v0.1.77

type ListUsedDesktopInfoReqGroupByTypeEnum struct {
	DAY  ListUsedDesktopInfoReqGroupByType
	HOUR ListUsedDesktopInfoReqGroupByType
}

func GetListUsedDesktopInfoReqGroupByTypeEnum added in v0.1.77

func GetListUsedDesktopInfoReqGroupByTypeEnum() ListUsedDesktopInfoReqGroupByTypeEnum

type ListUsedDesktopInfoRequest added in v0.1.46

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

ListUsedDesktopInfoRequest Request Object

func (ListUsedDesktopInfoRequest) String added in v0.1.46

type ListUsedDesktopInfoResponse added in v0.1.46

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

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

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

func (o ListUserGroupsRequest) String() string

type ListUserGroupsResponse added in v0.1.46

type ListUserGroupsResponse struct {

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

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

ListUserGroupsResponse Response Object

func (ListUserGroupsResponse) String added in v0.1.46

func (o ListUserGroupsResponse) String() string

type ListUserUsageMetricRequest added in v0.1.85

type ListUserUsageMetricRequest struct {

	// 查询起始时间(0时区)
	StartTime string `json:"start_time"`

	// 查询截至时间(0时区)
	EndTime string `json:"end_time"`

	// 用户名(模糊匹配)
	Username *string `json:"username,omitempty"`

	// 使用时长最小值
	UsageMinHours *int32 `json:"usage_min_hours,omitempty"`

	// 使用时长最大值 usage_min_hours和usage_max_hours同时存在时,usage_max_hours必须大于等于usage_min_hours
	UsageMaxHours *int32 `json:"usage_max_hours,omitempty"`

	// 按照指标进行排序 * `user_usage` -  按照用户使用时长排序
	SortField *string `json:"sort_field,omitempty"`

	// 按照指标进行排序的方向;需配合sort_field起义使用 * `DESC` - 降序返回数据 * `ASC` -  升序返回数据
	SortType *string `json:"sort_type,omitempty"`

	// 查询的偏移量,默认值0
	Offset *int32 `json:"offset,omitempty"`

	// 单次查询的大小[1-100],默认值10
	Limit *int32 `json:"limit,omitempty"`
}

ListUserUsageMetricRequest Request Object

func (ListUserUsageMetricRequest) String added in v0.1.85

type ListUserUsageMetricResponse added in v0.1.85

type ListUserUsageMetricResponse struct {

	// 总数
	Count *int32 `json:"count,omitempty"`

	// 用户统计指标
	Items          *[]UserMetric `json:"items,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListUserUsageMetricResponse Response Object

func (ListUserUsageMetricResponse) String added in v0.1.85

type ListUsersOfGroupRequest added in v0.1.46

type ListUsersOfGroupRequest struct {

	// 用户名支持模糊查询。
	UserName *string `json:"user_name,omitempty"`

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

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

	// 激活类型。 - USER_ACTIVATE:用户激活 - ADMIN_ACTIVATE:管理员激活
	ActiveType *ListUsersOfGroupRequestActiveType `json:"active_type,omitempty"`

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

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

ListUsersOfGroupRequest Request Object

func (ListUsersOfGroupRequest) String added in v0.1.46

func (o ListUsersOfGroupRequest) String() string

type ListUsersOfGroupRequestActiveType added in v0.1.65

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

func (ListUsersOfGroupRequestActiveType) MarshalJSON added in v0.1.65

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

func (*ListUsersOfGroupRequestActiveType) UnmarshalJSON added in v0.1.65

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

func (ListUsersOfGroupRequestActiveType) Value added in v0.1.65

type ListUsersOfGroupRequestActiveTypeEnum added in v0.1.65

type ListUsersOfGroupRequestActiveTypeEnum struct {
	USER_ACTIVATE  ListUsersOfGroupRequestActiveType
	ADMIN_ACTIVATE ListUsersOfGroupRequestActiveType
}

func GetListUsersOfGroupRequestActiveTypeEnum added in v0.1.65

func GetListUsersOfGroupRequestActiveTypeEnum() ListUsersOfGroupRequestActiveTypeEnum

type ListUsersOfGroupResponse added in v0.1.46

type ListUsersOfGroupResponse struct {

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

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

ListUsersOfGroupResponse Response Object

func (ListUsersOfGroupResponse) String added in v0.1.46

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

	// 桌面用户组名,精确匹配。
	GroupName *string `json:"group_name,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"`

	// 是否授权收集日志。
	AuthorizedCollectLog *bool `json:"authorized_collect_log,omitempty"`

	// 是否授权hda升级。
	AuthorizedHdaUpgrade *bool `json:"authorized_hda_upgrade,omitempty"`

	// 自定义的专线VNC地址
	DcVncIp        *string `json:"dc_vnc_ip,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 added in v0.1.46

type LogoffDesktopsReq struct {

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

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

LogoffDesktopsReq 注销桌面的请求。

func (LogoffDesktopsReq) String added in v0.1.46

func (o LogoffDesktopsReq) String() string

type Match added in v0.1.65

type Match struct {

	// 搜索时要匹配的字段
	Key string `json:"key"`

	// 搜索时匹配的值,当key=resource_name时为模糊匹配
	Value string `json:"value"`
}

Match 根据Tag搜索时的字段结构体。

func (Match) String added in v0.1.65

func (o Match) String() string

type Metric added in v0.1.85

type Metric struct {

	// 指标名称
	MetricName *string `json:"metric_name,omitempty"`

	// 指标值
	MetricValue *float64 `json:"metric_value,omitempty"`
}

Metric 指标

func (Metric) String added in v0.1.85

func (o Metric) String() string

type MetricNotifyRule added in v0.1.85

type MetricNotifyRule struct {

	// 规则ID
	RuleId *string `json:"rule_id,omitempty"`

	// 统计指标名称,目前仅支持固定值:desktop_idle_duration * `desktop_idle_duration` -  桌面空闲时长
	MetricName *string `json:"metric_name,omitempty"`

	// 统计持续周期(天)
	Threshold *int32 `json:"threshold,omitempty"`

	// 统计指标对应的统计值和threshold进行比较的条件 * `>=` -  统计指标大于等于threshold时触发 * `>` -   统计指标大于threshold时触发 * `=` -  统计指标等于threshold时触发 * `<=` -  统计指标小于等于threshold时触发 * `<` -  统计指标小于threshold时触发
	ComparisonOperator *string `json:"comparison_operator,omitempty"`

	// 触发通知后;下次通知的间隔时间;默认每天一次
	Interval *int32 `json:"interval,omitempty"`

	// 启禁用规则 true:启用 false:禁用
	Enable *bool `json:"enable,omitempty"`

	// 通知对象;smn的主题urn
	NotifyObject *string `json:"notify_object,omitempty"`
}

MetricNotifyRule 指标通知规则

func (MetricNotifyRule) String added in v0.1.85

func (o MetricNotifyRule) String() string

type MetricsWithTime added in v0.1.103

type MetricsWithTime struct {

	// 时间
	Time *string `json:"time,omitempty"`

	// 指标值
	Metrics *[]Metric `json:"metrics,omitempty"`
}

MetricsWithTime 带时间的指标

func (MetricsWithTime) String added in v0.1.103

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

	// 开通专线访问VNC功能,如果传入的是default则自动创建,如果传入的自定义的dc_vnc_ip则直接使用,如果传入的是close表示关闭自定义VNC
	DcVncIp *string `json:"dc_vnc_ip,omitempty"`

	// 是否授权收集日志。
	AuthorizedCollectLog *bool `json:"authorized_collect_log,omitempty"`

	// 是否授权hda升级。
	AuthorizedHdaUpgrade *bool `json:"authorized_hda_upgrade,omitempty"`

	ApplyDedicatedStandbyNetworkParam *ApplyDedicatedStandbyNetworkParam `json:"apply_dedicated_standby_network_param,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 NetworkInfo added in v0.1.65

type NetworkInfo struct {
	VpcInfo *Vpc `json:"vpc_info,omitempty"`

	SubnetInfo *DesktopSubnet `json:"subnet_info,omitempty"`

	PortInfo *Port `json:"port_info,omitempty"`

	PublicIpInfo *PublicIp `json:"public_ip_info,omitempty"`

	// 桌面绑定的安全组列表
	SecurityGroups *[]SecurityGroupInfo `json:"security_groups,omitempty"`
}

NetworkInfo 桌面网络信息:vpc、子网、私有ip、弹性ip、安全组

func (NetworkInfo) String added in v0.1.65

func (o NetworkInfo) String() string

type Nic

type Nic struct {

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

func (Nic) String

func (o Nic) String() string

type OperateUserReq added in v0.1.10

type OperateUserReq struct {

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

func (OperateUserReq) String added in v0.1.10

func (o OperateUserReq) String() string

type OperateUserReqOpType added in v0.1.10

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

func (OperateUserReqOpType) MarshalJSON added in v0.1.10

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

func (*OperateUserReqOpType) UnmarshalJSON added in v0.1.10

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

func (OperateUserReqOpType) Value added in v0.1.10

func (c OperateUserReqOpType) Value() string

type OperateUserReqOpTypeEnum added in v0.1.10

type OperateUserReqOpTypeEnum struct {
	LOCK      OperateUserReqOpType
	UNLOCK    OperateUserReqOpType
	RESET_PWD OperateUserReqOpType
}

func GetOperateUserReqOpTypeEnum added in v0.1.10

func GetOperateUserReqOpTypeEnum() OperateUserReqOpTypeEnum

type OtpConfigInfo added in v0.1.15

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

func (o OtpConfigInfo) String() string

type OtpDevice added in v0.1.15

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

func (o OtpDevice) String() string

type OtpDeviceStatus added in v0.1.15

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

func (OtpDeviceStatus) MarshalJSON added in v0.1.15

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

func (*OtpDeviceStatus) UnmarshalJSON added in v0.1.15

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

func (OtpDeviceStatus) Value added in v0.1.15

func (c OtpDeviceStatus) Value() string

type OtpDeviceStatusEnum added in v0.1.15

type OtpDeviceStatusEnum struct {
	UNREGISTER OtpDeviceStatus
	REGISTERED OtpDeviceStatus
}

func GetOtpDeviceStatusEnum added in v0.1.15

func GetOtpDeviceStatusEnum() OtpDeviceStatusEnum

type Port added in v0.1.65

type Port struct {

	// 私有IP唯一标识
	Id *string `json:"id,omitempty"`

	// 私有IP地址
	IpAddress *string `json:"ip_address,omitempty"`
}

Port 私有IP信息。

func (Port) String added in v0.1.65

func (o Port) String() string

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

	// 数据盘大小,单位GB。
	DataDiskSize *string `json:"data_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"`

	// 专享主机套餐默认的桌面数。
	DefaultDesktopNum *int32 `json:"default_desktop_num,omitempty"`

	// 专享主机支持创建的最大桌面数。
	MaxApplyDesktopNum *int32 `json:"max_apply_desktop_num,omitempty"`
}

func (ProductInfo) String

func (o ProductInfo) String() string

type PublicIp added in v0.1.65

type PublicIp struct {

	// 弹性IP唯一标识
	Id *string `json:"id,omitempty"`

	// 弹性IP地址
	PublicIpAddress *string `json:"public_ip_address,omitempty"`
}

PublicIp 弹性IP信息。

func (PublicIp) String added in v0.1.65

func (o PublicIp) String() string

type QueryDesktopByTagReq added in v0.1.65

type QueryDesktopByTagReq struct {

	// 默认为0
	Offset *string `json:"offset,omitempty"`

	// 默认为1000
	Limit *string `json:"limit,omitempty"`

	// 如果是filter就是分页查询,如果是count只需按照条件将总条数返回即可
	Action *string `json:"action,omitempty"`

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

	// match对象
	Matches *[]Match `json:"matches,omitempty"`

	// 包含的标签对象,只要有一个不包含,就不符合,一个key对应多个value
	Tags *[]Tags `json:"tags,omitempty"`

	// 包含任意标签,若全都不包含,不符合,一个key对应多个value
	TagsAny *[]Tags `json:"tags_any,omitempty"`

	// 不包含标签,只要有一个不包含,就符合了,一个key对应多个value
	NotTags *[]Tags `json:"not_tags,omitempty"`

	// 不包含任意标签,只要包含其中一个,就不符合,一个key对应多个value
	NotTagsAny *[]Tags `json:"not_tags_any,omitempty"`
}

func (QueryDesktopByTagReq) String added in v0.1.65

func (o QueryDesktopByTagReq) String() string

type QuotaNoLimit added in v0.1.16

type QuotaNoLimit struct {

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

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

func (QuotaNoLimit) String added in v0.1.16

func (o QuotaNoLimit) String() string

type RebuildDesktopsReq added in v0.1.65

type RebuildDesktopsReq struct {

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

	// 镜像类型。
	ImageType *string `json:"image_type,omitempty"`

	// 模板ID。
	ImageId string `json:"image_id"`

	// os类型。
	OsType *string `json:"os_type,omitempty"`

	// 立即重建时给用户预留的保存数据的时间(单位:分钟)。
	DelayTime *int32 `json:"delay_time,omitempty"`

	// 下发重建系统盘任务时,给用户发送的提示信息。
	Message *string `json:"message,omitempty"`

	// 订单ID,包周期桌面重建系统盘,涉及收费镜像时需传
	OrderId *string `json:"order_id,omitempty"`

	// 企业项目ID,默认\"0\"
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

RebuildDesktopsReq 重建系统盘的请求。

func (RebuildDesktopsReq) String added in v0.1.65

func (o RebuildDesktopsReq) String() string

type ReceiveModeEnum added in v0.1.15

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

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

func (ReceiveModeEnum) MarshalJSON added in v0.1.15

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

func (*ReceiveModeEnum) UnmarshalJSON added in v0.1.15

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

func (ReceiveModeEnum) Value added in v0.1.15

func (c ReceiveModeEnum) Value() string

type ReceiveModeEnumEnum added in v0.1.15

type ReceiveModeEnumEnum struct {
	VMFA ReceiveModeEnum
	HMFA ReceiveModeEnum
}

func GetReceiveModeEnumEnum added in v0.1.15

func GetReceiveModeEnumEnum() ReceiveModeEnumEnum

type Record

type Record struct {

	// 桌面sid
	Sid *string `json:"sid,omitempty"`

	// 事务id
	TransactionId *string `json:"transaction_id,omitempty"`

	// 计算机名。
	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"`

	// 网络时延ms
	NetworkRtt *int32 `json:"network_rtt,omitempty"`

	// 端到端时延 ms
	E2eRtt *int32 `json:"e2e_rtt,omitempty"`
}

func (Record) String

func (o Record) String() string

type ResetRandomPasswordRequest added in v0.1.46

type ResetRandomPasswordRequest struct {

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

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

ResetRandomPasswordRequest Request Object

func (ResetRandomPasswordRequest) String added in v0.1.46

type ResetRandomPasswordResponse added in v0.1.46

type ResetRandomPasswordResponse struct {

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

ResetRandomPasswordResponse Response Object

func (ResetRandomPasswordResponse) String added in v0.1.46

type ResizeDesktopData

type ResizeDesktopData struct {

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

ResizeDesktopData 变更规格的桌面对象。

func (ResizeDesktopData) String

func (o ResizeDesktopData) String() string

type ResizeDesktopJobResponse added in v0.1.46

type ResizeDesktopJobResponse struct {

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

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

ResizeDesktopJobResponse 变更桌面规格Job响应。

func (ResizeDesktopJobResponse) String added in v0.1.46

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

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

func (o ResourceNoLimit) String() string

type RunActionsOnGroupRequest added in v0.1.46

type RunActionsOnGroupRequest struct {

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

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

RunActionsOnGroupRequest Request Object

func (RunActionsOnGroupRequest) String added in v0.1.46

func (o RunActionsOnGroupRequest) String() string

type RunActionsOnGroupResponse added in v0.1.46

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

RunActionsOnGroupResponse Response Object

func (RunActionsOnGroupResponse) String added in v0.1.46

func (o RunActionsOnGroupResponse) String() string

type ScheduledTask added in v0.1.85

type ScheduledTask struct {

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

	// 任务名称。
	TaskName *string `json:"task_name,omitempty"`

	// 任务类型。START:开机,STOP:关机,REBOOT:重启,HIBERNATE:休眠,REBUILD:重建系统盘,EXECUTE_SCRIPT:执行脚本。
	TaskType *string `json:"task_type,omitempty"`

	// 执行周期。FIXED_TIME:指定时间,DAY:按天,WEEK:按周,MONTH:按月。
	ScheduledType *string `json:"scheduled_type,omitempty"`

	// 触发场景类型。
	LifeCycleType *string `json:"life_cycle_type,omitempty"`

	// 最近一次执行状态。SUCCESS:成功,SKIP:跳过,FAIL:失败。
	LastStatus *string `json:"last_status,omitempty"`

	// 下一次执行时间。格式为yyyy-MM-dd HH:mm:ss。
	NextExecutionTime *string `json:"next_execution_time,omitempty"`

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

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

	// 优先级。触发式任务使用。
	Priority *int32 `json:"priority,omitempty"`

	// 时区
	TimeZone *string `json:"time_zone,omitempty"`
}

ScheduledTask 定时任务信息。

func (ScheduledTask) String added in v0.1.85

func (o ScheduledTask) String() string

type ScheduledTaskConfig added in v0.1.85

type ScheduledTaskConfig struct {

	// 执行周期类型,可选值为: - FIXED_TIME:指定时间。 - DAY:按天。 - WEEK:按周。 - MONTH:按月。 - LIFE_CYCLE:指定场景下触发。
	ScheduledType *ScheduledTaskConfigScheduledType `json:"scheduled_type,omitempty"`

	// 周期按天时:按x天间隔执行。
	DayInterval *int32 `json:"day_interval,omitempty"`

	// 周期按周时:取值1~7,分别对应周日~周六,英文逗号分隔,如1,2,7。
	WeekList *string `json:"week_list,omitempty"`

	// 周期按月时:取值1~12,英文逗号分隔,如1,3,12。
	MonthList *string `json:"month_list,omitempty"`

	// 周期按月时:取值1~31及L(代表当月最后一天),英文逗号分隔,如1,2,28,L。
	DateList *string `json:"date_list,omitempty"`

	// 周期指定时间时:表示指定的日期,格式为yyyy-MM-dd。
	ScheduledDate *string `json:"scheduled_date,omitempty"`

	// 指定的执行时间点,格式为HH:mm:ss。
	ScheduledTime *string `json:"scheduled_time,omitempty"`

	// 到期时间,格式为yyyy-MM-dd HH:mm:ss。
	ExpireTime *string `json:"expire_time,omitempty"`

	// 灰度对象数量,优先级高于gray_desktop_ids。只支持脚本执行。
	GrayCount *int32 `json:"gray_count,omitempty"`

	// 灰度执行的桌面id列表,优先级低于gray_count。只支持脚本执行。
	GrayDesktopIds *[]string `json:"gray_desktop_ids,omitempty"`

	// 灰度失败阈值,灰度执行失败次数达到该值时,不执行下一批任务。只支持脚本执行。
	GrayFailThreshold *int32 `json:"gray_fail_threshold,omitempty"`

	// 触发场景。POST_CREATE_DESKTOP_SUCCESS:创建桌面成功后,POST_REBUILD_DESKTOP_SUCCESS:重建桌面成功后,POST_REATTACH_DESKTOP_SUCCESS:触发重建的分配用户任务成功后。
	LifeCycleType *string `json:"life_cycle_type,omitempty"`

	// 时区。
	TimeZone *string `json:"time_zone,omitempty"`
}

ScheduledTaskConfig 定时任务时间配置。

func (ScheduledTaskConfig) String added in v0.1.85

func (o ScheduledTaskConfig) String() string

type ScheduledTaskConfigScheduledType added in v0.1.85

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

func (ScheduledTaskConfigScheduledType) MarshalJSON added in v0.1.85

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

func (*ScheduledTaskConfigScheduledType) UnmarshalJSON added in v0.1.85

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

func (ScheduledTaskConfigScheduledType) Value added in v0.1.85

type ScheduledTaskConfigScheduledTypeEnum added in v0.1.85

func GetScheduledTaskConfigScheduledTypeEnum added in v0.1.85

func GetScheduledTaskConfigScheduledTypeEnum() ScheduledTaskConfigScheduledTypeEnum

type ScheduledTasksRecords added in v0.1.85

type ScheduledTasksRecords struct {

	// 任务执行记录id
	Id *string `json:"id,omitempty"`

	// 执行时间,格式为yyyy-MM-dd HH:mm:ss。
	StartTime *string `json:"start_time,omitempty"`

	// 任务类型。START:开机,STOP:关机,REBOOT:重启,HIBERNATE:休眠,REBUILD:重建系统盘。
	TaskType *string `json:"task_type,omitempty"`

	// 执行周期类型。FIXED_TIME:指定时间,DAY:按天,WEEK:按周,MONTH:按月。
	ScheduledType *string `json:"scheduled_type,omitempty"`

	// 本次执行状态。
	Status *string `json:"status,omitempty"`

	// 成功桌面个数。
	SuccessNum *int32 `json:"success_num,omitempty"`

	// 失败桌面个数。
	FailedNum *int32 `json:"failed_num,omitempty"`

	// 跳过桌面个数。
	SkipNum *int32 `json:"skip_num,omitempty"`

	// 时区
	TimeZone *string `json:"time_zone,omitempty"`

	// 执行定时任务的任务id,只有定时执行脚本返回。
	ExecuteTaskId *string `json:"execute_task_id,omitempty"`
}

ScheduledTasksRecords 定时任务执行记录。

func (ScheduledTasksRecords) String added in v0.1.85

func (o ScheduledTasksRecords) String() string

type ScheduledTasksRecordsDetails added in v0.1.85

type ScheduledTasksRecordsDetails struct {

	// 任务执行记录详情id
	Id *string `json:"id,omitempty"`

	// 任务执行记录id
	RecordId *string `json:"record_id,omitempty"`

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

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

	// 执行状态。
	ExecStatus *string `json:"exec_status,omitempty"`

	// 失败或者跳过原因的错误码。
	ResultCode *string `json:"result_code,omitempty"`

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

	// 执行开始时间,格式为yyyy-MM-dd HH:mm:ss。
	StartTime *string `json:"start_time,omitempty"`

	// 执行结束时间,格式为yyyy-MM-dd HH:mm:ss。
	EndTime *string `json:"end_time,omitempty"`

	// 时区
	TimeZone *string `json:"time_zone,omitempty"`
}

ScheduledTasksRecordsDetails 定时任务执行记录详情。

func (ScheduledTasksRecordsDetails) String added in v0.1.85

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

type ShowAssistAuthConfigRequest struct {
}

ShowAssistAuthConfigRequest Request Object

func (ShowAssistAuthConfigRequest) String added in v0.1.15

type ShowAssistAuthConfigResponse added in v0.1.15

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

ShowAssistAuthConfigResponse Response Object

func (ShowAssistAuthConfigResponse) String added in v0.1.15

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

type ShowDesktopNetworkRequest struct {

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

ShowDesktopNetworkRequest Request Object

func (ShowDesktopNetworkRequest) String added in v0.1.65

func (o ShowDesktopNetworkRequest) String() string

type ShowDesktopNetworkResponse added in v0.1.65

type ShowDesktopNetworkResponse struct {

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

	// 桌面ID
	ComputerId *string `json:"computer_id,omitempty"`

	// 桌面网络信息
	NetworkInfos   *[]NetworkInfo `json:"network_infos,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowDesktopNetworkResponse Response Object

func (ShowDesktopNetworkResponse) String added in v0.1.65

type ShowDesktopRemoteAssistanceInfoRequest added in v0.1.90

type ShowDesktopRemoteAssistanceInfoRequest struct {

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

ShowDesktopRemoteAssistanceInfoRequest Request Object

func (ShowDesktopRemoteAssistanceInfoRequest) String added in v0.1.90

type ShowDesktopRemoteAssistanceInfoResponse added in v0.1.90

type ShowDesktopRemoteAssistanceInfoResponse struct {

	// 协同空间ID
	ShareSpaceId *string `json:"share_space_id,omitempty"`

	// 协同空间邀请码(大写英文+数字,共8位)
	InvitationCode *string `json:"invitation_code,omitempty"`

	// 协同空间名称
	ShareSpaceName *string `json:"share_space_name,omitempty"`

	// 协同空间密码
	ShareSpacePasswd *string `json:"share_space_passwd,omitempty"`

	// 专线分享链接
	PrivateShareLink *string `json:"private_share_link,omitempty"`

	// 互联网分享链接
	InternetShareLink *string `json:"internet_share_link,omitempty"`

	// 创建时间 UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'。
	CreateTime *string `json:"create_time,omitempty"`

	// 协同空间状态 - OPEN 协同空间已创建 - CLOSE 协同空间已关闭 - WAIT_USER_CONFIRM 等待用户确认进入远程协助 - WAIT_USER_ACCESS 等待用户进入远程协助
	Status *string `json:"status,omitempty"`

	// 失败原因
	FailedReason   *string `json:"failed_reason,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDesktopRemoteAssistanceInfoResponse Response Object

func (ShowDesktopRemoteAssistanceInfoResponse) String added in v0.1.90

type ShowJobRequest added in v0.1.96

type ShowJobRequest struct {

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

ShowJobRequest Request Object

func (ShowJobRequest) String added in v0.1.96

func (o ShowJobRequest) String() string

type ShowJobResponse added in v0.1.96

type ShowJobResponse struct {

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

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

	// 任务开始时间
	BeginTime *string `json:"begin_time,omitempty"`

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

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

	// 任务错误码
	JobErrorCode *string `json:"job_error_code,omitempty"`

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

	// 子任务总数
	SubJobsTotal *int32 `json:"sub_jobs_total,omitempty"`

	// 子任务列表
	SubJobs        *[]JobDetailInfo `json:"sub_jobs,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowJobResponse Response Object

func (ShowJobResponse) String added in v0.1.96

func (o ShowJobResponse) String() string

type ShowQuotasRequest added in v0.1.16

type ShowQuotasRequest struct {
}

ShowQuotasRequest Request Object

func (ShowQuotasRequest) String added in v0.1.16

func (o ShowQuotasRequest) String() string

type ShowQuotasResponse added in v0.1.16

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

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

ShowQuotasResponse Response Object

func (ShowQuotasResponse) String added in v0.1.16

func (o ShowQuotasResponse) String() string

type ShowScheduledTasksRequest added in v0.1.85

type ShowScheduledTasksRequest struct {

	// 任务ID。
	TaskId string `json:"task_id"`
}

ShowScheduledTasksRequest Request Object

func (ShowScheduledTasksRequest) String added in v0.1.85

func (o ShowScheduledTasksRequest) String() string

type ShowScheduledTasksResponse added in v0.1.85

type ShowScheduledTasksResponse struct {

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

	// 任务类型。START:开机,STOP:关机,REBOOT:重启,HIBERNATE:休眠,REBUILD:重建系统盘,EXECUTE_SCRIPT:执行脚本。scheduled_type为LIFE_CYCLE时,不支持START、REBUILD。
	TaskType *string `json:"task_type,omitempty"`

	// 任务名称。
	TaskName *string `json:"task_name,omitempty"`

	// 是否强制执行。
	ForceExecute *bool `json:"force_execute,omitempty"`

	// 执行周期类型。FIXED_TIME:指定时间,DAY:按天,WEEK:按周,MONTH:按月,LIFE_CYCLE:指定场景下触发。
	ScheduledType *string `json:"scheduled_type,omitempty"`

	// 触发场景类型。仅当scheduled_type为LIFE_CYCLE时,生效。POST_CREATE_DESKTOP_SUCCESS:创建桌面成功后,POST_REBUILD_DESKTOP_SUCCESS:重建桌面成功后,POST_REATTACH_DESKTOP_SUCCESS:触发重建的分配用户任务成功后。
	LifeCycleType *string `json:"life_cycle_type,omitempty"`

	// 周期按天时:按x天间隔执行。
	DayInterval *int32 `json:"day_interval,omitempty"`

	// 周期按周时:取值1~7,分别对应周日~周六,英文逗号分隔,如1,2,7。
	WeekList *string `json:"week_list,omitempty"`

	// 周期按月时:取值1~12,英文逗号分隔,如1,3,12。
	MonthList *string `json:"month_list,omitempty"`

	// 周期按月时:取值1~31及L(代表当月最后一天),英文逗号分隔,如1,2,28,L。
	DateList *string `json:"date_list,omitempty"`

	// 周期指定时间时:表示指定的日期,格式为yyyy-MM-dd。
	ScheduledDate *string `json:"scheduled_date,omitempty"`

	// 指定的执行时间点,格式为HH:mm:ss。
	ScheduledTime *string `json:"scheduled_time,omitempty"`

	// 到期时间,格式为yyyy-MM-dd HH:mm:ss。
	ExpireTime *string `json:"expire_time,omitempty"`

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

	// 扩展参数,json格式。
	ExtraParams *string `json:"extra_params,omitempty"`

	// 定时任务应用的对象列表。
	ApplyObjects *[]ApplyObject `json:"apply_objects,omitempty"`

	// 灰度对象数量,优先级高于gray_desktop_ids。
	GrayCount *int32 `json:"gray_count,omitempty"`

	// 灰度执行的桌面id列表,优先级低于gray_count。
	GrayDesktopIds *[]string `json:"gray_desktop_ids,omitempty"`

	// 灰度失败阈值,灰度执行失败次数达到该值时,不执行下一批任务。
	GrayFailThreshold *int32 `json:"gray_fail_threshold,omitempty"`

	// 时区。
	TimeZone       *string `json:"time_zone,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowScheduledTasksResponse Response Object

func (ShowScheduledTasksResponse) String added in v0.1.85

type ShowTagByDesktopIdRequest added in v0.1.65

type ShowTagByDesktopIdRequest struct {

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

ShowTagByDesktopIdRequest Request Object

func (ShowTagByDesktopIdRequest) String added in v0.1.65

func (o ShowTagByDesktopIdRequest) String() string

type ShowTagByDesktopIdResponse added in v0.1.65

type ShowTagByDesktopIdResponse struct {

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

ShowTagByDesktopIdResponse Response Object

func (ShowTagByDesktopIdResponse) String added in v0.1.65

type ShowWorkspaceLockRequest added in v0.1.15

type ShowWorkspaceLockRequest struct {
}

ShowWorkspaceLockRequest Request Object

func (ShowWorkspaceLockRequest) String added in v0.1.15

func (o ShowWorkspaceLockRequest) String() string

type ShowWorkspaceLockResponse added in v0.1.15

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

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

	// 桌面已分配的用户信息列表。
	AttachUserInfos *[]AttachInstancesUserInfo `json:"attach_user_infos,omitempty"`

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

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

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

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

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

	// 是否处于管理员维护模式
	InMaintenanceMode *bool `json:"in_maintenance_mode,omitempty"`

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

	// 桌面计费资源ID。
	BillResourceId *string `json:"bill_resource_id,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 added in v0.1.16

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

func (o SimpleResource) String() string

type SimpleResourceNoUsed added in v0.1.16

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

func (o SimpleResourceNoUsed) String() string

type SiteQuotaNoLimit added in v0.1.16

type SiteQuotaNoLimit struct {

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

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

SiteQuotaNoLimit 单个站点的配额

func (SiteQuotaNoLimit) String added in v0.1.16

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

type TagResource struct {

	// 计算机信息
	ResourceDetail *string `json:"resource_detail,omitempty"`

	// 计算机id
	ResourceId *string `json:"resource_id,omitempty"`

	// 计算机名称
	ResourceName *string `json:"resource_name,omitempty"`

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

func (TagResource) String added in v0.1.65

func (o TagResource) String() string

type Tags added in v0.1.65

type Tags struct {

	// 标签key。
	Key *string `json:"key,omitempty"`

	// 标签value。
	Values *[]string `json:"values,omitempty"`
}

Tags 标签

func (Tags) String added in v0.1.65

func (o Tags) String() string

type TagsReq added in v0.1.65

type TagsReq struct {

	// 操作字符串create或delete
	Action *string `json:"action,omitempty"`

	// 标签对象
	Tags *[]Tag `json:"tags,omitempty"`

	// 标签对象(已废弃)
	SysTags *[]Tag `json:"sys_tags,omitempty"`
}

TagsReq 批量修改标签请求

func (TagsReq) String added in v0.1.65

func (o TagsReq) String() string

type TerminalsBindingDesktopsConfig added in v0.1.15

type TerminalsBindingDesktopsConfig struct {

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

func (TerminalsBindingDesktopsConfig) String added in v0.1.15

type TerminalsBindingDesktopsConfigTcBindSwitch added in v0.1.15

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

func (TerminalsBindingDesktopsConfigTcBindSwitch) MarshalJSON added in v0.1.15

func (*TerminalsBindingDesktopsConfigTcBindSwitch) UnmarshalJSON added in v0.1.15

func (TerminalsBindingDesktopsConfigTcBindSwitch) Value added in v0.1.15

type TerminalsBindingDesktopsConfigTcBindSwitchEnum added in v0.1.15

type TerminalsBindingDesktopsConfigTcBindSwitchEnum struct {
	ON  TerminalsBindingDesktopsConfigTcBindSwitch
	OFF TerminalsBindingDesktopsConfigTcBindSwitch
}

func GetTerminalsBindingDesktopsConfigTcBindSwitchEnum added in v0.1.15

func GetTerminalsBindingDesktopsConfigTcBindSwitchEnum() TerminalsBindingDesktopsConfigTcBindSwitchEnum

type TerminalsBindingDesktopsInfo added in v0.1.15

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

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

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

UnlockWorkspaceRequest Request Object

func (UnlockWorkspaceRequest) String added in v0.1.15

func (o UnlockWorkspaceRequest) String() string

type UnlockWorkspaceRequestBody added in v0.1.15

type UnlockWorkspaceRequestBody struct {

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

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

func (UnlockWorkspaceRequestBody) String added in v0.1.15

type UnlockWorkspaceResponse added in v0.1.15

type UnlockWorkspaceResponse struct {

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

UnlockWorkspaceResponse Response Object

func (UnlockWorkspaceResponse) String added in v0.1.15

func (o UnlockWorkspaceResponse) String() string

type UnusedDesktopInfo added in v0.1.46

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

func (o UnusedDesktopInfo) String() string

type UpdateAccessPolicyObjectsReq added in v0.1.15

type UpdateAccessPolicyObjectsReq struct {

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

func (UpdateAccessPolicyObjectsReq) String added in v0.1.15

type UpdateAccessPolicyObjectsRequest added in v0.1.15

type UpdateAccessPolicyObjectsRequest struct {

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

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

UpdateAccessPolicyObjectsRequest Request Object

func (UpdateAccessPolicyObjectsRequest) String added in v0.1.15

type UpdateAccessPolicyObjectsResponse added in v0.1.15

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

UpdateAccessPolicyObjectsResponse Response Object

func (UpdateAccessPolicyObjectsResponse) String added in v0.1.15

type UpdateAssistAuthMethodConfigRequest added in v0.1.15

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

UpdateAssistAuthMethodConfigRequest Request Object

func (UpdateAssistAuthMethodConfigRequest) String added in v0.1.15

type UpdateAssistAuthMethodConfigResponse added in v0.1.15

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

UpdateAssistAuthMethodConfigResponse Response Object

func (UpdateAssistAuthMethodConfigResponse) String added in v0.1.15

type UpdateDesktopNamePolicyReq added in v0.1.77

type UpdateDesktopNamePolicyReq struct {

	// 策略名称,由数字、字母、下划线组成,必须以字母或下划线开头,长度范围为1~30个字符。
	PolicyName *string `json:"policy_name,omitempty"`

	// 策略前缀。
	NamePrefix *string `json:"name_prefix,omitempty"`

	// 策略后缀有效位数。
	DigitNumber *int32 `json:"digit_number,omitempty"`

	// 策略后缀起始数字。
	StartNumber *int32 `json:"start_number,omitempty"`

	// 是否单用户名递增。 - 1 单用户名递增。 - 0 租户递增。
	SingleDomainUserInc *int32 `json:"single_domain_user_inc,omitempty"`

	// 是否为默认策略,true默认策略。
	IsDefaultPolicy *bool `json:"is_default_policy,omitempty"`
}

UpdateDesktopNamePolicyReq 更新桌面名称策略请求体。

func (UpdateDesktopNamePolicyReq) String added in v0.1.77

type UpdateDesktopNamePolicyRequest added in v0.1.77

type UpdateDesktopNamePolicyRequest struct {

	// 策略ID。
	PolicyId string `json:"policy_id"`

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

UpdateDesktopNamePolicyRequest Request Object

func (UpdateDesktopNamePolicyRequest) String added in v0.1.77

type UpdateDesktopNamePolicyResponse added in v0.1.77

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

UpdateDesktopNamePolicyResponse Response Object

func (UpdateDesktopNamePolicyResponse) String added in v0.1.77

type UpdateMetricNotifyRuleReq added in v0.1.85

type UpdateMetricNotifyRuleReq struct {

	// 统计指标名称,目前仅支持固定值:desktop_idle_duration 同一指标的规则不允许重复 * `desktop_idle_duration` -  桌面空闲时长
	MetricName *string `json:"metric_name,omitempty"`

	// 规则配置-阈值(天)
	Threshold *int32 `json:"threshold,omitempty"`

	// 统计指标对应的统计值和threshold进行比较的条件 * `>=` -  统计指标大于等于threshold时触发 * `>` -   统计指标大于threshold时触发 * `=` -  统计指标等于threshold时触发 * `<=` -  统计指标小于等于threshold时触发 * `<` -  统计指标小于threshold时触发
	ComparisonOperator *string `json:"comparison_operator,omitempty"`

	// 触发通知后;下次通知的间隔时间;默认每天一次
	Interval *int32 `json:"interval,omitempty"`

	// 启禁用规则 true:启用 false:禁用
	Enable *bool `json:"enable,omitempty"`

	// 通知对象;smn的主题urn
	NotifyObject *string `json:"notify_object,omitempty"`
}

UpdateMetricNotifyRuleReq 设置通知规则

func (UpdateMetricNotifyRuleReq) String added in v0.1.85

func (o UpdateMetricNotifyRuleReq) String() string

type UpdateMetricNotifyRuleRequest added in v0.1.85

type UpdateMetricNotifyRuleRequest struct {

	// 通知规则ID
	RuleId string `json:"rule_id"`

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

UpdateMetricNotifyRuleRequest Request Object

func (UpdateMetricNotifyRuleRequest) String added in v0.1.85

type UpdateMetricNotifyRuleResponse added in v0.1.85

type UpdateMetricNotifyRuleResponse struct {

	// 规则ID
	RuleId *string `json:"rule_id,omitempty"`

	// 统计指标名称,目前仅支持固定值:desktop_idle_duration * `desktop_idle_duration` -  桌面空闲时长
	MetricName *string `json:"metric_name,omitempty"`

	// 统计持续周期(天)
	Threshold *int32 `json:"threshold,omitempty"`

	// 统计指标对应的统计值和threshold进行比较的条件 * `>=` -  统计指标大于等于threshold时触发 * `>` -   统计指标大于threshold时触发 * `=` -  统计指标等于threshold时触发 * `<=` -  统计指标小于等于threshold时触发 * `<` -  统计指标小于threshold时触发
	ComparisonOperator *string `json:"comparison_operator,omitempty"`

	// 触发通知后;下次通知的间隔时间;默认每天一次
	Interval *int32 `json:"interval,omitempty"`

	// 启禁用规则 true:启用 false:禁用
	Enable *bool `json:"enable,omitempty"`

	// 通知对象;smn的主题urn
	NotifyObject   *string `json:"notify_object,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateMetricNotifyRuleResponse Response Object

func (UpdateMetricNotifyRuleResponse) String added in v0.1.85

type UpdateScheduledTasksReq added in v0.1.85

type UpdateScheduledTasksReq struct {

	// 执行周期类型,可选值为: - FIXED_TIME:指定时间。 - DAY:按天。 - WEEK:按周。 - MONTH:按月。 - LIFE_CYCLE:指定场景下触发。
	ScheduledType *UpdateScheduledTasksReqScheduledType `json:"scheduled_type,omitempty"`

	// 周期按天时:按x天间隔执行。
	DayInterval *int32 `json:"day_interval,omitempty"`

	// 周期按周时:取值1~7,分别对应周日~周六,英文逗号分隔,如1,2,7。
	WeekList *string `json:"week_list,omitempty"`

	// 周期按月时:取值1~12,英文逗号分隔,如1,3,12。
	MonthList *string `json:"month_list,omitempty"`

	// 周期按月时:取值1~31及L(代表当月最后一天),英文逗号分隔,如1,2,28,L。
	DateList *string `json:"date_list,omitempty"`

	// 周期指定时间时:表示指定的日期,格式为yyyy-MM-dd。
	ScheduledDate *string `json:"scheduled_date,omitempty"`

	// 指定的执行时间点,格式为HH:mm:ss。
	ScheduledTime *string `json:"scheduled_time,omitempty"`

	// 到期时间,格式为yyyy-MM-dd HH:mm:ss。
	ExpireTime *string `json:"expire_time,omitempty"`

	// 灰度对象数量,优先级高于gray_desktop_ids。只支持脚本执行。
	GrayCount *int32 `json:"gray_count,omitempty"`

	// 灰度执行的桌面id列表,优先级低于gray_count。只支持脚本执行。
	GrayDesktopIds *[]string `json:"gray_desktop_ids,omitempty"`

	// 灰度失败阈值,灰度执行失败次数达到该值时,不执行下一批任务。只支持脚本执行。
	GrayFailThreshold *int32 `json:"gray_fail_threshold,omitempty"`

	// 触发场景。POST_CREATE_DESKTOP_SUCCESS:创建桌面成功后,POST_REBUILD_DESKTOP_SUCCESS:重建桌面成功后,POST_REATTACH_DESKTOP_SUCCESS:触发重建的分配用户任务成功后。
	LifeCycleType *string `json:"life_cycle_type,omitempty"`

	// 时区。
	TimeZone *string `json:"time_zone,omitempty"`

	// 任务名称。
	TaskName *string `json:"task_name,omitempty"`

	// 是否强制执行
	ForceExecute *bool `json:"force_execute,omitempty"`

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

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

	// 扩展参数,json格式。
	ExtraParams *string `json:"extra_params,omitempty"`

	// 定时任务应用的对象列表。
	ApplyObjects *[]ApplyObject `json:"apply_objects,omitempty"`

	// 优先级。触发式任务使用。
	Priority *int32 `json:"priority,omitempty"`

	// 任务是否灰度执行,供远程脚本使用。
	IsGray *bool `json:"is_gray,omitempty"`
}

UpdateScheduledTasksReq 修改定时任务请求体。

func (UpdateScheduledTasksReq) String added in v0.1.85

func (o UpdateScheduledTasksReq) String() string

type UpdateScheduledTasksReqScheduledType added in v0.1.85

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

func (UpdateScheduledTasksReqScheduledType) MarshalJSON added in v0.1.85

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

func (*UpdateScheduledTasksReqScheduledType) UnmarshalJSON added in v0.1.85

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

func (UpdateScheduledTasksReqScheduledType) Value added in v0.1.85

type UpdateScheduledTasksRequest added in v0.1.85

type UpdateScheduledTasksRequest struct {

	// 任务ID。
	TaskId string `json:"task_id"`

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

UpdateScheduledTasksRequest Request Object

func (UpdateScheduledTasksRequest) String added in v0.1.85

type UpdateScheduledTasksResponse added in v0.1.85

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

UpdateScheduledTasksResponse Response Object

func (UpdateScheduledTasksResponse) String added in v0.1.85

type UpdateTerminalsBindingDesktopsConfigRequest added in v0.1.15

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

UpdateTerminalsBindingDesktopsConfigRequest Request Object

func (UpdateTerminalsBindingDesktopsConfigRequest) String added in v0.1.15

type UpdateTerminalsBindingDesktopsConfigResponse added in v0.1.15

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

UpdateTerminalsBindingDesktopsConfigResponse Response Object

func (UpdateTerminalsBindingDesktopsConfigResponse) String added in v0.1.15

type UpdateTerminalsBindingDesktopsRequest added in v0.1.15

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

UpdateTerminalsBindingDesktopsRequest Request Object

func (UpdateTerminalsBindingDesktopsRequest) String added in v0.1.15

type UpdateTerminalsBindingDesktopsRequestBody added in v0.1.15

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

type UpdateTerminalsBindingDesktopsResponse added in v0.1.15

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

UpdateTerminalsBindingDesktopsResponse Response Object

func (UpdateTerminalsBindingDesktopsResponse) String added in v0.1.15

type UpdateUserGroupRequest added in v0.1.46

type UpdateUserGroupRequest struct {

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

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

UpdateUserGroupRequest Request Object

func (UpdateUserGroupRequest) String added in v0.1.46

func (o UpdateUserGroupRequest) String() string

type UpdateUserGroupResponse added in v0.1.46

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

UpdateUserGroupResponse Response Object

func (UpdateUserGroupResponse) String added in v0.1.46

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

	// 专线vnc访问的ip
	DcVncIp        *string `json:"dc_vnc_ip,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 added in v0.1.46

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

func (UserActiveType) MarshalJSON added in v0.1.46

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

func (*UserActiveType) UnmarshalJSON added in v0.1.46

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

func (UserActiveType) Value added in v0.1.46

func (c UserActiveType) Value() string

type UserActiveTypeEnum added in v0.1.46

type UserActiveTypeEnum struct {
	USER_ACTIVATE  UserActiveType
	ADMIN_ACTIVATE UserActiveType
}

func GetUserActiveTypeEnum added in v0.1.46

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

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

func (UserDetailActiveType) MarshalJSON added in v0.1.46

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

func (*UserDetailActiveType) UnmarshalJSON added in v0.1.46

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

func (UserDetailActiveType) Value added in v0.1.46

func (c UserDetailActiveType) Value() string

type UserDetailActiveTypeEnum added in v0.1.46

type UserDetailActiveTypeEnum struct {
	ADMIN_ACTIVATE UserDetailActiveType
	USER_ACTIVATE  UserDetailActiveType
}

func GetUserDetailActiveTypeEnum added in v0.1.46

func GetUserDetailActiveTypeEnum() UserDetailActiveTypeEnum

type UserGroupInfo added in v0.1.46

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

func (o UserGroupInfo) String() string

type UserGroupInfoPlatformType added in v0.1.46

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

func (UserGroupInfoPlatformType) MarshalJSON added in v0.1.46

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

func (*UserGroupInfoPlatformType) UnmarshalJSON added in v0.1.46

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

func (UserGroupInfoPlatformType) Value added in v0.1.46

type UserGroupInfoPlatformTypeEnum added in v0.1.46

type UserGroupInfoPlatformTypeEnum struct {
	AD    UserGroupInfoPlatformType
	LOCAL UserGroupInfoPlatformType
}

func GetUserGroupInfoPlatformTypeEnum added in v0.1.46

func GetUserGroupInfoPlatformTypeEnum() UserGroupInfoPlatformTypeEnum

type UserInGroup added in v0.1.46

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

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

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

func (UserInGroup) String added in v0.1.46

func (o UserInGroup) String() string

type UserMetric added in v0.1.85

type UserMetric struct {

	// 用户名称
	Username *string `json:"username,omitempty"`

	// 桌面使用统计信息 * `user_usage` -  用户使用时长(单位:秒),同一时间登录多台PC的话;相应的时间会累加 * `user_login_count` -  用户登录次数(单位:次) * `user_login_success_count` -  用户登录成功次数(单位:次) * `user_login_fail_count` -  用户登录失败次数(单位:次)
	Metric *[]Metric `json:"metric,omitempty"`
}

func (UserMetric) String added in v0.1.85

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

	// 磁盘计费资源ID。
	BillResourceId *string `json:"bill_resource_id,omitempty"`

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

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

VolumeDetail 磁盘信息。

func (VolumeDetail) String

func (o VolumeDetail) String() string

type Vpc added in v0.1.65

type Vpc struct {

	// 桌面所在vpcId
	Id *string `json:"id,omitempty"`

	// 桌面所在vpc名称
	Name *string `json:"name,omitempty"`

	// 桌面所在vpc网段
	Cidr *string `json:"cidr,omitempty"`
}

Vpc vpc信息

func (Vpc) String added in v0.1.65

func (o Vpc) String() string

Source Files

Jump to

Keyboard shortcuts

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