Skip to content

DesktopGroupProps

Properties for defining a DesktopGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecd-desktopgroup

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecd"
&alicloudroscdkecd.DesktopGroupProps {
    BundleId: interface{},
    ChargeType: interface{},
    OfficeSiteId: interface{},
    PolicyGroupId: interface{},
    AllowAutoSetup: interface{},
    AllowBufferCount: interface{},
    AutoPay: interface{},
    AutoRenew: interface{},
    BuyDesktopsCount: interface{},
    Comments: interface{},
    ConnectDuration: interface{},
    DefaultInitDesktopCount: interface{},
    DesktopGroupName: interface{},
    EndUserIds: interface{},
    GroupVersion: interface{},
    IdleDisconnectDuration: interface{},
    KeepDuration: interface{},
    MaxDesktopsCount: interface{},
    MinDesktopsCount: interface{},
    Period: interface{},
    PeriodUnit: interface{},
    ResetType: interface{},
    StopDuration: interface{},
    VolumeEncryptionEnabled: interface{},
    VolumeEncryptionKey: interface{},
}

Properties

Name Type Description
BundleId interface{} Property bundleId: The ID of the desktop template.
ChargeType interface{} Property chargeType: The billing method of the cloud desktops in the desktop group.
OfficeSiteId interface{} Property officeSiteId: The ID of the workspace.
PolicyGroupId interface{} Property policyGroupId: The ID of the policy.
AllowAutoSetup interface{} Property allowAutoSetup: Specifies whether to automatically create cloud desktops in the desktop group if you set the billing method to subscription.
AllowBufferCount interface{} Property allowBufferCount: Specifies whether to reserve cloud desktops if you set the billing method to pay-as-you-go.
AutoPay interface{} Property autoPay: Specifies whether to enable automatic payment.
AutoRenew interface{} Property autoRenew: Specifies whether to enable auto-renewal.
BuyDesktopsCount interface{} Property buyDesktopsCount: The number of cloud desktops that you want to purchase.
Comments interface{} Property comments: The remarks on the desktop group.
ConnectDuration interface{} Property connectDuration: The maximum period of time during which the session is connected.
DefaultInitDesktopCount interface{} Property defaultInitDesktopCount: The default number of cloud desktops to create when you create the desktop group.
DesktopGroupName interface{} Property desktopGroupName: The name of the desktop group.
EndUserIds interface{} Property endUserIds: The end users that can use the desktop group.
GroupVersion interface{} Property groupVersion: The desktop group version.
IdleDisconnectDuration interface{} Property idleDisconnectDuration: The maximum period of time for which a session remains idle.
KeepDuration interface{} Property keepDuration: The retention period of the cloud desktop after the end user disconnects from the cloud desktop.
MaxDesktopsCount interface{} Property maxDesktopsCount: The maximum number of cloud desktops that the desktop group can contain.
MinDesktopsCount interface{} Property minDesktopsCount: The minimum number of cloud desktops that must be contained in the desktop group if you set the billing method to subscription.
Period interface{} Property period: The subscription period of the cloud desktops in the desktop group.
PeriodUnit interface{} Property periodUnit: Whether to open CA.
ResetType interface{} Property resetType: Specifies which type of the disk to reset for cloud desktops in the desktop group.
StopDuration interface{} Property stopDuration: The period of time before the idle cloud desktop is stopped.
VolumeEncryptionEnabled interface{} Property volumeEncryptionEnabled: Specifies whether to enable disk encryption.
VolumeEncryptionKey interface{} Property volumeEncryptionKey: The ID of the Key Management Service (KMS) key that you want to use when disk encryption is enabled.

BundleIdRequired

BundleId interface{}
  • Type: interface{}

Property bundleId: The ID of the desktop template.


ChargeTypeRequired

ChargeType interface{}
  • Type: interface{}

Property chargeType: The billing method of the cloud desktops in the desktop group.

Enumeration Value: PostPaid PrePaid


OfficeSiteIdRequired

OfficeSiteId interface{}
  • Type: interface{}

Property officeSiteId: The ID of the workspace.


PolicyGroupIdRequired

PolicyGroupId interface{}
  • Type: interface{}

Property policyGroupId: The ID of the policy.


AllowAutoSetupOptional

AllowAutoSetup interface{}
  • Type: interface{}

Property allowAutoSetup: Specifies whether to automatically create cloud desktops in the desktop group if you set the billing method to subscription.

If you set the ChargeType parameter to PrePaid, this parameter is required.


AllowBufferCountOptional

AllowBufferCount interface{}
  • Type: interface{}

Property allowBufferCount: Specifies whether to reserve cloud desktops if you set the billing method to pay-as-you-go.

If you set the ChargeType parameter to PostPaid, this parameter is required. Valid values: 0: does not allow the system to reserve cloud desktops. N: allows the system to reserve N cloud desktops. The variable N must be an integer that ranges from 1 to 100.


AutoPayOptional

AutoPay interface{}
  • Type: interface{}

Property autoPay: Specifies whether to enable automatic payment.


AutoRenewOptional

AutoRenew interface{}
  • Type: interface{}

Property autoRenew: Specifies whether to enable auto-renewal.


BuyDesktopsCountOptional

BuyDesktopsCount interface{}
  • Type: interface{}

Property buyDesktopsCount: The number of cloud desktops that you want to purchase.

Valid values: 0 to 200.


CommentsOptional

Comments interface{}
  • Type: interface{}

Property comments: The remarks on the desktop group.


ConnectDurationOptional

ConnectDuration interface{}
  • Type: interface{}

Property connectDuration: The maximum period of time during which the session is connected.

When the specified maximum period of time is reached, the session automatically disconnects. Unit: milliseconds. This parameter is required only for cloud desktops in the same desktop group.


DefaultInitDesktopCountOptional

DefaultInitDesktopCount interface{}
  • Type: interface{}

Property defaultInitDesktopCount: The default number of cloud desktops to create when you create the desktop group.

Default value: 1.


DesktopGroupNameOptional

DesktopGroupName interface{}
  • Type: interface{}

Property desktopGroupName: The name of the desktop group.


EndUserIdsOptional

EndUserIds interface{}
  • Type: interface{}

Property endUserIds: The end users that can use the desktop group.


GroupVersionOptional

GroupVersion interface{}
  • Type: interface{}

Property groupVersion: The desktop group version.


IdleDisconnectDurationOptional

IdleDisconnectDuration interface{}
  • Type: interface{}

Property idleDisconnectDuration: The maximum period of time for which a session remains idle.

If an end user performs no operations on a cloud desktop by using keyboards or mouses during a session, the session becomes idle. When the specified maximum period of time is reached, the session automatically disconnects. Unit: milliseconds. This parameter is required only for cloud desktops in the same desktop group.


KeepDurationOptional

KeepDuration interface{}
  • Type: interface{}

Property keepDuration: The retention period of the cloud desktop after the end user disconnects from the cloud desktop.

Unit: milliseconds.


MaxDesktopsCountOptional

MaxDesktopsCount interface{}
  • Type: interface{}

Property maxDesktopsCount: The maximum number of cloud desktops that the desktop group can contain.

Valid values: 0 to 200.


MinDesktopsCountOptional

MinDesktopsCount interface{}
  • Type: interface{}

Property minDesktopsCount: The minimum number of cloud desktops that must be contained in the desktop group if you set the billing method to subscription.

If you set the ChargeType parameter to PrePaid, this parameter is required. Valid values: 0 to the value of MaxDesktopsCount. Default value: 1.


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: The subscription period of the cloud desktops in the desktop group.

The unit is specified by the PeriodUnit parameter. The Period parameter takes effect only if you set the ChargeType parameter to PrePaid. Valid values if you set the PeriodUnit parameter to Month: 1, 2, 3, 6 Valid values if you set the PeriodUnit parameter to Year: 1, 2, 3, 4, 5


PeriodUnitOptional

PeriodUnit interface{}
  • Type: interface{}

Property periodUnit: Whether to open CA.


ResetTypeOptional

ResetType interface{}
  • Type: interface{}

Property resetType: Specifies which type of the disk to reset for cloud desktops in the desktop group.


StopDurationOptional

StopDuration interface{}
  • Type: interface{}

Property stopDuration: The period of time before the idle cloud desktop is stopped.

When the specified period of time is reached, the idle cloud desktop automatically stops. If an end user connects to a stopped cloud desktop, the cloud desktop automatically starts. Unit: milliseconds.


VolumeEncryptionEnabledOptional

VolumeEncryptionEnabled interface{}
  • Type: interface{}

Property volumeEncryptionEnabled: Specifies whether to enable disk encryption.


VolumeEncryptionKeyOptional

VolumeEncryptionKey interface{}
  • Type: interface{}

Property volumeEncryptionKey: The ID of the Key Management Service (KMS) key that you want to use when disk encryption is enabled.