GetBundle
Use this data source to get information about a WorkSpaces Bundle.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Aws.Workspaces.GetBundle.InvokeAsync(new Aws.Workspaces.GetBundleArgs
{
Name = "Value with Windows 10 and Office 2016",
Owner = "AMAZON",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/workspaces"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
opt0 := "Value with Windows 10 and Office 2016"
opt1 := "AMAZON"
_, err := workspaces.GetBundle(ctx, &workspaces.GetBundleArgs{
Name: &opt0,
Owner: &opt1,
}, nil)
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example = aws.workspaces.get_bundle(name="Value with Windows 10 and Office 2016",
owner="AMAZON")import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.workspaces.getBundle({
name: "Value with Windows 10 and Office 2016",
owner: "AMAZON",
}, { async: true }));Using GetBundle
function getBundle(args: GetBundleArgs, opts?: InvokeOptions): Promise<GetBundleResult>function get_bundle(bundle_id=None, name=None, owner=None, opts=None)func GetBundle(ctx *Context, args *GetBundleArgs, opts ...InvokeOption) (*GetBundleResult, error)public static class GetBundle {
public static Task<GetBundleResult> InvokeAsync(GetBundleArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetBundle Result
The following output properties are available:
- Compute
Types List<GetBundle Compute Type> The compute type. See supported fields below.
- Description string
The description of the bundle.
- Id string
The provider-assigned unique ID for this managed resource.
- Root
Storages List<GetBundle Root Storage> The root volume. See supported fields below.
- User
Storages List<GetBundle User Storage> The user storage. See supported fields below.
- Bundle
Id string The ID of the bundle.
- Name string
The name of the compute type.
- Owner string
The owner of the bundle.
- Compute
Types []GetBundle Compute Type The compute type. See supported fields below.
- Description string
The description of the bundle.
- Id string
The provider-assigned unique ID for this managed resource.
- Root
Storages []GetBundle Root Storage The root volume. See supported fields below.
- User
Storages []GetBundle User Storage The user storage. See supported fields below.
- Bundle
Id string The ID of the bundle.
- Name string
The name of the compute type.
- Owner string
The owner of the bundle.
- compute
Types GetBundle Compute Type[] The compute type. See supported fields below.
- description string
The description of the bundle.
- id string
The provider-assigned unique ID for this managed resource.
- root
Storages GetBundle Root Storage[] The root volume. See supported fields below.
- user
Storages GetBundle User Storage[] The user storage. See supported fields below.
- bundle
Id string The ID of the bundle.
- name string
The name of the compute type.
- owner string
The owner of the bundle.
- compute_
types List[GetBundle Compute Type] The compute type. See supported fields below.
- description str
The description of the bundle.
- id str
The provider-assigned unique ID for this managed resource.
- root_
storages List[GetBundle Root Storage] The root volume. See supported fields below.
- user_
storages List[GetBundle User Storage] The user storage. See supported fields below.
- bundle_
id str The ID of the bundle.
- name str
The name of the compute type.
- owner str
The owner of the bundle.
Supporting Types
GetBundleComputeType
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBundleRootStorage
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetBundleUserStorage
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.