azure-native.migrate.Solution
Explore with Pulumi AI
Solution REST Resource. 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"
	"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 * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const solution = new azure_native.migrate.Solution("solution", {
    migrateProjectName: "project01",
    properties: {
        goal: "Databases",
        purpose: "Assessment",
        tool: "DataMigrationAssistant",
    },
    resourceGroupName: "myResourceGroup",
    solutionName: "dbsolution",
});
import pulumi
import pulumi_azure_native as azure_native
solution = azure_native.migrate.Solution("solution",
    migrate_project_name="project01",
    properties=azure_native.migrate.SolutionPropertiesArgs(
        goal="Databases",
        purpose="Assessment",
        tool="DataMigrationAssistant",
    ),
    resource_group_name="myResourceGroup",
    solution_name="dbsolution")
resources:
  solution:
    type: azure-native:migrate:Solution
    properties:
      migrateProjectName: project01
      properties:
        goal: Databases
        purpose: Assessment
        tool: DataMigrationAssistant
      resourceGroupName: myResourceGroup
      solutionName: dbsolution
Create Solution Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Solution(name: string, args: SolutionArgs, opts?: CustomResourceOptions);@overload
def Solution(resource_name: str,
             args: SolutionArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Solution(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             migrate_project_name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             properties: Optional[SolutionPropertiesArgs] = None,
             solution_name: Optional[str] = None)func NewSolution(ctx *Context, name string, args SolutionArgs, opts ...ResourceOption) (*Solution, error)public Solution(string name, SolutionArgs args, CustomResourceOptions? opts = null)
public Solution(String name, SolutionArgs args)
public Solution(String name, SolutionArgs args, CustomResourceOptions options)
type: azure-native:migrate:Solution
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var solutionResource = new AzureNative.Migrate.Solution("solutionResource", new()
{
    MigrateProjectName = "string",
    ResourceGroupName = "string",
    Properties = 
    {
        { "cleanupState", "string" },
        { "details", 
        {
            { "assessmentCount", 0 },
            { "extendedDetails", 
            {
                { "string", "string" },
            } },
            { "groupCount", 0 },
        } },
        { "goal", "string" },
        { "purpose", "string" },
        { "status", "string" },
        { "tool", "string" },
    },
    SolutionName = "string",
});
example, err := migrate.NewSolution(ctx, "solutionResource", &migrate.SolutionArgs{
	MigrateProjectName: "string",
	ResourceGroupName:  "string",
	Properties: map[string]interface{}{
		"cleanupState": "string",
		"details": map[string]interface{}{
			"assessmentCount": 0,
			"extendedDetails": map[string]interface{}{
				"string": "string",
			},
			"groupCount": 0,
		},
		"goal":    "string",
		"purpose": "string",
		"status":  "string",
		"tool":    "string",
	},
	SolutionName: "string",
})
var solutionResource = new Solution("solutionResource", SolutionArgs.builder()
    .migrateProjectName("string")
    .resourceGroupName("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .solutionName("string")
    .build());
solution_resource = azure_native.migrate.Solution("solutionResource",
    migrate_project_name=string,
    resource_group_name=string,
    properties={
        cleanupState: string,
        details: {
            assessmentCount: 0,
            extendedDetails: {
                string: string,
            },
            groupCount: 0,
        },
        goal: string,
        purpose: string,
        status: string,
        tool: string,
    },
    solution_name=string)
const solutionResource = new azure_native.migrate.Solution("solutionResource", {
    migrateProjectName: "string",
    resourceGroupName: "string",
    properties: {
        cleanupState: "string",
        details: {
            assessmentCount: 0,
            extendedDetails: {
                string: "string",
            },
            groupCount: 0,
        },
        goal: "string",
        purpose: "string",
        status: "string",
        tool: "string",
    },
    solutionName: "string",
});
type: azure-native:migrate:Solution
properties:
    migrateProjectName: string
    properties:
        cleanupState: string
        details:
            assessmentCount: 0
            extendedDetails:
                string: string
            groupCount: 0
        goal: string
        purpose: string
        status: string
        tool: string
    resourceGroupName: string
    solutionName: string
Solution Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Solution resource accepts the following input properties:
- MigrateProject stringName 
- Name of the Azure Migrate project.
- ResourceGroup stringName 
- Name of the Azure Resource Group that migrate project is part of.
- Properties
Pulumi.Azure Native. Migrate. Inputs. Solution Properties 
- Gets or sets the properties of the solution.
- SolutionName string
- Unique name of a migration solution within a migrate project.
- MigrateProject stringName 
- Name of the Azure Migrate project.
- ResourceGroup stringName 
- Name of the Azure Resource Group that migrate project is part of.
- Properties
SolutionProperties Args 
- Gets or sets the properties of the solution.
- SolutionName string
- Unique name of a migration solution within a migrate project.
- migrateProject StringName 
- Name of the Azure Migrate project.
- resourceGroup StringName 
- Name of the Azure Resource Group that migrate project is part of.
- properties
SolutionProperties 
- Gets or sets the properties of the solution.
- solutionName String
- Unique name of a migration solution within a migrate project.
- migrateProject stringName 
- Name of the Azure Migrate project.
- resourceGroup stringName 
- Name of the Azure Resource Group that migrate project is part of.
- properties
SolutionProperties 
- Gets or sets the properties of the solution.
- solutionName string
- Unique name of a migration solution within a migrate project.
- migrate_project_ strname 
- Name of the Azure Migrate project.
- resource_group_ strname 
- Name of the Azure Resource Group that migrate project is part of.
- properties
SolutionProperties Args 
- Gets or sets the properties of the solution.
- solution_name str
- Unique name of a migration solution within a migrate project.
- migrateProject StringName 
- Name of the Azure Migrate project.
- resourceGroup StringName 
- Name of the Azure Resource Group that migrate project is part of.
- properties Property Map
- Gets or sets the properties of the solution.
- solutionName String
- Unique name of a migration solution within a migrate project.
Outputs
All input properties are implicitly available as output properties. Additionally, the Solution resource produces the following output properties:
Supporting Types
DatabasesSolutionSummaryResponse, DatabasesSolutionSummaryResponseArgs        
- DatabaseInstances intAssessed Count 
- Gets or sets the count of database instances assessed.
- DatabasesAssessed intCount 
- Gets or sets the count of databases assessed.
- MigrationReady intCount 
- Gets or sets the count of databases ready for migration.
- DatabaseInstances intAssessed Count 
- Gets or sets the count of database instances assessed.
- DatabasesAssessed intCount 
- Gets or sets the count of databases assessed.
- MigrationReady intCount 
- Gets or sets the count of databases ready for migration.
- databaseInstances IntegerAssessed Count 
- Gets or sets the count of database instances assessed.
- databasesAssessed IntegerCount 
- Gets or sets the count of databases assessed.
- migrationReady IntegerCount 
- Gets or sets the count of databases ready for migration.
- databaseInstances numberAssessed Count 
- Gets or sets the count of database instances assessed.
- databasesAssessed numberCount 
- Gets or sets the count of databases assessed.
- migrationReady numberCount 
- Gets or sets the count of databases ready for migration.
- database_instances_ intassessed_ count 
- Gets or sets the count of database instances assessed.
- databases_assessed_ intcount 
- Gets or sets the count of databases assessed.
- migration_ready_ intcount 
- Gets or sets the count of databases ready for migration.
- databaseInstances NumberAssessed Count 
- Gets or sets the count of database instances assessed.
- databasesAssessed NumberCount 
- Gets or sets the count of databases assessed.
- migrationReady NumberCount 
- Gets or sets the count of databases ready for migration.
ServersSolutionSummaryResponse, ServersSolutionSummaryResponseArgs        
- AssessedCount int
- Gets or sets the count of servers assessed.
- DiscoveredCount int
- Gets or sets the count of servers discovered.
- MigratedCount int
- Gets or sets the count of servers migrated.
- ReplicatingCount int
- Gets or sets the count of servers being replicated.
- TestMigrated intCount 
- Gets or sets the count of servers test migrated.
- AssessedCount int
- Gets or sets the count of servers assessed.
- DiscoveredCount int
- Gets or sets the count of servers discovered.
- MigratedCount int
- Gets or sets the count of servers migrated.
- ReplicatingCount int
- Gets or sets the count of servers being replicated.
- TestMigrated intCount 
- Gets or sets the count of servers test migrated.
- assessedCount Integer
- Gets or sets the count of servers assessed.
- discoveredCount Integer
- Gets or sets the count of servers discovered.
- migratedCount Integer
- Gets or sets the count of servers migrated.
- replicatingCount Integer
- Gets or sets the count of servers being replicated.
- testMigrated IntegerCount 
- Gets or sets the count of servers test migrated.
- assessedCount number
- Gets or sets the count of servers assessed.
- discoveredCount number
- Gets or sets the count of servers discovered.
- migratedCount number
- Gets or sets the count of servers migrated.
- replicatingCount number
- Gets or sets the count of servers being replicated.
- testMigrated numberCount 
- Gets or sets the count of servers test migrated.
- assessed_count int
- Gets or sets the count of servers assessed.
- discovered_count int
- Gets or sets the count of servers discovered.
- migrated_count int
- Gets or sets the count of servers migrated.
- replicating_count int
- Gets or sets the count of servers being replicated.
- test_migrated_ intcount 
- Gets or sets the count of servers test migrated.
- assessedCount Number
- Gets or sets the count of servers assessed.
- discoveredCount Number
- Gets or sets the count of servers discovered.
- migratedCount Number
- Gets or sets the count of servers migrated.
- replicatingCount Number
- Gets or sets the count of servers being replicated.
- testMigrated NumberCount 
- Gets or sets the count of servers test migrated.
SolutionDetails, SolutionDetailsArgs    
- AssessmentCount int
- Gets or sets the count of assessments reported by the solution.
- ExtendedDetails Dictionary<string, string>
- Gets or sets the extended details reported by the solution.
- GroupCount int
- Gets or sets the count of groups reported by the solution.
- AssessmentCount int
- Gets or sets the count of assessments reported by the solution.
- ExtendedDetails map[string]string
- Gets or sets the extended details reported by the solution.
- GroupCount int
- Gets or sets the count of groups reported by the solution.
- assessmentCount Integer
- Gets or sets the count of assessments reported by the solution.
- extendedDetails Map<String,String>
- Gets or sets the extended details reported by the solution.
- groupCount Integer
- Gets or sets the count of groups reported by the solution.
- assessmentCount number
- Gets or sets the count of assessments reported by the solution.
- extendedDetails {[key: string]: string}
- Gets or sets the extended details reported by the solution.
- groupCount number
- Gets or sets the count of groups reported by the solution.
- assessment_count int
- Gets or sets the count of assessments reported by the solution.
- extended_details Mapping[str, str]
- Gets or sets the extended details reported by the solution.
- group_count int
- Gets or sets the count of groups reported by the solution.
- assessmentCount Number
- Gets or sets the count of assessments reported by the solution.
- extendedDetails Map<String>
- Gets or sets the extended details reported by the solution.
- groupCount Number
- Gets or sets the count of groups reported by the solution.
SolutionDetailsResponse, SolutionDetailsResponseArgs      
- AssessmentCount int
- Gets or sets the count of assessments reported by the solution.
- ExtendedDetails Dictionary<string, string>
- Gets or sets the extended details reported by the solution.
- GroupCount int
- Gets or sets the count of groups reported by the solution.
- AssessmentCount int
- Gets or sets the count of assessments reported by the solution.
- ExtendedDetails map[string]string
- Gets or sets the extended details reported by the solution.
- GroupCount int
- Gets or sets the count of groups reported by the solution.
- assessmentCount Integer
- Gets or sets the count of assessments reported by the solution.
- extendedDetails Map<String,String>
- Gets or sets the extended details reported by the solution.
- groupCount Integer
- Gets or sets the count of groups reported by the solution.
- assessmentCount number
- Gets or sets the count of assessments reported by the solution.
- extendedDetails {[key: string]: string}
- Gets or sets the extended details reported by the solution.
- groupCount number
- Gets or sets the count of groups reported by the solution.
- assessment_count int
- Gets or sets the count of assessments reported by the solution.
- extended_details Mapping[str, str]
- Gets or sets the extended details reported by the solution.
- group_count int
- Gets or sets the count of groups reported by the solution.
- assessmentCount Number
- Gets or sets the count of assessments reported by the solution.
- extendedDetails Map<String>
- Gets or sets the extended details reported by the solution.
- groupCount Number
- Gets or sets the count of groups reported by the solution.
SolutionProperties, SolutionPropertiesArgs    
- CleanupState string
- Gets or sets the cleanup state of the solution.
- Details
Pulumi.Azure Native. Migrate. Inputs. Solution Details 
- Gets or sets the details of the solution.
- Goal string
- Gets or sets the goal of the solution.
- Purpose string
- Gets or sets the purpose of the solution.
- Status string
- Gets or sets the current status of the solution.
- Tool string
- Gets or sets the tool being used in the solution.
- CleanupState string
- Gets or sets the cleanup state of the solution.
- Details
SolutionDetails 
- Gets or sets the details of the solution.
- Goal string
- Gets or sets the goal of the solution.
- Purpose string
- Gets or sets the purpose of the solution.
- Status string
- Gets or sets the current status of the solution.
- Tool string
- Gets or sets the tool being used in the solution.
- cleanupState String
- Gets or sets the cleanup state of the solution.
- details
SolutionDetails 
- Gets or sets the details of the solution.
- goal String
- Gets or sets the goal of the solution.
- purpose String
- Gets or sets the purpose of the solution.
- status String
- Gets or sets the current status of the solution.
- tool String
- Gets or sets the tool being used in the solution.
- cleanupState string
- Gets or sets the cleanup state of the solution.
- details
SolutionDetails 
- Gets or sets the details of the solution.
- goal string
- Gets or sets the goal of the solution.
- purpose string
- Gets or sets the purpose of the solution.
- status string
- Gets or sets the current status of the solution.
- tool string
- Gets or sets the tool being used in the solution.
- cleanup_state str
- Gets or sets the cleanup state of the solution.
- details
SolutionDetails 
- Gets or sets the details of the solution.
- goal str
- Gets or sets the goal of the solution.
- purpose str
- Gets or sets the purpose of the solution.
- status str
- Gets or sets the current status of the solution.
- tool str
- Gets or sets the tool being used in the solution.
- cleanupState String
- Gets or sets the cleanup state of the solution.
- details Property Map
- Gets or sets the details of the solution.
- goal String
- Gets or sets the goal of the solution.
- purpose String
- Gets or sets the purpose of the solution.
- status String
- Gets or sets the current status of the solution.
- tool String
- Gets or sets the tool being used in the solution.
SolutionPropertiesResponse, SolutionPropertiesResponseArgs      
- CleanupState string
- Gets or sets the cleanup state of the solution.
- Details
Pulumi.Azure Native. Migrate. Inputs. Solution Details Response 
- Gets or sets the details of the solution.
- Goal string
- Gets or sets the goal of the solution.
- Purpose string
- Gets or sets the purpose of the solution.
- Status string
- Gets or sets the current status of the solution.
- Summary
Pulumi.Azure | Pulumi.Native. Migrate. Inputs. Databases Solution Summary Response Azure Native. Migrate. Inputs. Servers Solution Summary Response 
- Gets or sets the summary of the solution.
- Tool string
- Gets or sets the tool being used in the solution.
- CleanupState string
- Gets or sets the cleanup state of the solution.
- Details
SolutionDetails Response 
- Gets or sets the details of the solution.
- Goal string
- Gets or sets the goal of the solution.
- Purpose string
- Gets or sets the purpose of the solution.
- Status string
- Gets or sets the current status of the solution.
- Summary
DatabasesSolution | ServersSummary Response Solution Summary Response 
- Gets or sets the summary of the solution.
- Tool string
- Gets or sets the tool being used in the solution.
- cleanupState String
- Gets or sets the cleanup state of the solution.
- details
SolutionDetails Response 
- Gets or sets the details of the solution.
- goal String
- Gets or sets the goal of the solution.
- purpose String
- Gets or sets the purpose of the solution.
- status String
- Gets or sets the current status of the solution.
- summary
DatabasesSolution | ServersSummary Response Solution Summary Response 
- Gets or sets the summary of the solution.
- tool String
- Gets or sets the tool being used in the solution.
- cleanupState string
- Gets or sets the cleanup state of the solution.
- details
SolutionDetails Response 
- Gets or sets the details of the solution.
- goal string
- Gets or sets the goal of the solution.
- purpose string
- Gets or sets the purpose of the solution.
- status string
- Gets or sets the current status of the solution.
- summary
DatabasesSolution | ServersSummary Response Solution Summary Response 
- Gets or sets the summary of the solution.
- tool string
- Gets or sets the tool being used in the solution.
- cleanup_state str
- Gets or sets the cleanup state of the solution.
- details
SolutionDetails Response 
- Gets or sets the details of the solution.
- goal str
- Gets or sets the goal of the solution.
- purpose str
- Gets or sets the purpose of the solution.
- status str
- Gets or sets the current status of the solution.
- summary
DatabasesSolution | ServersSummary Response Solution Summary Response 
- Gets or sets the summary of the solution.
- tool str
- Gets or sets the tool being used in the solution.
- cleanupState String
- Gets or sets the cleanup state of the solution.
- details Property Map
- Gets or sets the details of the solution.
- goal String
- Gets or sets the goal of the solution.
- purpose String
- Gets or sets the purpose of the solution.
- status String
- Gets or sets the current status of the solution.
- summary Property Map | Property Map
- Gets or sets the summary of the solution.
- tool String
- Gets or sets the tool being used in the solution.
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 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0