MigrateProject

class MigrateProject : KotlinCustomResource

Migrate Project REST Resource. Uses Azure REST API version 2018-09-01-preview. In version 2.x of the Azure Native provider, it used 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/v2"
"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: &migrate.MigrateProjectPropertiesArgs{},
ResourceGroupName: pulumi.String("myResourceGroup"),
Tags: &migrate.MigrateProjectTagsArgs{},
})
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 com.pulumi.azurenative.migrate.inputs.MigrateProjectPropertiesArgs;
import com.pulumi.azurenative.migrate.inputs.MigrateProjectTagsArgs;
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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

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
val pulumiChildResources: Set<KotlinResource>
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>