MigrateProject

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

Example Usage

MigrateProjects_Put

using System.Collections.Generic;
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/go/azure/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

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

Properties

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

Gets or sets the eTag for concurrency control.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>?

Gets or sets the Azure location in which migrate project is created.

Link copied to clipboard
val name: Output<String>

Gets the name of the migrate project.

Link copied to clipboard

Gets or sets the nested properties.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Gets or sets the tags.

Link copied to clipboard
val type: Output<String>

Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.

Link copied to clipboard
val urn: Output<String>