ApplicationGroupArgs

data class ApplicationGroupArgs(val defaultDesktopDisplayName: Output<String>? = null, val description: Output<String>? = null, val friendlyName: Output<String>? = null, val hostPoolId: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null) : ConvertibleToJava<ApplicationGroupArgs>

Manages a Virtual Desktop Application Group.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.desktopvirtualization.HostPool;
import com.pulumi.azure.desktopvirtualization.HostPoolArgs;
import com.pulumi.azure.desktopvirtualization.ApplicationGroup;
import com.pulumi.azure.desktopvirtualization.ApplicationGroupArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var pooledbreadthfirst = new HostPool("pooledbreadthfirst", HostPoolArgs.builder()
.location(example.location())
.resourceGroupName(example.name())
.type("Pooled")
.loadBalancerType("BreadthFirst")
.build());
var personalautomatic = new HostPool("personalautomatic", HostPoolArgs.builder()
.location(example.location())
.resourceGroupName(example.name())
.type("Personal")
.personalDesktopAssignmentType("Automatic")
.loadBalancerType("BreadthFirst")
.build());
var remoteapp = new ApplicationGroup("remoteapp", ApplicationGroupArgs.builder()
.location(example.location())
.resourceGroupName(example.name())
.type("RemoteApp")
.hostPoolId(pooledbreadthfirst.id())
.friendlyName("TestAppGroup")
.description("Acceptance Test: An application group")
.build());
var desktopapp = new ApplicationGroup("desktopapp", ApplicationGroupArgs.builder()
.location(example.location())
.resourceGroupName(example.name())
.type("Desktop")
.hostPoolId(personalautomatic.id())
.friendlyName("TestAppGroup")
.description("Acceptance Test: An application group")
.build());
}
}

Import

Virtual Desktop Application Groups can be imported using the resource id, e.g.

$ pulumi import azure:desktopvirtualization/applicationGroup:ApplicationGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/myapplicationgroup

Constructors

Link copied to clipboard
fun ApplicationGroupArgs(defaultDesktopDisplayName: Output<String>? = null, description: Output<String>? = null, friendlyName: Output<String>? = null, hostPoolId: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ApplicationGroupArgs

Properties

Link copied to clipboard
val defaultDesktopDisplayName: Output<String>? = null

Option to set the display name for the default sessionDesktop desktop when type is set to Desktop.

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

Option to set a description for the Virtual Desktop Application Group.

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

Option to set a friendly name for the Virtual Desktop Application Group.

Link copied to clipboard
val hostPoolId: Output<String>? = null

Resource ID for a Virtual Desktop Host Pool to associate with the Virtual Desktop Application Group. Changing the name forces a new resource to be created.

Link copied to clipboard
val location: Output<String>? = null

The location/region where the Virtual Desktop Application Group is located. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>? = null

The name of the Virtual Desktop Application Group. Changing the name forces a new resource to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group in which to create the Virtual Desktop Application Group. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val type: Output<String>? = null

Type of Virtual Desktop Application Group. Valid options are RemoteApp or Desktop application groups. Changing this forces a new resource to be created.