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 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
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
The Solution resource accepts the following input properties:
- Migrate
Project stringName - Name of the Azure Migrate project.
- Resource
Group 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.
- Solution
Name string - Unique name of a migration solution within a migrate project.
- Migrate
Project stringName - Name of the Azure Migrate project.
- Resource
Group stringName - Name of the Azure Resource Group that migrate project is part of.
- Properties
Solution
Properties Args - Gets or sets the properties of the solution.
- Solution
Name string - Unique name of a migration solution within a migrate project.
- migrate
Project StringName - Name of the Azure Migrate project.
- resource
Group StringName - Name of the Azure Resource Group that migrate project is part of.
- properties
Solution
Properties - Gets or sets the properties of the solution.
- solution
Name String - Unique name of a migration solution within a migrate project.
- migrate
Project stringName - Name of the Azure Migrate project.
- resource
Group stringName - Name of the Azure Resource Group that migrate project is part of.
- properties
Solution
Properties - Gets or sets the properties of the solution.
- solution
Name 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
Solution
Properties Args - Gets or sets the properties of the solution.
- solution_
name str - Unique name of a migration solution within a migrate project.
- migrate
Project StringName - Name of the Azure Migrate project.
- resource
Group StringName - Name of the Azure Resource Group that migrate project is part of.
- properties Property Map
- Gets or sets the properties of the solution.
- solution
Name 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
- 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.
- 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.
- database
Instances IntegerAssessed Count - Gets or sets the count of database instances assessed.
- databases
Assessed IntegerCount - Gets or sets the count of databases assessed.
- migration
Ready IntegerCount - Gets or sets the count of databases ready for migration.
- database
Instances numberAssessed Count - Gets or sets the count of database instances assessed.
- databases
Assessed numberCount - Gets or sets the count of databases assessed.
- migration
Ready 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.
- database
Instances NumberAssessed Count - Gets or sets the count of database instances assessed.
- databases
Assessed NumberCount - Gets or sets the count of databases assessed.
- migration
Ready NumberCount - Gets or sets the count of databases ready for migration.
ServersSolutionSummaryResponse, ServersSolutionSummaryResponseArgs
- 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.
- 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.
- assessed
Count Integer - Gets or sets the count of servers assessed.
- discovered
Count Integer - Gets or sets the count of servers discovered.
- migrated
Count Integer - Gets or sets the count of servers migrated.
- replicating
Count Integer - Gets or sets the count of servers being replicated.
- test
Migrated IntegerCount - Gets or sets the count of servers test migrated.
- assessed
Count number - Gets or sets the count of servers assessed.
- discovered
Count number - Gets or sets the count of servers discovered.
- migrated
Count number - Gets or sets the count of servers migrated.
- replicating
Count number - Gets or sets the count of servers being replicated.
- test
Migrated 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.
- assessed
Count Number - Gets or sets the count of servers assessed.
- discovered
Count Number - Gets or sets the count of servers discovered.
- migrated
Count Number - Gets or sets the count of servers migrated.
- replicating
Count Number - Gets or sets the count of servers being replicated.
- test
Migrated NumberCount - Gets or sets the count of servers test migrated.
SolutionDetails, SolutionDetailsArgs
- Assessment
Count int - Gets or sets the count of assessments reported by the solution.
- Extended
Details Dictionary<string, string> - Gets or sets the extended details reported by the solution.
- Group
Count int - 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 map[string]string - Gets or sets the extended details reported by the solution.
- Group
Count int - Gets or sets the count of groups reported by the solution.
- assessment
Count Integer - Gets or sets the count of assessments reported by the solution.
- extended
Details Map<String,String> - Gets or sets the extended details reported by the solution.
- group
Count Integer - Gets or sets the count of groups reported by the solution.
- assessment
Count number - Gets or sets the count of assessments reported by the solution.
- extended
Details {[key: string]: string} - Gets or sets the extended details reported by the solution.
- group
Count 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.
- assessment
Count Number - Gets or sets the count of assessments reported by the solution.
- extended
Details Map<String> - Gets or sets the extended details reported by the solution.
- group
Count Number - Gets or sets the count of groups reported by the solution.
SolutionDetailsResponse, SolutionDetailsResponseArgs
- Assessment
Count int - Gets or sets the count of assessments reported by the solution.
- Extended
Details Dictionary<string, string> - Gets or sets the extended details reported by the solution.
- Group
Count int - 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 map[string]string - Gets or sets the extended details reported by the solution.
- Group
Count int - Gets or sets the count of groups reported by the solution.
- assessment
Count Integer - Gets or sets the count of assessments reported by the solution.
- extended
Details Map<String,String> - Gets or sets the extended details reported by the solution.
- group
Count Integer - Gets or sets the count of groups reported by the solution.
- assessment
Count number - Gets or sets the count of assessments reported by the solution.
- extended
Details {[key: string]: string} - Gets or sets the extended details reported by the solution.
- group
Count 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.
- assessment
Count Number - Gets or sets the count of assessments reported by the solution.
- extended
Details Map<String> - Gets or sets the extended details reported by the solution.
- group
Count Number - Gets or sets the count of groups reported by the solution.
SolutionProperties, SolutionPropertiesArgs
- Cleanup
State 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.
- Cleanup
State string - Gets or sets the cleanup state of the solution.
- Details
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.
- cleanup
State String - Gets or sets the cleanup state of the solution.
- details
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.
- cleanup
State string - Gets or sets the cleanup state of the solution.
- details
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.
- cleanup_
state str - Gets or sets the cleanup state of the solution.
- details
Solution
Details - 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.
- cleanup
State 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
- Cleanup
State 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.
- Cleanup
State string - Gets or sets the cleanup state of the solution.
- Details
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
Databases
Solution | 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 String - Gets or sets the cleanup state of the solution.
- details
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
Databases
Solution | 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 string - Gets or sets the cleanup state of the solution.
- details
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
Databases
Solution | 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
Solution
Details 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
Databases
Solution | 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.
- cleanup
State 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