azure-native.migrate.MigrateProject
Explore with Pulumi AI
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 * 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: {},
});
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())
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MigrateProject resource accepts the following input properties:
- ResourceGroup stringName 
- 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.
- MigrateProject stringName 
- Name of the Azure Migrate project.
- Properties
Pulumi.Azure Native. Migrate. Inputs. Migrate Project Properties 
- Gets or sets the nested properties.
- 
Pulumi.Azure Native. Migrate. Inputs. Migrate Project Tags 
- Gets or sets the tags.
- ResourceGroup stringName 
- 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.
- MigrateProject stringName 
- Name of the Azure Migrate project.
- Properties
MigrateProject Properties Args 
- Gets or sets the nested properties.
- 
MigrateProject Tags Args 
- Gets or sets the tags.
- resourceGroup StringName 
- 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.
- migrateProject StringName 
- Name of the Azure Migrate project.
- properties
MigrateProject Properties 
- Gets or sets the nested properties.
- 
MigrateProject Tags 
- Gets or sets the tags.
- resourceGroup stringName 
- 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.
- migrateProject stringName 
- Name of the Azure Migrate project.
- properties
MigrateProject Properties 
- Gets or sets the nested properties.
- 
MigrateProject Tags 
- Gets or sets the tags.
- resource_group_ strname 
- 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_ strname 
- Name of the Azure Migrate project.
- properties
MigrateProject Properties Args 
- Gets or sets the nested properties.
- 
MigrateProject Tags Args 
- Gets or sets the tags.
- resourceGroup StringName 
- 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.
- migrateProject StringName 
- Name of the Azure Migrate project.
- properties Property Map
- Gets or sets the nested properties.
- 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:
Supporting Types
DatabaseProjectSummaryResponse, DatabaseProjectSummaryResponseArgs        
- ExtendedSummary Dictionary<string, string>
- Gets or sets the extended summary.
- LastSummary stringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- RefreshSummary stringState 
- Gets or sets the state of refresh summary.
- ExtendedSummary map[string]string
- Gets or sets the extended summary.
- LastSummary stringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- RefreshSummary stringState 
- Gets or sets the state of refresh summary.
- extendedSummary Map<String,String>
- Gets or sets the extended summary.
- lastSummary StringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- refreshSummary StringState 
- Gets or sets the state of refresh summary.
- extendedSummary {[key: string]: string}
- Gets or sets the extended summary.
- lastSummary stringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- refreshSummary stringState 
- Gets or sets the state of refresh summary.
- extended_summary Mapping[str, str]
- Gets or sets the extended summary.
- last_summary_ strrefreshed_ time 
- Gets or sets the time when summary was last refreshed.
- refresh_summary_ strstate 
- Gets or sets the state of refresh summary.
- extendedSummary Map<String>
- Gets or sets the extended summary.
- lastSummary StringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- refreshSummary StringState 
- Gets or sets the state of refresh summary.
MigrateProjectProperties, MigrateProjectPropertiesArgs      
- ProvisioningState string | Pulumi.Azure Native. Migrate. Provisioning State 
- 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        
- LastSummary stringRefreshed Time 
- Gets the last time the project summary was refreshed.
- RefreshSummary stringState 
- Gets the refresh summary state.
- Summary
Dictionary<string, Union<Pulumi.Azure Native. Migrate. Inputs. Database Project Summary Response, Pulumi. Azure Native. Migrate. Inputs. Servers Project Summary Response>> 
- 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.
- LastSummary stringRefreshed Time 
- Gets the last time the project summary was refreshed.
- RefreshSummary stringState 
- 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.
- lastSummary StringRefreshed Time 
- Gets the last time the project summary was refreshed.
- refreshSummary StringState 
- Gets the refresh summary state.
- summary
Map<String,Either<DatabaseProject Summary Response,Servers Project Summary Response>> 
- 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.
- lastSummary stringRefreshed Time 
- Gets the last time the project summary was refreshed.
- refreshSummary stringState 
- Gets the refresh summary state.
- summary
{[key: string]: DatabaseProject Summary Response | Servers Project Summary Response} 
- 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_ strrefreshed_ time 
- Gets the last time the project summary was refreshed.
- refresh_summary_ strstate 
- Gets the refresh summary state.
- summary
Mapping[str, Union[DatabaseProject Summary Response, Servers Project Summary Response]] 
- 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.
- lastSummary StringRefreshed Time 
- Gets the last time the project summary was refreshed.
- refreshSummary StringState 
- 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        
- AdditionalProperties string
- AdditionalProperties string
- additionalProperties String
- additionalProperties string
- additionalProperties String
MigrateProjectTags, MigrateProjectTagsArgs      
- AdditionalProperties string
- AdditionalProperties string
- additionalProperties String
- additionalProperties string
- additionalProperties String
ProvisioningState, ProvisioningStateArgs    
- Accepted
- Accepted
- Creating
- Creating
- Deleting
- Deleting
- Failed
- Failed
- Moving
- Moving
- Succeeded
- Succeeded
- ProvisioningState Accepted 
- Accepted
- ProvisioningState Creating 
- Creating
- ProvisioningState Deleting 
- Deleting
- ProvisioningState Failed 
- Failed
- ProvisioningState Moving 
- Moving
- ProvisioningState 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
- "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.
- LastSummary stringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- MigratedCount int
- Gets or sets the count of entities migrated.
- RefreshSummary stringState 
- Gets or sets the state of refresh summary.
- ReplicatingCount int
- Gets or sets the count of entities being replicated.
- TestMigrated intCount 
- 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.
- LastSummary stringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- MigratedCount int
- Gets or sets the count of entities migrated.
- RefreshSummary stringState 
- Gets or sets the state of refresh summary.
- ReplicatingCount int
- Gets or sets the count of entities being replicated.
- TestMigrated intCount 
- 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.
- lastSummary StringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- migratedCount Integer
- Gets or sets the count of entities migrated.
- refreshSummary StringState 
- Gets or sets the state of refresh summary.
- replicatingCount Integer
- Gets or sets the count of entities being replicated.
- testMigrated IntegerCount 
- 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.
- lastSummary stringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- migratedCount number
- Gets or sets the count of entities migrated.
- refreshSummary stringState 
- Gets or sets the state of refresh summary.
- replicatingCount number
- Gets or sets the count of entities being replicated.
- testMigrated numberCount 
- 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_ strrefreshed_ time 
- Gets or sets the time when summary was last refreshed.
- migrated_count int
- Gets or sets the count of entities migrated.
- refresh_summary_ strstate 
- Gets or sets the state of refresh summary.
- replicating_count int
- Gets or sets the count of entities being replicated.
- test_migrated_ intcount 
- 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.
- lastSummary StringRefreshed Time 
- Gets or sets the time when summary was last refreshed.
- migratedCount Number
- Gets or sets the count of entities migrated.
- refreshSummary StringState 
- Gets or sets the state of refresh summary.
- replicatingCount Number
- Gets or sets the count of entities being replicated.
- testMigrated NumberCount 
- 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