azure-native.desktopvirtualization.Application
Explore with Pulumi AI
Schema for Application properties. Azure REST API version: 2022-09-09. Prior API version in Azure Native 1.x: 2021-02-01-preview.
Other available API versions: 2022-10-14-preview, 2023-07-07-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-03, 2024-04-08-preview, 2024-08-08-preview.
Example Usage
Application_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var application = new AzureNative.DesktopVirtualization.Application("application", new()
    {
        ApplicationGroupName = "applicationGroup1",
        ApplicationName = "application1",
        CommandLineArguments = "arguments",
        CommandLineSetting = AzureNative.DesktopVirtualization.CommandLineSetting.Allow,
        Description = "des1",
        FilePath = "path",
        FriendlyName = "friendly",
        IconIndex = 1,
        IconPath = "icon",
        ResourceGroupName = "resourceGroup1",
        ShowInPortal = true,
    });
});
package main
import (
	desktopvirtualization "github.com/pulumi/pulumi-azure-native-sdk/desktopvirtualization/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := desktopvirtualization.NewApplication(ctx, "application", &desktopvirtualization.ApplicationArgs{
			ApplicationGroupName: pulumi.String("applicationGroup1"),
			ApplicationName:      pulumi.String("application1"),
			CommandLineArguments: pulumi.String("arguments"),
			CommandLineSetting:   pulumi.String(desktopvirtualization.CommandLineSettingAllow),
			Description:          pulumi.String("des1"),
			FilePath:             pulumi.String("path"),
			FriendlyName:         pulumi.String("friendly"),
			IconIndex:            pulumi.Int(1),
			IconPath:             pulumi.String("icon"),
			ResourceGroupName:    pulumi.String("resourceGroup1"),
			ShowInPortal:         pulumi.Bool(true),
		})
		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.azurenative.desktopvirtualization.Application;
import com.pulumi.azurenative.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 application = new Application("application", ApplicationArgs.builder()
            .applicationGroupName("applicationGroup1")
            .applicationName("application1")
            .commandLineArguments("arguments")
            .commandLineSetting("Allow")
            .description("des1")
            .filePath("path")
            .friendlyName("friendly")
            .iconIndex(1)
            .iconPath("icon")
            .resourceGroupName("resourceGroup1")
            .showInPortal(true)
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const application = new azure_native.desktopvirtualization.Application("application", {
    applicationGroupName: "applicationGroup1",
    applicationName: "application1",
    commandLineArguments: "arguments",
    commandLineSetting: azure_native.desktopvirtualization.CommandLineSetting.Allow,
    description: "des1",
    filePath: "path",
    friendlyName: "friendly",
    iconIndex: 1,
    iconPath: "icon",
    resourceGroupName: "resourceGroup1",
    showInPortal: true,
});
import pulumi
import pulumi_azure_native as azure_native
application = azure_native.desktopvirtualization.Application("application",
    application_group_name="applicationGroup1",
    application_name="application1",
    command_line_arguments="arguments",
    command_line_setting=azure_native.desktopvirtualization.CommandLineSetting.ALLOW,
    description="des1",
    file_path="path",
    friendly_name="friendly",
    icon_index=1,
    icon_path="icon",
    resource_group_name="resourceGroup1",
    show_in_portal=True)
resources:
  application:
    type: azure-native:desktopvirtualization:Application
    properties:
      applicationGroupName: applicationGroup1
      applicationName: application1
      commandLineArguments: arguments
      commandLineSetting: Allow
      description: des1
      filePath: path
      friendlyName: friendly
      iconIndex: 1
      iconPath: icon
      resourceGroupName: resourceGroup1
      showInPortal: true
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);@overload
def Application(resource_name: str,
                args: ApplicationArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                command_line_setting: Optional[Union[str, CommandLineSetting]] = None,
                resource_group_name: Optional[str] = None,
                application_group_name: Optional[str] = None,
                file_path: Optional[str] = None,
                command_line_arguments: Optional[str] = None,
                description: Optional[str] = None,
                application_type: Optional[Union[str, RemoteApplicationType]] = None,
                friendly_name: Optional[str] = None,
                icon_index: Optional[int] = None,
                icon_path: Optional[str] = None,
                msix_package_application_id: Optional[str] = None,
                msix_package_family_name: Optional[str] = None,
                application_name: Optional[str] = None,
                show_in_portal: Optional[bool] = 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-native:desktopvirtualization:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeApplicationResource = new AzureNative.DesktopVirtualization.Application("azure-nativeApplicationResource", new()
{
    CommandLineSetting = "string",
    ResourceGroupName = "string",
    ApplicationGroupName = "string",
    FilePath = "string",
    CommandLineArguments = "string",
    Description = "string",
    ApplicationType = "string",
    FriendlyName = "string",
    IconIndex = 0,
    IconPath = "string",
    MsixPackageApplicationId = "string",
    MsixPackageFamilyName = "string",
    ApplicationName = "string",
    ShowInPortal = false,
});
example, err := desktopvirtualization.NewApplication(ctx, "azure-nativeApplicationResource", &desktopvirtualization.ApplicationArgs{
	CommandLineSetting:       pulumi.String("string"),
	ResourceGroupName:        pulumi.String("string"),
	ApplicationGroupName:     pulumi.String("string"),
	FilePath:                 pulumi.String("string"),
	CommandLineArguments:     pulumi.String("string"),
	Description:              pulumi.String("string"),
	ApplicationType:          pulumi.String("string"),
	FriendlyName:             pulumi.String("string"),
	IconIndex:                pulumi.Int(0),
	IconPath:                 pulumi.String("string"),
	MsixPackageApplicationId: pulumi.String("string"),
	MsixPackageFamilyName:    pulumi.String("string"),
	ApplicationName:          pulumi.String("string"),
	ShowInPortal:             pulumi.Bool(false),
})
var azure_nativeApplicationResource = new Application("azure-nativeApplicationResource", ApplicationArgs.builder()
    .commandLineSetting("string")
    .resourceGroupName("string")
    .applicationGroupName("string")
    .filePath("string")
    .commandLineArguments("string")
    .description("string")
    .applicationType("string")
    .friendlyName("string")
    .iconIndex(0)
    .iconPath("string")
    .msixPackageApplicationId("string")
    .msixPackageFamilyName("string")
    .applicationName("string")
    .showInPortal(false)
    .build());
azure_native_application_resource = azure_native.desktopvirtualization.Application("azure-nativeApplicationResource",
    command_line_setting="string",
    resource_group_name="string",
    application_group_name="string",
    file_path="string",
    command_line_arguments="string",
    description="string",
    application_type="string",
    friendly_name="string",
    icon_index=0,
    icon_path="string",
    msix_package_application_id="string",
    msix_package_family_name="string",
    application_name="string",
    show_in_portal=False)
const azure_nativeApplicationResource = new azure_native.desktopvirtualization.Application("azure-nativeApplicationResource", {
    commandLineSetting: "string",
    resourceGroupName: "string",
    applicationGroupName: "string",
    filePath: "string",
    commandLineArguments: "string",
    description: "string",
    applicationType: "string",
    friendlyName: "string",
    iconIndex: 0,
    iconPath: "string",
    msixPackageApplicationId: "string",
    msixPackageFamilyName: "string",
    applicationName: "string",
    showInPortal: false,
});
type: azure-native:desktopvirtualization:Application
properties:
    applicationGroupName: string
    applicationName: string
    applicationType: string
    commandLineArguments: string
    commandLineSetting: string
    description: string
    filePath: string
    friendlyName: string
    iconIndex: 0
    iconPath: string
    msixPackageApplicationId: string
    msixPackageFamilyName: string
    resourceGroupName: string
    showInPortal: false
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Application resource accepts the following input properties:
- ApplicationGroup stringName 
- The name of the application group
- CommandLine string | Pulumi.Setting Azure Native. Desktop Virtualization. Command Line Setting 
- 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.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ApplicationName string
- The name of the application within the specified application group
- ApplicationType string | Pulumi.Azure Native. Desktop Virtualization. Remote Application Type 
- Resource Type of Application.
- CommandLine stringArguments 
- Command Line Arguments for Application.
- Description string
- Description of Application.
- FilePath string
- Specifies a path for the executable file for the application.
- FriendlyName string
- Friendly name of Application.
- IconIndex int
- Index of the icon.
- IconPath string
- Path to icon.
- MsixPackage stringApplication Id 
- Specifies the package application Id for MSIX applications
- MsixPackage stringFamily Name 
- Specifies the package family name for MSIX applications
- ShowIn boolPortal 
- Specifies whether to show the RemoteApp program in the RD Web Access server.
- ApplicationGroup stringName 
- The name of the application group
- CommandLine string | CommandSetting Line Setting 
- 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.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ApplicationName string
- The name of the application within the specified application group
- ApplicationType string | RemoteApplication Type 
- Resource Type of Application.
- CommandLine stringArguments 
- Command Line Arguments for Application.
- Description string
- Description of Application.
- FilePath string
- Specifies a path for the executable file for the application.
- FriendlyName string
- Friendly name of Application.
- IconIndex int
- Index of the icon.
- IconPath string
- Path to icon.
- MsixPackage stringApplication Id 
- Specifies the package application Id for MSIX applications
- MsixPackage stringFamily Name 
- Specifies the package family name for MSIX applications
- ShowIn boolPortal 
- Specifies whether to show the RemoteApp program in the RD Web Access server.
- applicationGroup StringName 
- The name of the application group
- commandLine String | CommandSetting Line Setting 
- 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.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- applicationName String
- The name of the application within the specified application group
- applicationType String | RemoteApplication Type 
- Resource Type of Application.
- commandLine StringArguments 
- Command Line Arguments for Application.
- description String
- Description of Application.
- filePath String
- Specifies a path for the executable file for the application.
- friendlyName String
- Friendly name of Application.
- iconIndex Integer
- Index of the icon.
- iconPath String
- Path to icon.
- msixPackage StringApplication Id 
- Specifies the package application Id for MSIX applications
- msixPackage StringFamily Name 
- Specifies the package family name for MSIX applications
- showIn BooleanPortal 
- Specifies whether to show the RemoteApp program in the RD Web Access server.
- applicationGroup stringName 
- The name of the application group
- commandLine string | CommandSetting Line Setting 
- 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.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- applicationName string
- The name of the application within the specified application group
- applicationType string | RemoteApplication Type 
- Resource Type of Application.
- commandLine stringArguments 
- Command Line Arguments for Application.
- description string
- Description of Application.
- filePath string
- Specifies a path for the executable file for the application.
- friendlyName string
- Friendly name of Application.
- iconIndex number
- Index of the icon.
- iconPath string
- Path to icon.
- msixPackage stringApplication Id 
- Specifies the package application Id for MSIX applications
- msixPackage stringFamily Name 
- Specifies the package family name for MSIX applications
- showIn booleanPortal 
- Specifies whether to show the RemoteApp program in the RD Web Access server.
- application_group_ strname 
- The name of the application group
- command_line_ str | Commandsetting Line Setting 
- 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.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- application_name str
- The name of the application within the specified application group
- application_type str | RemoteApplication Type 
- Resource Type of Application.
- command_line_ strarguments 
- Command Line Arguments for Application.
- description str
- Description of Application.
- file_path str
- Specifies a path for the executable file for the application.
- friendly_name str
- Friendly name of Application.
- icon_index int
- Index of the icon.
- icon_path str
- Path to icon.
- msix_package_ strapplication_ id 
- Specifies the package application Id for MSIX applications
- msix_package_ strfamily_ name 
- Specifies the package family name for MSIX applications
- show_in_ boolportal 
- Specifies whether to show the RemoteApp program in the RD Web Access server.
- applicationGroup StringName 
- The name of the application group
- commandLine String | "DoSetting Not Allow" | "Allow" | "Require" 
- 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.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- applicationName String
- The name of the application within the specified application group
- applicationType String | "InBuilt" | "Msix Application" 
- Resource Type of Application.
- commandLine StringArguments 
- Command Line Arguments for Application.
- description String
- Description of Application.
- filePath String
- Specifies a path for the executable file for the application.
- friendlyName String
- Friendly name of Application.
- iconIndex Number
- Index of the icon.
- iconPath String
- Path to icon.
- msixPackage StringApplication Id 
- Specifies the package application Id for MSIX applications
- msixPackage StringFamily Name 
- Specifies the package family name for MSIX applications
- showIn BooleanPortal 
- 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:
- IconContent string
- the icon a 64 bit string as a byte array.
- IconHash string
- Hash of the icon.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ObjectId string
- ObjectId of Application. (internal use)
- SystemData Pulumi.Azure Native. Desktop Virtualization. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- IconContent string
- the icon a 64 bit string as a byte array.
- IconHash string
- Hash of the icon.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ObjectId string
- ObjectId of Application. (internal use)
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- iconContent String
- the icon a 64 bit string as a byte array.
- iconHash String
- Hash of the icon.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- objectId String
- ObjectId of Application. (internal use)
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- iconContent string
- the icon a 64 bit string as a byte array.
- iconHash string
- Hash of the icon.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- objectId string
- ObjectId of Application. (internal use)
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- icon_content str
- the icon a 64 bit string as a byte array.
- icon_hash str
- Hash of the icon.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- object_id str
- ObjectId of Application. (internal use)
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- iconContent String
- the icon a 64 bit string as a byte array.
- iconHash String
- Hash of the icon.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- objectId String
- ObjectId of Application. (internal use)
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
CommandLineSetting, CommandLineSettingArgs      
- DoNot Allow 
- DoNotAllow
- Allow
- Allow
- Require
- Require
- CommandLine Setting Do Not Allow 
- DoNotAllow
- CommandLine Setting Allow 
- Allow
- CommandLine Setting Require 
- Require
- DoNot Allow 
- DoNotAllow
- Allow
- Allow
- Require
- Require
- DoNot Allow 
- DoNotAllow
- Allow
- Allow
- Require
- Require
- DO_NOT_ALLOW
- DoNotAllow
- ALLOW
- Allow
- REQUIRE
- Require
- "DoNot Allow" 
- DoNotAllow
- "Allow"
- Allow
- "Require"
- Require
RemoteApplicationType, RemoteApplicationTypeArgs      
- InBuilt 
- InBuilt
- MsixApplication 
- MsixApplication
- RemoteApplication Type In Built 
- InBuilt
- RemoteApplication Type Msix Application 
- MsixApplication
- InBuilt 
- InBuilt
- MsixApplication 
- MsixApplication
- InBuilt 
- InBuilt
- MsixApplication 
- MsixApplication
- IN_BUILT
- InBuilt
- MSIX_APPLICATION
- MsixApplication
- "InBuilt" 
- InBuilt
- "MsixApplication" 
- MsixApplication
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:desktopvirtualization:Application applicationGroup1/application1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0