1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. ecddesktop
  6. Group
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v3.108.0
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)
    public Group(String name, GroupArgs args)
    public Group(String name, GroupArgs args, CustomResourceOptions options)
    
    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:

    BundleId string
    The ID of the desktop template.
    EndUserIds List<string>
    The list of IDs of the end users authorized to use the desktop group.
    OfficeSiteId string
    The ID of the office network to which the desktop group belongs.
    PolicyGroupId string
    The ID of the policy group associated with the desktop group.
    AllowAutoSetup int
    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: 0 and 1.
    AllowBufferCount int
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    Comments string
    The remarks of the desktop group.
    DesktopGroupName string
    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:// or https://.
    DirectoryId string
    The ID of the directory.
    KeepDuration int
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    MaxDesktopsCount int
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    MinDesktopsCount int
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    ScaleStrategyId string
    The ID of the scaling policy.
    BundleId string
    The ID of the desktop template.
    EndUserIds []string
    The list of IDs of the end users authorized to use the desktop group.
    OfficeSiteId string
    The ID of the office network to which the desktop group belongs.
    PolicyGroupId string
    The ID of the policy group associated with the desktop group.
    AllowAutoSetup int
    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: 0 and 1.
    AllowBufferCount int
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    Comments string
    The remarks of the desktop group.
    DesktopGroupName string
    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:// or https://.
    DirectoryId string
    The ID of the directory.
    KeepDuration int
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    MaxDesktopsCount int
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    MinDesktopsCount int
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    ScaleStrategyId string
    The ID of the scaling policy.
    bundle_id string
    The ID of the desktop template.
    end_user_ids list(string)
    The list of IDs of the end users authorized to use the desktop group.
    office_site_id string
    The ID of the office network to which the desktop group belongs.
    policy_group_id string
    The ID of the policy group associated with the desktop group.
    allow_auto_setup number
    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: 0 and 1.
    allow_buffer_count number
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    comments string
    The remarks of the desktop group.
    desktop_group_name string
    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:// or https://.
    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: 180000 to 345600000. 0 indicates 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_count number
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    min_desktops_count number
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    scale_strategy_id string
    The ID of the scaling policy.
    bundleId String
    The ID of the desktop template.
    endUserIds List<String>
    The list of IDs of the end users authorized to use the desktop group.
    officeSiteId String
    The ID of the office network to which the desktop group belongs.
    policyGroupId String
    The ID of the policy group associated with the desktop group.
    allowAutoSetup Integer
    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: 0 and 1.
    allowBufferCount Integer
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    comments String
    The remarks of the desktop group.
    desktopGroupName String
    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:// or https://.
    directoryId String
    The ID of the directory.
    keepDuration Integer
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    maxDesktopsCount Integer
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    minDesktopsCount Integer
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    scaleStrategyId String
    The ID of the scaling policy.
    bundleId string
    The ID of the desktop template.
    endUserIds string[]
    The list of IDs of the end users authorized to use the desktop group.
    officeSiteId string
    The ID of the office network to which the desktop group belongs.
    policyGroupId string
    The ID of the policy group associated with the desktop group.
    allowAutoSetup number
    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: 0 and 1.
    allowBufferCount number
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    comments string
    The remarks of the desktop group.
    desktopGroupName string
    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:// or https://.
    directoryId string
    The ID of the directory.
    keepDuration number
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    maxDesktopsCount number
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    minDesktopsCount number
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    scaleStrategyId string
    The ID of the scaling policy.
    bundle_id str
    The ID of the desktop template.
    end_user_ids Sequence[str]
    The list of IDs of the end users authorized to use the desktop group.
    office_site_id str
    The ID of the office network to which the desktop group belongs.
    policy_group_id str
    The ID of the policy group associated with the desktop group.
    allow_auto_setup int
    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: 0 and 1.
    allow_buffer_count int
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    comments str
    The remarks of the desktop group.
    desktop_group_name str
    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:// or https://.
    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: 180000 to 345600000. 0 indicates 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_count int
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    min_desktops_count int
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    scale_strategy_id str
    The ID of the scaling policy.
    bundleId String
    The ID of the desktop template.
    endUserIds List<String>
    The list of IDs of the end users authorized to use the desktop group.
    officeSiteId String
    The ID of the office network to which the desktop group belongs.
    policyGroupId String
    The ID of the policy group associated with the desktop group.
    allowAutoSetup Number
    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: 0 and 1.
    allowBufferCount Number
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    comments String
    The remarks of the desktop group.
    desktopGroupName String
    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:// or https://.
    directoryId String
    The ID of the directory.
    keepDuration Number
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    maxDesktopsCount Number
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    minDesktopsCount Number
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    scaleStrategyId String
    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.
    CreateTime 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.
    DataDiskCategory string
    The category of the data disk.
    DataDiskSize string
    The size of the data disk. Unit: GiB.
    DirectoryType string
    The type of the directory.
    ExpiredTime string
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    GpuCount double
    The number of GPUs.
    GpuSpec string
    The GPU specifications.
    Id string
    The provider-assigned unique ID for this managed resource.
    Memory int
    The memory size. Unit: MiB.
    OfficeSiteName string
    The name of the office network.
    OfficeSiteType string
    The type of the account system of the office network.
    OwnBundleName string
    The name of the desktop template.
    PayType string
    The billing method.
    PolicyGroupName string
    The name of the policy group.
    ResType int
    The type of the resource.
    SystemDiskCategory string
    The category of the system disk.
    SystemDiskSize int
    The size of the system disk. Unit: GiB.
    Cpu int
    The number of vCPUs.
    CreateTime 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.
    DataDiskCategory string
    The category of the data disk.
    DataDiskSize string
    The size of the data disk. Unit: GiB.
    DirectoryType string
    The type of the directory.
    ExpiredTime string
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    GpuCount float64
    The number of GPUs.
    GpuSpec string
    The GPU specifications.
    Id string
    The provider-assigned unique ID for this managed resource.
    Memory int
    The memory size. Unit: MiB.
    OfficeSiteName string
    The name of the office network.
    OfficeSiteType string
    The type of the account system of the office network.
    OwnBundleName string
    The name of the desktop template.
    PayType string
    The billing method.
    PolicyGroupName string
    The name of the policy group.
    ResType int
    The type of the resource.
    SystemDiskCategory string
    The category of the system disk.
    SystemDiskSize int
    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_category string
    The category of the data disk.
    data_disk_size string
    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_name string
    The name of the office network.
    office_site_type string
    The type of the account system of the office network.
    own_bundle_name string
    The name of the desktop template.
    pay_type string
    The billing method.
    policy_group_name string
    The name of the policy group.
    res_type number
    The type of the resource.
    system_disk_category string
    The category of the system disk.
    system_disk_size number
    The size of the system disk. Unit: GiB.
    cpu Integer
    The number of vCPUs.
    createTime 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.
    dataDiskCategory String
    The category of the data disk.
    dataDiskSize String
    The size of the data disk. Unit: GiB.
    directoryType String
    The type of the directory.
    expiredTime String
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    gpuCount Double
    The number of GPUs.
    gpuSpec String
    The GPU specifications.
    id String
    The provider-assigned unique ID for this managed resource.
    memory Integer
    The memory size. Unit: MiB.
    officeSiteName String
    The name of the office network.
    officeSiteType String
    The type of the account system of the office network.
    ownBundleName String
    The name of the desktop template.
    payType String
    The billing method.
    policyGroupName String
    The name of the policy group.
    resType Integer
    The type of the resource.
    systemDiskCategory String
    The category of the system disk.
    systemDiskSize Integer
    The size of the system disk. Unit: GiB.
    cpu number
    The number of vCPUs.
    createTime 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.
    dataDiskCategory string
    The category of the data disk.
    dataDiskSize string
    The size of the data disk. Unit: GiB.
    directoryType string
    The type of the directory.
    expiredTime string
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    gpuCount number
    The number of GPUs.
    gpuSpec string
    The GPU specifications.
    id string
    The provider-assigned unique ID for this managed resource.
    memory number
    The memory size. Unit: MiB.
    officeSiteName string
    The name of the office network.
    officeSiteType string
    The type of the account system of the office network.
    ownBundleName string
    The name of the desktop template.
    payType string
    The billing method.
    policyGroupName string
    The name of the policy group.
    resType number
    The type of the resource.
    systemDiskCategory string
    The category of the system disk.
    systemDiskSize number
    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_category str
    The category of the data disk.
    data_disk_size str
    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_name str
    The name of the office network.
    office_site_type str
    The type of the account system of the office network.
    own_bundle_name str
    The name of the desktop template.
    pay_type str
    The billing method.
    policy_group_name str
    The name of the policy group.
    res_type int
    The type of the resource.
    system_disk_category str
    The category of the system disk.
    system_disk_size int
    The size of the system disk. Unit: GiB.
    cpu Number
    The number of vCPUs.
    createTime 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.
    dataDiskCategory String
    The category of the data disk.
    dataDiskSize String
    The size of the data disk. Unit: GiB.
    directoryType String
    The type of the directory.
    expiredTime String
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    gpuCount Number
    The number of GPUs.
    gpuSpec String
    The GPU specifications.
    id String
    The provider-assigned unique ID for this managed resource.
    memory Number
    The memory size. Unit: MiB.
    officeSiteName String
    The name of the office network.
    officeSiteType String
    The type of the account system of the office network.
    ownBundleName String
    The name of the desktop template.
    payType String
    The billing method.
    policyGroupName String
    The name of the policy group.
    resType Number
    The type of the resource.
    systemDiskCategory String
    The category of the system disk.
    systemDiskSize Number
    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) -> Group
    func 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.
    The following state arguments are supported:
    AllowAutoSetup int
    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: 0 and 1.
    AllowBufferCount int
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    BundleId string
    The ID of the desktop template.
    Comments string
    The remarks of the desktop group.
    Cpu int
    The number of vCPUs.
    CreateTime 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.
    DataDiskCategory string
    The category of the data disk.
    DataDiskSize string
    The size of the data disk. Unit: GiB.
    DesktopGroupName string
    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:// or https://.
    DirectoryId string
    The ID of the directory.
    DirectoryType string
    The type of the directory.
    EndUserIds List<string>
    The list of IDs of the end users authorized to use the desktop group.
    ExpiredTime string
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    GpuCount double
    The number of GPUs.
    GpuSpec string
    The GPU specifications.
    KeepDuration int
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    MaxDesktopsCount int
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    Memory int
    The memory size. Unit: MiB.
    MinDesktopsCount int
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    OfficeSiteId string
    The ID of the office network to which the desktop group belongs.
    OfficeSiteName string
    The name of the office network.
    OfficeSiteType string
    The type of the account system of the office network.
    OwnBundleName string
    The name of the desktop template.
    PayType string
    The billing method.
    PolicyGroupId string
    The ID of the policy group associated with the desktop group.
    PolicyGroupName string
    The name of the policy group.
    ResType int
    The type of the resource.
    ScaleStrategyId string
    The ID of the scaling policy.
    SystemDiskCategory string
    The category of the system disk.
    SystemDiskSize int
    The size of the system disk. Unit: GiB.
    AllowAutoSetup int
    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: 0 and 1.
    AllowBufferCount int
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    BundleId string
    The ID of the desktop template.
    Comments string
    The remarks of the desktop group.
    Cpu int
    The number of vCPUs.
    CreateTime 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.
    DataDiskCategory string
    The category of the data disk.
    DataDiskSize string
    The size of the data disk. Unit: GiB.
    DesktopGroupName string
    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:// or https://.
    DirectoryId string
    The ID of the directory.
    DirectoryType string
    The type of the directory.
    EndUserIds []string
    The list of IDs of the end users authorized to use the desktop group.
    ExpiredTime string
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    GpuCount float64
    The number of GPUs.
    GpuSpec string
    The GPU specifications.
    KeepDuration int
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    MaxDesktopsCount int
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    Memory int
    The memory size. Unit: MiB.
    MinDesktopsCount int
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    OfficeSiteId string
    The ID of the office network to which the desktop group belongs.
    OfficeSiteName string
    The name of the office network.
    OfficeSiteType string
    The type of the account system of the office network.
    OwnBundleName string
    The name of the desktop template.
    PayType string
    The billing method.
    PolicyGroupId string
    The ID of the policy group associated with the desktop group.
    PolicyGroupName string
    The name of the policy group.
    ResType int
    The type of the resource.
    ScaleStrategyId string
    The ID of the scaling policy.
    SystemDiskCategory string
    The category of the system disk.
    SystemDiskSize int
    The size of the system disk. Unit: GiB.
    allow_auto_setup number
    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: 0 and 1.
    allow_buffer_count number
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates 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_category string
    The category of the data disk.
    data_disk_size string
    The size of the data disk. Unit: GiB.
    desktop_group_name string
    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:// or https://.
    directory_id string
    The ID of the directory.
    directory_type string
    The type of the directory.
    end_user_ids list(string)
    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: 180000 to 345600000. 0 indicates 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_count number
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    memory number
    The memory size. Unit: MiB.
    min_desktops_count number
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    office_site_id string
    The ID of the office network to which the desktop group belongs.
    office_site_name string
    The name of the office network.
    office_site_type string
    The type of the account system of the office network.
    own_bundle_name string
    The name of the desktop template.
    pay_type string
    The billing method.
    policy_group_id string
    The ID of the policy group associated with the desktop group.
    policy_group_name string
    The name of the policy group.
    res_type number
    The type of the resource.
    scale_strategy_id string
    The ID of the scaling policy.
    system_disk_category string
    The category of the system disk.
    system_disk_size number
    The size of the system disk. Unit: GiB.
    allowAutoSetup Integer
    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: 0 and 1.
    allowBufferCount Integer
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    bundleId String
    The ID of the desktop template.
    comments String
    The remarks of the desktop group.
    cpu Integer
    The number of vCPUs.
    createTime 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.
    dataDiskCategory String
    The category of the data disk.
    dataDiskSize String
    The size of the data disk. Unit: GiB.
    desktopGroupName String
    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:// or https://.
    directoryId String
    The ID of the directory.
    directoryType String
    The type of the directory.
    endUserIds List<String>
    The list of IDs of the end users authorized to use the desktop group.
    expiredTime String
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    gpuCount Double
    The number of GPUs.
    gpuSpec String
    The GPU specifications.
    keepDuration Integer
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    maxDesktopsCount Integer
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    memory Integer
    The memory size. Unit: MiB.
    minDesktopsCount Integer
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    officeSiteId String
    The ID of the office network to which the desktop group belongs.
    officeSiteName String
    The name of the office network.
    officeSiteType String
    The type of the account system of the office network.
    ownBundleName String
    The name of the desktop template.
    payType String
    The billing method.
    policyGroupId String
    The ID of the policy group associated with the desktop group.
    policyGroupName String
    The name of the policy group.
    resType Integer
    The type of the resource.
    scaleStrategyId String
    The ID of the scaling policy.
    systemDiskCategory String
    The category of the system disk.
    systemDiskSize Integer
    The size of the system disk. Unit: GiB.
    allowAutoSetup number
    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: 0 and 1.
    allowBufferCount number
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    bundleId string
    The ID of the desktop template.
    comments string
    The remarks of the desktop group.
    cpu number
    The number of vCPUs.
    createTime 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.
    dataDiskCategory string
    The category of the data disk.
    dataDiskSize string
    The size of the data disk. Unit: GiB.
    desktopGroupName string
    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:// or https://.
    directoryId string
    The ID of the directory.
    directoryType string
    The type of the directory.
    endUserIds string[]
    The list of IDs of the end users authorized to use the desktop group.
    expiredTime string
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    gpuCount number
    The number of GPUs.
    gpuSpec string
    The GPU specifications.
    keepDuration number
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    maxDesktopsCount number
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    memory number
    The memory size. Unit: MiB.
    minDesktopsCount number
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    officeSiteId string
    The ID of the office network to which the desktop group belongs.
    officeSiteName string
    The name of the office network.
    officeSiteType string
    The type of the account system of the office network.
    ownBundleName string
    The name of the desktop template.
    payType string
    The billing method.
    policyGroupId string
    The ID of the policy group associated with the desktop group.
    policyGroupName string
    The name of the policy group.
    resType number
    The type of the resource.
    scaleStrategyId string
    The ID of the scaling policy.
    systemDiskCategory string
    The category of the system disk.
    systemDiskSize number
    The size of the system disk. Unit: GiB.
    allow_auto_setup int
    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: 0 and 1.
    allow_buffer_count int
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates 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_category str
    The category of the data disk.
    data_disk_size str
    The size of the data disk. Unit: GiB.
    desktop_group_name str
    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:// or https://.
    directory_id str
    The ID of the directory.
    directory_type str
    The type of the directory.
    end_user_ids Sequence[str]
    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: 180000 to 345600000. 0 indicates 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_count int
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    memory int
    The memory size. Unit: MiB.
    min_desktops_count int
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    office_site_id str
    The ID of the office network to which the desktop group belongs.
    office_site_name str
    The name of the office network.
    office_site_type str
    The type of the account system of the office network.
    own_bundle_name str
    The name of the desktop template.
    pay_type str
    The billing method.
    policy_group_id str
    The ID of the policy group associated with the desktop group.
    policy_group_name str
    The name of the policy group.
    res_type int
    The type of the resource.
    scale_strategy_id str
    The ID of the scaling policy.
    system_disk_category str
    The category of the system disk.
    system_disk_size int
    The size of the system disk. Unit: GiB.
    allowAutoSetup Number
    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: 0 and 1.
    allowBufferCount Number
    The number of cloud desktops that are reserved in the desktop group. Reserved desktops are kept started and idle, waiting for connections. Valid values: 0 to 100. 0 indicates that no desktop is reserved.
    bundleId String
    The ID of the desktop template.
    comments String
    The remarks of the desktop group.
    cpu Number
    The number of vCPUs.
    createTime 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.
    dataDiskCategory String
    The category of the data disk.
    dataDiskSize String
    The size of the data disk. Unit: GiB.
    desktopGroupName String
    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:// or https://.
    directoryId String
    The ID of the directory.
    directoryType String
    The type of the directory.
    endUserIds List<String>
    The list of IDs of the end users authorized to use the desktop group.
    expiredTime String
    The time when the subscription desktop group expires. The time follows the ISO 8601 standard in UTC.
    gpuCount Number
    The number of GPUs.
    gpuSpec String
    The GPU specifications.
    keepDuration Number
    The retention duration of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 to 345600000. 0 indicates 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.
    maxDesktopsCount Number
    The maximum number of cloud desktops that the pay-as-you-go desktop group can contain. Valid values: 0 to 500.
    memory Number
    The memory size. Unit: MiB.
    minDesktopsCount Number
    The minimum number of cloud desktops that the pay-as-you-go desktop group automatically creates. Valid values: 0 to the value of maxDesktopsCount.
    officeSiteId String
    The ID of the office network to which the desktop group belongs.
    officeSiteName String
    The name of the office network.
    officeSiteType String
    The type of the account system of the office network.
    ownBundleName String
    The name of the desktop template.
    payType String
    The billing method.
    policyGroupId String
    The ID of the policy group associated with the desktop group.
    policyGroupName String
    The name of the policy group.
    resType Number
    The type of the resource.
    scaleStrategyId String
    The ID of the scaling policy.
    systemDiskCategory String
    The category of the system disk.
    systemDiskSize Number
    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 alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v3.108.0
    published on Thursday, Sep 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial