Solution

class Solution : KotlinCustomResource

Solution 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

Solutions_Put

using System.Collections.Generic;
using System.Linq;
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/migrate/v3"
"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 com.pulumi.azurenative.migrate.inputs.SolutionPropertiesArgs;
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(SolutionPropertiesArgs.builder()
.goal("Databases")
.purpose("Assessment")
.tool("DataMigrationAssistant")
.build())
.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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}

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