1. Packages
  2. Azure Native
  3. API Docs
  4. migrate
  5. Task
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi

    Tasks resource.

    Uses Azure REST API version 2025-03-30-preview.

    Example Usage

    Tasks_Create_MaximumSet - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule - generated by [MaximumSet] rule

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var task = new AzureNative.Migrate.Task("task", new()
        {
            ProjectName = "myProjectName",
            Properties = new AzureNative.Migrate.Inputs.TaskPropertiesArgs
            {
                Description = "lzhl",
                DisplayName = "hhbrpibobilcoypvyiofvr",
                Scope = AzureNative.Migrate.TaskScope.Wave,
                ScopeId = "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave",
                Stage = "klaemxmckhvyoooxyauqglexjna",
                Status = "Pending",
            },
            ResourceGroupName = "rgwaves",
            TaskName = "myTaskName",
        });
    
    });
    
    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.NewTask(ctx, "task", &migrate.TaskArgs{
    			ProjectName: pulumi.String("myProjectName"),
    			Properties: &migrate.TaskPropertiesArgs{
    				Description: pulumi.String("lzhl"),
    				DisplayName: pulumi.String("hhbrpibobilcoypvyiofvr"),
    				Scope:       pulumi.String(migrate.TaskScopeWave),
    				ScopeId:     pulumi.String("/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave"),
    				Stage:       pulumi.String("klaemxmckhvyoooxyauqglexjna"),
    				Status:      pulumi.String("Pending"),
    			},
    			ResourceGroupName: pulumi.String("rgwaves"),
    			TaskName:          pulumi.String("myTaskName"),
    		})
    		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.Task;
    import com.pulumi.azurenative.migrate.TaskArgs;
    import com.pulumi.azurenative.migrate.inputs.TaskPropertiesArgs;
    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 task = new Task("task", TaskArgs.builder()
                .projectName("myProjectName")
                .properties(TaskPropertiesArgs.builder()
                    .description("lzhl")
                    .displayName("hhbrpibobilcoypvyiofvr")
                    .scope("Wave")
                    .scopeId("/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave")
                    .stage("klaemxmckhvyoooxyauqglexjna")
                    .status("Pending")
                    .build())
                .resourceGroupName("rgwaves")
                .taskName("myTaskName")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const task = new azure_native.migrate.Task("task", {
        projectName: "myProjectName",
        properties: {
            description: "lzhl",
            displayName: "hhbrpibobilcoypvyiofvr",
            scope: azure_native.migrate.TaskScope.Wave,
            scopeId: "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave",
            stage: "klaemxmckhvyoooxyauqglexjna",
            status: "Pending",
        },
        resourceGroupName: "rgwaves",
        taskName: "myTaskName",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    task = azure_native.migrate.Task("task",
        project_name="myProjectName",
        properties={
            "description": "lzhl",
            "display_name": "hhbrpibobilcoypvyiofvr",
            "scope": azure_native.migrate.TaskScope.WAVE,
            "scope_id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave",
            "stage": "klaemxmckhvyoooxyauqglexjna",
            "status": "Pending",
        },
        resource_group_name="rgwaves",
        task_name="myTaskName")
    
    resources:
      task:
        type: azure-native:migrate:Task
        properties:
          projectName: myProjectName
          properties:
            description: lzhl
            displayName: hhbrpibobilcoypvyiofvr
            scope: Wave
            scopeId: /subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/MyResourceGroup/providers/Microsoft.Migrate/migrateProjects/MyMigrateProject/waves/myWave
            stage: klaemxmckhvyoooxyauqglexjna
            status: Pending
          resourceGroupName: rgwaves
          taskName: myTaskName
    

    Create Task Resource

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

    Constructor syntax

    new Task(name: string, args: TaskArgs, opts?: CustomResourceOptions);
    @overload
    def Task(resource_name: str,
             args: TaskArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Task(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             project_name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             properties: Optional[TaskPropertiesArgs] = None,
             task_name: Optional[str] = None)
    func NewTask(ctx *Context, name string, args TaskArgs, opts ...ResourceOption) (*Task, error)
    public Task(string name, TaskArgs args, CustomResourceOptions? opts = null)
    public Task(String name, TaskArgs args)
    public Task(String name, TaskArgs args, CustomResourceOptions options)
    
    type: azure-native:migrate:Task
    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 TaskArgs
    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 TaskArgs
    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 TaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TaskArgs
    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 exampletaskResourceResourceFromMigrate = new AzureNative.Migrate.Task("exampletaskResourceResourceFromMigrate", new()
    {
        ProjectName = "string",
        ResourceGroupName = "string",
        Properties = new AzureNative.Migrate.Inputs.TaskPropertiesArgs
        {
            DisplayName = "string",
            Scope = "string",
            ScopeId = "string",
            Status = "string",
            Description = "string",
            Stage = "string",
        },
        TaskName = "string",
    });
    
    example, err := migrate.NewTask(ctx, "exampletaskResourceResourceFromMigrate", &migrate.TaskArgs{
    	ProjectName:       pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Properties: &migrate.TaskPropertiesArgs{
    		DisplayName: pulumi.String("string"),
    		Scope:       pulumi.String("string"),
    		ScopeId:     pulumi.String("string"),
    		Status:      pulumi.String("string"),
    		Description: pulumi.String("string"),
    		Stage:       pulumi.String("string"),
    	},
    	TaskName: pulumi.String("string"),
    })
    
    var exampletaskResourceResourceFromMigrate = new com.pulumi.azurenative.migrate.Task("exampletaskResourceResourceFromMigrate", com.pulumi.azurenative.migrate.TaskArgs.builder()
        .projectName("string")
        .resourceGroupName("string")
        .properties(TaskPropertiesArgs.builder()
            .displayName("string")
            .scope("string")
            .scopeId("string")
            .status("string")
            .description("string")
            .stage("string")
            .build())
        .taskName("string")
        .build());
    
    exampletask_resource_resource_from_migrate = azure_native.migrate.Task("exampletaskResourceResourceFromMigrate",
        project_name="string",
        resource_group_name="string",
        properties={
            "display_name": "string",
            "scope": "string",
            "scope_id": "string",
            "status": "string",
            "description": "string",
            "stage": "string",
        },
        task_name="string")
    
    const exampletaskResourceResourceFromMigrate = new azure_native.migrate.Task("exampletaskResourceResourceFromMigrate", {
        projectName: "string",
        resourceGroupName: "string",
        properties: {
            displayName: "string",
            scope: "string",
            scopeId: "string",
            status: "string",
            description: "string",
            stage: "string",
        },
        taskName: "string",
    });
    
    type: azure-native:migrate:Task
    properties:
        projectName: string
        properties:
            description: string
            displayName: string
            scope: string
            scopeId: string
            stage: string
            status: string
        resourceGroupName: string
        taskName: string
    

    Task Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Task resource accepts the following input properties:

    ProjectName string
    Migrate Project Name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Properties Pulumi.AzureNative.Migrate.Inputs.TaskProperties
    The resource-specific properties for this resource.
    TaskName string
    Task ARM name
    ProjectName string
    Migrate Project Name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Properties TaskPropertiesArgs
    The resource-specific properties for this resource.
    TaskName string
    Task ARM name
    projectName String
    Migrate Project Name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    properties TaskProperties
    The resource-specific properties for this resource.
    taskName String
    Task ARM name
    projectName string
    Migrate Project Name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    properties TaskProperties
    The resource-specific properties for this resource.
    taskName string
    Task ARM name
    project_name str
    Migrate Project Name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    properties TaskPropertiesArgs
    The resource-specific properties for this resource.
    task_name str
    Task ARM name
    projectName String
    Migrate Project Name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    properties Property Map
    The resource-specific properties for this resource.
    taskName String
    Task ARM name

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    ETag string
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Migrate.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    ETag string
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    eTag String
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    eTag string
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    e_tag str
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    eTag String
    If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    SystemDataResponse, SystemDataResponseArgs

    Metadata pertaining to creation and last modification of the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    TaskProperties, TaskPropertiesArgs

    Task Properties class.
    DisplayName string
    Task Dislay Name
    Scope string | Pulumi.AzureNative.Migrate.TaskScope
    Task Scope
    ScopeId string
    associated Wave Id
    Status string
    Task Status
    Description string
    Task Description
    Stage string
    Task Stage
    DisplayName string
    Task Dislay Name
    Scope string | TaskScope
    Task Scope
    ScopeId string
    associated Wave Id
    Status string
    Task Status
    Description string
    Task Description
    Stage string
    Task Stage
    displayName String
    Task Dislay Name
    scope String | TaskScope
    Task Scope
    scopeId String
    associated Wave Id
    status String
    Task Status
    description String
    Task Description
    stage String
    Task Stage
    displayName string
    Task Dislay Name
    scope string | TaskScope
    Task Scope
    scopeId string
    associated Wave Id
    status string
    Task Status
    description string
    Task Description
    stage string
    Task Stage
    display_name str
    Task Dislay Name
    scope str | TaskScope
    Task Scope
    scope_id str
    associated Wave Id
    status str
    Task Status
    description str
    Task Description
    stage str
    Task Stage
    displayName String
    Task Dislay Name
    scope String | "Wave" | "MigrationEntity" | "MigrationEntityGroup"
    Task Scope
    scopeId String
    associated Wave Id
    status String
    Task Status
    description String
    Task Description
    stage String
    Task Stage

    TaskPropertiesResponse, TaskPropertiesResponseArgs

    Task Properties class.
    CompletionDate string
    Task completion Date
    DisplayName string
    Task Dislay Name
    IsEditable bool
    Indicates whether the task is editable.
    ProvisioningState string
    The status of the last operation.
    Scope string
    Task Scope
    ScopeId string
    associated Wave Id
    Status string
    Task Status
    TaskType string
    Task Type
    Description string
    Task Description
    Stage string
    Task Stage
    CompletionDate string
    Task completion Date
    DisplayName string
    Task Dislay Name
    IsEditable bool
    Indicates whether the task is editable.
    ProvisioningState string
    The status of the last operation.
    Scope string
    Task Scope
    ScopeId string
    associated Wave Id
    Status string
    Task Status
    TaskType string
    Task Type
    Description string
    Task Description
    Stage string
    Task Stage
    completionDate String
    Task completion Date
    displayName String
    Task Dislay Name
    isEditable Boolean
    Indicates whether the task is editable.
    provisioningState String
    The status of the last operation.
    scope String
    Task Scope
    scopeId String
    associated Wave Id
    status String
    Task Status
    taskType String
    Task Type
    description String
    Task Description
    stage String
    Task Stage
    completionDate string
    Task completion Date
    displayName string
    Task Dislay Name
    isEditable boolean
    Indicates whether the task is editable.
    provisioningState string
    The status of the last operation.
    scope string
    Task Scope
    scopeId string
    associated Wave Id
    status string
    Task Status
    taskType string
    Task Type
    description string
    Task Description
    stage string
    Task Stage
    completion_date str
    Task completion Date
    display_name str
    Task Dislay Name
    is_editable bool
    Indicates whether the task is editable.
    provisioning_state str
    The status of the last operation.
    scope str
    Task Scope
    scope_id str
    associated Wave Id
    status str
    Task Status
    task_type str
    Task Type
    description str
    Task Description
    stage str
    Task Stage
    completionDate String
    Task completion Date
    displayName String
    Task Dislay Name
    isEditable Boolean
    Indicates whether the task is editable.
    provisioningState String
    The status of the last operation.
    scope String
    Task Scope
    scopeId String
    associated Wave Id
    status String
    Task Status
    taskType String
    Task Type
    description String
    Task Description
    stage String
    Task Stage

    TaskScope, TaskScopeArgs

    Wave
    Wave Wave task - typically related to a specific wave of migration
    MigrationEntity
    MigrationEntity Migration Entity task - typically related to a specific migration entity
    MigrationEntityGroup
    MigrationEntityGroup Migration Entity Group task - typically related to a specific migration entity group
    TaskScopeWave
    Wave Wave task - typically related to a specific wave of migration
    TaskScopeMigrationEntity
    MigrationEntity Migration Entity task - typically related to a specific migration entity
    TaskScopeMigrationEntityGroup
    MigrationEntityGroup Migration Entity Group task - typically related to a specific migration entity group
    Wave
    Wave Wave task - typically related to a specific wave of migration
    MigrationEntity
    MigrationEntity Migration Entity task - typically related to a specific migration entity
    MigrationEntityGroup
    MigrationEntityGroup Migration Entity Group task - typically related to a specific migration entity group
    Wave
    Wave Wave task - typically related to a specific wave of migration
    MigrationEntity
    MigrationEntity Migration Entity task - typically related to a specific migration entity
    MigrationEntityGroup
    MigrationEntityGroup Migration Entity Group task - typically related to a specific migration entity group
    WAVE
    Wave Wave task - typically related to a specific wave of migration
    MIGRATION_ENTITY
    MigrationEntity Migration Entity task - typically related to a specific migration entity
    MIGRATION_ENTITY_GROUP
    MigrationEntityGroup Migration Entity Group task - typically related to a specific migration entity group
    "Wave"
    Wave Wave task - typically related to a specific wave of migration
    "MigrationEntity"
    MigrationEntity Migration Entity task - typically related to a specific migration entity
    "MigrationEntityGroup"
    MigrationEntityGroup Migration Entity Group task - typically related to a specific migration entity group

    Import

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

    $ pulumi import azure-native:migrate:Task ejdnhrqdoevhryqij /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}/tasks/{taskName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate