Solution

Solution REST Resource. API Version: 2018-09-01-preview.

Example Usage

Solutions_Put

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var solution = new AzureNative.Migrate.Solution("solution", new()
{
MigrateProjectName = "project01",
Properties = new AzureNative.Migrate.Inputs.SolutionPropertiesArgs
{
Goal = "Databases",
Purpose = "Assessment",
Tool = "DataMigrationAssistant",
},
ResourceGroupName = "myResourceGroup",
SolutionName = "dbsolution",
});
});
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.NewSolution(ctx, "solution", &migrate.SolutionArgs{
MigrateProjectName: pulumi.String("project01"),
Properties: &migrate.SolutionPropertiesArgs{
Goal: pulumi.String("Databases"),
Purpose: pulumi.String("Assessment"),
Tool: pulumi.String("DataMigrationAssistant"),
},
ResourceGroupName: pulumi.String("myResourceGroup"),
SolutionName: pulumi.String("dbsolution"),
})
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.Solution;
import com.pulumi.azurenative.migrate.SolutionArgs;
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 solution = new Solution("solution", SolutionArgs.builder()
.migrateProjectName("project01")
.properties(Map.ofEntries(
Map.entry("goal", "Databases"),
Map.entry("purpose", "Assessment"),
Map.entry("tool", "DataMigrationAssistant")
))
.resourceGroupName("myResourceGroup")
.solutionName("dbsolution")
.build());
}
}

Import

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

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

Properties

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

Gets or sets the ETAG for optimistic concurrency control.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Gets the name of this REST resource.

Link copied to clipboard

Gets or sets the properties of the solution.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

Gets the type of this REST resource.

Link copied to clipboard
val urn: Output<String>