MigrateProjectsControllerMigrateProjectArgs

data class MigrateProjectsControllerMigrateProjectArgs(val eTag: Output<String>? = null, val location: Output<String>? = null, val migrateProjectName: Output<String>? = null, val properties: Output<MigrateProjectPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<MigrateProjectsControllerMigrateProjectArgs>

Migrate project. Uses Azure REST API version 2020-05-01. In version 2.x of the Azure Native provider, it used API version 2020-05-01. Other available API versions: 2023-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native migrate [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

MigrateProject_Put

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var migrateProjectsControllerMigrateProject = new AzureNative.Migrate.MigrateProjectsControllerMigrateProject("migrateProjectsControllerMigrateProject", new()
{
Location = "eastus",
MigrateProjectName = "projTest1",
Properties = new AzureNative.Migrate.Inputs.MigrateProjectPropertiesArgs
{
PublicNetworkAccess = "Enabled",
},
ResourceGroupName = "pajindTest1",
});
});
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.NewMigrateProjectsControllerMigrateProject(ctx, "migrateProjectsControllerMigrateProject", &migrate.MigrateProjectsControllerMigrateProjectArgs{
Location: pulumi.String("eastus"),
MigrateProjectName: pulumi.String("projTest1"),
Properties: &migrate.MigrateProjectPropertiesArgs{
PublicNetworkAccess: pulumi.String("Enabled"),
},
ResourceGroupName: pulumi.String("pajindTest1"),
})
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.MigrateProjectsControllerMigrateProject;
import com.pulumi.azurenative.migrate.MigrateProjectsControllerMigrateProjectArgs;
import com.pulumi.azurenative.migrate.inputs.MigrateProjectPropertiesArgs;
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 migrateProjectsControllerMigrateProject = new MigrateProjectsControllerMigrateProject("migrateProjectsControllerMigrateProject", MigrateProjectsControllerMigrateProjectArgs.builder()
.location("eastus")
.migrateProjectName("projTest1")
.properties(MigrateProjectPropertiesArgs.builder()
.publicNetworkAccess("Enabled")
.build())
.resourceGroupName("pajindTest1")
.build());
}
}

Import

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

$ pulumi import azure-native:migrate:MigrateProjectsControllerMigrateProject proj90 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}

Constructors

constructor(eTag: Output<String>? = null, location: Output<String>? = null, migrateProjectName: Output<String>? = null, properties: Output<MigrateProjectPropertiesArgs>? = null, resourceGroupName: Output<String>? = null)

Properties

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

For optimistic concurrency control.

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

Azure location in which project is created.

Link copied to clipboard
val migrateProjectName: Output<String>? = null

Migrate project name.

Link copied to clipboard

Properties of a migrate project.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of the Azure Resource Group that project is part of.

Functions

Link copied to clipboard
open override fun toJava(): MigrateProjectsControllerMigrateProjectArgs