Application Group Args
data class ApplicationGroupArgs(val applicationGroupName: Output<String>? = null, val applicationGroupType: Output<Either<String, ApplicationGroupType>>? = null, val description: Output<String>? = null, val friendlyName: Output<String>? = null, val hostPoolArmPath: Output<String>? = null, val identity: Output<ResourceModelWithAllowedPropertySetIdentityArgs>? = null, val kind: Output<String>? = null, val location: Output<String>? = null, val managedBy: Output<String>? = null, val migrationRequest: Output<MigrationRequestPropertiesArgs>? = null, val plan: Output<ResourceModelWithAllowedPropertySetPlanArgs>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<ResourceModelWithAllowedPropertySetSkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ApplicationGroupArgs>
Represents a ApplicationGroup definition. API Version: 2021-02-01-preview.
Example Usage
ApplicationGroup_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var applicationGroup = new AzureNative.DesktopVirtualization.ApplicationGroup("applicationGroup", new()
{
ApplicationGroupName = "applicationGroup1",
ApplicationGroupType = "RemoteApp",
Description = "des1",
FriendlyName = "friendly",
HostPoolArmPath = "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
Location = "centralus",
MigrationRequest = new AzureNative.DesktopVirtualization.Inputs.MigrationRequestPropertiesArgs
{
MigrationPath = "TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{sessionHostPool.Name}",
Operation = "Start",
},
ResourceGroupName = "resourceGroup1",
Tags =
{
{ "tag1", "value1" },
{ "tag2", "value2" },
},
});
});
Content copied to clipboard
package main
import (
desktopvirtualization "github.com/pulumi/pulumi-azure-native-sdk/desktopvirtualization"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := desktopvirtualization.NewApplicationGroup(ctx, "applicationGroup", &desktopvirtualization.ApplicationGroupArgs{
ApplicationGroupName: pulumi.String("applicationGroup1"),
ApplicationGroupType: pulumi.String("RemoteApp"),
Description: pulumi.String("des1"),
FriendlyName: pulumi.String("friendly"),
HostPoolArmPath: pulumi.String("/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1"),
Location: pulumi.String("centralus"),
MigrationRequest: &desktopvirtualization.MigrationRequestPropertiesArgs{
MigrationPath: pulumi.String("TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{sessionHostPool.Name}"),
Operation: pulumi.String("Start"),
},
ResourceGroupName: pulumi.String("resourceGroup1"),
Tags: pulumi.StringMap{
"tag1": pulumi.String("value1"),
"tag2": pulumi.String("value2"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.desktopvirtualization.ApplicationGroup;
import com.pulumi.azurenative.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 applicationGroup = new ApplicationGroup("applicationGroup", ApplicationGroupArgs.builder()
.applicationGroupName("applicationGroup1")
.applicationGroupType("RemoteApp")
.description("des1")
.friendlyName("friendly")
.hostPoolArmPath("/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1")
.location("centralus")
.migrationRequest(Map.ofEntries(
Map.entry("migrationPath", "TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{sessionHostPool.Name}"),
Map.entry("operation", "Start")
))
.resourceGroupName("resourceGroup1")
.tags(Map.ofEntries(
Map.entry("tag1", "value1"),
Map.entry("tag2", "value2")
))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:desktopvirtualization:ApplicationGroup applicationGroup1 /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(applicationGroupName: Output<String>? = null, applicationGroupType: Output<Either<String, ApplicationGroupType>>? = null, description: Output<String>? = null, friendlyName: Output<String>? = null, hostPoolArmPath: Output<String>? = null, identity: Output<ResourceModelWithAllowedPropertySetIdentityArgs>? = null, kind: Output<String>? = null, location: Output<String>? = null, managedBy: Output<String>? = null, migrationRequest: Output<MigrationRequestPropertiesArgs>? = null, plan: Output<ResourceModelWithAllowedPropertySetPlanArgs>? = null, resourceGroupName: Output<String>? = null, sku: Output<ResourceModelWithAllowedPropertySetSkuArgs>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
The name of the application group
Link copied to clipboard
Resource Type of ApplicationGroup.
Link copied to clipboard
Description of ApplicationGroup.
Link copied to clipboard
Friendly name of ApplicationGroup.
Link copied to clipboard
HostPool arm path of ApplicationGroup.
Link copied to clipboard
Link copied to clipboard
The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
Link copied to clipboard
The registration info of HostPool.
Link copied to clipboard
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard