Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.eds.getBundles
Explore with Pulumi AI
This data source provides the Ecd bundles of the current Alibaba Cloud user.
NOTE: Available in v1.143.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const default = alicloud.eds.getBundles({
    bundleType: "SYSTEM",
});
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.eds.get_bundles(bundle_type="SYSTEM")
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 {
		_, err := eds.GetBundles(ctx, &eds.GetBundlesArgs{
			BundleType: pulumi.StringRef("SYSTEM"),
		}, nil)
		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 @default = AliCloud.Eds.GetBundles.Invoke(new()
    {
        BundleType = "SYSTEM",
    });
});
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 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 default = EdsFunctions.getBundles(GetBundlesArgs.builder()
            .bundleType("SYSTEM")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: alicloud:eds:getBundles
      Arguments:
        bundleType: SYSTEM
Using getBundles
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBundles(args: GetBundlesArgs, opts?: InvokeOptions): Promise<GetBundlesResult>
function getBundlesOutput(args: GetBundlesOutputArgs, opts?: InvokeOptions): Output<GetBundlesResult>def get_bundles(bundle_ids: Optional[Sequence[str]] = None,
                bundle_type: Optional[str] = None,
                ids: Optional[Sequence[str]] = None,
                name_regex: Optional[str] = None,
                output_file: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetBundlesResult
def get_bundles_output(bundle_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                bundle_type: Optional[pulumi.Input[str]] = None,
                ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                name_regex: Optional[pulumi.Input[str]] = None,
                output_file: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetBundlesResult]func GetBundles(ctx *Context, args *GetBundlesArgs, opts ...InvokeOption) (*GetBundlesResult, error)
func GetBundlesOutput(ctx *Context, args *GetBundlesOutputArgs, opts ...InvokeOption) GetBundlesResultOutput> Note: This function is named GetBundles in the Go SDK.
public static class GetBundles 
{
    public static Task<GetBundlesResult> InvokeAsync(GetBundlesArgs args, InvokeOptions? opts = null)
    public static Output<GetBundlesResult> Invoke(GetBundlesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBundlesResult> getBundles(GetBundlesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:eds/getBundles:getBundles
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Bundle
Ids List<string> - Bundle
Type string - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - Ids List<string>
 - A list of Bundle IDs.
 - Name
Regex string - A regex string to filter results by Bundle name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). 
- Bundle
Ids []string - Bundle
Type string - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - Ids []string
 - A list of Bundle IDs.
 - Name
Regex string - A regex string to filter results by Bundle name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). 
- bundle
Ids List<String> - bundle
Type String - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - ids List<String>
 - A list of Bundle IDs.
 - name
Regex String - A regex string to filter results by Bundle name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). 
- bundle
Ids string[] - bundle
Type string - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - ids string[]
 - A list of Bundle IDs.
 - name
Regex string - A regex string to filter results by Bundle name.
 - output
File string - File name where to save data source results (after running 
pulumi preview). 
- bundle_
ids Sequence[str] - bundle_
type str - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - ids Sequence[str]
 - A list of Bundle IDs.
 - name_
regex str - A regex string to filter results by Bundle name.
 - output_
file str - File name where to save data source results (after running 
pulumi preview). 
- bundle
Ids List<String> - bundle
Type String - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - ids List<String>
 - A list of Bundle IDs.
 - name
Regex String - A regex string to filter results by Bundle name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). 
getBundles Result
The following output properties are available:
- Bundle
Ids List<string> - Bundles
List<Pulumi.
Ali Cloud. Eds. Outputs. Get Bundles Bundle>  - Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids List<string>
 - Names List<string>
 - Bundle
Type string - Name
Regex string - Output
File string 
- Bundle
Ids []string - Bundles
[]Get
Bundles Bundle  - Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids []string
 - Names []string
 - Bundle
Type string - Name
Regex string - Output
File string 
- bundle
Ids List<String> - bundles
List<Get
Bundles Bundle>  - id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - names List<String>
 - bundle
Type String - name
Regex String - output
File String 
- bundle
Ids string[] - bundles
Get
Bundles Bundle[]  - id string
 - The provider-assigned unique ID for this managed resource.
 - ids string[]
 - names string[]
 - bundle
Type string - name
Regex string - output
File string 
- bundle_
ids Sequence[str] - bundles
Sequence[Get
Bundles Bundle]  - id str
 - The provider-assigned unique ID for this managed resource.
 - ids Sequence[str]
 - names Sequence[str]
 - bundle_
type str - name_
regex str - output_
file str 
- bundle
Ids List<String> - bundles List<Property Map>
 - id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - names List<String>
 - bundle
Type String - name
Regex String - output
File String 
Supporting Types
GetBundlesBundle  
- Bundle
Id string - The bundle id of the bundle.
 - Bundle
Name string - The name of the bundle.
 - Bundle
Type string - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - Description string
 - The description of the bundle.
 - Desktop
Type string - The desktop type of the bundle.
 - Desktop
Type List<Pulumi.Attributes Ali Cloud. Eds. Inputs. Get Bundles Bundle Desktop Type Attribute>  - The desktop type attribute of the bundle.
 - Disks
List<Pulumi.
Ali Cloud. Eds. Inputs. Get Bundles Bundle Disk>  - The disks of the bundle.
 - Id string
 - The ID of the bundle.
 - Image
Id string - The image id attribute of the bundle.
 - Os
Type string - The os type attribute of the bundle.
 
- Bundle
Id string - The bundle id of the bundle.
 - Bundle
Name string - The name of the bundle.
 - Bundle
Type string - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - Description string
 - The description of the bundle.
 - Desktop
Type string - The desktop type of the bundle.
 - Desktop
Type []GetAttributes Bundles Bundle Desktop Type Attribute  - The desktop type attribute of the bundle.
 - Disks
[]Get
Bundles Bundle Disk  - The disks of the bundle.
 - Id string
 - The ID of the bundle.
 - Image
Id string - The image id attribute of the bundle.
 - Os
Type string - The os type attribute of the bundle.
 
- bundle
Id String - The bundle id of the bundle.
 - bundle
Name String - The name of the bundle.
 - bundle
Type String - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - description String
 - The description of the bundle.
 - desktop
Type String - The desktop type of the bundle.
 - desktop
Type List<GetAttributes Bundles Bundle Desktop Type Attribute>  - The desktop type attribute of the bundle.
 - disks
List<Get
Bundles Bundle Disk>  - The disks of the bundle.
 - id String
 - The ID of the bundle.
 - image
Id String - The image id attribute of the bundle.
 - os
Type String - The os type attribute of the bundle.
 
- bundle
Id string - The bundle id of the bundle.
 - bundle
Name string - The name of the bundle.
 - bundle
Type string - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - description string
 - The description of the bundle.
 - desktop
Type string - The desktop type of the bundle.
 - desktop
Type GetAttributes Bundles Bundle Desktop Type Attribute[]  - The desktop type attribute of the bundle.
 - disks
Get
Bundles Bundle Disk[]  - The disks of the bundle.
 - id string
 - The ID of the bundle.
 - image
Id string - The image id attribute of the bundle.
 - os
Type string - The os type attribute of the bundle.
 
- bundle_
id str - The bundle id of the bundle.
 - bundle_
name str - The name of the bundle.
 - bundle_
type str - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - description str
 - The description of the bundle.
 - desktop_
type str - The desktop type of the bundle.
 - desktop_
type_ Sequence[Getattributes Bundles Bundle Desktop Type Attribute]  - The desktop type attribute of the bundle.
 - disks
Sequence[Get
Bundles Bundle Disk]  - The disks of the bundle.
 - id str
 - The ID of the bundle.
 - image_
id str - The image id attribute of the bundle.
 - os_
type str - The os type attribute of the bundle.
 
- bundle
Id String - The bundle id of the bundle.
 - bundle
Name String - The name of the bundle.
 - bundle
Type String - The bundle type of the bundle. Valid values: 
SYSTEM,CUSTOM. - description String
 - The description of the bundle.
 - desktop
Type String - The desktop type of the bundle.
 - desktop
Type List<Property Map>Attributes  - The desktop type attribute of the bundle.
 - disks List<Property Map>
 - The disks of the bundle.
 - id String
 - The ID of the bundle.
 - image
Id String - The image id attribute of the bundle.
 - os
Type String - The os type attribute of the bundle.
 
GetBundlesBundleDesktopTypeAttribute     
- Cpu
Count int - The cpu count attribute of the bundle.
 - Gpu
Count string - The gpu count attribute of the bundle.
 - Gpu
Spec string - The gpu spec attribute of the bundle.
 - Memory
Size string - The memory size attribute of the bundle.
 
- Cpu
Count int - The cpu count attribute of the bundle.
 - Gpu
Count string - The gpu count attribute of the bundle.
 - Gpu
Spec string - The gpu spec attribute of the bundle.
 - Memory
Size string - The memory size attribute of the bundle.
 
- cpu
Count Integer - The cpu count attribute of the bundle.
 - gpu
Count String - The gpu count attribute of the bundle.
 - gpu
Spec String - The gpu spec attribute of the bundle.
 - memory
Size String - The memory size attribute of the bundle.
 
- cpu
Count number - The cpu count attribute of the bundle.
 - gpu
Count string - The gpu count attribute of the bundle.
 - gpu
Spec string - The gpu spec attribute of the bundle.
 - memory
Size string - The memory size attribute of the bundle.
 
- cpu_
count int - The cpu count attribute of the bundle.
 - gpu_
count str - The gpu count attribute of the bundle.
 - gpu_
spec str - The gpu spec attribute of the bundle.
 - memory_
size str - The memory size attribute of the bundle.
 
- cpu
Count Number - The cpu count attribute of the bundle.
 - gpu
Count String - The gpu count attribute of the bundle.
 - gpu
Spec String - The gpu spec attribute of the bundle.
 - memory
Size String - The memory size attribute of the bundle.
 
GetBundlesBundleDisk   
Package Details
- Repository
 - Alibaba Cloud pulumi/pulumi-alicloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
alicloudTerraform Provider.