1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. eds
  5. Bundle
Alibaba Cloud v3.59.0 published on Friday, Jul 12, 2024 by Pulumi

alicloud.eds.Bundle

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.59.0 published on Friday, Jul 12, 2024 by Pulumi

    Provides a ECD Bundle resource.

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

    NOTE: Available since v1.170.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.getImages({
        imageType: "SYSTEM",
        osType: "Windows",
        desktopInstanceType: "eds.hf.4c8g",
    });
    const defaultGetDesktopTypes = alicloud.eds.getDesktopTypes({
        instanceTypeFamily: "eds.hf",
        cpuCount: 4,
        memorySize: 8192,
    });
    const defaultBundle = new alicloud.eds.Bundle("default", {
        description: name,
        desktopType: defaultGetDesktopTypes.then(defaultGetDesktopTypes => defaultGetDesktopTypes.ids?.[0]),
        bundleName: name,
        imageId: _default.then(_default => _default.ids?.[0]),
        userDiskSizeGibs: [70],
        rootDiskSizeGib: 80,
        rootDiskPerformanceLevel: "PL1",
        userDiskPerformanceLevel: "PL1",
    });
    
    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_images(image_type="SYSTEM",
        os_type="Windows",
        desktop_instance_type="eds.hf.4c8g")
    default_get_desktop_types = alicloud.eds.get_desktop_types(instance_type_family="eds.hf",
        cpu_count=4,
        memory_size=8192)
    default_bundle = alicloud.eds.Bundle("default",
        description=name,
        desktop_type=default_get_desktop_types.ids[0],
        bundle_name=name,
        image_id=default.ids[0],
        user_disk_size_gibs=[70],
        root_disk_size_gib=80,
        root_disk_performance_level="PL1",
        user_disk_performance_level="PL1")
    
    package main
    
    import (
    	"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.GetImages(ctx, &eds.GetImagesArgs{
    			ImageType:           pulumi.StringRef("SYSTEM"),
    			OsType:              pulumi.StringRef("Windows"),
    			DesktopInstanceType: pulumi.StringRef("eds.hf.4c8g"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultGetDesktopTypes, err := eds.GetDesktopTypes(ctx, &eds.GetDesktopTypesArgs{
    			InstanceTypeFamily: pulumi.StringRef("eds.hf"),
    			CpuCount:           pulumi.IntRef(4),
    			MemorySize:         pulumi.IntRef(8192),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = eds.NewBundle(ctx, "default", &eds.BundleArgs{
    			Description: pulumi.String(name),
    			DesktopType: pulumi.String(defaultGetDesktopTypes.Ids[0]),
    			BundleName:  pulumi.String(name),
    			ImageId:     pulumi.String(_default.Ids[0]),
    			UserDiskSizeGibs: pulumi.IntArray{
    				pulumi.Int(70),
    			},
    			RootDiskSizeGib:          pulumi.Int(80),
    			RootDiskPerformanceLevel: pulumi.String("PL1"),
    			UserDiskPerformanceLevel: pulumi.String("PL1"),
    		})
    		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.GetImages.Invoke(new()
        {
            ImageType = "SYSTEM",
            OsType = "Windows",
            DesktopInstanceType = "eds.hf.4c8g",
        });
    
        var defaultGetDesktopTypes = AliCloud.Eds.GetDesktopTypes.Invoke(new()
        {
            InstanceTypeFamily = "eds.hf",
            CpuCount = 4,
            MemorySize = 8192,
        });
    
        var defaultBundle = new AliCloud.Eds.Bundle("default", new()
        {
            Description = name,
            DesktopType = defaultGetDesktopTypes.Apply(getDesktopTypesResult => getDesktopTypesResult.Ids[0]),
            BundleName = name,
            ImageId = @default.Apply(@default => @default.Apply(getImagesResult => getImagesResult.Ids[0])),
            UserDiskSizeGibs = new[]
            {
                70,
            },
            RootDiskSizeGib = 80,
            RootDiskPerformanceLevel = "PL1",
            UserDiskPerformanceLevel = "PL1",
        });
    
    });
    
    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.GetImagesArgs;
    import com.pulumi.alicloud.eds.inputs.GetDesktopTypesArgs;
    import com.pulumi.alicloud.eds.Bundle;
    import com.pulumi.alicloud.eds.BundleArgs;
    import java.util.List;
    import java.util.ArrayList;
    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.getImages(GetImagesArgs.builder()
                .imageType("SYSTEM")
                .osType("Windows")
                .desktopInstanceType("eds.hf.4c8g")
                .build());
    
            final var defaultGetDesktopTypes = EdsFunctions.getDesktopTypes(GetDesktopTypesArgs.builder()
                .instanceTypeFamily("eds.hf")
                .cpuCount(4)
                .memorySize(8192)
                .build());
    
            var defaultBundle = new Bundle("defaultBundle", BundleArgs.builder()
                .description(name)
                .desktopType(defaultGetDesktopTypes.applyValue(getDesktopTypesResult -> getDesktopTypesResult.ids()[0]))
                .bundleName(name)
                .imageId(default_.ids()[0])
                .userDiskSizeGibs(70)
                .rootDiskSizeGib(80)
                .rootDiskPerformanceLevel("PL1")
                .userDiskPerformanceLevel("PL1")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      defaultBundle:
        type: alicloud:eds:Bundle
        name: default
        properties:
          description: ${name}
          desktopType: ${defaultGetDesktopTypes.ids[0]}
          bundleName: ${name}
          imageId: ${default.ids[0]}
          userDiskSizeGibs:
            - 70
          rootDiskSizeGib: 80
          rootDiskPerformanceLevel: PL1
          userDiskPerformanceLevel: PL1
    variables:
      default:
        fn::invoke:
          Function: alicloud:eds:getImages
          Arguments:
            imageType: SYSTEM
            osType: Windows
            desktopInstanceType: eds.hf.4c8g
      defaultGetDesktopTypes:
        fn::invoke:
          Function: alicloud:eds:getDesktopTypes
          Arguments:
            instanceTypeFamily: eds.hf
            cpuCount: 4
            memorySize: 8192
    

    Create Bundle Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Bundle(name: string, args: BundleArgs, opts?: CustomResourceOptions);
    @overload
    def Bundle(resource_name: str,
               args: BundleArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Bundle(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               desktop_type: Optional[str] = None,
               image_id: Optional[str] = None,
               root_disk_size_gib: Optional[int] = None,
               user_disk_size_gibs: Optional[Sequence[int]] = None,
               bundle_name: Optional[str] = None,
               description: Optional[str] = None,
               language: Optional[str] = None,
               root_disk_performance_level: Optional[str] = None,
               user_disk_performance_level: Optional[str] = None)
    func NewBundle(ctx *Context, name string, args BundleArgs, opts ...ResourceOption) (*Bundle, error)
    public Bundle(string name, BundleArgs args, CustomResourceOptions? opts = null)
    public Bundle(String name, BundleArgs args)
    public Bundle(String name, BundleArgs args, CustomResourceOptions options)
    
    type: alicloud:eds:Bundle
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BundleArgs
    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 BundleArgs
    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 BundleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BundleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BundleArgs
    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 bundleResource = new AliCloud.Eds.Bundle("bundleResource", new()
    {
        DesktopType = "string",
        ImageId = "string",
        RootDiskSizeGib = 0,
        UserDiskSizeGibs = new[]
        {
            0,
        },
        BundleName = "string",
        Description = "string",
        Language = "string",
        RootDiskPerformanceLevel = "string",
        UserDiskPerformanceLevel = "string",
    });
    
    example, err := eds.NewBundle(ctx, "bundleResource", &eds.BundleArgs{
    	DesktopType:     pulumi.String("string"),
    	ImageId:         pulumi.String("string"),
    	RootDiskSizeGib: pulumi.Int(0),
    	UserDiskSizeGibs: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	BundleName:               pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	Language:                 pulumi.String("string"),
    	RootDiskPerformanceLevel: pulumi.String("string"),
    	UserDiskPerformanceLevel: pulumi.String("string"),
    })
    
    var bundleResource = new Bundle("bundleResource", BundleArgs.builder()
        .desktopType("string")
        .imageId("string")
        .rootDiskSizeGib(0)
        .userDiskSizeGibs(0)
        .bundleName("string")
        .description("string")
        .language("string")
        .rootDiskPerformanceLevel("string")
        .userDiskPerformanceLevel("string")
        .build());
    
    bundle_resource = alicloud.eds.Bundle("bundleResource",
        desktop_type="string",
        image_id="string",
        root_disk_size_gib=0,
        user_disk_size_gibs=[0],
        bundle_name="string",
        description="string",
        language="string",
        root_disk_performance_level="string",
        user_disk_performance_level="string")
    
    const bundleResource = new alicloud.eds.Bundle("bundleResource", {
        desktopType: "string",
        imageId: "string",
        rootDiskSizeGib: 0,
        userDiskSizeGibs: [0],
        bundleName: "string",
        description: "string",
        language: "string",
        rootDiskPerformanceLevel: "string",
        userDiskPerformanceLevel: "string",
    });
    
    type: alicloud:eds:Bundle
    properties:
        bundleName: string
        description: string
        desktopType: string
        imageId: string
        language: string
        rootDiskPerformanceLevel: string
        rootDiskSizeGib: 0
        userDiskPerformanceLevel: string
        userDiskSizeGibs:
            - 0
    

    Bundle 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 Bundle resource accepts the following input properties:

    DesktopType string
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    ImageId string
    The ID of the image.
    RootDiskSizeGib int
    The root disk size gib.
    UserDiskSizeGibs List<int>
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    BundleName string
    The name of the bundle.
    Description string
    The description of the bundle.
    Language string
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    RootDiskPerformanceLevel string
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    UserDiskPerformanceLevel string
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    DesktopType string
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    ImageId string
    The ID of the image.
    RootDiskSizeGib int
    The root disk size gib.
    UserDiskSizeGibs []int
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    BundleName string
    The name of the bundle.
    Description string
    The description of the bundle.
    Language string
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    RootDiskPerformanceLevel string
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    UserDiskPerformanceLevel string
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    desktopType String
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    imageId String
    The ID of the image.
    rootDiskSizeGib Integer
    The root disk size gib.
    userDiskSizeGibs List<Integer>
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    bundleName String
    The name of the bundle.
    description String
    The description of the bundle.
    language String
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    rootDiskPerformanceLevel String
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    userDiskPerformanceLevel String
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    desktopType string
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    imageId string
    The ID of the image.
    rootDiskSizeGib number
    The root disk size gib.
    userDiskSizeGibs number[]
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    bundleName string
    The name of the bundle.
    description string
    The description of the bundle.
    language string
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    rootDiskPerformanceLevel string
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    userDiskPerformanceLevel string
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    desktop_type str
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    image_id str
    The ID of the image.
    root_disk_size_gib int
    The root disk size gib.
    user_disk_size_gibs Sequence[int]
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    bundle_name str
    The name of the bundle.
    description str
    The description of the bundle.
    language str
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    root_disk_performance_level str
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    user_disk_performance_level str
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    desktopType String
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    imageId String
    The ID of the image.
    rootDiskSizeGib Number
    The root disk size gib.
    userDiskSizeGibs List<Number>
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    bundleName String
    The name of the bundle.
    description String
    The description of the bundle.
    language String
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    rootDiskPerformanceLevel String
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    userDiskPerformanceLevel String
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Bundle 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 Existing Bundle Resource

    Get an existing Bundle 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?: BundleState, opts?: CustomResourceOptions): Bundle
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bundle_name: Optional[str] = None,
            description: Optional[str] = None,
            desktop_type: Optional[str] = None,
            image_id: Optional[str] = None,
            language: Optional[str] = None,
            root_disk_performance_level: Optional[str] = None,
            root_disk_size_gib: Optional[int] = None,
            user_disk_performance_level: Optional[str] = None,
            user_disk_size_gibs: Optional[Sequence[int]] = None) -> Bundle
    func GetBundle(ctx *Context, name string, id IDInput, state *BundleState, opts ...ResourceOption) (*Bundle, error)
    public static Bundle Get(string name, Input<string> id, BundleState? state, CustomResourceOptions? opts = null)
    public static Bundle get(String name, Output<String> id, BundleState 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:
    BundleName string
    The name of the bundle.
    Description string
    The description of the bundle.
    DesktopType string
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    ImageId string
    The ID of the image.
    Language string
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    RootDiskPerformanceLevel string
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    RootDiskSizeGib int
    The root disk size gib.
    UserDiskPerformanceLevel string
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    UserDiskSizeGibs List<int>
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    BundleName string
    The name of the bundle.
    Description string
    The description of the bundle.
    DesktopType string
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    ImageId string
    The ID of the image.
    Language string
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    RootDiskPerformanceLevel string
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    RootDiskSizeGib int
    The root disk size gib.
    UserDiskPerformanceLevel string
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    UserDiskSizeGibs []int
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    bundleName String
    The name of the bundle.
    description String
    The description of the bundle.
    desktopType String
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    imageId String
    The ID of the image.
    language String
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    rootDiskPerformanceLevel String
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    rootDiskSizeGib Integer
    The root disk size gib.
    userDiskPerformanceLevel String
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    userDiskSizeGibs List<Integer>
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    bundleName string
    The name of the bundle.
    description string
    The description of the bundle.
    desktopType string
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    imageId string
    The ID of the image.
    language string
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    rootDiskPerformanceLevel string
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    rootDiskSizeGib number
    The root disk size gib.
    userDiskPerformanceLevel string
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    userDiskSizeGibs number[]
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    bundle_name str
    The name of the bundle.
    description str
    The description of the bundle.
    desktop_type str
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    image_id str
    The ID of the image.
    language str
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    root_disk_performance_level str
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    root_disk_size_gib int
    The root disk size gib.
    user_disk_performance_level str
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    user_disk_size_gibs Sequence[int]
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.
    bundleName String
    The name of the bundle.
    description String
    The description of the bundle.
    desktopType String
    The desktop type. You can call alicloud.eds.getDesktopTypes to query desktop type.
    imageId String
    The ID of the image.
    language String
    The language. Valid values: zh-CN, zh-HK, en-US, ja-JP.
    rootDiskPerformanceLevel String
    The root disk performance level. Valid values: PL0, PL1, PL2, PL3.
    rootDiskSizeGib Number
    The root disk size gib.
    userDiskPerformanceLevel String
    The user disk performance level. Valid values: PL0, PL1, PL2, PL3.
    userDiskSizeGibs List<Number>
    The size of the data disk. Currently, only one data disk can be set. Unit: GiB.

    • The size of the data disk that supports the setting corresponds to the specification. For more information, see Overview of Desktop Specifications.
    • The data disk size (user_disk_size_gib) set in the template must be greater than the data disk size (data_disk_size) in the mirror.

    Import

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

    $ pulumi import alicloud:eds/bundle:Bundle example <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
    Alibaba Cloud v3.59.0 published on Friday, Jul 12, 2024 by Pulumi