published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Provides a Elastic Desktop Service (ECD) Desktop Group resource.
A desktop group is a pool of shared cloud desktops. End users authorized to the desktop group are assigned an available cloud desktop from the pool when they connect.
For information about Elastic Desktop Service (ECD) Desktop Group and how to use it, see What is Desktop Group.
NOTE: Available since v1.291.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.eds.getBundles({
bundleType: "SYSTEM",
});
const defaultSimpleOfficeSite = new alicloud.eds.SimpleOfficeSite("default", {
cidrBlock: "172.16.0.0/12",
desktopAccessType: "Internet",
officeSiteName: name,
});
const defaultEcdPolicyGroup = new alicloud.eds.EcdPolicyGroup("default", {
policyGroupName: name,
clipboard: "readwrite",
localDrive: "read",
authorizeAccessPolicyRules: [{
description: name,
cidrIp: "1.2.3.4/24",
}],
authorizeSecurityPolicyRules: [{
type: "inflow",
policy: "accept",
description: name,
portRange: "80/80",
ipProtocol: "TCP",
priority: "1",
cidrIp: "0.0.0.0/0",
}],
});
const defaultUser = new alicloud.eds.User("default", {
endUserId: "terraform-example-user",
email: "terraform-example@example.com",
password: "Example12345",
});
const defaultGroup = new alicloud.ecddesktop.Group("default", {
desktopGroupName: name,
officeSiteId: defaultSimpleOfficeSite.id,
policyGroupId: defaultEcdPolicyGroup.id,
bundleId: _default.then(_default => _default.bundles?.[0]?.id),
endUserIds: [defaultUser.id],
allowBufferCount: 1,
comments: name,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.eds.get_bundles(bundle_type="SYSTEM")
default_simple_office_site = alicloud.eds.SimpleOfficeSite("default",
cidr_block="172.16.0.0/12",
desktop_access_type="Internet",
office_site_name=name)
default_ecd_policy_group = alicloud.eds.EcdPolicyGroup("default",
policy_group_name=name,
clipboard="readwrite",
local_drive="read",
authorize_access_policy_rules=[{
"description": name,
"cidr_ip": "1.2.3.4/24",
}],
authorize_security_policy_rules=[{
"type": "inflow",
"policy": "accept",
"description": name,
"port_range": "80/80",
"ip_protocol": "TCP",
"priority": "1",
"cidr_ip": "0.0.0.0/0",
}])
default_user = alicloud.eds.User("default",
end_user_id="terraform-example-user",
email="terraform-example@example.com",
password="Example12345")
default_group = alicloud.ecddesktop.Group("default",
desktop_group_name=name,
office_site_id=default_simple_office_site.id,
policy_group_id=default_ecd_policy_group.id,
bundle_id=default.bundles[0].id,
end_user_ids=[default_user.id],
allow_buffer_count=1,
comments=name)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecddesktop"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
BundleType: pulumi.StringRef("SYSTEM"),
}, nil)
if err != nil {
return err
}
defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "default", &eds.SimpleOfficeSiteArgs{
CidrBlock: pulumi.String("172.16.0.0/12"),
DesktopAccessType: pulumi.String("Internet"),
OfficeSiteName: pulumi.String(name),
})
if err != nil {
return err
}
defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "default", &eds.EcdPolicyGroupArgs{
PolicyGroupName: pulumi.String(name),
Clipboard: pulumi.String("readwrite"),
LocalDrive: pulumi.String("read"),
AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
Description: pulumi.String(name),
CidrIp: pulumi.String("1.2.3.4/24"),
},
},
AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
Type: pulumi.String("inflow"),
Policy: pulumi.String("accept"),
Description: pulumi.String(name),
PortRange: pulumi.String("80/80"),
IpProtocol: pulumi.String("TCP"),
Priority: pulumi.String("1"),
CidrIp: pulumi.String("0.0.0.0/0"),
},
},
})
if err != nil {
return err
}
defaultUser, err := eds.NewUser(ctx, "default", &eds.UserArgs{
EndUserId: pulumi.String("terraform-example-user"),
Email: pulumi.String("terraform-example@example.com"),
Password: pulumi.String("Example12345"),
})
if err != nil {
return err
}
_, err = ecddesktop.NewGroup(ctx, "default", &ecddesktop.GroupArgs{
DesktopGroupName: pulumi.String(name),
OfficeSiteId: defaultSimpleOfficeSite.ID().ToIDOutput().ToStringOutput(),
PolicyGroupId: defaultEcdPolicyGroup.ID().ToIDOutput().ToStringOutput(),
BundleId: pulumi.String(_default.Bundles[0].Id),
EndUserIds: pulumi.StringArray{
defaultUser.ID().ToIDOutput().ToStringOutput(),
},
AllowBufferCount: pulumi.Int(1),
Comments: pulumi.String(name),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.Eds.GetBundles.Invoke(new()
{
BundleType = "SYSTEM",
});
var defaultSimpleOfficeSite = new AliCloud.Eds.SimpleOfficeSite("default", new()
{
CidrBlock = "172.16.0.0/12",
DesktopAccessType = "Internet",
OfficeSiteName = name,
});
var defaultEcdPolicyGroup = new AliCloud.Eds.EcdPolicyGroup("default", new()
{
PolicyGroupName = name,
Clipboard = "readwrite",
LocalDrive = "read",
AuthorizeAccessPolicyRules = new[]
{
new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs
{
Description = name,
CidrIp = "1.2.3.4/24",
},
},
AuthorizeSecurityPolicyRules = new[]
{
new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs
{
Type = "inflow",
Policy = "accept",
Description = name,
PortRange = "80/80",
IpProtocol = "TCP",
Priority = "1",
CidrIp = "0.0.0.0/0",
},
},
});
var defaultUser = new AliCloud.Eds.User("default", new()
{
EndUserId = "terraform-example-user",
Email = "terraform-example@example.com",
Password = "Example12345",
});
var defaultGroup = new AliCloud.EcdDesktop.Group("default", new()
{
DesktopGroupName = name,
OfficeSiteId = defaultSimpleOfficeSite.Id,
PolicyGroupId = defaultEcdPolicyGroup.Id,
BundleId = @default.Apply(@default => @default.Apply(getBundlesResult => getBundlesResult.Bundles[0]?.Id)),
EndUserIds = new[]
{
defaultUser.Id,
},
AllowBufferCount = 1,
Comments = name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.EdsFunctions;
import com.pulumi.alicloud.eds.inputs.GetBundlesArgs;
import com.pulumi.alicloud.eds.SimpleOfficeSite;
import com.pulumi.alicloud.eds.SimpleOfficeSiteArgs;
import com.pulumi.alicloud.eds.EcdPolicyGroup;
import com.pulumi.alicloud.eds.EcdPolicyGroupArgs;
import com.pulumi.alicloud.eds.inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs;
import com.pulumi.alicloud.eds.inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs;
import com.pulumi.alicloud.eds.User;
import com.pulumi.alicloud.eds.UserArgs;
import com.pulumi.alicloud.ecddesktop.Group;
import com.pulumi.alicloud.ecddesktop.GroupArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var default = EdsFunctions.getBundles(GetBundlesArgs.builder()
.bundleType("SYSTEM")
.build());
var defaultSimpleOfficeSite = new SimpleOfficeSite("defaultSimpleOfficeSite", SimpleOfficeSiteArgs.builder()
.cidrBlock("172.16.0.0/12")
.desktopAccessType("Internet")
.officeSiteName(name)
.build());
var defaultEcdPolicyGroup = new EcdPolicyGroup("defaultEcdPolicyGroup", EcdPolicyGroupArgs.builder()
.policyGroupName(name)
.clipboard("readwrite")
.localDrive("read")
.authorizeAccessPolicyRules(EcdPolicyGroupAuthorizeAccessPolicyRuleArgs.builder()
.description(name)
.cidrIp("1.2.3.4/24")
.build())
.authorizeSecurityPolicyRules(EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs.builder()
.type("inflow")
.policy("accept")
.description(name)
.portRange("80/80")
.ipProtocol("TCP")
.priority("1")
.cidrIp("0.0.0.0/0")
.build())
.build());
var defaultUser = new User("defaultUser", UserArgs.builder()
.endUserId("terraform-example-user")
.email("terraform-example@example.com")
.password("Example12345")
.build());
var defaultGroup = new Group("defaultGroup", GroupArgs.builder()
.desktopGroupName(name)
.officeSiteId(defaultSimpleOfficeSite.id())
.policyGroupId(defaultEcdPolicyGroup.id())
.bundleId(default_.bundles()[0].id())
.endUserIds(defaultUser.id())
.allowBufferCount(1)
.comments(name)
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultSimpleOfficeSite:
type: alicloud:eds:SimpleOfficeSite
name: default
properties:
cidrBlock: 172.16.0.0/12
desktopAccessType: Internet
officeSiteName: ${name}
defaultEcdPolicyGroup:
type: alicloud:eds:EcdPolicyGroup
name: default
properties:
policyGroupName: ${name}
clipboard: readwrite
localDrive: read
authorizeAccessPolicyRules:
- description: ${name}
cidrIp: 1.2.3.4/24
authorizeSecurityPolicyRules:
- type: inflow
policy: accept
description: ${name}
portRange: 80/80
ipProtocol: TCP
priority: '1'
cidrIp: 0.0.0.0/0
defaultUser:
type: alicloud:eds:User
name: default
properties:
endUserId: terraform-example-user
email: terraform-example@example.com
password: Example12345
defaultGroup:
type: alicloud:ecddesktop:Group
name: default
properties:
desktopGroupName: ${name}
officeSiteId: ${defaultSimpleOfficeSite.id}
policyGroupId: ${defaultEcdPolicyGroup.id}
bundleId: ${default.bundles[0].id}
endUserIds:
- ${defaultUser.id}
allowBufferCount: 1
comments: ${name}
variables:
default:
fn::invoke:
function: alicloud:eds:getBundles
arguments:
bundleType: SYSTEM
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
data "alicloud_eds_getbundles" "default" {
bundle_type = "SYSTEM"
}
resource "alicloud_eds_simpleofficesite" "default" {
cidr_block = "172.16.0.0/12"
desktop_access_type = "Internet"
office_site_name = var.name
}
resource "alicloud_eds_ecdpolicygroup" "default" {
policy_group_name = var.name
clipboard = "readwrite"
local_drive = "read"
authorize_access_policy_rules {
description = var.name
cidr_ip = "1.2.3.4/24"
}
authorize_security_policy_rules {
type = "inflow"
policy = "accept"
description = var.name
port_range = "80/80"
ip_protocol = "TCP"
priority = "1"
cidr_ip = "0.0.0.0/0"
}
}
resource "alicloud_eds_user" "default" {
end_user_id = "terraform-example-user"
email = "terraform-example@example.com"
password = "Example12345"
}
resource "alicloud_ecddesktop_group" "default" {
desktop_group_name = var.name
office_site_id = alicloud_eds_simpleofficesite.default.id
policy_group_id = alicloud_eds_ecdpolicygroup.default.id
bundle_id = data.alicloud_eds_getbundles.default.bundles[0].id
end_user_ids = [alicloud_eds_user.default.id]
allow_buffer_count = 1
comments = var.name
}
variable "name" {
type = string
default = "terraform-example"
}
📚 Need more examples? VIEW MORE EXAMPLES
Create Group Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Group(name: string, args: GroupArgs, opts?: CustomResourceOptions);@overload
def Group(resource_name: str,
args: GroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Group(resource_name: str,
opts: Optional[ResourceOptions] = None,
end_user_ids: Optional[Sequence[str]] = None,
policy_group_id: Optional[str] = None,
bundle_id: Optional[str] = None,
office_site_id: Optional[str] = None,
comments: Optional[str] = None,
directory_id: Optional[str] = None,
desktop_group_name: Optional[str] = None,
keep_duration: Optional[int] = None,
max_desktops_count: Optional[int] = None,
min_desktops_count: Optional[int] = None,
allow_auto_setup: Optional[int] = None,
allow_buffer_count: Optional[int] = None,
scale_strategy_id: Optional[str] = None)func NewGroup(ctx *Context, name string, args GroupArgs, opts ...ResourceOption) (*Group, error)public Group(string name, GroupArgs args, CustomResourceOptions? opts = null)type: alicloud:ecddesktop:Group
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_ecddesktop_group" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplegroupResourceResourceFromEcddesktopgroup = new AliCloud.EcdDesktop.Group("examplegroupResourceResourceFromEcddesktopgroup", new()
{
EndUserIds = new[]
{
"string",
},
PolicyGroupId = "string",
BundleId = "string",
OfficeSiteId = "string",
Comments = "string",
DirectoryId = "string",
DesktopGroupName = "string",
KeepDuration = 0,
MaxDesktopsCount = 0,
MinDesktopsCount = 0,
AllowAutoSetup = 0,
AllowBufferCount = 0,
ScaleStrategyId = "string",
});
example, err := ecddesktop.NewGroup(ctx, "examplegroupResourceResourceFromEcddesktopgroup", &ecddesktop.GroupArgs{
EndUserIds: pulumi.StringArray{
pulumi.String("string"),
},
PolicyGroupId: pulumi.String("string"),
BundleId: pulumi.String("string"),
OfficeSiteId: pulumi.String("string"),
Comments: pulumi.String("string"),
DirectoryId: pulumi.String("string"),
DesktopGroupName: pulumi.String("string"),
KeepDuration: pulumi.Int(0),
MaxDesktopsCount: pulumi.Int(0),
MinDesktopsCount: pulumi.Int(0),
AllowAutoSetup: pulumi.Int(0),
AllowBufferCount: pulumi.Int(0),
ScaleStrategyId: pulumi.String("string"),
})
resource "alicloud_ecddesktop_group" "examplegroupResourceResourceFromEcddesktopgroup" {
lifecycle {
create_before_destroy = true
}
end_user_ids = ["string"]
policy_group_id = "string"
bundle_id = "string"
office_site_id = "string"
comments = "string"
directory_id = "string"
desktop_group_name = "string"
keep_duration = 0
max_desktops_count = 0
min_desktops_count = 0
allow_auto_setup = 0
allow_buffer_count = 0
scale_strategy_id = "string"
}
var examplegroupResourceResourceFromEcddesktopgroup = new com.pulumi.alicloud.ecddesktop.Group("examplegroupResourceResourceFromEcddesktopgroup", com.pulumi.alicloud.ecddesktop.GroupArgs.builder()
.endUserIds("string")
.policyGroupId("string")
.bundleId("string")
.officeSiteId("string")
.comments("string")
.directoryId("string")
.desktopGroupName("string")
.keepDuration(0)
.maxDesktopsCount(0)
.minDesktopsCount(0)
.allowAutoSetup(0)
.allowBufferCount(0)
.scaleStrategyId("string")
.build());
examplegroup_resource_resource_from_ecddesktopgroup = alicloud.ecddesktop.Group("examplegroupResourceResourceFromEcddesktopgroup",
end_user_ids=["string"],
policy_group_id="string",
bundle_id="string",
office_site_id="string",
comments="string",
directory_id="string",
desktop_group_name="string",
keep_duration=0,
max_desktops_count=0,
min_desktops_count=0,
allow_auto_setup=0,
allow_buffer_count=0,
scale_strategy_id="string")
const examplegroupResourceResourceFromEcddesktopgroup = new alicloud.ecddesktop.Group("examplegroupResourceResourceFromEcddesktopgroup", {
endUserIds: ["string"],
policyGroupId: "string",
bundleId: "string",
officeSiteId: "string",
comments: "string",
directoryId: "string",
desktopGroupName: "string",
keepDuration: 0,
maxDesktopsCount: 0,
minDesktopsCount: 0,
allowAutoSetup: 0,
allowBufferCount: 0,
scaleStrategyId: "string",
});
type: alicloud:ecddesktop:Group
properties:
allowAutoSetup: 0
allowBufferCount: 0
bundleId: string
comments: string
desktopGroupName: string
directoryId: string
endUserIds:
- string
keepDuration: 0
maxDesktopsCount: 0
minDesktopsCount: 0
officeSiteId: string
policyGroupId: string
scaleStrategyId: string
Group Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Group resource accepts the following input properties:
- Bundle
Id string - The ID of the desktop template.
- End
User List<string>Ids - The list of IDs of the end users authorized to use the desktop group.
- Office
Site stringId - The ID of the office network to which the desktop group belongs.
- Policy
Group stringId - The ID of the policy group associated with the desktop group.
- Allow
Auto intSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - Allow
Buffer intCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - Comments string
- The remarks of the desktop group.
- Desktop
Group stringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - Directory
Id string - The ID of the directory.
- Keep
Duration int - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - Max
Desktops intCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - Min
Desktops intCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - Scale
Strategy stringId - The ID of the scaling policy.
- Bundle
Id string - The ID of the desktop template.
- End
User []stringIds - The list of IDs of the end users authorized to use the desktop group.
- Office
Site stringId - The ID of the office network to which the desktop group belongs.
- Policy
Group stringId - The ID of the policy group associated with the desktop group.
- Allow
Auto intSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - Allow
Buffer intCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - Comments string
- The remarks of the desktop group.
- Desktop
Group stringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - Directory
Id string - The ID of the directory.
- Keep
Duration int - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - Max
Desktops intCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - Min
Desktops intCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - Scale
Strategy stringId - The ID of the scaling policy.
- bundle_
id string - The ID of the desktop template.
- end_
user_ list(string)ids - The list of IDs of the end users authorized to use the desktop group.
- office_
site_ stringid - The ID of the office network to which the desktop group belongs.
- policy_
group_ stringid - The ID of the policy group associated with the desktop group.
- allow_
auto_ numbersetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow_
buffer_ numbercount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - comments string
- The remarks of the desktop group.
- desktop_
group_ stringname - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory_
id string - The ID of the directory.
- keep_
duration number - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max_
desktops_ numbercount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - min_
desktops_ numbercount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - scale_
strategy_ stringid - The ID of the scaling policy.
- bundle
Id String - The ID of the desktop template.
- end
User List<String>Ids - The list of IDs of the end users authorized to use the desktop group.
- office
Site StringId - The ID of the office network to which the desktop group belongs.
- policy
Group StringId - The ID of the policy group associated with the desktop group.
- allow
Auto IntegerSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow
Buffer IntegerCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - comments String
- The remarks of the desktop group.
- desktop
Group StringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory
Id String - The ID of the directory.
- keep
Duration Integer - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max
Desktops IntegerCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - min
Desktops IntegerCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - scale
Strategy StringId - The ID of the scaling policy.
- bundle
Id string - The ID of the desktop template.
- end
User string[]Ids - The list of IDs of the end users authorized to use the desktop group.
- office
Site stringId - The ID of the office network to which the desktop group belongs.
- policy
Group stringId - The ID of the policy group associated with the desktop group.
- allow
Auto numberSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow
Buffer numberCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - comments string
- The remarks of the desktop group.
- desktop
Group stringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory
Id string - The ID of the directory.
- keep
Duration number - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max
Desktops numberCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - min
Desktops numberCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - scale
Strategy stringId - The ID of the scaling policy.
- bundle_
id str - The ID of the desktop template.
- end_
user_ Sequence[str]ids - The list of IDs of the end users authorized to use the desktop group.
- office_
site_ strid - The ID of the office network to which the desktop group belongs.
- policy_
group_ strid - The ID of the policy group associated with the desktop group.
- allow_
auto_ intsetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow_
buffer_ intcount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - comments str
- The remarks of the desktop group.
- desktop_
group_ strname - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory_
id str - The ID of the directory.
- keep_
duration int - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max_
desktops_ intcount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - min_
desktops_ intcount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - scale_
strategy_ strid - The ID of the scaling policy.
- bundle
Id String - The ID of the desktop template.
- end
User List<String>Ids - The list of IDs of the end users authorized to use the desktop group.
- office
Site StringId - The ID of the office network to which the desktop group belongs.
- policy
Group StringId - The ID of the policy group associated with the desktop group.
- allow
Auto NumberSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow
Buffer NumberCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - comments String
- The remarks of the desktop group.
- desktop
Group StringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory
Id String - The ID of the directory.
- keep
Duration Number - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max
Desktops NumberCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - min
Desktops NumberCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - scale
Strategy StringId - The ID of the scaling policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:
- Cpu int
- The number of vCPUs.
- Create
Time string - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- Creator string
- The ID of the Alibaba Cloud account that created the desktop group.
- Data
Disk stringCategory - The category of the data disk.
- Data
Disk stringSize - The size of the data disk. Unit: GiB.
- Directory
Type string - The type of the directory.
- Expired
Time string - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- Gpu
Count double - The number of GPUs.
- Gpu
Spec string - The GPU specifications.
- Id string
- The provider-assigned unique ID for this managed resource.
- Memory int
- The memory size. Unit: MiB.
- Office
Site stringName - The name of the office network.
- Office
Site stringType - The type of the account system of the office network.
- Own
Bundle stringName - The name of the desktop template.
- Pay
Type string - The billing method.
- Policy
Group stringName - The name of the policy group.
- Res
Type int - The type of the resource.
- System
Disk stringCategory - The category of the system disk.
- System
Disk intSize - The size of the system disk. Unit: GiB.
- Cpu int
- The number of vCPUs.
- Create
Time string - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- Creator string
- The ID of the Alibaba Cloud account that created the desktop group.
- Data
Disk stringCategory - The category of the data disk.
- Data
Disk stringSize - The size of the data disk. Unit: GiB.
- Directory
Type string - The type of the directory.
- Expired
Time string - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- Gpu
Count float64 - The number of GPUs.
- Gpu
Spec string - The GPU specifications.
- Id string
- The provider-assigned unique ID for this managed resource.
- Memory int
- The memory size. Unit: MiB.
- Office
Site stringName - The name of the office network.
- Office
Site stringType - The type of the account system of the office network.
- Own
Bundle stringName - The name of the desktop template.
- Pay
Type string - The billing method.
- Policy
Group stringName - The name of the policy group.
- Res
Type int - The type of the resource.
- System
Disk stringCategory - The category of the system disk.
- System
Disk intSize - The size of the system disk. Unit: GiB.
- cpu number
- The number of vCPUs.
- create_
time string - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator string
- The ID of the Alibaba Cloud account that created the desktop group.
- data_
disk_ stringcategory - The category of the data disk.
- data_
disk_ stringsize - The size of the data disk. Unit: GiB.
- directory_
type string - The type of the directory.
- expired_
time string - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu_
count number - The number of GPUs.
- gpu_
spec string - The GPU specifications.
- id string
- The provider-assigned unique ID for this managed resource.
- memory number
- The memory size. Unit: MiB.
- office_
site_ stringname - The name of the office network.
- office_
site_ stringtype - The type of the account system of the office network.
- own_
bundle_ stringname - The name of the desktop template.
- pay_
type string - The billing method.
- policy_
group_ stringname - The name of the policy group.
- res_
type number - The type of the resource.
- system_
disk_ stringcategory - The category of the system disk.
- system_
disk_ numbersize - The size of the system disk. Unit: GiB.
- cpu Integer
- The number of vCPUs.
- create
Time String - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator String
- The ID of the Alibaba Cloud account that created the desktop group.
- data
Disk StringCategory - The category of the data disk.
- data
Disk StringSize - The size of the data disk. Unit: GiB.
- directory
Type String - The type of the directory.
- expired
Time String - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu
Count Double - The number of GPUs.
- gpu
Spec String - The GPU specifications.
- id String
- The provider-assigned unique ID for this managed resource.
- memory Integer
- The memory size. Unit: MiB.
- office
Site StringName - The name of the office network.
- office
Site StringType - The type of the account system of the office network.
- own
Bundle StringName - The name of the desktop template.
- pay
Type String - The billing method.
- policy
Group StringName - The name of the policy group.
- res
Type Integer - The type of the resource.
- system
Disk StringCategory - The category of the system disk.
- system
Disk IntegerSize - The size of the system disk. Unit: GiB.
- cpu number
- The number of vCPUs.
- create
Time string - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator string
- The ID of the Alibaba Cloud account that created the desktop group.
- data
Disk stringCategory - The category of the data disk.
- data
Disk stringSize - The size of the data disk. Unit: GiB.
- directory
Type string - The type of the directory.
- expired
Time string - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu
Count number - The number of GPUs.
- gpu
Spec string - The GPU specifications.
- id string
- The provider-assigned unique ID for this managed resource.
- memory number
- The memory size. Unit: MiB.
- office
Site stringName - The name of the office network.
- office
Site stringType - The type of the account system of the office network.
- own
Bundle stringName - The name of the desktop template.
- pay
Type string - The billing method.
- policy
Group stringName - The name of the policy group.
- res
Type number - The type of the resource.
- system
Disk stringCategory - The category of the system disk.
- system
Disk numberSize - The size of the system disk. Unit: GiB.
- cpu int
- The number of vCPUs.
- create_
time str - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator str
- The ID of the Alibaba Cloud account that created the desktop group.
- data_
disk_ strcategory - The category of the data disk.
- data_
disk_ strsize - The size of the data disk. Unit: GiB.
- directory_
type str - The type of the directory.
- expired_
time str - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu_
count float - The number of GPUs.
- gpu_
spec str - The GPU specifications.
- id str
- The provider-assigned unique ID for this managed resource.
- memory int
- The memory size. Unit: MiB.
- office_
site_ strname - The name of the office network.
- office_
site_ strtype - The type of the account system of the office network.
- own_
bundle_ strname - The name of the desktop template.
- pay_
type str - The billing method.
- policy_
group_ strname - The name of the policy group.
- res_
type int - The type of the resource.
- system_
disk_ strcategory - The category of the system disk.
- system_
disk_ intsize - The size of the system disk. Unit: GiB.
- cpu Number
- The number of vCPUs.
- create
Time String - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator String
- The ID of the Alibaba Cloud account that created the desktop group.
- data
Disk StringCategory - The category of the data disk.
- data
Disk StringSize - The size of the data disk. Unit: GiB.
- directory
Type String - The type of the directory.
- expired
Time String - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu
Count Number - The number of GPUs.
- gpu
Spec String - The GPU specifications.
- id String
- The provider-assigned unique ID for this managed resource.
- memory Number
- The memory size. Unit: MiB.
- office
Site StringName - The name of the office network.
- office
Site StringType - The type of the account system of the office network.
- own
Bundle StringName - The name of the desktop template.
- pay
Type String - The billing method.
- policy
Group StringName - The name of the policy group.
- res
Type Number - The type of the resource.
- system
Disk StringCategory - The category of the system disk.
- system
Disk NumberSize - The size of the system disk. Unit: GiB.
Look up Existing Group Resource
Get an existing Group resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GroupState, opts?: CustomResourceOptions): Group@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_auto_setup: Optional[int] = None,
allow_buffer_count: Optional[int] = None,
bundle_id: Optional[str] = None,
comments: Optional[str] = None,
cpu: Optional[int] = None,
create_time: Optional[str] = None,
creator: Optional[str] = None,
data_disk_category: Optional[str] = None,
data_disk_size: Optional[str] = None,
desktop_group_name: Optional[str] = None,
directory_id: Optional[str] = None,
directory_type: Optional[str] = None,
end_user_ids: Optional[Sequence[str]] = None,
expired_time: Optional[str] = None,
gpu_count: Optional[float] = None,
gpu_spec: Optional[str] = None,
keep_duration: Optional[int] = None,
max_desktops_count: Optional[int] = None,
memory: Optional[int] = None,
min_desktops_count: Optional[int] = None,
office_site_id: Optional[str] = None,
office_site_name: Optional[str] = None,
office_site_type: Optional[str] = None,
own_bundle_name: Optional[str] = None,
pay_type: Optional[str] = None,
policy_group_id: Optional[str] = None,
policy_group_name: Optional[str] = None,
res_type: Optional[int] = None,
scale_strategy_id: Optional[str] = None,
system_disk_category: Optional[str] = None,
system_disk_size: Optional[int] = None) -> Groupfunc GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)public static Group get(String name, Output<String> id, GroupState state, CustomResourceOptions options)resources: _: type: alicloud:ecddesktop:Group get: id: ${id}import {
to = alicloud_ecddesktop_group.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allow
Auto intSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - Allow
Buffer intCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - Bundle
Id string - The ID of the desktop template.
- Comments string
- The remarks of the desktop group.
- Cpu int
- The number of vCPUs.
- Create
Time string - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- Creator string
- The ID of the Alibaba Cloud account that created the desktop group.
- Data
Disk stringCategory - The category of the data disk.
- Data
Disk stringSize - The size of the data disk. Unit: GiB.
- Desktop
Group stringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - Directory
Id string - The ID of the directory.
- Directory
Type string - The type of the directory.
- End
User List<string>Ids - The list of IDs of the end users authorized to use the desktop group.
- Expired
Time string - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- Gpu
Count double - The number of GPUs.
- Gpu
Spec string - The GPU specifications.
- Keep
Duration int - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - Max
Desktops intCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - Memory int
- The memory size. Unit: MiB.
- Min
Desktops intCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - Office
Site stringId - The ID of the office network to which the desktop group belongs.
- Office
Site stringName - The name of the office network.
- Office
Site stringType - The type of the account system of the office network.
- Own
Bundle stringName - The name of the desktop template.
- Pay
Type string - The billing method.
- Policy
Group stringId - The ID of the policy group associated with the desktop group.
- Policy
Group stringName - The name of the policy group.
- Res
Type int - The type of the resource.
- Scale
Strategy stringId - The ID of the scaling policy.
- System
Disk stringCategory - The category of the system disk.
- System
Disk intSize - The size of the system disk. Unit: GiB.
- Allow
Auto intSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - Allow
Buffer intCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - Bundle
Id string - The ID of the desktop template.
- Comments string
- The remarks of the desktop group.
- Cpu int
- The number of vCPUs.
- Create
Time string - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- Creator string
- The ID of the Alibaba Cloud account that created the desktop group.
- Data
Disk stringCategory - The category of the data disk.
- Data
Disk stringSize - The size of the data disk. Unit: GiB.
- Desktop
Group stringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - Directory
Id string - The ID of the directory.
- Directory
Type string - The type of the directory.
- End
User []stringIds - The list of IDs of the end users authorized to use the desktop group.
- Expired
Time string - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- Gpu
Count float64 - The number of GPUs.
- Gpu
Spec string - The GPU specifications.
- Keep
Duration int - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - Max
Desktops intCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - Memory int
- The memory size. Unit: MiB.
- Min
Desktops intCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - Office
Site stringId - The ID of the office network to which the desktop group belongs.
- Office
Site stringName - The name of the office network.
- Office
Site stringType - The type of the account system of the office network.
- Own
Bundle stringName - The name of the desktop template.
- Pay
Type string - The billing method.
- Policy
Group stringId - The ID of the policy group associated with the desktop group.
- Policy
Group stringName - The name of the policy group.
- Res
Type int - The type of the resource.
- Scale
Strategy stringId - The ID of the scaling policy.
- System
Disk stringCategory - The category of the system disk.
- System
Disk intSize - The size of the system disk. Unit: GiB.
- allow_
auto_ numbersetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow_
buffer_ numbercount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - bundle_
id string - The ID of the desktop template.
- comments string
- The remarks of the desktop group.
- cpu number
- The number of vCPUs.
- create_
time string - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator string
- The ID of the Alibaba Cloud account that created the desktop group.
- data_
disk_ stringcategory - The category of the data disk.
- data_
disk_ stringsize - The size of the data disk. Unit: GiB.
- desktop_
group_ stringname - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory_
id string - The ID of the directory.
- directory_
type string - The type of the directory.
- end_
user_ list(string)ids - The list of IDs of the end users authorized to use the desktop group.
- expired_
time string - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu_
count number - The number of GPUs.
- gpu_
spec string - The GPU specifications.
- keep_
duration number - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max_
desktops_ numbercount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - memory number
- The memory size. Unit: MiB.
- min_
desktops_ numbercount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - office_
site_ stringid - The ID of the office network to which the desktop group belongs.
- office_
site_ stringname - The name of the office network.
- office_
site_ stringtype - The type of the account system of the office network.
- own_
bundle_ stringname - The name of the desktop template.
- pay_
type string - The billing method.
- policy_
group_ stringid - The ID of the policy group associated with the desktop group.
- policy_
group_ stringname - The name of the policy group.
- res_
type number - The type of the resource.
- scale_
strategy_ stringid - The ID of the scaling policy.
- system_
disk_ stringcategory - The category of the system disk.
- system_
disk_ numbersize - The size of the system disk. Unit: GiB.
- allow
Auto IntegerSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow
Buffer IntegerCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - bundle
Id String - The ID of the desktop template.
- comments String
- The remarks of the desktop group.
- cpu Integer
- The number of vCPUs.
- create
Time String - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator String
- The ID of the Alibaba Cloud account that created the desktop group.
- data
Disk StringCategory - The category of the data disk.
- data
Disk StringSize - The size of the data disk. Unit: GiB.
- desktop
Group StringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory
Id String - The ID of the directory.
- directory
Type String - The type of the directory.
- end
User List<String>Ids - The list of IDs of the end users authorized to use the desktop group.
- expired
Time String - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu
Count Double - The number of GPUs.
- gpu
Spec String - The GPU specifications.
- keep
Duration Integer - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max
Desktops IntegerCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - memory Integer
- The memory size. Unit: MiB.
- min
Desktops IntegerCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - office
Site StringId - The ID of the office network to which the desktop group belongs.
- office
Site StringName - The name of the office network.
- office
Site StringType - The type of the account system of the office network.
- own
Bundle StringName - The name of the desktop template.
- pay
Type String - The billing method.
- policy
Group StringId - The ID of the policy group associated with the desktop group.
- policy
Group StringName - The name of the policy group.
- res
Type Integer - The type of the resource.
- scale
Strategy StringId - The ID of the scaling policy.
- system
Disk StringCategory - The category of the system disk.
- system
Disk IntegerSize - The size of the system disk. Unit: GiB.
- allow
Auto numberSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow
Buffer numberCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - bundle
Id string - The ID of the desktop template.
- comments string
- The remarks of the desktop group.
- cpu number
- The number of vCPUs.
- create
Time string - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator string
- The ID of the Alibaba Cloud account that created the desktop group.
- data
Disk stringCategory - The category of the data disk.
- data
Disk stringSize - The size of the data disk. Unit: GiB.
- desktop
Group stringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory
Id string - The ID of the directory.
- directory
Type string - The type of the directory.
- end
User string[]Ids - The list of IDs of the end users authorized to use the desktop group.
- expired
Time string - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu
Count number - The number of GPUs.
- gpu
Spec string - The GPU specifications.
- keep
Duration number - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max
Desktops numberCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - memory number
- The memory size. Unit: MiB.
- min
Desktops numberCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - office
Site stringId - The ID of the office network to which the desktop group belongs.
- office
Site stringName - The name of the office network.
- office
Site stringType - The type of the account system of the office network.
- own
Bundle stringName - The name of the desktop template.
- pay
Type string - The billing method.
- policy
Group stringId - The ID of the policy group associated with the desktop group.
- policy
Group stringName - The name of the policy group.
- res
Type number - The type of the resource.
- scale
Strategy stringId - The ID of the scaling policy.
- system
Disk stringCategory - The category of the system disk.
- system
Disk numberSize - The size of the system disk. Unit: GiB.
- allow_
auto_ intsetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow_
buffer_ intcount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - bundle_
id str - The ID of the desktop template.
- comments str
- The remarks of the desktop group.
- cpu int
- The number of vCPUs.
- create_
time str - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator str
- The ID of the Alibaba Cloud account that created the desktop group.
- data_
disk_ strcategory - The category of the data disk.
- data_
disk_ strsize - The size of the data disk. Unit: GiB.
- desktop_
group_ strname - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory_
id str - The ID of the directory.
- directory_
type str - The type of the directory.
- end_
user_ Sequence[str]ids - The list of IDs of the end users authorized to use the desktop group.
- expired_
time str - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu_
count float - The number of GPUs.
- gpu_
spec str - The GPU specifications.
- keep_
duration int - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max_
desktops_ intcount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - memory int
- The memory size. Unit: MiB.
- min_
desktops_ intcount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - office_
site_ strid - The ID of the office network to which the desktop group belongs.
- office_
site_ strname - The name of the office network.
- office_
site_ strtype - The type of the account system of the office network.
- own_
bundle_ strname - The name of the desktop template.
- pay_
type str - The billing method.
- policy_
group_ strid - The ID of the policy group associated with the desktop group.
- policy_
group_ strname - The name of the policy group.
- res_
type int - The type of the resource.
- scale_
strategy_ strid - The ID of the scaling policy.
- system_
disk_ strcategory - The category of the system disk.
- system_
disk_ intsize - The size of the system disk. Unit: GiB.
- allow
Auto NumberSetup - Specifies whether to allow cloud desktops to be automatically created for a subscription desktop group. This parameter takes effect only when the desktop group uses the subscription billing method. Valid values:
0and1. - allow
Buffer NumberCount - The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values:
0to100.0indicates that no desktop is reserved. - bundle
Id String - The ID of the desktop template.
- comments String
- The remarks of the desktop group.
- cpu Number
- The number of vCPUs.
- create
Time String - The time when the desktop group was created. The time follows the ISO 8601 standard in UTC.
- creator String
- The ID of the Alibaba Cloud account that created the desktop group.
- data
Disk StringCategory - The category of the data disk.
- data
Disk StringSize - The size of the data disk. Unit: GiB.
- desktop
Group StringName - The name of the desktop group. The name must be 1 to 30 characters in length, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter but cannot start with
http://orhttps://. - directory
Id String - The ID of the directory.
- directory
Type String - The type of the directory.
- end
User List<String>Ids - The list of IDs of the end users authorized to use the desktop group.
- expired
Time String - The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
- gpu
Count Number - The number of GPUs.
- gpu
Spec String - The GPU specifications.
- keep
Duration Number - The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values:
180000to345600000.0indicates that the session is always retained. If the user does not reconnect within the retention duration, the session is logged off and unsaved data is destroyed. - max
Desktops NumberCount - The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values:
0to500. - memory Number
- The memory size. Unit: MiB.
- min
Desktops NumberCount - The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values:
0to the value ofmaxDesktopsCount. - office
Site StringId - The ID of the office network to which the desktop group belongs.
- office
Site StringName - The name of the office network.
- office
Site StringType - The type of the account system of the office network.
- own
Bundle StringName - The name of the desktop template.
- pay
Type String - The billing method.
- policy
Group StringId - The ID of the policy group associated with the desktop group.
- policy
Group StringName - The name of the policy group.
- res
Type Number - The type of the resource.
- scale
Strategy StringId - The ID of the scaling policy.
- system
Disk StringCategory - The category of the system disk.
- system
Disk NumberSize - The size of the system disk. Unit: GiB.
Import
Elastic Desktop Service (ECD) Desktop Group can be imported using the id, e.g.
$ pulumi import alicloud:ecddesktop/group:Group example <desktop_group_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Thursday, Sep 17, 2026 by Pulumi