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.
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 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.
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
The Application resource accepts the following input properties:
- Application
Group stringName - The name of the application group
- Command
Line 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.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Application
Name string - The name of the application within the specified application group
- Application
Type string | Pulumi.Azure Native. Desktop Virtualization. Remote Application Type - Resource Type of Application.
- Command
Line stringArguments - Command Line Arguments for Application.
- Description string
- Description of Application.
- File
Path string - Specifies a path for the executable file for the application.
- Friendly
Name string - Friendly name of Application.
- Icon
Index int - Index of the icon.
- Icon
Path string - Path to icon.
- Msix
Package stringApplication Id - Specifies the package application Id for MSIX applications
- Msix
Package stringFamily 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.
- Application
Group stringName - The name of the application group
- Command
Line 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.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Application
Name string - The name of the application within the specified application group
- Application
Type string | RemoteApplication Type - Resource Type of Application.
- Command
Line stringArguments - Command Line Arguments for Application.
- Description string
- Description of Application.
- File
Path string - Specifies a path for the executable file for the application.
- Friendly
Name string - Friendly name of Application.
- Icon
Index int - Index of the icon.
- Icon
Path string - Path to icon.
- Msix
Package stringApplication Id - Specifies the package application Id for MSIX applications
- Msix
Package stringFamily 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.
- application
Group StringName - The name of the application group
- command
Line 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- application
Name String - The name of the application within the specified application group
- application
Type String | RemoteApplication Type - Resource Type of Application.
- command
Line StringArguments - Command Line Arguments for Application.
- description String
- Description of Application.
- file
Path String - Specifies a path for the executable file for the application.
- friendly
Name String - Friendly name of Application.
- icon
Index Integer - Index of the icon.
- icon
Path String - Path to icon.
- msix
Package StringApplication Id - Specifies the package application Id for MSIX applications
- msix
Package StringFamily Name - Specifies the package family name for MSIX applications
- show
In BooleanPortal - Specifies whether to show the RemoteApp program in the RD Web Access server.
- application
Group stringName - The name of the application group
- command
Line 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.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- application
Name string - The name of the application within the specified application group
- application
Type string | RemoteApplication Type - Resource Type of Application.
- command
Line stringArguments - Command Line Arguments for Application.
- description string
- Description of Application.
- file
Path string - Specifies a path for the executable file for the application.
- friendly
Name string - Friendly name of Application.
- icon
Index number - Index of the icon.
- icon
Path string - Path to icon.
- msix
Package stringApplication Id - Specifies the package application Id for MSIX applications
- msix
Package stringFamily Name - Specifies the package family name for MSIX applications
- show
In 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.
- application
Group StringName - The name of the application group
- command
Line 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- application
Name String - The name of the application within the specified application group
- application
Type String | "InBuilt" | "Msix Application" - Resource Type of Application.
- command
Line StringArguments - Command Line Arguments for Application.
- description String
- Description of Application.
- file
Path String - Specifies a path for the executable file for the application.
- friendly
Name String - Friendly name of Application.
- icon
Index Number - Index of the icon.
- icon
Path String - Path to icon.
- msix
Package StringApplication Id - Specifies the package application Id for MSIX applications
- msix
Package StringFamily Name - Specifies the package family name for MSIX applications
- show
In 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:
- Icon
Content string - the icon a 64 bit string as a byte array.
- Icon
Hash string - Hash of the icon.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Object
Id string - ObjectId of Application. (internal use)
- System
Data 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"
- Icon
Content string - the icon a 64 bit string as a byte array.
- Icon
Hash string - Hash of the icon.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Object
Id string - ObjectId of Application. (internal use)
- System
Data 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 String - the icon a 64 bit string as a byte array.
- icon
Hash String - Hash of the icon.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- object
Id String - ObjectId of Application. (internal use)
- system
Data 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 string - the icon a 64 bit string as a byte array.
- icon
Hash string - Hash of the icon.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- object
Id string - ObjectId of Application. (internal use)
- system
Data 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"
- icon
Content String - the icon a 64 bit string as a byte array.
- icon
Hash String - Hash of the icon.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- object
Id String - ObjectId of Application. (internal use)
- system
Data 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
- Do
Not Allow - DoNotAllow
- Allow
- Allow
- Require
- Require
- Command
Line Setting Do Not Allow - DoNotAllow
- Command
Line Setting Allow - Allow
- Command
Line Setting Require - Require
- Do
Not Allow - DoNotAllow
- Allow
- Allow
- Require
- Require
- Do
Not Allow - DoNotAllow
- Allow
- Allow
- Require
- Require
- DO_NOT_ALLOW
- DoNotAllow
- ALLOW
- Allow
- REQUIRE
- Require
- "Do
Not Allow" - DoNotAllow
- "Allow"
- Allow
- "Require"
- Require
RemoteApplicationType, RemoteApplicationTypeArgs
- In
Built - InBuilt
- Msix
Application - MsixApplication
- Remote
Application Type In Built - InBuilt
- Remote
Application Type Msix Application - MsixApplication
- In
Built - InBuilt
- Msix
Application - MsixApplication
- In
Built - InBuilt
- Msix
Application - MsixApplication
- IN_BUILT
- InBuilt
- MSIX_APPLICATION
- MsixApplication
- "In
Built" - InBuilt
- "Msix
Application" - MsixApplication
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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