import * as pulumi from "@pulumi/pulumi"; /** * Manages a Virtual Desktop Application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "rg-example-virtualdesktop", * location: "West Europe", * }); * const pooledbreadthfirst = new azure.desktopvirtualization.HostPool("pooledbreadthfirst", { * name: "pooledbreadthfirst", * location: example.location, * resourceGroupName: example.name, * type: "Pooled", * loadBalancerType: "BreadthFirst", * }); * const personalautomatic = new azure.desktopvirtualization.HostPool("personalautomatic", { * name: "personalautomatic", * location: example.location, * resourceGroupName: example.name, * type: "Personal", * personalDesktopAssignmentType: "Automatic", * loadBalancerType: "BreadthFirst", * }); * const remoteapp = new azure.desktopvirtualization.ApplicationGroup("remoteapp", { * name: "acctag", * 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", { * name: "googlechrome", * 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, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DesktopVirtualization` - 2024-04-03 * * ## Import * * Virtual Desktop Application can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:desktopvirtualization/application:Application example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/myapplicationgroup/applications/myapplication * ``` */ export declare class Application extends pulumi.CustomResource { /** * Get an existing Application resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application; /** * Returns true if the given object is an instance of Application. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Application; /** * Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing this forces a new resource to be created. */ readonly applicationGroupId: pulumi.Output; /** * 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`. */ readonly commandLineArgumentPolicy: pulumi.Output; /** * Command Line Arguments for Virtual Desktop Application. */ readonly commandLineArguments: pulumi.Output; /** * Option to set a description for the Virtual Desktop Application. */ readonly description: pulumi.Output; /** * Option to set a friendly name for the Virtual Desktop Application. */ readonly friendlyName: pulumi.Output; /** * The index of the icon you wish to use. */ readonly iconIndex: pulumi.Output; /** * Specifies the path for an icon which will be used for this Virtual Desktop Application. */ readonly iconPath: pulumi.Output; /** * The name of the Virtual Desktop Application. Changing the name forces a new resource to be created. */ readonly name: pulumi.Output; /** * The file path location of the app on the Virtual Desktop OS. */ readonly path: pulumi.Output; /** * Specifies whether to show the RemoteApp program in the RD Web Access server. */ readonly showInPortal: pulumi.Output; /** * Create a Application resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Application resources. */ export interface ApplicationState { /** * Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing this forces a new resource to be created. */ applicationGroupId?: pulumi.Input; /** * 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`. */ commandLineArgumentPolicy?: pulumi.Input; /** * Command Line Arguments for Virtual Desktop Application. */ commandLineArguments?: pulumi.Input; /** * Option to set a description for the Virtual Desktop Application. */ description?: pulumi.Input; /** * Option to set a friendly name for the Virtual Desktop Application. */ friendlyName?: pulumi.Input; /** * The index of the icon you wish to use. */ iconIndex?: pulumi.Input; /** * Specifies the path for an icon which will be used for this Virtual Desktop Application. */ iconPath?: pulumi.Input; /** * The name of the Virtual Desktop Application. Changing the name forces a new resource to be created. */ name?: pulumi.Input; /** * The file path location of the app on the Virtual Desktop OS. */ path?: pulumi.Input; /** * Specifies whether to show the RemoteApp program in the RD Web Access server. */ showInPortal?: pulumi.Input; } /** * The set of arguments for constructing a Application resource. */ export interface ApplicationArgs { /** * Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing this forces a new resource to be created. */ applicationGroupId: pulumi.Input; /** * 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`. */ commandLineArgumentPolicy: pulumi.Input; /** * Command Line Arguments for Virtual Desktop Application. */ commandLineArguments?: pulumi.Input; /** * Option to set a description for the Virtual Desktop Application. */ description?: pulumi.Input; /** * Option to set a friendly name for the Virtual Desktop Application. */ friendlyName?: pulumi.Input; /** * The index of the icon you wish to use. */ iconIndex?: pulumi.Input; /** * Specifies the path for an icon which will be used for this Virtual Desktop Application. */ iconPath?: pulumi.Input; /** * The name of the Virtual Desktop Application. Changing the name forces a new resource to be created. */ name?: pulumi.Input; /** * The file path location of the app on the Virtual Desktop OS. */ path: pulumi.Input; /** * Specifies whether to show the RemoteApp program in the RD Web Access server. */ showInPortal?: pulumi.Input; }