Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.21.0 published on Tuesday, Jun 14, 2022 by Pulumi

Desktop

Provides a ECD Desktop resource.

For information about ECD Desktop and how to use it, see What is Desktop.

NOTE: Available in v1.144.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var defaultSimpleOfficeSite = new AliCloud.Eds.SimpleOfficeSite("defaultSimpleOfficeSite", new AliCloud.Eds.SimpleOfficeSiteArgs
        {
            CidrBlock = "172.16.0.0/12",
            DesktopAccessType = "Internet",
            OfficeSiteName = "your_office_site_name",
            EnableInternetAccess = false,
        });
        var defaultBundles = Output.Create(AliCloud.Eds.GetBundles.InvokeAsync(new AliCloud.Eds.GetBundlesArgs
        {
            BundleType = "SYSTEM",
        }));
        var defaultEcdPolicyGroup = new AliCloud.Eds.EcdPolicyGroup("defaultEcdPolicyGroup", new AliCloud.Eds.EcdPolicyGroupArgs
        {
            PolicyGroupName = "your_policy_group_name",
            Clipboard = "readwrite",
            LocalDrive = "read",
            AuthorizeAccessPolicyRules = 
            {
                new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs
                {
                    Description = "example_value",
                    CidrIp = "1.2.3.4/24",
                },
            },
            AuthorizeSecurityPolicyRules = 
            {
                new AliCloud.Eds.Inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs
                {
                    Type = "inflow",
                    Policy = "accept",
                    Description = "example_value",
                    PortRange = "80/80",
                    IpProtocol = "TCP",
                    Priority = "1",
                    CidrIp = "0.0.0.0/0",
                },
            },
        });
        var defaultUser = new AliCloud.Eds.User("defaultUser", new AliCloud.Eds.UserArgs
        {
            EndUserId = "your_end_user_id",
            Email = "your_email",
            Phone = "your_phone",
            Password = "your_password",
        });
        var defaultDesktop = new AliCloud.Eds.Desktop("defaultDesktop", new AliCloud.Eds.DesktopArgs
        {
            OfficeSiteId = defaultSimpleOfficeSite.Id,
            PolicyGroupId = defaultEcdPolicyGroup.Id,
            BundleId = defaultBundles.Apply(defaultBundles => defaultBundles.Bundles?[0]?.Id),
            DesktopName = "your_desktop_name",
            EndUserIds = 
            {
                defaultUser.Id,
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eds"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultSimpleOfficeSite, err := eds.NewSimpleOfficeSite(ctx, "defaultSimpleOfficeSite", &eds.SimpleOfficeSiteArgs{
			CidrBlock:            pulumi.String("172.16.0.0/12"),
			DesktopAccessType:    pulumi.String("Internet"),
			OfficeSiteName:       pulumi.String("your_office_site_name"),
			EnableInternetAccess: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		defaultBundles, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		if err != nil {
			return err
		}
		defaultEcdPolicyGroup, err := eds.NewEcdPolicyGroup(ctx, "defaultEcdPolicyGroup", &eds.EcdPolicyGroupArgs{
			PolicyGroupName: pulumi.String("your_policy_group_name"),
			Clipboard:       pulumi.String("readwrite"),
			LocalDrive:      pulumi.String("read"),
			AuthorizeAccessPolicyRules: eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs{
					Description: pulumi.String("example_value"),
					CidrIp:      pulumi.String("1.2.3.4/24"),
				},
			},
			AuthorizeSecurityPolicyRules: eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArray{
				&eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs{
					Type:        pulumi.String("inflow"),
					Policy:      pulumi.String("accept"),
					Description: pulumi.String("example_value"),
					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, "defaultUser", &eds.UserArgs{
			EndUserId: pulumi.String("your_end_user_id"),
			Email:     pulumi.String("your_email"),
			Phone:     pulumi.String("your_phone"),
			Password:  pulumi.String("your_password"),
		})
		if err != nil {
			return err
		}
		_, err = eds.NewDesktop(ctx, "defaultDesktop", &eds.DesktopArgs{
			OfficeSiteId:  defaultSimpleOfficeSite.ID(),
			PolicyGroupId: defaultEcdPolicyGroup.ID(),
			BundleId:      pulumi.String(defaultBundles.Bundles[0].Id),
			DesktopName:   pulumi.String("your_desktop_name"),
			EndUserIds: pulumi.StringArray{
				defaultUser.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

default_simple_office_site = alicloud.eds.SimpleOfficeSite("defaultSimpleOfficeSite",
    cidr_block="172.16.0.0/12",
    desktop_access_type="Internet",
    office_site_name="your_office_site_name",
    enable_internet_access=False)
default_bundles = alicloud.eds.get_bundles(bundle_type="SYSTEM")
default_ecd_policy_group = alicloud.eds.EcdPolicyGroup("defaultEcdPolicyGroup",
    policy_group_name="your_policy_group_name",
    clipboard="readwrite",
    local_drive="read",
    authorize_access_policy_rules=[alicloud.eds.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs(
        description="example_value",
        cidr_ip="1.2.3.4/24",
    )],
    authorize_security_policy_rules=[alicloud.eds.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs(
        type="inflow",
        policy="accept",
        description="example_value",
        port_range="80/80",
        ip_protocol="TCP",
        priority="1",
        cidr_ip="0.0.0.0/0",
    )])
default_user = alicloud.eds.User("defaultUser",
    end_user_id="your_end_user_id",
    email="your_email",
    phone="your_phone",
    password="your_password")
default_desktop = alicloud.eds.Desktop("defaultDesktop",
    office_site_id=default_simple_office_site.id,
    policy_group_id=default_ecd_policy_group.id,
    bundle_id=default_bundles.bundles[0].id,
    desktop_name="your_desktop_name",
    end_user_ids=[default_user.id])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultSimpleOfficeSite = new alicloud.eds.SimpleOfficeSite("defaultSimpleOfficeSite", {
    cidrBlock: "172.16.0.0/12",
    desktopAccessType: "Internet",
    officeSiteName: "your_office_site_name",
    enableInternetAccess: false,
});
const defaultBundles = alicloud.eds.getBundles({
    bundleType: "SYSTEM",
});
const defaultEcdPolicyGroup = new alicloud.eds.EcdPolicyGroup("defaultEcdPolicyGroup", {
    policyGroupName: "your_policy_group_name",
    clipboard: "readwrite",
    localDrive: "read",
    authorizeAccessPolicyRules: [{
        description: "example_value",
        cidrIp: "1.2.3.4/24",
    }],
    authorizeSecurityPolicyRules: [{
        type: "inflow",
        policy: "accept",
        description: "example_value",
        portRange: "80/80",
        ipProtocol: "TCP",
        priority: "1",
        cidrIp: "0.0.0.0/0",
    }],
});
const defaultUser = new alicloud.eds.User("defaultUser", {
    endUserId: "your_end_user_id",
    email: "your_email",
    phone: "your_phone",
    password: "your_password",
});
const defaultDesktop = new alicloud.eds.Desktop("defaultDesktop", {
    officeSiteId: defaultSimpleOfficeSite.id,
    policyGroupId: defaultEcdPolicyGroup.id,
    bundleId: defaultBundles.then(defaultBundles => defaultBundles.bundles?[0]?.id),
    desktopName: "your_desktop_name",
    endUserIds: [defaultUser.id],
});

Coming soon!

Create a Desktop Resource

new Desktop(name: string, args: DesktopArgs, opts?: CustomResourceOptions);
@overload
def Desktop(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            amount: Optional[int] = None,
            auto_pay: Optional[bool] = None,
            auto_renew: Optional[bool] = None,
            bundle_id: Optional[str] = None,
            desktop_name: Optional[str] = None,
            desktop_type: Optional[str] = None,
            end_user_ids: Optional[Sequence[str]] = None,
            host_name: Optional[str] = None,
            office_site_id: Optional[str] = None,
            payment_type: Optional[str] = None,
            period: Optional[int] = None,
            period_unit: Optional[str] = None,
            policy_group_id: Optional[str] = None,
            root_disk_size_gib: Optional[int] = None,
            status: Optional[str] = None,
            stopped_mode: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            user_assign_mode: Optional[str] = None,
            user_disk_size_gib: Optional[int] = None)
@overload
def Desktop(resource_name: str,
            args: DesktopArgs,
            opts: Optional[ResourceOptions] = None)
func NewDesktop(ctx *Context, name string, args DesktopArgs, opts ...ResourceOption) (*Desktop, error)
public Desktop(string name, DesktopArgs args, CustomResourceOptions? opts = null)
public Desktop(String name, DesktopArgs args)
public Desktop(String name, DesktopArgs args, CustomResourceOptions options)
type: alicloud:eds:Desktop
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DesktopArgs
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 DesktopArgs
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 DesktopArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DesktopArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DesktopArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Desktop Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Desktop resource accepts the following input properties:

BundleId string

The bundle id of the Desktop.

OfficeSiteId string

The ID of the Simple Office Site.

PolicyGroupId string

The policy group id of the Desktop.

Amount int

The amount of the Desktop.

AutoPay bool

The auto-pay of the Desktop whether to pay automatically. values: true, false.

AutoRenew bool

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

DesktopName string

The desktop name of the Desktop.

DesktopType string

The desktop type of the Desktop.

EndUserIds List<string>

The desktop end user id of the Desktop.

HostName string

The hostname of the Desktop.

PaymentType string

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

Period int

The period of the Desktop.

PeriodUnit string

The period unit of the Desktop.

RootDiskSizeGib int

The root disk size gib of the Desktop.

Status string

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

StoppedMode string

The stopped mode of the Desktop.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

UserAssignMode string

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

UserDiskSizeGib int

The user disk size gib of the Desktop.

BundleId string

The bundle id of the Desktop.

OfficeSiteId string

The ID of the Simple Office Site.

PolicyGroupId string

The policy group id of the Desktop.

Amount int

The amount of the Desktop.

AutoPay bool

The auto-pay of the Desktop whether to pay automatically. values: true, false.

AutoRenew bool

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

DesktopName string

The desktop name of the Desktop.

DesktopType string

The desktop type of the Desktop.

EndUserIds []string

The desktop end user id of the Desktop.

HostName string

The hostname of the Desktop.

PaymentType string

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

Period int

The period of the Desktop.

PeriodUnit string

The period unit of the Desktop.

RootDiskSizeGib int

The root disk size gib of the Desktop.

Status string

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

StoppedMode string

The stopped mode of the Desktop.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

UserAssignMode string

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

UserDiskSizeGib int

The user disk size gib of the Desktop.

bundleId String

The bundle id of the Desktop.

officeSiteId String

The ID of the Simple Office Site.

policyGroupId String

The policy group id of the Desktop.

amount Integer

The amount of the Desktop.

autoPay Boolean

The auto-pay of the Desktop whether to pay automatically. values: true, false.

autoRenew Boolean

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

desktopName String

The desktop name of the Desktop.

desktopType String

The desktop type of the Desktop.

endUserIds List<String>

The desktop end user id of the Desktop.

hostName String

The hostname of the Desktop.

paymentType String

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

period Integer

The period of the Desktop.

periodUnit String

The period unit of the Desktop.

rootDiskSizeGib Integer

The root disk size gib of the Desktop.

status String

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

stoppedMode String

The stopped mode of the Desktop.

tags Map<String,Object>

A mapping of tags to assign to the resource.

userAssignMode String

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

userDiskSizeGib Integer

The user disk size gib of the Desktop.

bundleId string

The bundle id of the Desktop.

officeSiteId string

The ID of the Simple Office Site.

policyGroupId string

The policy group id of the Desktop.

amount number

The amount of the Desktop.

autoPay boolean

The auto-pay of the Desktop whether to pay automatically. values: true, false.

autoRenew boolean

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

desktopName string

The desktop name of the Desktop.

desktopType string

The desktop type of the Desktop.

endUserIds string[]

The desktop end user id of the Desktop.

hostName string

The hostname of the Desktop.

paymentType string

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

period number

The period of the Desktop.

periodUnit string

The period unit of the Desktop.

rootDiskSizeGib number

The root disk size gib of the Desktop.

status string

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

stoppedMode string

The stopped mode of the Desktop.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

userAssignMode string

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

userDiskSizeGib number

The user disk size gib of the Desktop.

bundle_id str

The bundle id of the Desktop.

office_site_id str

The ID of the Simple Office Site.

policy_group_id str

The policy group id of the Desktop.

amount int

The amount of the Desktop.

auto_pay bool

The auto-pay of the Desktop whether to pay automatically. values: true, false.

auto_renew bool

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

desktop_name str

The desktop name of the Desktop.

desktop_type str

The desktop type of the Desktop.

end_user_ids Sequence[str]

The desktop end user id of the Desktop.

host_name str

The hostname of the Desktop.

payment_type str

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

period int

The period of the Desktop.

period_unit str

The period unit of the Desktop.

root_disk_size_gib int

The root disk size gib of the Desktop.

status str

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

stopped_mode str

The stopped mode of the Desktop.

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

user_assign_mode str

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

user_disk_size_gib int

The user disk size gib of the Desktop.

bundleId String

The bundle id of the Desktop.

officeSiteId String

The ID of the Simple Office Site.

policyGroupId String

The policy group id of the Desktop.

amount Number

The amount of the Desktop.

autoPay Boolean

The auto-pay of the Desktop whether to pay automatically. values: true, false.

autoRenew Boolean

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

desktopName String

The desktop name of the Desktop.

desktopType String

The desktop type of the Desktop.

endUserIds List<String>

The desktop end user id of the Desktop.

hostName String

The hostname of the Desktop.

paymentType String

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

period Number

The period of the Desktop.

periodUnit String

The period unit of the Desktop.

rootDiskSizeGib Number

The root disk size gib of the Desktop.

status String

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

stoppedMode String

The stopped mode of the Desktop.

tags Map<Any>

A mapping of tags to assign to the resource.

userAssignMode String

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

userDiskSizeGib Number

The user disk size gib of the Desktop.

Outputs

All input properties are implicitly available as output properties. Additionally, the Desktop resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing Desktop Resource

Get an existing Desktop 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?: DesktopState, opts?: CustomResourceOptions): Desktop
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        amount: Optional[int] = None,
        auto_pay: Optional[bool] = None,
        auto_renew: Optional[bool] = None,
        bundle_id: Optional[str] = None,
        desktop_name: Optional[str] = None,
        desktop_type: Optional[str] = None,
        end_user_ids: Optional[Sequence[str]] = None,
        host_name: Optional[str] = None,
        office_site_id: Optional[str] = None,
        payment_type: Optional[str] = None,
        period: Optional[int] = None,
        period_unit: Optional[str] = None,
        policy_group_id: Optional[str] = None,
        root_disk_size_gib: Optional[int] = None,
        status: Optional[str] = None,
        stopped_mode: Optional[str] = None,
        tags: Optional[Mapping[str, Any]] = None,
        user_assign_mode: Optional[str] = None,
        user_disk_size_gib: Optional[int] = None) -> Desktop
func GetDesktop(ctx *Context, name string, id IDInput, state *DesktopState, opts ...ResourceOption) (*Desktop, error)
public static Desktop Get(string name, Input<string> id, DesktopState? state, CustomResourceOptions? opts = null)
public static Desktop get(String name, Output<String> id, DesktopState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
Amount int

The amount of the Desktop.

AutoPay bool

The auto-pay of the Desktop whether to pay automatically. values: true, false.

AutoRenew bool

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

BundleId string

The bundle id of the Desktop.

DesktopName string

The desktop name of the Desktop.

DesktopType string

The desktop type of the Desktop.

EndUserIds List<string>

The desktop end user id of the Desktop.

HostName string

The hostname of the Desktop.

OfficeSiteId string

The ID of the Simple Office Site.

PaymentType string

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

Period int

The period of the Desktop.

PeriodUnit string

The period unit of the Desktop.

PolicyGroupId string

The policy group id of the Desktop.

RootDiskSizeGib int

The root disk size gib of the Desktop.

Status string

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

StoppedMode string

The stopped mode of the Desktop.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

UserAssignMode string

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

UserDiskSizeGib int

The user disk size gib of the Desktop.

Amount int

The amount of the Desktop.

AutoPay bool

The auto-pay of the Desktop whether to pay automatically. values: true, false.

AutoRenew bool

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

BundleId string

The bundle id of the Desktop.

DesktopName string

The desktop name of the Desktop.

DesktopType string

The desktop type of the Desktop.

EndUserIds []string

The desktop end user id of the Desktop.

HostName string

The hostname of the Desktop.

OfficeSiteId string

The ID of the Simple Office Site.

PaymentType string

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

Period int

The period of the Desktop.

PeriodUnit string

The period unit of the Desktop.

PolicyGroupId string

The policy group id of the Desktop.

RootDiskSizeGib int

The root disk size gib of the Desktop.

Status string

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

StoppedMode string

The stopped mode of the Desktop.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

UserAssignMode string

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

UserDiskSizeGib int

The user disk size gib of the Desktop.

amount Integer

The amount of the Desktop.

autoPay Boolean

The auto-pay of the Desktop whether to pay automatically. values: true, false.

autoRenew Boolean

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

bundleId String

The bundle id of the Desktop.

desktopName String

The desktop name of the Desktop.

desktopType String

The desktop type of the Desktop.

endUserIds List<String>

The desktop end user id of the Desktop.

hostName String

The hostname of the Desktop.

officeSiteId String

The ID of the Simple Office Site.

paymentType String

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

period Integer

The period of the Desktop.

periodUnit String

The period unit of the Desktop.

policyGroupId String

The policy group id of the Desktop.

rootDiskSizeGib Integer

The root disk size gib of the Desktop.

status String

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

stoppedMode String

The stopped mode of the Desktop.

tags Map<String,Object>

A mapping of tags to assign to the resource.

userAssignMode String

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

userDiskSizeGib Integer

The user disk size gib of the Desktop.

amount number

The amount of the Desktop.

autoPay boolean

The auto-pay of the Desktop whether to pay automatically. values: true, false.

autoRenew boolean

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

bundleId string

The bundle id of the Desktop.

desktopName string

The desktop name of the Desktop.

desktopType string

The desktop type of the Desktop.

endUserIds string[]

The desktop end user id of the Desktop.

hostName string

The hostname of the Desktop.

officeSiteId string

The ID of the Simple Office Site.

paymentType string

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

period number

The period of the Desktop.

periodUnit string

The period unit of the Desktop.

policyGroupId string

The policy group id of the Desktop.

rootDiskSizeGib number

The root disk size gib of the Desktop.

status string

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

stoppedMode string

The stopped mode of the Desktop.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

userAssignMode string

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

userDiskSizeGib number

The user disk size gib of the Desktop.

amount int

The amount of the Desktop.

auto_pay bool

The auto-pay of the Desktop whether to pay automatically. values: true, false.

auto_renew bool

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

bundle_id str

The bundle id of the Desktop.

desktop_name str

The desktop name of the Desktop.

desktop_type str

The desktop type of the Desktop.

end_user_ids Sequence[str]

The desktop end user id of the Desktop.

host_name str

The hostname of the Desktop.

office_site_id str

The ID of the Simple Office Site.

payment_type str

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

period int

The period of the Desktop.

period_unit str

The period unit of the Desktop.

policy_group_id str

The policy group id of the Desktop.

root_disk_size_gib int

The root disk size gib of the Desktop.

status str

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

stopped_mode str

The stopped mode of the Desktop.

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

user_assign_mode str

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

user_disk_size_gib int

The user disk size gib of the Desktop.

amount Number

The amount of the Desktop.

autoPay Boolean

The auto-pay of the Desktop whether to pay automatically. values: true, false.

autoRenew Boolean

The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false.

bundleId String

The bundle id of the Desktop.

desktopName String

The desktop name of the Desktop.

desktopType String

The desktop type of the Desktop.

endUserIds List<String>

The desktop end user id of the Desktop.

hostName String

The hostname of the Desktop.

officeSiteId String

The ID of the Simple Office Site.

paymentType String

The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo.

period Number

The period of the Desktop.

periodUnit String

The period unit of the Desktop.

policyGroupId String

The policy group id of the Desktop.

rootDiskSizeGib Number

The root disk size gib of the Desktop.

status String

The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping.

stoppedMode String

The stopped mode of the Desktop.

tags Map<Any>

A mapping of tags to assign to the resource.

userAssignMode String

The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL.

userDiskSizeGib Number

The user disk size gib of the Desktop.

Import

ECD Desktop can be imported using the id, e.g.

 $ pulumi import alicloud:eds/desktop:Desktop example <id>

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.