GroupArgs

data class GroupArgs(val eTag: Output<String>? = null, val groupName: Output<String>? = null, val projectName: Output<String>? = null, val properties: Output<GroupPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<GroupArgs>

A group created in a Migration project. Uses Azure REST API version 2019-10-01. In version 2.x of the Azure Native provider, it used API version 2019-10-01.

Example Usage

Groups_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var @group = new AzureNative.Migrate.Group("group", new()
{
ETag = "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
GroupName = "Group2",
ProjectName = "abgoyalWEselfhostb72bproject",
Properties = null,
ResourceGroupName = "abgoyal-westEurope",
});
});
package main
import (
migrate "github.com/pulumi/pulumi-azure-native-sdk/migrate/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := migrate.NewGroup(ctx, "group", &migrate.GroupArgs{
ETag: pulumi.String("\"1e000c2c-0000-0d00-0000-5cdaa4190000\""),
GroupName: pulumi.String("Group2"),
ProjectName: pulumi.String("abgoyalWEselfhostb72bproject"),
Properties: &migrate.GroupPropertiesArgs{},
ResourceGroupName: pulumi.String("abgoyal-westEurope"),
})
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.migrate.Group;
import com.pulumi.azurenative.migrate.GroupArgs;
import com.pulumi.azurenative.migrate.inputs.GroupPropertiesArgs;
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 group = new Group("group", GroupArgs.builder()
.eTag("\"1e000c2c-0000-0d00-0000-5cdaa4190000\"")
.groupName("Group2")
.projectName("abgoyalWEselfhostb72bproject")
.properties(GroupPropertiesArgs.builder()
.build())
.resourceGroupName("abgoyal-westEurope")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:migrate:Group Group2 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}

Constructors

Link copied to clipboard
constructor(eTag: Output<String>? = null, groupName: Output<String>? = null, projectName: Output<String>? = null, properties: Output<GroupPropertiesArgs>? = null, resourceGroupName: Output<String>? = null)

Properties

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

For optimistic concurrency control.

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

Unique name of a group within a project.

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

Name of the Azure Migrate project.

Link copied to clipboard
val properties: Output<GroupPropertiesArgs>? = null

Properties of the group.

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

Name of the Azure Resource Group that project is part of.

Functions

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