1. Packages
  2. Azure Native
  3. API Docs
  4. desktopvirtualization
  5. Application
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.desktopvirtualization.Application

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    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.

    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 (
    	"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 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)
    
    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,
    });
    
    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.

    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

    The Application resource accepts the following input properties:

    ApplicationGroupName string
    The name of the application group
    CommandLineSetting string | Pulumi.AzureNative.DesktopVirtualization.CommandLineSetting
    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.
    ResourceGroupName string
    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.AzureNative.DesktopVirtualization.RemoteApplicationType
    Resource Type of Application.
    CommandLineArguments string
    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.
    MsixPackageApplicationId string
    Specifies the package application Id for MSIX applications
    MsixPackageFamilyName string
    Specifies the package family name for MSIX applications
    ShowInPortal bool
    Specifies whether to show the RemoteApp program in the RD Web Access server.
    ApplicationGroupName string
    The name of the application group
    CommandLineSetting string | CommandLineSetting
    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.
    ResourceGroupName string
    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 | RemoteApplicationType
    Resource Type of Application.
    CommandLineArguments string
    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.
    MsixPackageApplicationId string
    Specifies the package application Id for MSIX applications
    MsixPackageFamilyName string
    Specifies the package family name for MSIX applications
    ShowInPortal bool
    Specifies whether to show the RemoteApp program in the RD Web Access server.
    applicationGroupName String
    The name of the application group
    commandLineSetting String | CommandLineSetting
    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.
    resourceGroupName String
    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 | RemoteApplicationType
    Resource Type of Application.
    commandLineArguments String
    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.
    msixPackageApplicationId String
    Specifies the package application Id for MSIX applications
    msixPackageFamilyName String
    Specifies the package family name for MSIX applications
    showInPortal Boolean
    Specifies whether to show the RemoteApp program in the RD Web Access server.
    applicationGroupName string
    The name of the application group
    commandLineSetting string | CommandLineSetting
    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.
    resourceGroupName string
    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 | RemoteApplicationType
    Resource Type of Application.
    commandLineArguments string
    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.
    msixPackageApplicationId string
    Specifies the package application Id for MSIX applications
    msixPackageFamilyName string
    Specifies the package family name for MSIX applications
    showInPortal boolean
    Specifies whether to show the RemoteApp program in the RD Web Access server.
    application_group_name str
    The name of the application group
    command_line_setting str | CommandLineSetting
    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_name str
    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 | RemoteApplicationType
    Resource Type of Application.
    command_line_arguments str
    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_application_id str
    Specifies the package application Id for MSIX applications
    msix_package_family_name str
    Specifies the package family name for MSIX applications
    show_in_portal bool
    Specifies whether to show the RemoteApp program in the RD Web Access server.
    applicationGroupName String
    The name of the application group
    commandLineSetting String | "DoNotAllow" | "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.
    resourceGroupName String
    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" | "MsixApplication"
    Resource Type of Application.
    commandLineArguments String
    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.
    msixPackageApplicationId String
    Specifies the package application Id for MSIX applications
    msixPackageFamilyName String
    Specifies the package family name for MSIX applications
    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:

    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.AzureNative.DesktopVirtualization.Outputs.SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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

    DoNotAllow
    DoNotAllow
    Allow
    Allow
    Require
    Require
    CommandLineSettingDoNotAllow
    DoNotAllow
    CommandLineSettingAllow
    Allow
    CommandLineSettingRequire
    Require
    DoNotAllow
    DoNotAllow
    Allow
    Allow
    Require
    Require
    DoNotAllow
    DoNotAllow
    Allow
    Allow
    Require
    Require
    DO_NOT_ALLOW
    DoNotAllow
    ALLOW
    Allow
    REQUIRE
    Require
    "DoNotAllow"
    DoNotAllow
    "Allow"
    Allow
    "Require"
    Require

    RemoteApplicationType, RemoteApplicationTypeArgs

    InBuilt
    InBuilt
    MsixApplication
    MsixApplication
    RemoteApplicationTypeInBuilt
    InBuilt
    RemoteApplicationTypeMsixApplication
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi