1. Packages
  2. Azure Native v1
  3. API Docs
  4. migrate
  5. MigrateProject
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.MigrateProject

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

    Migrate Project REST Resource. API Version: 2018-09-01-preview.

    Example Usage

    MigrateProjects_Put

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var migrateProject = new AzureNative.Migrate.MigrateProject("migrateProject", new()
        {
            ETag = "\"b701c73a-0000-0000-0000-59c12ff00000\"",
            Location = "Southeast Asia",
            MigrateProjectName = "project01",
            Properties = null,
            ResourceGroupName = "myResourceGroup",
            Tags = null,
        });
    
    });
    
    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.NewMigrateProject(ctx, "migrateProject", &migrate.MigrateProjectArgs{
    			ETag:               pulumi.String("\"b701c73a-0000-0000-0000-59c12ff00000\""),
    			Location:           pulumi.String("Southeast Asia"),
    			MigrateProjectName: pulumi.String("project01"),
    			Properties:         nil,
    			ResourceGroupName:  pulumi.String("myResourceGroup"),
    			Tags:               nil,
    		})
    		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.MigrateProject;
    import com.pulumi.azurenative.migrate.MigrateProjectArgs;
    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 migrateProject = new MigrateProject("migrateProject", MigrateProjectArgs.builder()        
                .eTag("\"b701c73a-0000-0000-0000-59c12ff00000\"")
                .location("Southeast Asia")
                .migrateProjectName("project01")
                .properties()
                .resourceGroupName("myResourceGroup")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    migrate_project = azure_native.migrate.MigrateProject("migrateProject",
        e_tag="\"b701c73a-0000-0000-0000-59c12ff00000\"",
        location="Southeast Asia",
        migrate_project_name="project01",
        properties=azure_native.migrate.MigrateProjectPropertiesArgs(),
        resource_group_name="myResourceGroup",
        tags=azure_native.migrate.MigrateProjectTagsArgs())
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const migrateProject = new azure_native.migrate.MigrateProject("migrateProject", {
        eTag: "\"b701c73a-0000-0000-0000-59c12ff00000\"",
        location: "Southeast Asia",
        migrateProjectName: "project01",
        properties: {},
        resourceGroupName: "myResourceGroup",
        tags: {},
    });
    
    resources:
      migrateProject:
        type: azure-native:migrate:MigrateProject
        properties:
          eTag: '"b701c73a-0000-0000-0000-59c12ff00000"'
          location: Southeast Asia
          migrateProjectName: project01
          properties: {}
          resourceGroupName: myResourceGroup
          tags: {}
    

    Create MigrateProject Resource

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

    Constructor syntax

    new MigrateProject(name: string, args: MigrateProjectArgs, opts?: CustomResourceOptions);
    @overload
    def MigrateProject(resource_name: str,
                       args: MigrateProjectArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def MigrateProject(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       resource_group_name: Optional[str] = None,
                       e_tag: Optional[str] = None,
                       location: Optional[str] = None,
                       migrate_project_name: Optional[str] = None,
                       properties: Optional[MigrateProjectPropertiesArgs] = None,
                       tags: Optional[MigrateProjectTagsArgs] = None)
    func NewMigrateProject(ctx *Context, name string, args MigrateProjectArgs, opts ...ResourceOption) (*MigrateProject, error)
    public MigrateProject(string name, MigrateProjectArgs args, CustomResourceOptions? opts = null)
    public MigrateProject(String name, MigrateProjectArgs args)
    public MigrateProject(String name, MigrateProjectArgs args, CustomResourceOptions options)
    
    type: azure-native:migrate:MigrateProject
    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 MigrateProjectArgs
    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 MigrateProjectArgs
    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 MigrateProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MigrateProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MigrateProjectArgs
    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 migrateProjectResource = new AzureNative.Migrate.MigrateProject("migrateProjectResource", new()
    {
        ResourceGroupName = "string",
        ETag = "string",
        Location = "string",
        MigrateProjectName = "string",
        Properties = 
        {
            { "provisioningState", "string" },
            { "registeredTools", new[]
            {
                "string",
            } },
        },
        Tags = 
        {
            { "additionalProperties", "string" },
        },
    });
    
    example, err := migrate.NewMigrateProject(ctx, "migrateProjectResource", &migrate.MigrateProjectArgs{
    	ResourceGroupName:  "string",
    	ETag:               "string",
    	Location:           "string",
    	MigrateProjectName: "string",
    	Properties: map[string]interface{}{
    		"provisioningState": "string",
    		"registeredTools": []string{
    			"string",
    		},
    	},
    	Tags: map[string]interface{}{
    		"additionalProperties": "string",
    	},
    })
    
    var migrateProjectResource = new MigrateProject("migrateProjectResource", MigrateProjectArgs.builder()
        .resourceGroupName("string")
        .eTag("string")
        .location("string")
        .migrateProjectName("string")
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    migrate_project_resource = azure_native.migrate.MigrateProject("migrateProjectResource",
        resource_group_name=string,
        e_tag=string,
        location=string,
        migrate_project_name=string,
        properties={
            provisioningState: string,
            registeredTools: [string],
        },
        tags={
            additionalProperties: string,
        })
    
    const migrateProjectResource = new azure_native.migrate.MigrateProject("migrateProjectResource", {
        resourceGroupName: "string",
        eTag: "string",
        location: "string",
        migrateProjectName: "string",
        properties: {
            provisioningState: "string",
            registeredTools: ["string"],
        },
        tags: {
            additionalProperties: "string",
        },
    });
    
    type: azure-native:migrate:MigrateProject
    properties:
        eTag: string
        location: string
        migrateProjectName: string
        properties:
            provisioningState: string
            registeredTools:
                - string
        resourceGroupName: string
        tags:
            additionalProperties: string
    

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

    ResourceGroupName string
    Name of the Azure Resource Group that migrate project is part of.
    ETag string
    Gets or sets the eTag for concurrency control.
    Location string
    Gets or sets the Azure location in which migrate project is created.
    MigrateProjectName string
    Name of the Azure Migrate project.
    Properties Pulumi.AzureNative.Migrate.Inputs.MigrateProjectProperties
    Gets or sets the nested properties.
    Tags Pulumi.AzureNative.Migrate.Inputs.MigrateProjectTags
    Gets or sets the tags.
    ResourceGroupName string
    Name of the Azure Resource Group that migrate project is part of.
    ETag string
    Gets or sets the eTag for concurrency control.
    Location string
    Gets or sets the Azure location in which migrate project is created.
    MigrateProjectName string
    Name of the Azure Migrate project.
    Properties MigrateProjectPropertiesArgs
    Gets or sets the nested properties.
    Tags MigrateProjectTagsArgs
    Gets or sets the tags.
    resourceGroupName String
    Name of the Azure Resource Group that migrate project is part of.
    eTag String
    Gets or sets the eTag for concurrency control.
    location String
    Gets or sets the Azure location in which migrate project is created.
    migrateProjectName String
    Name of the Azure Migrate project.
    properties MigrateProjectProperties
    Gets or sets the nested properties.
    tags MigrateProjectTags
    Gets or sets the tags.
    resourceGroupName string
    Name of the Azure Resource Group that migrate project is part of.
    eTag string
    Gets or sets the eTag for concurrency control.
    location string
    Gets or sets the Azure location in which migrate project is created.
    migrateProjectName string
    Name of the Azure Migrate project.
    properties MigrateProjectProperties
    Gets or sets the nested properties.
    tags MigrateProjectTags
    Gets or sets the tags.
    resource_group_name str
    Name of the Azure Resource Group that migrate project is part of.
    e_tag str
    Gets or sets the eTag for concurrency control.
    location str
    Gets or sets the Azure location in which migrate project is created.
    migrate_project_name str
    Name of the Azure Migrate project.
    properties MigrateProjectPropertiesArgs
    Gets or sets the nested properties.
    tags MigrateProjectTagsArgs
    Gets or sets the tags.
    resourceGroupName String
    Name of the Azure Resource Group that migrate project is part of.
    eTag String
    Gets or sets the eTag for concurrency control.
    location String
    Gets or sets the Azure location in which migrate project is created.
    migrateProjectName String
    Name of the Azure Migrate project.
    properties Property Map
    Gets or sets the nested properties.
    tags Property Map
    Gets or sets the tags.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Gets the name of the migrate project.
    Type string
    Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Gets the name of the migrate project.
    Type string
    Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Gets the name of the migrate project.
    type String
    Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Gets the name of the migrate project.
    type string
    Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Gets the name of the migrate project.
    type str
    Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Gets the name of the migrate project.
    type String
    Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.

    Supporting Types

    DatabaseProjectSummaryResponse, DatabaseProjectSummaryResponseArgs

    ExtendedSummary Dictionary<string, string>
    Gets or sets the extended summary.
    LastSummaryRefreshedTime string
    Gets or sets the time when summary was last refreshed.
    RefreshSummaryState string
    Gets or sets the state of refresh summary.
    ExtendedSummary map[string]string
    Gets or sets the extended summary.
    LastSummaryRefreshedTime string
    Gets or sets the time when summary was last refreshed.
    RefreshSummaryState string
    Gets or sets the state of refresh summary.
    extendedSummary Map<String,String>
    Gets or sets the extended summary.
    lastSummaryRefreshedTime String
    Gets or sets the time when summary was last refreshed.
    refreshSummaryState String
    Gets or sets the state of refresh summary.
    extendedSummary {[key: string]: string}
    Gets or sets the extended summary.
    lastSummaryRefreshedTime string
    Gets or sets the time when summary was last refreshed.
    refreshSummaryState string
    Gets or sets the state of refresh summary.
    extended_summary Mapping[str, str]
    Gets or sets the extended summary.
    last_summary_refreshed_time str
    Gets or sets the time when summary was last refreshed.
    refresh_summary_state str
    Gets or sets the state of refresh summary.
    extendedSummary Map<String>
    Gets or sets the extended summary.
    lastSummaryRefreshedTime String
    Gets or sets the time when summary was last refreshed.
    refreshSummaryState String
    Gets or sets the state of refresh summary.

    MigrateProjectProperties, MigrateProjectPropertiesArgs

    ProvisioningState string | Pulumi.AzureNative.Migrate.ProvisioningState
    Provisioning state of the migrate project.
    RegisteredTools List<string>
    Gets or sets the list of tools registered with the migrate project.
    ProvisioningState string | ProvisioningState
    Provisioning state of the migrate project.
    RegisteredTools []string
    Gets or sets the list of tools registered with the migrate project.
    provisioningState String | ProvisioningState
    Provisioning state of the migrate project.
    registeredTools List<String>
    Gets or sets the list of tools registered with the migrate project.
    provisioningState string | ProvisioningState
    Provisioning state of the migrate project.
    registeredTools string[]
    Gets or sets the list of tools registered with the migrate project.
    provisioning_state str | ProvisioningState
    Provisioning state of the migrate project.
    registered_tools Sequence[str]
    Gets or sets the list of tools registered with the migrate project.
    provisioningState String | "Accepted" | "Creating" | "Deleting" | "Failed" | "Moving" | "Succeeded"
    Provisioning state of the migrate project.
    registeredTools List<String>
    Gets or sets the list of tools registered with the migrate project.

    MigrateProjectPropertiesResponse, MigrateProjectPropertiesResponseArgs

    LastSummaryRefreshedTime string
    Gets the last time the project summary was refreshed.
    RefreshSummaryState string
    Gets the refresh summary state.
    Summary Dictionary<string, Union<Pulumi.AzureNative.Migrate.Inputs.DatabaseProjectSummaryResponse, Pulumi.AzureNative.Migrate.Inputs.ServersProjectSummaryResponse>>
    Gets the summary of the migrate project.
    ProvisioningState string
    Provisioning state of the migrate project.
    RegisteredTools List<string>
    Gets or sets the list of tools registered with the migrate project.
    LastSummaryRefreshedTime string
    Gets the last time the project summary was refreshed.
    RefreshSummaryState string
    Gets the refresh summary state.
    Summary map[string]interface{}
    Gets the summary of the migrate project.
    ProvisioningState string
    Provisioning state of the migrate project.
    RegisteredTools []string
    Gets or sets the list of tools registered with the migrate project.
    lastSummaryRefreshedTime String
    Gets the last time the project summary was refreshed.
    refreshSummaryState String
    Gets the refresh summary state.
    summary Map<String,Either<DatabaseProjectSummaryResponse,ServersProjectSummaryResponse>>
    Gets the summary of the migrate project.
    provisioningState String
    Provisioning state of the migrate project.
    registeredTools List<String>
    Gets or sets the list of tools registered with the migrate project.
    lastSummaryRefreshedTime string
    Gets the last time the project summary was refreshed.
    refreshSummaryState string
    Gets the refresh summary state.
    summary {[key: string]: DatabaseProjectSummaryResponse | ServersProjectSummaryResponse}
    Gets the summary of the migrate project.
    provisioningState string
    Provisioning state of the migrate project.
    registeredTools string[]
    Gets or sets the list of tools registered with the migrate project.
    last_summary_refreshed_time str
    Gets the last time the project summary was refreshed.
    refresh_summary_state str
    Gets the refresh summary state.
    summary Mapping[str, Union[DatabaseProjectSummaryResponse, ServersProjectSummaryResponse]]
    Gets the summary of the migrate project.
    provisioning_state str
    Provisioning state of the migrate project.
    registered_tools Sequence[str]
    Gets or sets the list of tools registered with the migrate project.
    lastSummaryRefreshedTime String
    Gets the last time the project summary was refreshed.
    refreshSummaryState String
    Gets the refresh summary state.
    summary Map<Property Map | Property Map>
    Gets the summary of the migrate project.
    provisioningState String
    Provisioning state of the migrate project.
    registeredTools List<String>
    Gets or sets the list of tools registered with the migrate project.

    MigrateProjectResponseTags, MigrateProjectResponseTagsArgs

    MigrateProjectTags, MigrateProjectTagsArgs

    ProvisioningState, ProvisioningStateArgs

    Accepted
    Accepted
    Creating
    Creating
    Deleting
    Deleting
    Failed
    Failed
    Moving
    Moving
    Succeeded
    Succeeded
    ProvisioningStateAccepted
    Accepted
    ProvisioningStateCreating
    Creating
    ProvisioningStateDeleting
    Deleting
    ProvisioningStateFailed
    Failed
    ProvisioningStateMoving
    Moving
    ProvisioningStateSucceeded
    Succeeded
    Accepted
    Accepted
    Creating
    Creating
    Deleting
    Deleting
    Failed
    Failed
    Moving
    Moving
    Succeeded
    Succeeded
    Accepted
    Accepted
    Creating
    Creating
    Deleting
    Deleting
    Failed
    Failed
    Moving
    Moving
    Succeeded
    Succeeded
    ACCEPTED
    Accepted
    CREATING
    Creating
    DELETING
    Deleting
    FAILED
    Failed
    MOVING
    Moving
    SUCCEEDED
    Succeeded
    "Accepted"
    Accepted
    "Creating"
    Creating
    "Deleting"
    Deleting
    "Failed"
    Failed
    "Moving"
    Moving
    "Succeeded"
    Succeeded

    ServersProjectSummaryResponse, ServersProjectSummaryResponseArgs

    AssessedCount int
    Gets or sets the count of entities assessed.
    DiscoveredCount int
    Gets or sets the count of entities discovered.
    ExtendedSummary Dictionary<string, string>
    Gets or sets the extended summary.
    LastSummaryRefreshedTime string
    Gets or sets the time when summary was last refreshed.
    MigratedCount int
    Gets or sets the count of entities migrated.
    RefreshSummaryState string
    Gets or sets the state of refresh summary.
    ReplicatingCount int
    Gets or sets the count of entities being replicated.
    TestMigratedCount int
    Gets or sets the count of entities test migrated.
    AssessedCount int
    Gets or sets the count of entities assessed.
    DiscoveredCount int
    Gets or sets the count of entities discovered.
    ExtendedSummary map[string]string
    Gets or sets the extended summary.
    LastSummaryRefreshedTime string
    Gets or sets the time when summary was last refreshed.
    MigratedCount int
    Gets or sets the count of entities migrated.
    RefreshSummaryState string
    Gets or sets the state of refresh summary.
    ReplicatingCount int
    Gets or sets the count of entities being replicated.
    TestMigratedCount int
    Gets or sets the count of entities test migrated.
    assessedCount Integer
    Gets or sets the count of entities assessed.
    discoveredCount Integer
    Gets or sets the count of entities discovered.
    extendedSummary Map<String,String>
    Gets or sets the extended summary.
    lastSummaryRefreshedTime String
    Gets or sets the time when summary was last refreshed.
    migratedCount Integer
    Gets or sets the count of entities migrated.
    refreshSummaryState String
    Gets or sets the state of refresh summary.
    replicatingCount Integer
    Gets or sets the count of entities being replicated.
    testMigratedCount Integer
    Gets or sets the count of entities test migrated.
    assessedCount number
    Gets or sets the count of entities assessed.
    discoveredCount number
    Gets or sets the count of entities discovered.
    extendedSummary {[key: string]: string}
    Gets or sets the extended summary.
    lastSummaryRefreshedTime string
    Gets or sets the time when summary was last refreshed.
    migratedCount number
    Gets or sets the count of entities migrated.
    refreshSummaryState string
    Gets or sets the state of refresh summary.
    replicatingCount number
    Gets or sets the count of entities being replicated.
    testMigratedCount number
    Gets or sets the count of entities test migrated.
    assessed_count int
    Gets or sets the count of entities assessed.
    discovered_count int
    Gets or sets the count of entities discovered.
    extended_summary Mapping[str, str]
    Gets or sets the extended summary.
    last_summary_refreshed_time str
    Gets or sets the time when summary was last refreshed.
    migrated_count int
    Gets or sets the count of entities migrated.
    refresh_summary_state str
    Gets or sets the state of refresh summary.
    replicating_count int
    Gets or sets the count of entities being replicated.
    test_migrated_count int
    Gets or sets the count of entities test migrated.
    assessedCount Number
    Gets or sets the count of entities assessed.
    discoveredCount Number
    Gets or sets the count of entities discovered.
    extendedSummary Map<String>
    Gets or sets the extended summary.
    lastSummaryRefreshedTime String
    Gets or sets the time when summary was last refreshed.
    migratedCount Number
    Gets or sets the count of entities migrated.
    refreshSummaryState String
    Gets or sets the state of refresh summary.
    replicatingCount Number
    Gets or sets the count of entities being replicated.
    testMigratedCount Number
    Gets or sets the count of entities test migrated.

    Import

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

    $ pulumi import azure-native:migrate:MigrateProject project01 /subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01 
    

    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