Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.14.0 published on Thursday, Jul 28, 2022 by Pulumi

Application

Manages a Virtual Desktop Application.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Azure.Core.ResourceGroup("example", new Azure.Core.ResourceGroupArgs
        {
            Location = "West Europe",
        });
        var pooledbreadthfirst = new Azure.DesktopVirtualization.HostPool("pooledbreadthfirst", new Azure.DesktopVirtualization.HostPoolArgs
        {
            Location = example.Location,
            ResourceGroupName = example.Name,
            Type = "Pooled",
            LoadBalancerType = "BreadthFirst",
        });
        var personalautomatic = new Azure.DesktopVirtualization.HostPool("personalautomatic", new Azure.DesktopVirtualization.HostPoolArgs
        {
            Location = example.Location,
            ResourceGroupName = example.Name,
            Type = "Personal",
            PersonalDesktopAssignmentType = "Automatic",
            LoadBalancerType = "BreadthFirst",
        });
        var remoteapp = new Azure.DesktopVirtualization.ApplicationGroup("remoteapp", new Azure.DesktopVirtualization.ApplicationGroupArgs
        {
            Location = example.Location,
            ResourceGroupName = example.Name,
            Type = "RemoteApp",
            HostPoolId = pooledbreadthfirst.Id,
            FriendlyName = "TestAppGroup",
            Description = "Acceptance Test: An application group",
        });
        var chrome = new Azure.DesktopVirtualization.Application("chrome", new Azure.DesktopVirtualization.ApplicationArgs
        {
            ApplicationGroupId = remoteapp.Id,
            FriendlyName = "Google Chrome",
            Description = "Chromium based web browser",
            Path = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
            CommandLineArgumentPolicy = "DoNotAllow",
            CommandLineArguments = "--incognito",
            ShowInPortal = false,
            IconPath = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
            IconIndex = 0,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/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
		}
		_, err = desktopvirtualization.NewHostPool(ctx, "personalautomatic", &desktopvirtualization.HostPoolArgs{
			Location:                      example.Location,
			ResourceGroupName:             example.Name,
			Type:                          pulumi.String("Personal"),
			PersonalDesktopAssignmentType: pulumi.String("Automatic"),
			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(),
			FriendlyName:      pulumi.String("TestAppGroup"),
			Description:       pulumi.String("Acceptance Test: An application group"),
		})
		if err != nil {
			return err
		}
		_, err = desktopvirtualization.NewApplication(ctx, "chrome", &desktopvirtualization.ApplicationArgs{
			ApplicationGroupId:        remoteapp.ID(),
			FriendlyName:              pulumi.String("Google Chrome"),
			Description:               pulumi.String("Chromium based web browser"),
			Path:                      pulumi.String("C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"),
			CommandLineArgumentPolicy: pulumi.String("DoNotAllow"),
			CommandLineArguments:      pulumi.String("--incognito"),
			ShowInPortal:              pulumi.Bool(false),
			IconPath:                  pulumi.String("C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"),
			IconIndex:                 pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.desktopvirtualization.HostPool;
import com.pulumi.azure.desktopvirtualization.HostPoolArgs;
import com.pulumi.azure.desktopvirtualization.ApplicationGroup;
import com.pulumi.azure.desktopvirtualization.ApplicationGroupArgs;
import com.pulumi.azure.desktopvirtualization.Application;
import com.pulumi.azure.desktopvirtualization.ApplicationArgs;
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) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var pooledbreadthfirst = new HostPool("pooledbreadthfirst", HostPoolArgs.builder()        
            .location(example.location())
            .resourceGroupName(example.name())
            .type("Pooled")
            .loadBalancerType("BreadthFirst")
            .build());

        var personalautomatic = new HostPool("personalautomatic", HostPoolArgs.builder()        
            .location(example.location())
            .resourceGroupName(example.name())
            .type("Personal")
            .personalDesktopAssignmentType("Automatic")
            .loadBalancerType("BreadthFirst")
            .build());

        var remoteapp = new ApplicationGroup("remoteapp", ApplicationGroupArgs.builder()        
            .location(example.location())
            .resourceGroupName(example.name())
            .type("RemoteApp")
            .hostPoolId(pooledbreadthfirst.id())
            .friendlyName("TestAppGroup")
            .description("Acceptance Test: An application group")
            .build());

        var chrome = new Application("chrome", ApplicationArgs.builder()        
            .applicationGroupId(remoteapp.id())
            .friendlyName("Google Chrome")
            .description("Chromium based web browser")
            .path("C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe")
            .commandLineArgumentPolicy("DoNotAllow")
            .commandLineArguments("--incognito")
            .showInPortal(false)
            .iconPath("C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe")
            .iconIndex(0)
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example = azure.core.ResourceGroup("example", location="West Europe")
pooledbreadthfirst = azure.desktopvirtualization.HostPool("pooledbreadthfirst",
    location=example.location,
    resource_group_name=example.name,
    type="Pooled",
    load_balancer_type="BreadthFirst")
personalautomatic = azure.desktopvirtualization.HostPool("personalautomatic",
    location=example.location,
    resource_group_name=example.name,
    type="Personal",
    personal_desktop_assignment_type="Automatic",
    load_balancer_type="BreadthFirst")
remoteapp = azure.desktopvirtualization.ApplicationGroup("remoteapp",
    location=example.location,
    resource_group_name=example.name,
    type="RemoteApp",
    host_pool_id=pooledbreadthfirst.id,
    friendly_name="TestAppGroup",
    description="Acceptance Test: An application group")
chrome = azure.desktopvirtualization.Application("chrome",
    application_group_id=remoteapp.id,
    friendly_name="Google Chrome",
    description="Chromium based web browser",
    path="C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
    command_line_argument_policy="DoNotAllow",
    command_line_arguments="--incognito",
    show_in_portal=False,
    icon_path="C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
    icon_index=0)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = new azure.core.ResourceGroup("example", {location: "West Europe"});
const pooledbreadthfirst = new azure.desktopvirtualization.HostPool("pooledbreadthfirst", {
    location: example.location,
    resourceGroupName: example.name,
    type: "Pooled",
    loadBalancerType: "BreadthFirst",
});
const personalautomatic = new azure.desktopvirtualization.HostPool("personalautomatic", {
    location: example.location,
    resourceGroupName: example.name,
    type: "Personal",
    personalDesktopAssignmentType: "Automatic",
    loadBalancerType: "BreadthFirst",
});
const remoteapp = new azure.desktopvirtualization.ApplicationGroup("remoteapp", {
    location: example.location,
    resourceGroupName: example.name,
    type: "RemoteApp",
    hostPoolId: pooledbreadthfirst.id,
    friendlyName: "TestAppGroup",
    description: "Acceptance Test: An application group",
});
const chrome = new azure.desktopvirtualization.Application("chrome", {
    applicationGroupId: remoteapp.id,
    friendlyName: "Google Chrome",
    description: "Chromium based web browser",
    path: "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
    commandLineArgumentPolicy: "DoNotAllow",
    commandLineArguments: "--incognito",
    showInPortal: false,
    iconPath: "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
    iconIndex: 0,
});
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  pooledbreadthfirst:
    type: azure:desktopvirtualization:HostPool
    properties:
      location: ${example.location}
      resourceGroupName: ${example.name}
      type: Pooled
      loadBalancerType: BreadthFirst
  personalautomatic:
    type: azure:desktopvirtualization:HostPool
    properties:
      location: ${example.location}
      resourceGroupName: ${example.name}
      type: Personal
      personalDesktopAssignmentType: Automatic
      loadBalancerType: BreadthFirst
  remoteapp:
    type: azure:desktopvirtualization:ApplicationGroup
    properties:
      location: ${example.location}
      resourceGroupName: ${example.name}
      type: RemoteApp
      hostPoolId: ${pooledbreadthfirst.id}
      friendlyName: TestAppGroup
      description: 'Acceptance Test: An application group'
  chrome:
    type: azure:desktopvirtualization:Application
    properties:
      applicationGroupId: ${remoteapp.id}
      friendlyName: Google Chrome
      description: Chromium based web browser
      path: C:\Program Files\Google\Chrome\Application\chrome.exe
      commandLineArgumentPolicy: DoNotAllow
      commandLineArguments: --incognito
      showInPortal: false
      iconPath: C:\Program Files\Google\Chrome\Application\chrome.exe
      iconIndex: 0

Create a Application Resource

new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                application_group_id: Optional[str] = None,
                command_line_argument_policy: Optional[str] = None,
                command_line_arguments: Optional[str] = None,
                description: Optional[str] = None,
                friendly_name: Optional[str] = None,
                icon_index: Optional[int] = None,
                icon_path: Optional[str] = None,
                name: Optional[str] = None,
                path: Optional[str] = None,
                show_in_portal: Optional[bool] = None)
@overload
def Application(resource_name: str,
                args: ApplicationArgs,
                opts: Optional[ResourceOptions] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: azure:desktopvirtualization:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

ApplicationGroupId string

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

CommandLineArgumentPolicy string

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

Path string

The file path location of the app on the Virtual Desktop OS.

CommandLineArguments string

Command Line Arguments for Virtual Desktop Application.

Description string

Option to set a description for the Virtual Desktop Application.

FriendlyName string

Option to set a friendly name for the Virtual Desktop Application.

IconIndex int

The index of the icon you wish to use.

IconPath string

Specifies the path for an icon which will be used for this Virtual Desktop Application.

Name string

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

ShowInPortal bool

Specifies whether to show the RemoteApp program in the RD Web Access server.

ApplicationGroupId string

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

CommandLineArgumentPolicy string

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

Path string

The file path location of the app on the Virtual Desktop OS.

CommandLineArguments string

Command Line Arguments for Virtual Desktop Application.

Description string

Option to set a description for the Virtual Desktop Application.

FriendlyName string

Option to set a friendly name for the Virtual Desktop Application.

IconIndex int

The index of the icon you wish to use.

IconPath string

Specifies the path for an icon which will be used for this Virtual Desktop Application.

Name string

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

ShowInPortal bool

Specifies whether to show the RemoteApp program in the RD Web Access server.

applicationGroupId String

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

commandLineArgumentPolicy String

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

path String

The file path location of the app on the Virtual Desktop OS.

commandLineArguments String

Command Line Arguments for Virtual Desktop Application.

description String

Option to set a description for the Virtual Desktop Application.

friendlyName String

Option to set a friendly name for the Virtual Desktop Application.

iconIndex Integer

The index of the icon you wish to use.

iconPath String

Specifies the path for an icon which will be used for this Virtual Desktop Application.

name String

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

showInPortal Boolean

Specifies whether to show the RemoteApp program in the RD Web Access server.

applicationGroupId string

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

commandLineArgumentPolicy string

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

path string

The file path location of the app on the Virtual Desktop OS.

commandLineArguments string

Command Line Arguments for Virtual Desktop Application.

description string

Option to set a description for the Virtual Desktop Application.

friendlyName string

Option to set a friendly name for the Virtual Desktop Application.

iconIndex number

The index of the icon you wish to use.

iconPath string

Specifies the path for an icon which will be used for this Virtual Desktop Application.

name string

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

showInPortal boolean

Specifies whether to show the RemoteApp program in the RD Web Access server.

application_group_id str

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

command_line_argument_policy str

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

path str

The file path location of the app on the Virtual Desktop OS.

command_line_arguments str

Command Line Arguments for Virtual Desktop Application.

description str

Option to set a description for the Virtual Desktop Application.

friendly_name str

Option to set a friendly name for the Virtual Desktop Application.

icon_index int

The index of the icon you wish to use.

icon_path str

Specifies the path for an icon which will be used for this Virtual Desktop Application.

name str

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

show_in_portal bool

Specifies whether to show the RemoteApp program in the RD Web Access server.

applicationGroupId String

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

commandLineArgumentPolicy String

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

path String

The file path location of the app on the Virtual Desktop OS.

commandLineArguments String

Command Line Arguments for Virtual Desktop Application.

description String

Option to set a description for the Virtual Desktop Application.

friendlyName String

Option to set a friendly name for the Virtual Desktop Application.

iconIndex Number

The index of the icon you wish to use.

iconPath String

Specifies the path for an icon which will be used for this Virtual Desktop Application.

name String

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

showInPortal Boolean

Specifies whether to show the RemoteApp program in the RD Web Access server.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing Application Resource

Get an existing Application 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?: ApplicationState, opts?: CustomResourceOptions): Application
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_group_id: Optional[str] = None,
        command_line_argument_policy: Optional[str] = None,
        command_line_arguments: Optional[str] = None,
        description: Optional[str] = None,
        friendly_name: Optional[str] = None,
        icon_index: Optional[int] = None,
        icon_path: Optional[str] = None,
        name: Optional[str] = None,
        path: Optional[str] = None,
        show_in_portal: Optional[bool] = None) -> Application
func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
public static Application get(String name, Output<String> id, ApplicationState 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:
ApplicationGroupId string

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

CommandLineArgumentPolicy string

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

CommandLineArguments string

Command Line Arguments for Virtual Desktop Application.

Description string

Option to set a description for the Virtual Desktop Application.

FriendlyName string

Option to set a friendly name for the Virtual Desktop Application.

IconIndex int

The index of the icon you wish to use.

IconPath string

Specifies the path for an icon which will be used for this Virtual Desktop Application.

Name string

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

Path string

The file path location of the app on the Virtual Desktop OS.

ShowInPortal bool

Specifies whether to show the RemoteApp program in the RD Web Access server.

ApplicationGroupId string

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

CommandLineArgumentPolicy string

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

CommandLineArguments string

Command Line Arguments for Virtual Desktop Application.

Description string

Option to set a description for the Virtual Desktop Application.

FriendlyName string

Option to set a friendly name for the Virtual Desktop Application.

IconIndex int

The index of the icon you wish to use.

IconPath string

Specifies the path for an icon which will be used for this Virtual Desktop Application.

Name string

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

Path string

The file path location of the app on the Virtual Desktop OS.

ShowInPortal bool

Specifies whether to show the RemoteApp program in the RD Web Access server.

applicationGroupId String

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

commandLineArgumentPolicy String

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

commandLineArguments String

Command Line Arguments for Virtual Desktop Application.

description String

Option to set a description for the Virtual Desktop Application.

friendlyName String

Option to set a friendly name for the Virtual Desktop Application.

iconIndex Integer

The index of the icon you wish to use.

iconPath String

Specifies the path for an icon which will be used for this Virtual Desktop Application.

name String

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

path String

The file path location of the app on the Virtual Desktop OS.

showInPortal Boolean

Specifies whether to show the RemoteApp program in the RD Web Access server.

applicationGroupId string

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

commandLineArgumentPolicy string

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

commandLineArguments string

Command Line Arguments for Virtual Desktop Application.

description string

Option to set a description for the Virtual Desktop Application.

friendlyName string

Option to set a friendly name for the Virtual Desktop Application.

iconIndex number

The index of the icon you wish to use.

iconPath string

Specifies the path for an icon which will be used for this Virtual Desktop Application.

name string

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

path string

The file path location of the app on the Virtual Desktop OS.

showInPortal boolean

Specifies whether to show the RemoteApp program in the RD Web Access server.

application_group_id str

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

command_line_argument_policy str

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

command_line_arguments str

Command Line Arguments for Virtual Desktop Application.

description str

Option to set a description for the Virtual Desktop Application.

friendly_name str

Option to set a friendly name for the Virtual Desktop Application.

icon_index int

The index of the icon you wish to use.

icon_path str

Specifies the path for an icon which will be used for this Virtual Desktop Application.

name str

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

path str

The file path location of the app on the Virtual Desktop OS.

show_in_portal bool

Specifies whether to show the RemoteApp program in the RD Web Access server.

applicationGroupId String

Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.

commandLineArgumentPolicy String

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all. Possible values include: DoNotAllow, Allow, Require.

commandLineArguments String

Command Line Arguments for Virtual Desktop Application.

description String

Option to set a description for the Virtual Desktop Application.

friendlyName String

Option to set a friendly name for the Virtual Desktop Application.

iconIndex Number

The index of the icon you wish to use.

iconPath String

Specifies the path for an icon which will be used for this Virtual Desktop Application.

name String

The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.

path String

The file path location of the app on the Virtual Desktop OS.

showInPortal Boolean

Specifies whether to show the RemoteApp program in the RD Web Access server.

Import

Virtual Desktop Application can be imported using the resource id, e.g.

 $ pulumi import azure:desktopvirtualization/application:Application example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/myapplicationgroup/applications/myapplication

Package Details

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

This Pulumi package is based on the azurerm Terraform Provider.