1. Packages
  2. Azure Native v1
  3. API Docs
  4. migrate
  5. Group
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.migrate.Group

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    A group created in a Migration project. 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"
    	"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:        nil,
    			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 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()
                .resourceGroupName("abgoyal-westEurope")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    group = azure_native.migrate.Group("group",
        e_tag="\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
        group_name="Group2",
        project_name="abgoyalWEselfhostb72bproject",
        properties=azure_native.migrate.GroupPropertiesArgs(),
        resource_group_name="abgoyal-westEurope")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const group = new azure_native.migrate.Group("group", {
        eTag: "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
        groupName: "Group2",
        projectName: "abgoyalWEselfhostb72bproject",
        properties: {},
        resourceGroupName: "abgoyal-westEurope",
    });
    
    resources:
      group:
        type: azure-native:migrate:Group
        properties:
          eTag: '"1e000c2c-0000-0d00-0000-5cdaa4190000"'
          groupName: Group2
          projectName: abgoyalWEselfhostb72bproject
          properties: {}
          resourceGroupName: abgoyal-westEurope
    

    Create Group Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Group(name: string, args: GroupArgs, opts?: CustomResourceOptions);
    @overload
    def Group(resource_name: str,
              args: GroupArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Group(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              project_name: Optional[str] = None,
              properties: Optional[GroupPropertiesArgs] = None,
              resource_group_name: Optional[str] = None,
              e_tag: Optional[str] = None,
              group_name: Optional[str] = None)
    func NewGroup(ctx *Context, name string, args GroupArgs, opts ...ResourceOption) (*Group, error)
    public Group(string name, GroupArgs args, CustomResourceOptions? opts = null)
    public Group(String name, GroupArgs args)
    public Group(String name, GroupArgs args, CustomResourceOptions options)
    
    type: azure-native:migrate:Group
    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 GroupArgs
    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 GroupArgs
    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 GroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GroupArgs
    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_nativeGroupResource = new AzureNative.Migrate.Group("azure-nativeGroupResource", new()
    {
        ProjectName = "string",
        Properties = 
        {
            { "groupType", "string" },
        },
        ResourceGroupName = "string",
        ETag = "string",
        GroupName = "string",
    });
    
    example, err := migrate.NewGroup(ctx, "azure-nativeGroupResource", &migrate.GroupArgs{
    	ProjectName: "string",
    	Properties: map[string]interface{}{
    		"groupType": "string",
    	},
    	ResourceGroupName: "string",
    	ETag:              "string",
    	GroupName:         "string",
    })
    
    var azure_nativeGroupResource = new Group("azure-nativeGroupResource", GroupArgs.builder()
        .projectName("string")
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .resourceGroupName("string")
        .eTag("string")
        .groupName("string")
        .build());
    
    azure_native_group_resource = azure_native.migrate.Group("azure-nativeGroupResource",
        project_name=string,
        properties={
            groupType: string,
        },
        resource_group_name=string,
        e_tag=string,
        group_name=string)
    
    const azure_nativeGroupResource = new azure_native.migrate.Group("azure-nativeGroupResource", {
        projectName: "string",
        properties: {
            groupType: "string",
        },
        resourceGroupName: "string",
        eTag: "string",
        groupName: "string",
    });
    
    type: azure-native:migrate:Group
    properties:
        eTag: string
        groupName: string
        projectName: string
        properties:
            groupType: string
        resourceGroupName: string
    

    Group 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 Group resource accepts the following input properties:

    ProjectName string
    Name of the Azure Migrate project.
    Properties Pulumi.AzureNative.Migrate.Inputs.GroupProperties
    Properties of the group.
    ResourceGroupName string
    Name of the Azure Resource Group that project is part of.
    ETag string
    For optimistic concurrency control.
    GroupName string
    Unique name of a group within a project.
    ProjectName string
    Name of the Azure Migrate project.
    Properties GroupPropertiesArgs
    Properties of the group.
    ResourceGroupName string
    Name of the Azure Resource Group that project is part of.
    ETag string
    For optimistic concurrency control.
    GroupName string
    Unique name of a group within a project.
    projectName String
    Name of the Azure Migrate project.
    properties GroupProperties
    Properties of the group.
    resourceGroupName String
    Name of the Azure Resource Group that project is part of.
    eTag String
    For optimistic concurrency control.
    groupName String
    Unique name of a group within a project.
    projectName string
    Name of the Azure Migrate project.
    properties GroupProperties
    Properties of the group.
    resourceGroupName string
    Name of the Azure Resource Group that project is part of.
    eTag string
    For optimistic concurrency control.
    groupName string
    Unique name of a group within a project.
    project_name str
    Name of the Azure Migrate project.
    properties GroupPropertiesArgs
    Properties of the group.
    resource_group_name str
    Name of the Azure Resource Group that project is part of.
    e_tag str
    For optimistic concurrency control.
    group_name str
    Unique name of a group within a project.
    projectName String
    Name of the Azure Migrate project.
    properties Property Map
    Properties of the group.
    resourceGroupName String
    Name of the Azure Resource Group that project is part of.
    eTag String
    For optimistic concurrency control.
    groupName String
    Unique name of a group within a project.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the group.
    Type string
    Type of the object = [Microsoft.Migrate/assessmentProjects/groups].
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the group.
    Type string
    Type of the object = [Microsoft.Migrate/assessmentProjects/groups].
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the group.
    type String
    Type of the object = [Microsoft.Migrate/assessmentProjects/groups].
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the group.
    type string
    Type of the object = [Microsoft.Migrate/assessmentProjects/groups].
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the group.
    type str
    Type of the object = [Microsoft.Migrate/assessmentProjects/groups].
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the group.
    type String
    Type of the object = [Microsoft.Migrate/assessmentProjects/groups].

    Supporting Types

    GroupProperties, GroupPropertiesArgs

    GroupType string
    The type of group.
    GroupType string
    The type of group.
    groupType String
    The type of group.
    groupType string
    The type of group.
    group_type str
    The type of group.
    groupType String
    The type of group.

    GroupPropertiesResponse, GroupPropertiesResponseArgs

    AreAssessmentsRunning bool
    If the assessments are in running state.
    Assessments List<string>
    List of References to Assessments created on this group.
    CreatedTimestamp string
    Time when this group was created. Date-Time represented in ISO-8601 format.
    GroupStatus string
    Whether the group has been created and is valid.
    MachineCount int
    Number of machines part of this group.
    UpdatedTimestamp string
    Time when this group was last updated. Date-Time represented in ISO-8601 format.
    GroupType string
    The type of group.
    AreAssessmentsRunning bool
    If the assessments are in running state.
    Assessments []string
    List of References to Assessments created on this group.
    CreatedTimestamp string
    Time when this group was created. Date-Time represented in ISO-8601 format.
    GroupStatus string
    Whether the group has been created and is valid.
    MachineCount int
    Number of machines part of this group.
    UpdatedTimestamp string
    Time when this group was last updated. Date-Time represented in ISO-8601 format.
    GroupType string
    The type of group.
    areAssessmentsRunning Boolean
    If the assessments are in running state.
    assessments List<String>
    List of References to Assessments created on this group.
    createdTimestamp String
    Time when this group was created. Date-Time represented in ISO-8601 format.
    groupStatus String
    Whether the group has been created and is valid.
    machineCount Integer
    Number of machines part of this group.
    updatedTimestamp String
    Time when this group was last updated. Date-Time represented in ISO-8601 format.
    groupType String
    The type of group.
    areAssessmentsRunning boolean
    If the assessments are in running state.
    assessments string[]
    List of References to Assessments created on this group.
    createdTimestamp string
    Time when this group was created. Date-Time represented in ISO-8601 format.
    groupStatus string
    Whether the group has been created and is valid.
    machineCount number
    Number of machines part of this group.
    updatedTimestamp string
    Time when this group was last updated. Date-Time represented in ISO-8601 format.
    groupType string
    The type of group.
    are_assessments_running bool
    If the assessments are in running state.
    assessments Sequence[str]
    List of References to Assessments created on this group.
    created_timestamp str
    Time when this group was created. Date-Time represented in ISO-8601 format.
    group_status str
    Whether the group has been created and is valid.
    machine_count int
    Number of machines part of this group.
    updated_timestamp str
    Time when this group was last updated. Date-Time represented in ISO-8601 format.
    group_type str
    The type of group.
    areAssessmentsRunning Boolean
    If the assessments are in running state.
    assessments List<String>
    List of References to Assessments created on this group.
    createdTimestamp String
    Time when this group was created. Date-Time represented in ISO-8601 format.
    groupStatus String
    Whether the group has been created and is valid.
    machineCount Number
    Number of machines part of this group.
    updatedTimestamp String
    Time when this group was last updated. Date-Time represented in ISO-8601 format.
    groupType String
    The type of group.

    Import

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

    $ pulumi import azure-native:migrate:Group Group2 /subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi