Documentation ¶
Index ¶
- type ApplicationGroup
- func (*ApplicationGroup) ElementType() reflect.Type
- func (i *ApplicationGroup) ToApplicationGroupOutput() ApplicationGroupOutput
- func (i *ApplicationGroup) ToApplicationGroupOutputWithContext(ctx context.Context) ApplicationGroupOutput
- func (i *ApplicationGroup) ToApplicationGroupPtrOutput() ApplicationGroupPtrOutput
- func (i *ApplicationGroup) ToApplicationGroupPtrOutputWithContext(ctx context.Context) ApplicationGroupPtrOutput
- type ApplicationGroupArgs
- type ApplicationGroupArray
- type ApplicationGroupArrayInput
- type ApplicationGroupArrayOutput
- func (ApplicationGroupArrayOutput) ElementType() reflect.Type
- func (o ApplicationGroupArrayOutput) Index(i pulumi.IntInput) ApplicationGroupOutput
- func (o ApplicationGroupArrayOutput) ToApplicationGroupArrayOutput() ApplicationGroupArrayOutput
- func (o ApplicationGroupArrayOutput) ToApplicationGroupArrayOutputWithContext(ctx context.Context) ApplicationGroupArrayOutput
- type ApplicationGroupInput
- type ApplicationGroupMap
- type ApplicationGroupMapInput
- type ApplicationGroupMapOutput
- func (ApplicationGroupMapOutput) ElementType() reflect.Type
- func (o ApplicationGroupMapOutput) MapIndex(k pulumi.StringInput) ApplicationGroupOutput
- func (o ApplicationGroupMapOutput) ToApplicationGroupMapOutput() ApplicationGroupMapOutput
- func (o ApplicationGroupMapOutput) ToApplicationGroupMapOutputWithContext(ctx context.Context) ApplicationGroupMapOutput
- type ApplicationGroupOutput
- func (ApplicationGroupOutput) ElementType() reflect.Type
- func (o ApplicationGroupOutput) ToApplicationGroupOutput() ApplicationGroupOutput
- func (o ApplicationGroupOutput) ToApplicationGroupOutputWithContext(ctx context.Context) ApplicationGroupOutput
- func (o ApplicationGroupOutput) ToApplicationGroupPtrOutput() ApplicationGroupPtrOutput
- func (o ApplicationGroupOutput) ToApplicationGroupPtrOutputWithContext(ctx context.Context) ApplicationGroupPtrOutput
- type ApplicationGroupPtrInput
- type ApplicationGroupPtrOutput
- type ApplicationGroupState
- type HostPool
- func (*HostPool) ElementType() reflect.Type
- func (i *HostPool) ToHostPoolOutput() HostPoolOutput
- func (i *HostPool) ToHostPoolOutputWithContext(ctx context.Context) HostPoolOutput
- func (i *HostPool) ToHostPoolPtrOutput() HostPoolPtrOutput
- func (i *HostPool) ToHostPoolPtrOutputWithContext(ctx context.Context) HostPoolPtrOutput
- type HostPoolArgs
- type HostPoolArray
- type HostPoolArrayInput
- type HostPoolArrayOutput
- type HostPoolInput
- type HostPoolMap
- type HostPoolMapInput
- type HostPoolMapOutput
- type HostPoolOutput
- func (HostPoolOutput) ElementType() reflect.Type
- func (o HostPoolOutput) ToHostPoolOutput() HostPoolOutput
- func (o HostPoolOutput) ToHostPoolOutputWithContext(ctx context.Context) HostPoolOutput
- func (o HostPoolOutput) ToHostPoolPtrOutput() HostPoolPtrOutput
- func (o HostPoolOutput) ToHostPoolPtrOutputWithContext(ctx context.Context) HostPoolPtrOutput
- type HostPoolPtrInput
- type HostPoolPtrOutput
- type HostPoolRegistrationInfo
- type HostPoolRegistrationInfoArgs
- func (HostPoolRegistrationInfoArgs) ElementType() reflect.Type
- func (i HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoOutput() HostPoolRegistrationInfoOutput
- func (i HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoOutputWithContext(ctx context.Context) HostPoolRegistrationInfoOutput
- func (i HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoPtrOutput() HostPoolRegistrationInfoPtrOutput
- func (i HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoPtrOutputWithContext(ctx context.Context) HostPoolRegistrationInfoPtrOutput
- type HostPoolRegistrationInfoInput
- type HostPoolRegistrationInfoOutput
- func (HostPoolRegistrationInfoOutput) ElementType() reflect.Type
- func (o HostPoolRegistrationInfoOutput) ExpirationDate() pulumi.StringOutput
- func (o HostPoolRegistrationInfoOutput) ResetToken() pulumi.BoolPtrOutput
- func (o HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoOutput() HostPoolRegistrationInfoOutput
- func (o HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoOutputWithContext(ctx context.Context) HostPoolRegistrationInfoOutput
- func (o HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoPtrOutput() HostPoolRegistrationInfoPtrOutput
- func (o HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoPtrOutputWithContext(ctx context.Context) HostPoolRegistrationInfoPtrOutput
- func (o HostPoolRegistrationInfoOutput) Token() pulumi.StringPtrOutput
- type HostPoolRegistrationInfoPtrInput
- type HostPoolRegistrationInfoPtrOutput
- func (o HostPoolRegistrationInfoPtrOutput) Elem() HostPoolRegistrationInfoOutput
- func (HostPoolRegistrationInfoPtrOutput) ElementType() reflect.Type
- func (o HostPoolRegistrationInfoPtrOutput) ExpirationDate() pulumi.StringPtrOutput
- func (o HostPoolRegistrationInfoPtrOutput) ResetToken() pulumi.BoolPtrOutput
- func (o HostPoolRegistrationInfoPtrOutput) ToHostPoolRegistrationInfoPtrOutput() HostPoolRegistrationInfoPtrOutput
- func (o HostPoolRegistrationInfoPtrOutput) ToHostPoolRegistrationInfoPtrOutputWithContext(ctx context.Context) HostPoolRegistrationInfoPtrOutput
- func (o HostPoolRegistrationInfoPtrOutput) Token() pulumi.StringPtrOutput
- type HostPoolState
- type Workspace
- func (*Workspace) ElementType() reflect.Type
- func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput
- func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
- func (i *Workspace) ToWorkspacePtrOutput() WorkspacePtrOutput
- func (i *Workspace) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
- type WorkspaceApplicationGroupAssociation
- func (*WorkspaceApplicationGroupAssociation) ElementType() reflect.Type
- func (i *WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationOutput() WorkspaceApplicationGroupAssociationOutput
- func (i *WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationOutput
- func (i *WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationPtrOutput() WorkspaceApplicationGroupAssociationPtrOutput
- func (i *WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationPtrOutput
- type WorkspaceApplicationGroupAssociationArgs
- type WorkspaceApplicationGroupAssociationArray
- func (WorkspaceApplicationGroupAssociationArray) ElementType() reflect.Type
- func (i WorkspaceApplicationGroupAssociationArray) ToWorkspaceApplicationGroupAssociationArrayOutput() WorkspaceApplicationGroupAssociationArrayOutput
- func (i WorkspaceApplicationGroupAssociationArray) ToWorkspaceApplicationGroupAssociationArrayOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationArrayOutput
- type WorkspaceApplicationGroupAssociationArrayInput
- type WorkspaceApplicationGroupAssociationArrayOutput
- func (WorkspaceApplicationGroupAssociationArrayOutput) ElementType() reflect.Type
- func (o WorkspaceApplicationGroupAssociationArrayOutput) Index(i pulumi.IntInput) WorkspaceApplicationGroupAssociationOutput
- func (o WorkspaceApplicationGroupAssociationArrayOutput) ToWorkspaceApplicationGroupAssociationArrayOutput() WorkspaceApplicationGroupAssociationArrayOutput
- func (o WorkspaceApplicationGroupAssociationArrayOutput) ToWorkspaceApplicationGroupAssociationArrayOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationArrayOutput
- type WorkspaceApplicationGroupAssociationInput
- type WorkspaceApplicationGroupAssociationMap
- func (WorkspaceApplicationGroupAssociationMap) ElementType() reflect.Type
- func (i WorkspaceApplicationGroupAssociationMap) ToWorkspaceApplicationGroupAssociationMapOutput() WorkspaceApplicationGroupAssociationMapOutput
- func (i WorkspaceApplicationGroupAssociationMap) ToWorkspaceApplicationGroupAssociationMapOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationMapOutput
- type WorkspaceApplicationGroupAssociationMapInput
- type WorkspaceApplicationGroupAssociationMapOutput
- func (WorkspaceApplicationGroupAssociationMapOutput) ElementType() reflect.Type
- func (o WorkspaceApplicationGroupAssociationMapOutput) MapIndex(k pulumi.StringInput) WorkspaceApplicationGroupAssociationOutput
- func (o WorkspaceApplicationGroupAssociationMapOutput) ToWorkspaceApplicationGroupAssociationMapOutput() WorkspaceApplicationGroupAssociationMapOutput
- func (o WorkspaceApplicationGroupAssociationMapOutput) ToWorkspaceApplicationGroupAssociationMapOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationMapOutput
- type WorkspaceApplicationGroupAssociationOutput
- func (WorkspaceApplicationGroupAssociationOutput) ElementType() reflect.Type
- func (o WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationOutput() WorkspaceApplicationGroupAssociationOutput
- func (o WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationOutput
- func (o WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationPtrOutput() WorkspaceApplicationGroupAssociationPtrOutput
- func (o WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationPtrOutput
- type WorkspaceApplicationGroupAssociationPtrInput
- type WorkspaceApplicationGroupAssociationPtrOutput
- func (WorkspaceApplicationGroupAssociationPtrOutput) ElementType() reflect.Type
- func (o WorkspaceApplicationGroupAssociationPtrOutput) ToWorkspaceApplicationGroupAssociationPtrOutput() WorkspaceApplicationGroupAssociationPtrOutput
- func (o WorkspaceApplicationGroupAssociationPtrOutput) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationPtrOutput
- type WorkspaceApplicationGroupAssociationState
- type WorkspaceArgs
- type WorkspaceArray
- type WorkspaceArrayInput
- type WorkspaceArrayOutput
- func (WorkspaceArrayOutput) ElementType() reflect.Type
- func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
- func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
- func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
- type WorkspaceInput
- type WorkspaceMap
- type WorkspaceMapInput
- type WorkspaceMapOutput
- type WorkspaceOutput
- func (WorkspaceOutput) ElementType() reflect.Type
- func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
- func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
- func (o WorkspaceOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
- func (o WorkspaceOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
- type WorkspacePtrInput
- type WorkspacePtrOutput
- type WorkspaceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationGroup ¶
type ApplicationGroup struct { pulumi.CustomResourceState // Option to set a description for the Virtual Desktop Application Group. Description pulumi.StringPtrOutput `pulumi:"description"` // Option to set a friendly name for the Virtual Desktop Application Group. FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"` // Resource ID for a Virtual Desktop Host Pool to associate with the // Virtual Desktop Application Group. HostPoolId pulumi.StringOutput `pulumi:"hostPoolId"` // The location/region where the Virtual Desktop Application Group is // located. Changing the location/region forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the Virtual Desktop Application Group. Changing the name forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to // create the Virtual Desktop Application Group. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Type of Virtual Desktop Application Group. // Valid options are `RemoteApp` or `Desktop` application groups. Type pulumi.StringOutput `pulumi:"type"` }
Manages a Virtual Desktop Application Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/desktopvirtualization" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } pooledbreadthfirst, err := desktopvirtualization.NewHostPool(ctx, "pooledbreadthfirst", &desktopvirtualization.HostPoolArgs{ Location: example.Location, ResourceGroupName: example.Name, Type: pulumi.String("Pooled"), LoadBalancerType: pulumi.String("BreadthFirst"), }) if err != nil { return err } personalautomatic, err := desktopvirtualization.NewHostPool(ctx, "personalautomatic", &desktopvirtualization.HostPoolArgs{ Location: example.Location, ResourceGroupName: example.Name, Type: pulumi.String("Personal"), PersonalDesktopAssignmentType: pulumi.String("Automatic"), }) if err != nil { return err } _, err = desktopvirtualization.NewApplicationGroup(ctx, "remoteapp", &desktopvirtualization.ApplicationGroupArgs{ Location: example.Location, ResourceGroupName: example.Name, Type: pulumi.String("RemoteApp"), HostPoolId: pooledbreadthfirst.ID(), FriendlyName: pulumi.String("TestAppGroup"), Description: pulumi.String("Acceptance Test: An application group"), }) if err != nil { return err } _, err = desktopvirtualization.NewApplicationGroup(ctx, "desktopapp", &desktopvirtualization.ApplicationGroupArgs{ Location: example.Location, ResourceGroupName: example.Name, Type: pulumi.String("Desktop"), HostPoolId: personalautomatic.ID(), FriendlyName: pulumi.String("TestAppGroup"), Description: pulumi.String("Acceptance Test: An application group"), }) if err != nil { return err } return nil }) }
```
## Import
Virtual Desktop Application Groups can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:desktopvirtualization/applicationGroup:ApplicationGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/myapplicationgroup
```
func GetApplicationGroup ¶
func GetApplicationGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApplicationGroupState, opts ...pulumi.ResourceOption) (*ApplicationGroup, error)
GetApplicationGroup gets an existing ApplicationGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewApplicationGroup ¶
func NewApplicationGroup(ctx *pulumi.Context, name string, args *ApplicationGroupArgs, opts ...pulumi.ResourceOption) (*ApplicationGroup, error)
NewApplicationGroup registers a new resource with the given unique name, arguments, and options.
func (*ApplicationGroup) ElementType ¶
func (*ApplicationGroup) ElementType() reflect.Type
func (*ApplicationGroup) ToApplicationGroupOutput ¶
func (i *ApplicationGroup) ToApplicationGroupOutput() ApplicationGroupOutput
func (*ApplicationGroup) ToApplicationGroupOutputWithContext ¶
func (i *ApplicationGroup) ToApplicationGroupOutputWithContext(ctx context.Context) ApplicationGroupOutput
func (*ApplicationGroup) ToApplicationGroupPtrOutput ¶
func (i *ApplicationGroup) ToApplicationGroupPtrOutput() ApplicationGroupPtrOutput
func (*ApplicationGroup) ToApplicationGroupPtrOutputWithContext ¶
func (i *ApplicationGroup) ToApplicationGroupPtrOutputWithContext(ctx context.Context) ApplicationGroupPtrOutput
type ApplicationGroupArgs ¶
type ApplicationGroupArgs struct { // Option to set a description for the Virtual Desktop Application Group. Description pulumi.StringPtrInput // Option to set a friendly name for the Virtual Desktop Application Group. FriendlyName pulumi.StringPtrInput // Resource ID for a Virtual Desktop Host Pool to associate with the // Virtual Desktop Application Group. HostPoolId pulumi.StringInput // The location/region where the Virtual Desktop Application Group is // located. Changing the location/region forces a new resource to be created. Location pulumi.StringPtrInput // The name of the Virtual Desktop Application Group. Changing the name forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the Virtual Desktop Application Group. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Type of Virtual Desktop Application Group. // Valid options are `RemoteApp` or `Desktop` application groups. Type pulumi.StringInput }
The set of arguments for constructing a ApplicationGroup resource.
func (ApplicationGroupArgs) ElementType ¶
func (ApplicationGroupArgs) ElementType() reflect.Type
type ApplicationGroupArray ¶
type ApplicationGroupArray []ApplicationGroupInput
func (ApplicationGroupArray) ElementType ¶
func (ApplicationGroupArray) ElementType() reflect.Type
func (ApplicationGroupArray) ToApplicationGroupArrayOutput ¶
func (i ApplicationGroupArray) ToApplicationGroupArrayOutput() ApplicationGroupArrayOutput
func (ApplicationGroupArray) ToApplicationGroupArrayOutputWithContext ¶
func (i ApplicationGroupArray) ToApplicationGroupArrayOutputWithContext(ctx context.Context) ApplicationGroupArrayOutput
type ApplicationGroupArrayInput ¶
type ApplicationGroupArrayInput interface { pulumi.Input ToApplicationGroupArrayOutput() ApplicationGroupArrayOutput ToApplicationGroupArrayOutputWithContext(context.Context) ApplicationGroupArrayOutput }
ApplicationGroupArrayInput is an input type that accepts ApplicationGroupArray and ApplicationGroupArrayOutput values. You can construct a concrete instance of `ApplicationGroupArrayInput` via:
ApplicationGroupArray{ ApplicationGroupArgs{...} }
type ApplicationGroupArrayOutput ¶
type ApplicationGroupArrayOutput struct{ *pulumi.OutputState }
func (ApplicationGroupArrayOutput) ElementType ¶
func (ApplicationGroupArrayOutput) ElementType() reflect.Type
func (ApplicationGroupArrayOutput) Index ¶
func (o ApplicationGroupArrayOutput) Index(i pulumi.IntInput) ApplicationGroupOutput
func (ApplicationGroupArrayOutput) ToApplicationGroupArrayOutput ¶
func (o ApplicationGroupArrayOutput) ToApplicationGroupArrayOutput() ApplicationGroupArrayOutput
func (ApplicationGroupArrayOutput) ToApplicationGroupArrayOutputWithContext ¶
func (o ApplicationGroupArrayOutput) ToApplicationGroupArrayOutputWithContext(ctx context.Context) ApplicationGroupArrayOutput
type ApplicationGroupInput ¶
type ApplicationGroupInput interface { pulumi.Input ToApplicationGroupOutput() ApplicationGroupOutput ToApplicationGroupOutputWithContext(ctx context.Context) ApplicationGroupOutput }
type ApplicationGroupMap ¶
type ApplicationGroupMap map[string]ApplicationGroupInput
func (ApplicationGroupMap) ElementType ¶
func (ApplicationGroupMap) ElementType() reflect.Type
func (ApplicationGroupMap) ToApplicationGroupMapOutput ¶
func (i ApplicationGroupMap) ToApplicationGroupMapOutput() ApplicationGroupMapOutput
func (ApplicationGroupMap) ToApplicationGroupMapOutputWithContext ¶
func (i ApplicationGroupMap) ToApplicationGroupMapOutputWithContext(ctx context.Context) ApplicationGroupMapOutput
type ApplicationGroupMapInput ¶
type ApplicationGroupMapInput interface { pulumi.Input ToApplicationGroupMapOutput() ApplicationGroupMapOutput ToApplicationGroupMapOutputWithContext(context.Context) ApplicationGroupMapOutput }
ApplicationGroupMapInput is an input type that accepts ApplicationGroupMap and ApplicationGroupMapOutput values. You can construct a concrete instance of `ApplicationGroupMapInput` via:
ApplicationGroupMap{ "key": ApplicationGroupArgs{...} }
type ApplicationGroupMapOutput ¶
type ApplicationGroupMapOutput struct{ *pulumi.OutputState }
func (ApplicationGroupMapOutput) ElementType ¶
func (ApplicationGroupMapOutput) ElementType() reflect.Type
func (ApplicationGroupMapOutput) MapIndex ¶
func (o ApplicationGroupMapOutput) MapIndex(k pulumi.StringInput) ApplicationGroupOutput
func (ApplicationGroupMapOutput) ToApplicationGroupMapOutput ¶
func (o ApplicationGroupMapOutput) ToApplicationGroupMapOutput() ApplicationGroupMapOutput
func (ApplicationGroupMapOutput) ToApplicationGroupMapOutputWithContext ¶
func (o ApplicationGroupMapOutput) ToApplicationGroupMapOutputWithContext(ctx context.Context) ApplicationGroupMapOutput
type ApplicationGroupOutput ¶
type ApplicationGroupOutput struct {
*pulumi.OutputState
}
func (ApplicationGroupOutput) ElementType ¶
func (ApplicationGroupOutput) ElementType() reflect.Type
func (ApplicationGroupOutput) ToApplicationGroupOutput ¶
func (o ApplicationGroupOutput) ToApplicationGroupOutput() ApplicationGroupOutput
func (ApplicationGroupOutput) ToApplicationGroupOutputWithContext ¶
func (o ApplicationGroupOutput) ToApplicationGroupOutputWithContext(ctx context.Context) ApplicationGroupOutput
func (ApplicationGroupOutput) ToApplicationGroupPtrOutput ¶
func (o ApplicationGroupOutput) ToApplicationGroupPtrOutput() ApplicationGroupPtrOutput
func (ApplicationGroupOutput) ToApplicationGroupPtrOutputWithContext ¶
func (o ApplicationGroupOutput) ToApplicationGroupPtrOutputWithContext(ctx context.Context) ApplicationGroupPtrOutput
type ApplicationGroupPtrInput ¶
type ApplicationGroupPtrInput interface { pulumi.Input ToApplicationGroupPtrOutput() ApplicationGroupPtrOutput ToApplicationGroupPtrOutputWithContext(ctx context.Context) ApplicationGroupPtrOutput }
type ApplicationGroupPtrOutput ¶
type ApplicationGroupPtrOutput struct {
*pulumi.OutputState
}
func (ApplicationGroupPtrOutput) ElementType ¶
func (ApplicationGroupPtrOutput) ElementType() reflect.Type
func (ApplicationGroupPtrOutput) ToApplicationGroupPtrOutput ¶
func (o ApplicationGroupPtrOutput) ToApplicationGroupPtrOutput() ApplicationGroupPtrOutput
func (ApplicationGroupPtrOutput) ToApplicationGroupPtrOutputWithContext ¶
func (o ApplicationGroupPtrOutput) ToApplicationGroupPtrOutputWithContext(ctx context.Context) ApplicationGroupPtrOutput
type ApplicationGroupState ¶
type ApplicationGroupState struct { // Option to set a description for the Virtual Desktop Application Group. Description pulumi.StringPtrInput // Option to set a friendly name for the Virtual Desktop Application Group. FriendlyName pulumi.StringPtrInput // Resource ID for a Virtual Desktop Host Pool to associate with the // Virtual Desktop Application Group. HostPoolId pulumi.StringPtrInput // The location/region where the Virtual Desktop Application Group is // located. Changing the location/region forces a new resource to be created. Location pulumi.StringPtrInput // The name of the Virtual Desktop Application Group. Changing the name forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the Virtual Desktop Application Group. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Type of Virtual Desktop Application Group. // Valid options are `RemoteApp` or `Desktop` application groups. Type pulumi.StringPtrInput }
func (ApplicationGroupState) ElementType ¶
func (ApplicationGroupState) ElementType() reflect.Type
type HostPool ¶
type HostPool struct { pulumi.CustomResourceState // A valid custom RDP properties string for the Virtual Desktop Host Pool, available properties can be [found in this article](https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/rdp-files). CustomRdpProperties pulumi.StringPtrOutput `pulumi:"customRdpProperties"` // A description for the Virtual Desktop Host Pool. Description pulumi.StringPtrOutput `pulumi:"description"` // A friendly name for the Virtual Desktop Host Pool. FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"` // `BreadthFirst` load balancing distributes new user sessions across all available session hosts in the host pool. // `DepthFirst` load balancing distributes new user sessions to an available session host with the highest number of connections but has not reached its maximum session limit threshold. // `Persistent` should be used if the host pool type is `Personal` LoadBalancerType pulumi.StringOutput `pulumi:"loadBalancerType"` // The location/region where the Virtual Desktop Host Pool is // located. Changing the location/region forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // A valid integer value from 0 to 999999 for the maximum number of users that have concurrent sessions on a session host. // Should only be set if the `type` of your Virtual Desktop Host Pool is `Pooled`. MaximumSessionsAllowed pulumi.IntPtrOutput `pulumi:"maximumSessionsAllowed"` // The name of the Virtual Desktop Host Pool. Changing the name // forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // `Automatic` assignment – The service will select an available host and assign it to an user. // `Direct` Assignment – Admin selects a specific host to assign to an user. PersonalDesktopAssignmentType pulumi.StringPtrOutput `pulumi:"personalDesktopAssignmentType"` // Option to specify the preferred Application Group type for the Virtual Desktop Host Pool. // Valid options are `None`, `Desktop` or `RailApplications`. Default is `None`. PreferredAppGroupType pulumi.StringPtrOutput `pulumi:"preferredAppGroupType"` // A `registrationInfo` block which is documented below. Specifies configuration on the registration information of the Virtual Desktop Host Pool. RegistrationInfo HostPoolRegistrationInfoPtrOutput `pulumi:"registrationInfo"` // The name of the resource group in which to // create the Virtual Desktop Host Pool. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The type of the Virtual Desktop Host Pool. Valid options are // `Personal` or `Pooled`. Changing the type forces a new resource to be created. Type pulumi.StringOutput `pulumi:"type"` // Allows you to test service changes before they are deployed to production. Defaults to `false`. ValidateEnvironment pulumi.BoolPtrOutput `pulumi:"validateEnvironment"` }
Manages a Virtual Desktop Host Pool.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/desktopvirtualization" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = desktopvirtualization.NewHostPool(ctx, "exampleHostPool", &desktopvirtualization.HostPoolArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, FriendlyName: pulumi.String("pooleddepthfirst"), ValidateEnvironment: pulumi.Bool(true), CustomRdpProperties: pulumi.String("audiocapturemode:i:1;audiomode:i:0;"), Description: pulumi.String("Acceptance Test: A pooled host pool - pooleddepthfirst"), Type: pulumi.String("Pooled"), MaximumSessionsAllowed: pulumi.Int(50), LoadBalancerType: pulumi.String("DepthFirst"), }) if err != nil { return err } return nil }) }
```
## Import
Virtual Desktop Host Pools can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:desktopvirtualization/hostPool:HostPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.DesktopVirtualization/hostpools/myhostpool
```
func GetHostPool ¶
func GetHostPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HostPoolState, opts ...pulumi.ResourceOption) (*HostPool, error)
GetHostPool gets an existing HostPool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHostPool ¶
func NewHostPool(ctx *pulumi.Context, name string, args *HostPoolArgs, opts ...pulumi.ResourceOption) (*HostPool, error)
NewHostPool registers a new resource with the given unique name, arguments, and options.
func (*HostPool) ElementType ¶
func (*HostPool) ToHostPoolOutput ¶
func (i *HostPool) ToHostPoolOutput() HostPoolOutput
func (*HostPool) ToHostPoolOutputWithContext ¶
func (i *HostPool) ToHostPoolOutputWithContext(ctx context.Context) HostPoolOutput
func (*HostPool) ToHostPoolPtrOutput ¶
func (i *HostPool) ToHostPoolPtrOutput() HostPoolPtrOutput
func (*HostPool) ToHostPoolPtrOutputWithContext ¶
func (i *HostPool) ToHostPoolPtrOutputWithContext(ctx context.Context) HostPoolPtrOutput
type HostPoolArgs ¶
type HostPoolArgs struct { // A valid custom RDP properties string for the Virtual Desktop Host Pool, available properties can be [found in this article](https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/rdp-files). CustomRdpProperties pulumi.StringPtrInput // A description for the Virtual Desktop Host Pool. Description pulumi.StringPtrInput // A friendly name for the Virtual Desktop Host Pool. FriendlyName pulumi.StringPtrInput // `BreadthFirst` load balancing distributes new user sessions across all available session hosts in the host pool. // `DepthFirst` load balancing distributes new user sessions to an available session host with the highest number of connections but has not reached its maximum session limit threshold. // `Persistent` should be used if the host pool type is `Personal` LoadBalancerType pulumi.StringInput // The location/region where the Virtual Desktop Host Pool is // located. Changing the location/region forces a new resource to be created. Location pulumi.StringPtrInput // A valid integer value from 0 to 999999 for the maximum number of users that have concurrent sessions on a session host. // Should only be set if the `type` of your Virtual Desktop Host Pool is `Pooled`. MaximumSessionsAllowed pulumi.IntPtrInput // The name of the Virtual Desktop Host Pool. Changing the name // forces a new resource to be created. Name pulumi.StringPtrInput // `Automatic` assignment – The service will select an available host and assign it to an user. // `Direct` Assignment – Admin selects a specific host to assign to an user. PersonalDesktopAssignmentType pulumi.StringPtrInput // Option to specify the preferred Application Group type for the Virtual Desktop Host Pool. // Valid options are `None`, `Desktop` or `RailApplications`. Default is `None`. PreferredAppGroupType pulumi.StringPtrInput // A `registrationInfo` block which is documented below. Specifies configuration on the registration information of the Virtual Desktop Host Pool. RegistrationInfo HostPoolRegistrationInfoPtrInput // The name of the resource group in which to // create the Virtual Desktop Host Pool. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The type of the Virtual Desktop Host Pool. Valid options are // `Personal` or `Pooled`. Changing the type forces a new resource to be created. Type pulumi.StringInput // Allows you to test service changes before they are deployed to production. Defaults to `false`. ValidateEnvironment pulumi.BoolPtrInput }
The set of arguments for constructing a HostPool resource.
func (HostPoolArgs) ElementType ¶
func (HostPoolArgs) ElementType() reflect.Type
type HostPoolArray ¶
type HostPoolArray []HostPoolInput
func (HostPoolArray) ElementType ¶
func (HostPoolArray) ElementType() reflect.Type
func (HostPoolArray) ToHostPoolArrayOutput ¶
func (i HostPoolArray) ToHostPoolArrayOutput() HostPoolArrayOutput
func (HostPoolArray) ToHostPoolArrayOutputWithContext ¶
func (i HostPoolArray) ToHostPoolArrayOutputWithContext(ctx context.Context) HostPoolArrayOutput
type HostPoolArrayInput ¶
type HostPoolArrayInput interface { pulumi.Input ToHostPoolArrayOutput() HostPoolArrayOutput ToHostPoolArrayOutputWithContext(context.Context) HostPoolArrayOutput }
HostPoolArrayInput is an input type that accepts HostPoolArray and HostPoolArrayOutput values. You can construct a concrete instance of `HostPoolArrayInput` via:
HostPoolArray{ HostPoolArgs{...} }
type HostPoolArrayOutput ¶
type HostPoolArrayOutput struct{ *pulumi.OutputState }
func (HostPoolArrayOutput) ElementType ¶
func (HostPoolArrayOutput) ElementType() reflect.Type
func (HostPoolArrayOutput) Index ¶
func (o HostPoolArrayOutput) Index(i pulumi.IntInput) HostPoolOutput
func (HostPoolArrayOutput) ToHostPoolArrayOutput ¶
func (o HostPoolArrayOutput) ToHostPoolArrayOutput() HostPoolArrayOutput
func (HostPoolArrayOutput) ToHostPoolArrayOutputWithContext ¶
func (o HostPoolArrayOutput) ToHostPoolArrayOutputWithContext(ctx context.Context) HostPoolArrayOutput
type HostPoolInput ¶
type HostPoolInput interface { pulumi.Input ToHostPoolOutput() HostPoolOutput ToHostPoolOutputWithContext(ctx context.Context) HostPoolOutput }
type HostPoolMap ¶
type HostPoolMap map[string]HostPoolInput
func (HostPoolMap) ElementType ¶
func (HostPoolMap) ElementType() reflect.Type
func (HostPoolMap) ToHostPoolMapOutput ¶
func (i HostPoolMap) ToHostPoolMapOutput() HostPoolMapOutput
func (HostPoolMap) ToHostPoolMapOutputWithContext ¶
func (i HostPoolMap) ToHostPoolMapOutputWithContext(ctx context.Context) HostPoolMapOutput
type HostPoolMapInput ¶
type HostPoolMapInput interface { pulumi.Input ToHostPoolMapOutput() HostPoolMapOutput ToHostPoolMapOutputWithContext(context.Context) HostPoolMapOutput }
HostPoolMapInput is an input type that accepts HostPoolMap and HostPoolMapOutput values. You can construct a concrete instance of `HostPoolMapInput` via:
HostPoolMap{ "key": HostPoolArgs{...} }
type HostPoolMapOutput ¶
type HostPoolMapOutput struct{ *pulumi.OutputState }
func (HostPoolMapOutput) ElementType ¶
func (HostPoolMapOutput) ElementType() reflect.Type
func (HostPoolMapOutput) MapIndex ¶
func (o HostPoolMapOutput) MapIndex(k pulumi.StringInput) HostPoolOutput
func (HostPoolMapOutput) ToHostPoolMapOutput ¶
func (o HostPoolMapOutput) ToHostPoolMapOutput() HostPoolMapOutput
func (HostPoolMapOutput) ToHostPoolMapOutputWithContext ¶
func (o HostPoolMapOutput) ToHostPoolMapOutputWithContext(ctx context.Context) HostPoolMapOutput
type HostPoolOutput ¶
type HostPoolOutput struct {
*pulumi.OutputState
}
func (HostPoolOutput) ElementType ¶
func (HostPoolOutput) ElementType() reflect.Type
func (HostPoolOutput) ToHostPoolOutput ¶
func (o HostPoolOutput) ToHostPoolOutput() HostPoolOutput
func (HostPoolOutput) ToHostPoolOutputWithContext ¶
func (o HostPoolOutput) ToHostPoolOutputWithContext(ctx context.Context) HostPoolOutput
func (HostPoolOutput) ToHostPoolPtrOutput ¶
func (o HostPoolOutput) ToHostPoolPtrOutput() HostPoolPtrOutput
func (HostPoolOutput) ToHostPoolPtrOutputWithContext ¶
func (o HostPoolOutput) ToHostPoolPtrOutputWithContext(ctx context.Context) HostPoolPtrOutput
type HostPoolPtrInput ¶
type HostPoolPtrInput interface { pulumi.Input ToHostPoolPtrOutput() HostPoolPtrOutput ToHostPoolPtrOutputWithContext(ctx context.Context) HostPoolPtrOutput }
type HostPoolPtrOutput ¶
type HostPoolPtrOutput struct {
*pulumi.OutputState
}
func (HostPoolPtrOutput) ElementType ¶
func (HostPoolPtrOutput) ElementType() reflect.Type
func (HostPoolPtrOutput) ToHostPoolPtrOutput ¶
func (o HostPoolPtrOutput) ToHostPoolPtrOutput() HostPoolPtrOutput
func (HostPoolPtrOutput) ToHostPoolPtrOutputWithContext ¶
func (o HostPoolPtrOutput) ToHostPoolPtrOutputWithContext(ctx context.Context) HostPoolPtrOutput
type HostPoolRegistrationInfoArgs ¶
type HostPoolRegistrationInfoArgs struct { // A valid `RFC3339Time` for the expiration of the token. ExpirationDate pulumi.StringInput `pulumi:"expirationDate"` ResetToken pulumi.BoolPtrInput `pulumi:"resetToken"` // The registration token generated by the Virtual Desktop Host Pool. Token pulumi.StringPtrInput `pulumi:"token"` }
func (HostPoolRegistrationInfoArgs) ElementType ¶
func (HostPoolRegistrationInfoArgs) ElementType() reflect.Type
func (HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoOutput ¶
func (i HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoOutput() HostPoolRegistrationInfoOutput
func (HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoOutputWithContext ¶
func (i HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoOutputWithContext(ctx context.Context) HostPoolRegistrationInfoOutput
func (HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoPtrOutput ¶
func (i HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoPtrOutput() HostPoolRegistrationInfoPtrOutput
func (HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoPtrOutputWithContext ¶
func (i HostPoolRegistrationInfoArgs) ToHostPoolRegistrationInfoPtrOutputWithContext(ctx context.Context) HostPoolRegistrationInfoPtrOutput
type HostPoolRegistrationInfoInput ¶
type HostPoolRegistrationInfoInput interface { pulumi.Input ToHostPoolRegistrationInfoOutput() HostPoolRegistrationInfoOutput ToHostPoolRegistrationInfoOutputWithContext(context.Context) HostPoolRegistrationInfoOutput }
HostPoolRegistrationInfoInput is an input type that accepts HostPoolRegistrationInfoArgs and HostPoolRegistrationInfoOutput values. You can construct a concrete instance of `HostPoolRegistrationInfoInput` via:
HostPoolRegistrationInfoArgs{...}
type HostPoolRegistrationInfoOutput ¶
type HostPoolRegistrationInfoOutput struct{ *pulumi.OutputState }
func (HostPoolRegistrationInfoOutput) ElementType ¶
func (HostPoolRegistrationInfoOutput) ElementType() reflect.Type
func (HostPoolRegistrationInfoOutput) ExpirationDate ¶
func (o HostPoolRegistrationInfoOutput) ExpirationDate() pulumi.StringOutput
A valid `RFC3339Time` for the expiration of the token.
func (HostPoolRegistrationInfoOutput) ResetToken ¶
func (o HostPoolRegistrationInfoOutput) ResetToken() pulumi.BoolPtrOutput
func (HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoOutput ¶
func (o HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoOutput() HostPoolRegistrationInfoOutput
func (HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoOutputWithContext ¶
func (o HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoOutputWithContext(ctx context.Context) HostPoolRegistrationInfoOutput
func (HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoPtrOutput ¶
func (o HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoPtrOutput() HostPoolRegistrationInfoPtrOutput
func (HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoPtrOutputWithContext ¶
func (o HostPoolRegistrationInfoOutput) ToHostPoolRegistrationInfoPtrOutputWithContext(ctx context.Context) HostPoolRegistrationInfoPtrOutput
func (HostPoolRegistrationInfoOutput) Token ¶
func (o HostPoolRegistrationInfoOutput) Token() pulumi.StringPtrOutput
The registration token generated by the Virtual Desktop Host Pool.
type HostPoolRegistrationInfoPtrInput ¶
type HostPoolRegistrationInfoPtrInput interface { pulumi.Input ToHostPoolRegistrationInfoPtrOutput() HostPoolRegistrationInfoPtrOutput ToHostPoolRegistrationInfoPtrOutputWithContext(context.Context) HostPoolRegistrationInfoPtrOutput }
HostPoolRegistrationInfoPtrInput is an input type that accepts HostPoolRegistrationInfoArgs, HostPoolRegistrationInfoPtr and HostPoolRegistrationInfoPtrOutput values. You can construct a concrete instance of `HostPoolRegistrationInfoPtrInput` via:
HostPoolRegistrationInfoArgs{...} or: nil
func HostPoolRegistrationInfoPtr ¶
func HostPoolRegistrationInfoPtr(v *HostPoolRegistrationInfoArgs) HostPoolRegistrationInfoPtrInput
type HostPoolRegistrationInfoPtrOutput ¶
type HostPoolRegistrationInfoPtrOutput struct{ *pulumi.OutputState }
func (HostPoolRegistrationInfoPtrOutput) Elem ¶
func (o HostPoolRegistrationInfoPtrOutput) Elem() HostPoolRegistrationInfoOutput
func (HostPoolRegistrationInfoPtrOutput) ElementType ¶
func (HostPoolRegistrationInfoPtrOutput) ElementType() reflect.Type
func (HostPoolRegistrationInfoPtrOutput) ExpirationDate ¶
func (o HostPoolRegistrationInfoPtrOutput) ExpirationDate() pulumi.StringPtrOutput
A valid `RFC3339Time` for the expiration of the token.
func (HostPoolRegistrationInfoPtrOutput) ResetToken ¶
func (o HostPoolRegistrationInfoPtrOutput) ResetToken() pulumi.BoolPtrOutput
func (HostPoolRegistrationInfoPtrOutput) ToHostPoolRegistrationInfoPtrOutput ¶
func (o HostPoolRegistrationInfoPtrOutput) ToHostPoolRegistrationInfoPtrOutput() HostPoolRegistrationInfoPtrOutput
func (HostPoolRegistrationInfoPtrOutput) ToHostPoolRegistrationInfoPtrOutputWithContext ¶
func (o HostPoolRegistrationInfoPtrOutput) ToHostPoolRegistrationInfoPtrOutputWithContext(ctx context.Context) HostPoolRegistrationInfoPtrOutput
func (HostPoolRegistrationInfoPtrOutput) Token ¶
func (o HostPoolRegistrationInfoPtrOutput) Token() pulumi.StringPtrOutput
The registration token generated by the Virtual Desktop Host Pool.
type HostPoolState ¶
type HostPoolState struct { // A valid custom RDP properties string for the Virtual Desktop Host Pool, available properties can be [found in this article](https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/rdp-files). CustomRdpProperties pulumi.StringPtrInput // A description for the Virtual Desktop Host Pool. Description pulumi.StringPtrInput // A friendly name for the Virtual Desktop Host Pool. FriendlyName pulumi.StringPtrInput // `BreadthFirst` load balancing distributes new user sessions across all available session hosts in the host pool. // `DepthFirst` load balancing distributes new user sessions to an available session host with the highest number of connections but has not reached its maximum session limit threshold. // `Persistent` should be used if the host pool type is `Personal` LoadBalancerType pulumi.StringPtrInput // The location/region where the Virtual Desktop Host Pool is // located. Changing the location/region forces a new resource to be created. Location pulumi.StringPtrInput // A valid integer value from 0 to 999999 for the maximum number of users that have concurrent sessions on a session host. // Should only be set if the `type` of your Virtual Desktop Host Pool is `Pooled`. MaximumSessionsAllowed pulumi.IntPtrInput // The name of the Virtual Desktop Host Pool. Changing the name // forces a new resource to be created. Name pulumi.StringPtrInput // `Automatic` assignment – The service will select an available host and assign it to an user. // `Direct` Assignment – Admin selects a specific host to assign to an user. PersonalDesktopAssignmentType pulumi.StringPtrInput // Option to specify the preferred Application Group type for the Virtual Desktop Host Pool. // Valid options are `None`, `Desktop` or `RailApplications`. Default is `None`. PreferredAppGroupType pulumi.StringPtrInput // A `registrationInfo` block which is documented below. Specifies configuration on the registration information of the Virtual Desktop Host Pool. RegistrationInfo HostPoolRegistrationInfoPtrInput // The name of the resource group in which to // create the Virtual Desktop Host Pool. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The type of the Virtual Desktop Host Pool. Valid options are // `Personal` or `Pooled`. Changing the type forces a new resource to be created. Type pulumi.StringPtrInput // Allows you to test service changes before they are deployed to production. Defaults to `false`. ValidateEnvironment pulumi.BoolPtrInput }
func (HostPoolState) ElementType ¶
func (HostPoolState) ElementType() reflect.Type
type Workspace ¶
type Workspace struct { pulumi.CustomResourceState // A description for the Virtual Desktop Workspace. Description pulumi.StringPtrOutput `pulumi:"description"` // A friendly name for the Virtual Desktop Workspace. FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"` // The location/region where the Virtual Desktop Workspace is located. Changing the location/region forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the Virtual Desktop Workspace. Changing the name // forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to // create the Virtual Desktop Workspace. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Virtual Desktop Workspace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/desktopvirtualization" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = desktopvirtualization.NewWorkspace(ctx, "workspace", &desktopvirtualization.WorkspaceArgs{ Location: example.Location, ResourceGroupName: example.Name, FriendlyName: pulumi.String("FriendlyName"), Description: pulumi.String("A description of my workspace"), }) if err != nil { return err } return nil }) }
```
## Import
Virtual Desktop Workspaces can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:desktopvirtualization/workspace:Workspace example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myGroup1/providers/Microsoft.DesktopVirtualization/workspaces/myworkspace
```
func GetWorkspace ¶
func GetWorkspace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceState, opts ...pulumi.ResourceOption) (*Workspace, error)
GetWorkspace gets an existing Workspace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkspace ¶
func NewWorkspace(ctx *pulumi.Context, name string, args *WorkspaceArgs, opts ...pulumi.ResourceOption) (*Workspace, error)
NewWorkspace registers a new resource with the given unique name, arguments, and options.
func (*Workspace) ElementType ¶
func (*Workspace) ToWorkspaceOutput ¶
func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput
func (*Workspace) ToWorkspaceOutputWithContext ¶
func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
func (*Workspace) ToWorkspacePtrOutput ¶
func (i *Workspace) ToWorkspacePtrOutput() WorkspacePtrOutput
func (*Workspace) ToWorkspacePtrOutputWithContext ¶
func (i *Workspace) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspaceApplicationGroupAssociation ¶
type WorkspaceApplicationGroupAssociation struct { pulumi.CustomResourceState // The resource ID for the Virtual Desktop Application Group. ApplicationGroupId pulumi.StringOutput `pulumi:"applicationGroupId"` // The resource ID for the Virtual Desktop Workspace. WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"` }
Manages a Virtual Desktop Workspace Application Group Association.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/desktopvirtualization" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } pooledbreadthfirst, err := desktopvirtualization.NewHostPool(ctx, "pooledbreadthfirst", &desktopvirtualization.HostPoolArgs{ Location: example.Location, ResourceGroupName: example.Name, Type: pulumi.String("Pooled"), LoadBalancerType: pulumi.String("BreadthFirst"), }) if err != nil { return err } remoteapp, err := desktopvirtualization.NewApplicationGroup(ctx, "remoteapp", &desktopvirtualization.ApplicationGroupArgs{ Location: example.Location, ResourceGroupName: example.Name, Type: pulumi.String("RemoteApp"), HostPoolId: pooledbreadthfirst.ID(), }) if err != nil { return err } workspace, err := desktopvirtualization.NewWorkspace(ctx, "workspace", &desktopvirtualization.WorkspaceArgs{ Location: example.Location, ResourceGroupName: example.Name, }) if err != nil { return err } _, err = desktopvirtualization.NewWorkspaceApplicationGroupAssociation(ctx, "workspaceremoteapp", &desktopvirtualization.WorkspaceApplicationGroupAssociationArgs{ WorkspaceId: workspace.ID(), ApplicationGroupId: remoteapp.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Associations between Virtual Desktop Workspaces and Virtual Desktop Application Groups can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:desktopvirtualization/workspaceApplicationGroupAssociation:WorkspaceApplicationGroupAssociation association1 "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myGroup1/providers/Microsoft.DesktopVirtualization/workspaces/myworkspace|/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/myapplicationgroup"
```
func GetWorkspaceApplicationGroupAssociation ¶
func GetWorkspaceApplicationGroupAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceApplicationGroupAssociationState, opts ...pulumi.ResourceOption) (*WorkspaceApplicationGroupAssociation, error)
GetWorkspaceApplicationGroupAssociation gets an existing WorkspaceApplicationGroupAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkspaceApplicationGroupAssociation ¶
func NewWorkspaceApplicationGroupAssociation(ctx *pulumi.Context, name string, args *WorkspaceApplicationGroupAssociationArgs, opts ...pulumi.ResourceOption) (*WorkspaceApplicationGroupAssociation, error)
NewWorkspaceApplicationGroupAssociation registers a new resource with the given unique name, arguments, and options.
func (*WorkspaceApplicationGroupAssociation) ElementType ¶
func (*WorkspaceApplicationGroupAssociation) ElementType() reflect.Type
func (*WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationOutput ¶
func (i *WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationOutput() WorkspaceApplicationGroupAssociationOutput
func (*WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationOutputWithContext ¶
func (i *WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationOutput
func (*WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationPtrOutput ¶
func (i *WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationPtrOutput() WorkspaceApplicationGroupAssociationPtrOutput
func (*WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext ¶
func (i *WorkspaceApplicationGroupAssociation) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationPtrOutput
type WorkspaceApplicationGroupAssociationArgs ¶
type WorkspaceApplicationGroupAssociationArgs struct { // The resource ID for the Virtual Desktop Application Group. ApplicationGroupId pulumi.StringInput // The resource ID for the Virtual Desktop Workspace. WorkspaceId pulumi.StringInput }
The set of arguments for constructing a WorkspaceApplicationGroupAssociation resource.
func (WorkspaceApplicationGroupAssociationArgs) ElementType ¶
func (WorkspaceApplicationGroupAssociationArgs) ElementType() reflect.Type
type WorkspaceApplicationGroupAssociationArray ¶
type WorkspaceApplicationGroupAssociationArray []WorkspaceApplicationGroupAssociationInput
func (WorkspaceApplicationGroupAssociationArray) ElementType ¶
func (WorkspaceApplicationGroupAssociationArray) ElementType() reflect.Type
func (WorkspaceApplicationGroupAssociationArray) ToWorkspaceApplicationGroupAssociationArrayOutput ¶
func (i WorkspaceApplicationGroupAssociationArray) ToWorkspaceApplicationGroupAssociationArrayOutput() WorkspaceApplicationGroupAssociationArrayOutput
func (WorkspaceApplicationGroupAssociationArray) ToWorkspaceApplicationGroupAssociationArrayOutputWithContext ¶
func (i WorkspaceApplicationGroupAssociationArray) ToWorkspaceApplicationGroupAssociationArrayOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationArrayOutput
type WorkspaceApplicationGroupAssociationArrayInput ¶
type WorkspaceApplicationGroupAssociationArrayInput interface { pulumi.Input ToWorkspaceApplicationGroupAssociationArrayOutput() WorkspaceApplicationGroupAssociationArrayOutput ToWorkspaceApplicationGroupAssociationArrayOutputWithContext(context.Context) WorkspaceApplicationGroupAssociationArrayOutput }
WorkspaceApplicationGroupAssociationArrayInput is an input type that accepts WorkspaceApplicationGroupAssociationArray and WorkspaceApplicationGroupAssociationArrayOutput values. You can construct a concrete instance of `WorkspaceApplicationGroupAssociationArrayInput` via:
WorkspaceApplicationGroupAssociationArray{ WorkspaceApplicationGroupAssociationArgs{...} }
type WorkspaceApplicationGroupAssociationArrayOutput ¶
type WorkspaceApplicationGroupAssociationArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceApplicationGroupAssociationArrayOutput) ElementType ¶
func (WorkspaceApplicationGroupAssociationArrayOutput) ElementType() reflect.Type
func (WorkspaceApplicationGroupAssociationArrayOutput) ToWorkspaceApplicationGroupAssociationArrayOutput ¶
func (o WorkspaceApplicationGroupAssociationArrayOutput) ToWorkspaceApplicationGroupAssociationArrayOutput() WorkspaceApplicationGroupAssociationArrayOutput
func (WorkspaceApplicationGroupAssociationArrayOutput) ToWorkspaceApplicationGroupAssociationArrayOutputWithContext ¶
func (o WorkspaceApplicationGroupAssociationArrayOutput) ToWorkspaceApplicationGroupAssociationArrayOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationArrayOutput
type WorkspaceApplicationGroupAssociationInput ¶
type WorkspaceApplicationGroupAssociationInput interface { pulumi.Input ToWorkspaceApplicationGroupAssociationOutput() WorkspaceApplicationGroupAssociationOutput ToWorkspaceApplicationGroupAssociationOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationOutput }
type WorkspaceApplicationGroupAssociationMap ¶
type WorkspaceApplicationGroupAssociationMap map[string]WorkspaceApplicationGroupAssociationInput
func (WorkspaceApplicationGroupAssociationMap) ElementType ¶
func (WorkspaceApplicationGroupAssociationMap) ElementType() reflect.Type
func (WorkspaceApplicationGroupAssociationMap) ToWorkspaceApplicationGroupAssociationMapOutput ¶
func (i WorkspaceApplicationGroupAssociationMap) ToWorkspaceApplicationGroupAssociationMapOutput() WorkspaceApplicationGroupAssociationMapOutput
func (WorkspaceApplicationGroupAssociationMap) ToWorkspaceApplicationGroupAssociationMapOutputWithContext ¶
func (i WorkspaceApplicationGroupAssociationMap) ToWorkspaceApplicationGroupAssociationMapOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationMapOutput
type WorkspaceApplicationGroupAssociationMapInput ¶
type WorkspaceApplicationGroupAssociationMapInput interface { pulumi.Input ToWorkspaceApplicationGroupAssociationMapOutput() WorkspaceApplicationGroupAssociationMapOutput ToWorkspaceApplicationGroupAssociationMapOutputWithContext(context.Context) WorkspaceApplicationGroupAssociationMapOutput }
WorkspaceApplicationGroupAssociationMapInput is an input type that accepts WorkspaceApplicationGroupAssociationMap and WorkspaceApplicationGroupAssociationMapOutput values. You can construct a concrete instance of `WorkspaceApplicationGroupAssociationMapInput` via:
WorkspaceApplicationGroupAssociationMap{ "key": WorkspaceApplicationGroupAssociationArgs{...} }
type WorkspaceApplicationGroupAssociationMapOutput ¶
type WorkspaceApplicationGroupAssociationMapOutput struct{ *pulumi.OutputState }
func (WorkspaceApplicationGroupAssociationMapOutput) ElementType ¶
func (WorkspaceApplicationGroupAssociationMapOutput) ElementType() reflect.Type
func (WorkspaceApplicationGroupAssociationMapOutput) ToWorkspaceApplicationGroupAssociationMapOutput ¶
func (o WorkspaceApplicationGroupAssociationMapOutput) ToWorkspaceApplicationGroupAssociationMapOutput() WorkspaceApplicationGroupAssociationMapOutput
func (WorkspaceApplicationGroupAssociationMapOutput) ToWorkspaceApplicationGroupAssociationMapOutputWithContext ¶
func (o WorkspaceApplicationGroupAssociationMapOutput) ToWorkspaceApplicationGroupAssociationMapOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationMapOutput
type WorkspaceApplicationGroupAssociationOutput ¶
type WorkspaceApplicationGroupAssociationOutput struct {
*pulumi.OutputState
}
func (WorkspaceApplicationGroupAssociationOutput) ElementType ¶
func (WorkspaceApplicationGroupAssociationOutput) ElementType() reflect.Type
func (WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationOutput ¶
func (o WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationOutput() WorkspaceApplicationGroupAssociationOutput
func (WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationOutputWithContext ¶
func (o WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationOutput
func (WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationPtrOutput ¶
func (o WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationPtrOutput() WorkspaceApplicationGroupAssociationPtrOutput
func (WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext ¶
func (o WorkspaceApplicationGroupAssociationOutput) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationPtrOutput
type WorkspaceApplicationGroupAssociationPtrInput ¶
type WorkspaceApplicationGroupAssociationPtrInput interface { pulumi.Input ToWorkspaceApplicationGroupAssociationPtrOutput() WorkspaceApplicationGroupAssociationPtrOutput ToWorkspaceApplicationGroupAssociationPtrOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationPtrOutput }
type WorkspaceApplicationGroupAssociationPtrOutput ¶
type WorkspaceApplicationGroupAssociationPtrOutput struct {
*pulumi.OutputState
}
func (WorkspaceApplicationGroupAssociationPtrOutput) ElementType ¶
func (WorkspaceApplicationGroupAssociationPtrOutput) ElementType() reflect.Type
func (WorkspaceApplicationGroupAssociationPtrOutput) ToWorkspaceApplicationGroupAssociationPtrOutput ¶
func (o WorkspaceApplicationGroupAssociationPtrOutput) ToWorkspaceApplicationGroupAssociationPtrOutput() WorkspaceApplicationGroupAssociationPtrOutput
func (WorkspaceApplicationGroupAssociationPtrOutput) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext ¶
func (o WorkspaceApplicationGroupAssociationPtrOutput) ToWorkspaceApplicationGroupAssociationPtrOutputWithContext(ctx context.Context) WorkspaceApplicationGroupAssociationPtrOutput
type WorkspaceApplicationGroupAssociationState ¶
type WorkspaceApplicationGroupAssociationState struct { // The resource ID for the Virtual Desktop Application Group. ApplicationGroupId pulumi.StringPtrInput // The resource ID for the Virtual Desktop Workspace. WorkspaceId pulumi.StringPtrInput }
func (WorkspaceApplicationGroupAssociationState) ElementType ¶
func (WorkspaceApplicationGroupAssociationState) ElementType() reflect.Type
type WorkspaceArgs ¶
type WorkspaceArgs struct { // A description for the Virtual Desktop Workspace. Description pulumi.StringPtrInput // A friendly name for the Virtual Desktop Workspace. FriendlyName pulumi.StringPtrInput // The location/region where the Virtual Desktop Workspace is located. Changing the location/region forces a new resource to be created. Location pulumi.StringPtrInput // The name of the Virtual Desktop Workspace. Changing the name // forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the Virtual Desktop Workspace. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Workspace resource.
func (WorkspaceArgs) ElementType ¶
func (WorkspaceArgs) ElementType() reflect.Type
type WorkspaceArray ¶
type WorkspaceArray []WorkspaceInput
func (WorkspaceArray) ElementType ¶
func (WorkspaceArray) ElementType() reflect.Type
func (WorkspaceArray) ToWorkspaceArrayOutput ¶
func (i WorkspaceArray) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArray) ToWorkspaceArrayOutputWithContext ¶
func (i WorkspaceArray) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceArrayInput ¶
type WorkspaceArrayInput interface { pulumi.Input ToWorkspaceArrayOutput() WorkspaceArrayOutput ToWorkspaceArrayOutputWithContext(context.Context) WorkspaceArrayOutput }
WorkspaceArrayInput is an input type that accepts WorkspaceArray and WorkspaceArrayOutput values. You can construct a concrete instance of `WorkspaceArrayInput` via:
WorkspaceArray{ WorkspaceArgs{...} }
type WorkspaceArrayOutput ¶
type WorkspaceArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceArrayOutput) ElementType ¶
func (WorkspaceArrayOutput) ElementType() reflect.Type
func (WorkspaceArrayOutput) Index ¶
func (o WorkspaceArrayOutput) Index(i pulumi.IntInput) WorkspaceOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutput ¶
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput
func (WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext ¶
func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput
type WorkspaceInput ¶
type WorkspaceInput interface { pulumi.Input ToWorkspaceOutput() WorkspaceOutput ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput }
type WorkspaceMap ¶
type WorkspaceMap map[string]WorkspaceInput
func (WorkspaceMap) ElementType ¶
func (WorkspaceMap) ElementType() reflect.Type
func (WorkspaceMap) ToWorkspaceMapOutput ¶
func (i WorkspaceMap) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMap) ToWorkspaceMapOutputWithContext ¶
func (i WorkspaceMap) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceMapInput ¶
type WorkspaceMapInput interface { pulumi.Input ToWorkspaceMapOutput() WorkspaceMapOutput ToWorkspaceMapOutputWithContext(context.Context) WorkspaceMapOutput }
WorkspaceMapInput is an input type that accepts WorkspaceMap and WorkspaceMapOutput values. You can construct a concrete instance of `WorkspaceMapInput` via:
WorkspaceMap{ "key": WorkspaceArgs{...} }
type WorkspaceMapOutput ¶
type WorkspaceMapOutput struct{ *pulumi.OutputState }
func (WorkspaceMapOutput) ElementType ¶
func (WorkspaceMapOutput) ElementType() reflect.Type
func (WorkspaceMapOutput) MapIndex ¶
func (o WorkspaceMapOutput) MapIndex(k pulumi.StringInput) WorkspaceOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutput ¶
func (o WorkspaceMapOutput) ToWorkspaceMapOutput() WorkspaceMapOutput
func (WorkspaceMapOutput) ToWorkspaceMapOutputWithContext ¶
func (o WorkspaceMapOutput) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput
type WorkspaceOutput ¶
type WorkspaceOutput struct {
*pulumi.OutputState
}
func (WorkspaceOutput) ElementType ¶
func (WorkspaceOutput) ElementType() reflect.Type
func (WorkspaceOutput) ToWorkspaceOutput ¶
func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput
func (WorkspaceOutput) ToWorkspaceOutputWithContext ¶
func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
func (WorkspaceOutput) ToWorkspacePtrOutput ¶
func (o WorkspaceOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
func (WorkspaceOutput) ToWorkspacePtrOutputWithContext ¶
func (o WorkspaceOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspacePtrInput ¶
type WorkspacePtrInput interface { pulumi.Input ToWorkspacePtrOutput() WorkspacePtrOutput ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput }
type WorkspacePtrOutput ¶
type WorkspacePtrOutput struct {
*pulumi.OutputState
}
func (WorkspacePtrOutput) ElementType ¶
func (WorkspacePtrOutput) ElementType() reflect.Type
func (WorkspacePtrOutput) ToWorkspacePtrOutput ¶
func (o WorkspacePtrOutput) ToWorkspacePtrOutput() WorkspacePtrOutput
func (WorkspacePtrOutput) ToWorkspacePtrOutputWithContext ¶
func (o WorkspacePtrOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
type WorkspaceState ¶
type WorkspaceState struct { // A description for the Virtual Desktop Workspace. Description pulumi.StringPtrInput // A friendly name for the Virtual Desktop Workspace. FriendlyName pulumi.StringPtrInput // The location/region where the Virtual Desktop Workspace is located. Changing the location/region forces a new resource to be created. Location pulumi.StringPtrInput // The name of the Virtual Desktop Workspace. Changing the name // forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the Virtual Desktop Workspace. Changing the resource group name forces // a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (WorkspaceState) ElementType ¶
func (WorkspaceState) ElementType() reflect.Type