Azure Desktop Virtualization Application
This page shows how to write Terraform and Azure Resource Manager for Desktop Virtualization Application and write them securely.
azurerm_virtual_desktop_application (Terraform)
The Application in Desktop Virtualization can be configured in Terraform with the resource name azurerm_virtual_desktop_application
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_virtual_desktop_application" "da" {
name = var.settings.name
application_group_id = var.application_group_id
friendly_name = try(var.settings.friendly_name, null)
description = try(var.settings.description, null)
path = var.settings.path
resource "azurerm_virtual_desktop_application" "da" {
name = var.settings.name
application_group_id = var.application_group_id
friendly_name = try(var.settings.friendly_name, null)
description = try(var.settings.description, null)
path = var.settings.path
Parameters
The following arguments are supported:
name
- (Required) The name of the Virtual Desktop Application. Changing the name forces a new resource to be created.application_group_id
- (Required) Resource ID for a Virtual Desktop Application Group to associate with the Virtual Desktop Application. Changing the ID forces a new resource to be created.friendly_name
- (Optional) Option to set a friendly name for the Virtual Desktop Application.description
- (Optional) Option to set a description for the Virtual Desktop Application.path
- (Required) The file path location of the app on the Virtual Desktop OS.command_line_argument_policy
- (Required) 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. Possible values include:DoNotAllow
,Allow
,Require
.command_line_arguments
- (Optional) Command Line Arguments for Virtual Desktop Application.show_in_portal
- (Optional) Specifies whether to show the RemoteApp program in the RD Web Access server.icon_path
- (Optional) Specifies the path for an icon which will be used for this Virtual Desktop Application.icon_index
- (Optional) The index of the icon you wish to use.
The following attributes are exported:
id
- The ID of the Virtual Desktop Application.
Explanation in Terraform Registry
Manages a Virtual Desktop Application.
Microsoft.DesktopVirtualization/applicationGroups/applications (Azure Resource Manager)
The applicationGroups/applications in Microsoft.DesktopVirtualization can be configured in Azure Resource Manager with the resource name Microsoft.DesktopVirtualization/applicationGroups/applications
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersion
required - stringname
required - stringThe name of the application within the specified application group
properties
requiredapplicationType
optional - stringResource Type of Application.
commandLineArguments
optional - stringCommand Line Arguments for Application.
commandLineSetting
required - stringSpecifies 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.
description
optional - stringDescription of Application.
filePath
optional - stringSpecifies a path for the executable file for the application.
friendlyName
optional - stringFriendly name of Application.
iconIndex
optional - integerIndex of the icon.
iconPath
optional - stringPath to icon.
msixPackageApplicationId
optional - stringSpecifies the package application Id for MSIX applications
msixPackageFamilyName
optional - stringSpecifies the package family name for MSIX applications
showInPortal
optional - booleanSpecifies whether to show the RemoteApp program in the RD Web Access server.
type
required - string
Frequently asked questions
What is Azure Desktop Virtualization Application?
Azure Desktop Virtualization Application is a resource for Desktop Virtualization of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Desktop Virtualization Application?
For Terraform, the aztfmod/terraform-azurerm-caf and pkhuntia/aztfmod source code examples are useful. See the Terraform Example section for further details.