Application

class Application : KotlinCustomResource

Schema for Application properties. Uses Azure REST API version 2024-04-03. In version 2.x of the Azure Native provider, it used API version 2022-09-09. Other available API versions: 2022-09-09, 2022-10-14-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-08-preview, 2024-08-08-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native desktopvirtualization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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

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}

Properties

Link copied to clipboard
val applicationType: Output<String>?

Resource Type of Application.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Command Line Arguments for Application.

Link copied to clipboard

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.

Link copied to clipboard
val description: Output<String>?

Description of Application.

Link copied to clipboard
val filePath: Output<String>?

Specifies a path for the executable file for the application.

Link copied to clipboard
val friendlyName: Output<String>?

Friendly name of Application.

Link copied to clipboard
val iconContent: Output<String>

the icon a 64 bit string as a byte array.

Link copied to clipboard
val iconHash: Output<String>

Hash of the icon.

Link copied to clipboard
val iconIndex: Output<Int>?

Index of the icon.

Link copied to clipboard
val iconPath: Output<String>?

Path to icon.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Specifies the package application Id for MSIX applications

Link copied to clipboard

Specifies the package family name for MSIX applications

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val objectId: Output<String>

ObjectId of Application. (internal use)

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val showInPortal: Output<Boolean>?

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

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val type: Output<String>

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

Link copied to clipboard
val urn: Output<String>