azure-native.desktopvirtualization.Application

Explore with Pulumi AI

Schema for Application properties. API Version: 2021-02-01-preview.

Example Usage

Application_Create

using System.Collections.Generic;
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 = "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/go/azure/desktopvirtualization"
	"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("Allow"),
			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="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: "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

new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                application_group_name: Optional[str] = None,
                application_name: Optional[str] = None,
                application_type: Optional[Union[str, RemoteApplicationType]] = None,
                command_line_arguments: Optional[str] = None,
                command_line_setting: Optional[Union[str, CommandLineSetting]] = None,
                description: Optional[str] = None,
                file_path: Optional[str] = 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,
                resource_group_name: 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-native: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:

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)

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)

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)

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)

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)

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)

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

CommandLineSetting

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

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

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/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0