1. Packages
  2. Azure Native
  3. API Docs
  4. migrate
  5. Solution
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

azure-native.migrate.Solution

Explore with Pulumi AI

azure-native logo
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

    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 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")
    
    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",
    });
    
    resources:
      solution:
        type: azure-native:migrate:Solution
        properties:
          migrateProjectName: project01
          properties:
            goal: Databases
            purpose: Assessment
            tool: DataMigrationAssistant
          resourceGroupName: myResourceGroup
          solutionName: dbsolution
    

    Create Solution Resource

    new Solution(name: string, args: SolutionArgs, opts?: CustomResourceOptions);
    @overload
    def Solution(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 migrate_project_name: Optional[str] = None,
                 properties: Optional[SolutionPropertiesArgs] = None,
                 resource_group_name: Optional[str] = None,
                 solution_name: Optional[str] = None)
    @overload
    def Solution(resource_name: str,
                 args: SolutionArgs,
                 opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    The Solution resource accepts the following input properties:

    MigrateProjectName string

    Name of the Azure Migrate project.

    ResourceGroupName string

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

    Properties Pulumi.AzureNative.Migrate.Inputs.SolutionPropertiesArgs

    Gets or sets the properties of the solution.

    SolutionName string

    Unique name of a migration solution within a migrate project.

    MigrateProjectName string

    Name of the Azure Migrate project.

    ResourceGroupName string

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

    Properties SolutionPropertiesArgs

    Gets or sets the properties of the solution.

    SolutionName string

    Unique name of a migration solution within a migrate project.

    migrateProjectName String

    Name of the Azure Migrate project.

    resourceGroupName String

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

    properties SolutionPropertiesArgs

    Gets or sets the properties of the solution.

    solutionName String

    Unique name of a migration solution within a migrate project.

    migrateProjectName string

    Name of the Azure Migrate project.

    resourceGroupName string

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

    properties SolutionPropertiesArgs

    Gets or sets the properties of the solution.

    solutionName string

    Unique name of a migration solution within a migrate project.

    migrate_project_name str

    Name of the Azure Migrate project.

    resource_group_name str

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

    properties SolutionPropertiesArgs

    Gets or sets the properties of the solution.

    solution_name str

    Unique name of a migration solution within a migrate project.

    migrateProjectName String

    Name of the Azure Migrate project.

    resourceGroupName String

    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:

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    Gets the name of this REST resource.

    Type string

    Gets the type of this REST resource.

    Etag string

    Gets or sets the ETAG for optimistic concurrency control.

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    Gets the name of this REST resource.

    Type string

    Gets the type of this REST resource.

    Etag string

    Gets or sets the ETAG for optimistic concurrency control.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    Gets the name of this REST resource.

    type String

    Gets the type of this REST resource.

    etag String

    Gets or sets the ETAG for optimistic concurrency control.

    id string

    The provider-assigned unique ID for this managed resource.

    name string

    Gets the name of this REST resource.

    type string

    Gets the type of this REST resource.

    etag string

    Gets or sets the ETAG for optimistic concurrency control.

    id str

    The provider-assigned unique ID for this managed resource.

    name str

    Gets the name of this REST resource.

    type str

    Gets the type of this REST resource.

    etag str

    Gets or sets the ETAG for optimistic concurrency control.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    Gets the name of this REST resource.

    type String

    Gets the type of this REST resource.

    etag String

    Gets or sets the ETAG for optimistic concurrency control.

    Supporting Types

    DatabasesSolutionSummaryResponse

    DatabaseInstancesAssessedCount int

    Gets or sets the count of database instances assessed.

    DatabasesAssessedCount int

    Gets or sets the count of databases assessed.

    MigrationReadyCount int

    Gets or sets the count of databases ready for migration.

    DatabaseInstancesAssessedCount int

    Gets or sets the count of database instances assessed.

    DatabasesAssessedCount int

    Gets or sets the count of databases assessed.

    MigrationReadyCount int

    Gets or sets the count of databases ready for migration.

    databaseInstancesAssessedCount Integer

    Gets or sets the count of database instances assessed.

    databasesAssessedCount Integer

    Gets or sets the count of databases assessed.

    migrationReadyCount Integer

    Gets or sets the count of databases ready for migration.

    databaseInstancesAssessedCount number

    Gets or sets the count of database instances assessed.

    databasesAssessedCount number

    Gets or sets the count of databases assessed.

    migrationReadyCount number

    Gets or sets the count of databases ready for migration.

    database_instances_assessed_count int

    Gets or sets the count of database instances assessed.

    databases_assessed_count int

    Gets or sets the count of databases assessed.

    migration_ready_count int

    Gets or sets the count of databases ready for migration.

    databaseInstancesAssessedCount Number

    Gets or sets the count of database instances assessed.

    databasesAssessedCount Number

    Gets or sets the count of databases assessed.

    migrationReadyCount Number

    Gets or sets the count of databases ready for migration.

    ServersSolutionSummaryResponse

    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.

    TestMigratedCount int

    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.

    TestMigratedCount int

    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.

    testMigratedCount Integer

    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.

    testMigratedCount number

    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_count int

    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.

    testMigratedCount Number

    Gets or sets the count of servers test migrated.

    SolutionDetails

    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

    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

    CleanupState string

    Gets or sets the cleanup state of the solution.

    Details Pulumi.AzureNative.Migrate.Inputs.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.

    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

    CleanupState string

    Gets or sets the cleanup state of the solution.

    Details Pulumi.AzureNative.Migrate.Inputs.SolutionDetailsResponse

    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.AzureNative.Migrate.Inputs.DatabasesSolutionSummaryResponse | Pulumi.AzureNative.Migrate.Inputs.ServersSolutionSummaryResponse

    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 SolutionDetailsResponse

    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 DatabasesSolutionSummaryResponse | ServersSolutionSummaryResponse

    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 SolutionDetailsResponse

    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 DatabasesSolutionSummaryResponse | ServersSolutionSummaryResponse

    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 SolutionDetailsResponse

    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 DatabasesSolutionSummaryResponse | ServersSolutionSummaryResponse

    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 SolutionDetailsResponse

    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 DatabasesSolutionSummaryResponse | ServersSolutionSummaryResponse

    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 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi