azure-native.migrate.MigrateProject
Explore with Pulumi AI
Migrate Project REST Resource. API Version: 2018-09-01-preview.
Example Usage
MigrateProjects_Put
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var migrateProject = new AzureNative.Migrate.MigrateProject("migrateProject", new()
{
ETag = "\"b701c73a-0000-0000-0000-59c12ff00000\"",
Location = "Southeast Asia",
MigrateProjectName = "project01",
Properties = null,
ResourceGroupName = "myResourceGroup",
Tags = null,
});
});
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.NewMigrateProject(ctx, "migrateProject", &migrate.MigrateProjectArgs{
ETag: pulumi.String("\"b701c73a-0000-0000-0000-59c12ff00000\""),
Location: pulumi.String("Southeast Asia"),
MigrateProjectName: pulumi.String("project01"),
Properties: nil,
ResourceGroupName: pulumi.String("myResourceGroup"),
Tags: nil,
})
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.MigrateProject;
import com.pulumi.azurenative.migrate.MigrateProjectArgs;
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 migrateProject = new MigrateProject("migrateProject", MigrateProjectArgs.builder()
.eTag("\"b701c73a-0000-0000-0000-59c12ff00000\"")
.location("Southeast Asia")
.migrateProjectName("project01")
.properties()
.resourceGroupName("myResourceGroup")
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
migrate_project = azure_native.migrate.MigrateProject("migrateProject",
e_tag="\"b701c73a-0000-0000-0000-59c12ff00000\"",
location="Southeast Asia",
migrate_project_name="project01",
properties=azure_native.migrate.MigrateProjectPropertiesArgs(),
resource_group_name="myResourceGroup",
tags=azure_native.migrate.MigrateProjectTagsArgs())
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const migrateProject = new azure_native.migrate.MigrateProject("migrateProject", {
eTag: "\"b701c73a-0000-0000-0000-59c12ff00000\"",
location: "Southeast Asia",
migrateProjectName: "project01",
properties: {},
resourceGroupName: "myResourceGroup",
tags: {},
});
resources:
migrateProject:
type: azure-native:migrate:MigrateProject
properties:
eTag: '"b701c73a-0000-0000-0000-59c12ff00000"'
location: Southeast Asia
migrateProjectName: project01
properties: {}
resourceGroupName: myResourceGroup
tags: {}
Create MigrateProject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MigrateProject(name: string, args: MigrateProjectArgs, opts?: CustomResourceOptions);
@overload
def MigrateProject(resource_name: str,
args: MigrateProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MigrateProject(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
e_tag: Optional[str] = None,
location: Optional[str] = None,
migrate_project_name: Optional[str] = None,
properties: Optional[MigrateProjectPropertiesArgs] = None,
tags: Optional[MigrateProjectTagsArgs] = None)
func NewMigrateProject(ctx *Context, name string, args MigrateProjectArgs, opts ...ResourceOption) (*MigrateProject, error)
public MigrateProject(string name, MigrateProjectArgs args, CustomResourceOptions? opts = null)
public MigrateProject(String name, MigrateProjectArgs args)
public MigrateProject(String name, MigrateProjectArgs args, CustomResourceOptions options)
type: azure-native:migrate:MigrateProject
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 MigrateProjectArgs
- 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 MigrateProjectArgs
- 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 MigrateProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MigrateProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MigrateProjectArgs
- 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 migrateProjectResource = new AzureNative.Migrate.MigrateProject("migrateProjectResource", new()
{
ResourceGroupName = "string",
ETag = "string",
Location = "string",
MigrateProjectName = "string",
Properties =
{
{ "provisioningState", "string" },
{ "registeredTools", new[]
{
"string",
} },
},
Tags =
{
{ "additionalProperties", "string" },
},
});
example, err := migrate.NewMigrateProject(ctx, "migrateProjectResource", &migrate.MigrateProjectArgs{
ResourceGroupName: "string",
ETag: "string",
Location: "string",
MigrateProjectName: "string",
Properties: map[string]interface{}{
"provisioningState": "string",
"registeredTools": []string{
"string",
},
},
Tags: map[string]interface{}{
"additionalProperties": "string",
},
})
var migrateProjectResource = new MigrateProject("migrateProjectResource", MigrateProjectArgs.builder()
.resourceGroupName("string")
.eTag("string")
.location("string")
.migrateProjectName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
migrate_project_resource = azure_native.migrate.MigrateProject("migrateProjectResource",
resource_group_name=string,
e_tag=string,
location=string,
migrate_project_name=string,
properties={
provisioningState: string,
registeredTools: [string],
},
tags={
additionalProperties: string,
})
const migrateProjectResource = new azure_native.migrate.MigrateProject("migrateProjectResource", {
resourceGroupName: "string",
eTag: "string",
location: "string",
migrateProjectName: "string",
properties: {
provisioningState: "string",
registeredTools: ["string"],
},
tags: {
additionalProperties: "string",
},
});
type: azure-native:migrate:MigrateProject
properties:
eTag: string
location: string
migrateProjectName: string
properties:
provisioningState: string
registeredTools:
- string
resourceGroupName: string
tags:
additionalProperties: string
MigrateProject 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 MigrateProject resource accepts the following input properties:
- Resource
Group stringName - Name of the Azure Resource Group that migrate project is part of.
- ETag string
- Gets or sets the eTag for concurrency control.
- Location string
- Gets or sets the Azure location in which migrate project is created.
- Migrate
Project stringName - Name of the Azure Migrate project.
- Properties
Pulumi.
Azure Native. Migrate. Inputs. Migrate Project Properties - Gets or sets the nested properties.
- Pulumi.
Azure Native. Migrate. Inputs. Migrate Project Tags - Gets or sets the tags.
- Resource
Group stringName - Name of the Azure Resource Group that migrate project is part of.
- ETag string
- Gets or sets the eTag for concurrency control.
- Location string
- Gets or sets the Azure location in which migrate project is created.
- Migrate
Project stringName - Name of the Azure Migrate project.
- Properties
Migrate
Project Properties Args - Gets or sets the nested properties.
- Migrate
Project Tags Args - Gets or sets the tags.
- resource
Group StringName - Name of the Azure Resource Group that migrate project is part of.
- e
Tag String - Gets or sets the eTag for concurrency control.
- location String
- Gets or sets the Azure location in which migrate project is created.
- migrate
Project StringName - Name of the Azure Migrate project.
- properties
Migrate
Project Properties - Gets or sets the nested properties.
- Migrate
Project Tags - Gets or sets the tags.
- resource
Group stringName - Name of the Azure Resource Group that migrate project is part of.
- e
Tag string - Gets or sets the eTag for concurrency control.
- location string
- Gets or sets the Azure location in which migrate project is created.
- migrate
Project stringName - Name of the Azure Migrate project.
- properties
Migrate
Project Properties - Gets or sets the nested properties.
- Migrate
Project Tags - Gets or sets the tags.
- resource_
group_ strname - Name of the Azure Resource Group that migrate project is part of.
- e_
tag str - Gets or sets the eTag for concurrency control.
- location str
- Gets or sets the Azure location in which migrate project is created.
- migrate_
project_ strname - Name of the Azure Migrate project.
- properties
Migrate
Project Properties Args - Gets or sets the nested properties.
- Migrate
Project Tags Args - Gets or sets the tags.
- resource
Group StringName - Name of the Azure Resource Group that migrate project is part of.
- e
Tag String - Gets or sets the eTag for concurrency control.
- location String
- Gets or sets the Azure location in which migrate project is created.
- migrate
Project StringName - Name of the Azure Migrate project.
- properties Property Map
- Gets or sets the nested properties.
- Property Map
- Gets or sets the tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the MigrateProject resource produces the following output properties:
Supporting Types
DatabaseProjectSummaryResponse, DatabaseProjectSummaryResponseArgs
- Extended
Summary Dictionary<string, string> - Gets or sets the extended summary.
- Last
Summary stringRefreshed Time - Gets or sets the time when summary was last refreshed.
- Refresh
Summary stringState - Gets or sets the state of refresh summary.
- Extended
Summary map[string]string - Gets or sets the extended summary.
- Last
Summary stringRefreshed Time - Gets or sets the time when summary was last refreshed.
- Refresh
Summary stringState - Gets or sets the state of refresh summary.
- extended
Summary Map<String,String> - Gets or sets the extended summary.
- last
Summary StringRefreshed Time - Gets or sets the time when summary was last refreshed.
- refresh
Summary StringState - Gets or sets the state of refresh summary.
- extended
Summary {[key: string]: string} - Gets or sets the extended summary.
- last
Summary stringRefreshed Time - Gets or sets the time when summary was last refreshed.
- refresh
Summary stringState - Gets or sets the state of refresh summary.
- extended_
summary Mapping[str, str] - Gets or sets the extended summary.
- last_
summary_ strrefreshed_ time - Gets or sets the time when summary was last refreshed.
- refresh_
summary_ strstate - Gets or sets the state of refresh summary.
- extended
Summary Map<String> - Gets or sets the extended summary.
- last
Summary StringRefreshed Time - Gets or sets the time when summary was last refreshed.
- refresh
Summary StringState - Gets or sets the state of refresh summary.
MigrateProjectProperties, MigrateProjectPropertiesArgs
- Provisioning
State string | Pulumi.Azure Native. Migrate. Provisioning State - Provisioning state of the migrate project.
- Registered
Tools List<string> - Gets or sets the list of tools registered with the migrate project.
- Provisioning
State string | ProvisioningState - Provisioning state of the migrate project.
- Registered
Tools []string - Gets or sets the list of tools registered with the migrate project.
- provisioning
State String | ProvisioningState - Provisioning state of the migrate project.
- registered
Tools List<String> - Gets or sets the list of tools registered with the migrate project.
- provisioning
State string | ProvisioningState - Provisioning state of the migrate project.
- registered
Tools string[] - Gets or sets the list of tools registered with the migrate project.
- provisioning_
state str | ProvisioningState - Provisioning state of the migrate project.
- registered_
tools Sequence[str] - Gets or sets the list of tools registered with the migrate project.
- provisioning
State String | "Accepted" | "Creating" | "Deleting" | "Failed" | "Moving" | "Succeeded" - Provisioning state of the migrate project.
- registered
Tools List<String> - Gets or sets the list of tools registered with the migrate project.
MigrateProjectPropertiesResponse, MigrateProjectPropertiesResponseArgs
- Last
Summary stringRefreshed Time - Gets the last time the project summary was refreshed.
- Refresh
Summary stringState - Gets the refresh summary state.
- Summary
Dictionary<string, Union<Pulumi.
Azure Native. Migrate. Inputs. Database Project Summary Response, Pulumi. Azure Native. Migrate. Inputs. Servers Project Summary Response>> - Gets the summary of the migrate project.
- Provisioning
State string - Provisioning state of the migrate project.
- Registered
Tools List<string> - Gets or sets the list of tools registered with the migrate project.
- Last
Summary stringRefreshed Time - Gets the last time the project summary was refreshed.
- Refresh
Summary stringState - Gets the refresh summary state.
- Summary map[string]interface{}
- Gets the summary of the migrate project.
- Provisioning
State string - Provisioning state of the migrate project.
- Registered
Tools []string - Gets or sets the list of tools registered with the migrate project.
- last
Summary StringRefreshed Time - Gets the last time the project summary was refreshed.
- refresh
Summary StringState - Gets the refresh summary state.
- summary
Map<String,Either<Database
Project Summary Response,Servers Project Summary Response>> - Gets the summary of the migrate project.
- provisioning
State String - Provisioning state of the migrate project.
- registered
Tools List<String> - Gets or sets the list of tools registered with the migrate project.
- last
Summary stringRefreshed Time - Gets the last time the project summary was refreshed.
- refresh
Summary stringState - Gets the refresh summary state.
- summary
{[key: string]: Database
Project Summary Response | Servers Project Summary Response} - Gets the summary of the migrate project.
- provisioning
State string - Provisioning state of the migrate project.
- registered
Tools string[] - Gets or sets the list of tools registered with the migrate project.
- last_
summary_ strrefreshed_ time - Gets the last time the project summary was refreshed.
- refresh_
summary_ strstate - Gets the refresh summary state.
- summary
Mapping[str, Union[Database
Project Summary Response, Servers Project Summary Response]] - Gets the summary of the migrate project.
- provisioning_
state str - Provisioning state of the migrate project.
- registered_
tools Sequence[str] - Gets or sets the list of tools registered with the migrate project.
- last
Summary StringRefreshed Time - Gets the last time the project summary was refreshed.
- refresh
Summary StringState - Gets the refresh summary state.
- summary Map<Property Map | Property Map>
- Gets the summary of the migrate project.
- provisioning
State String - Provisioning state of the migrate project.
- registered
Tools List<String> - Gets or sets the list of tools registered with the migrate project.
MigrateProjectResponseTags, MigrateProjectResponseTagsArgs
- Additional
Properties string
- Additional
Properties string
- additional
Properties String
- additional
Properties string
- additional
Properties String
MigrateProjectTags, MigrateProjectTagsArgs
- Additional
Properties string
- Additional
Properties string
- additional
Properties String
- additional
Properties string
- additional
Properties String
ProvisioningState, ProvisioningStateArgs
- Accepted
- Accepted
- Creating
- Creating
- Deleting
- Deleting
- Failed
- Failed
- Moving
- Moving
- Succeeded
- Succeeded
- Provisioning
State Accepted - Accepted
- Provisioning
State Creating - Creating
- Provisioning
State Deleting - Deleting
- Provisioning
State Failed - Failed
- Provisioning
State Moving - Moving
- Provisioning
State Succeeded - Succeeded
- Accepted
- Accepted
- Creating
- Creating
- Deleting
- Deleting
- Failed
- Failed
- Moving
- Moving
- Succeeded
- Succeeded
- Accepted
- Accepted
- Creating
- Creating
- Deleting
- Deleting
- Failed
- Failed
- Moving
- Moving
- Succeeded
- Succeeded
- ACCEPTED
- Accepted
- CREATING
- Creating
- DELETING
- Deleting
- FAILED
- Failed
- MOVING
- Moving
- SUCCEEDED
- Succeeded
- "Accepted"
- Accepted
- "Creating"
- Creating
- "Deleting"
- Deleting
- "Failed"
- Failed
- "Moving"
- Moving
- "Succeeded"
- Succeeded
ServersProjectSummaryResponse, ServersProjectSummaryResponseArgs
- Assessed
Count int - Gets or sets the count of entities assessed.
- Discovered
Count int - Gets or sets the count of entities discovered.
- Extended
Summary Dictionary<string, string> - Gets or sets the extended summary.
- Last
Summary stringRefreshed Time - Gets or sets the time when summary was last refreshed.
- Migrated
Count int - Gets or sets the count of entities migrated.
- Refresh
Summary stringState - Gets or sets the state of refresh summary.
- Replicating
Count int - Gets or sets the count of entities being replicated.
- Test
Migrated intCount - Gets or sets the count of entities test migrated.
- Assessed
Count int - Gets or sets the count of entities assessed.
- Discovered
Count int - Gets or sets the count of entities discovered.
- Extended
Summary map[string]string - Gets or sets the extended summary.
- Last
Summary stringRefreshed Time - Gets or sets the time when summary was last refreshed.
- Migrated
Count int - Gets or sets the count of entities migrated.
- Refresh
Summary stringState - Gets or sets the state of refresh summary.
- Replicating
Count int - Gets or sets the count of entities being replicated.
- Test
Migrated intCount - Gets or sets the count of entities test migrated.
- assessed
Count Integer - Gets or sets the count of entities assessed.
- discovered
Count Integer - Gets or sets the count of entities discovered.
- extended
Summary Map<String,String> - Gets or sets the extended summary.
- last
Summary StringRefreshed Time - Gets or sets the time when summary was last refreshed.
- migrated
Count Integer - Gets or sets the count of entities migrated.
- refresh
Summary StringState - Gets or sets the state of refresh summary.
- replicating
Count Integer - Gets or sets the count of entities being replicated.
- test
Migrated IntegerCount - Gets or sets the count of entities test migrated.
- assessed
Count number - Gets or sets the count of entities assessed.
- discovered
Count number - Gets or sets the count of entities discovered.
- extended
Summary {[key: string]: string} - Gets or sets the extended summary.
- last
Summary stringRefreshed Time - Gets or sets the time when summary was last refreshed.
- migrated
Count number - Gets or sets the count of entities migrated.
- refresh
Summary stringState - Gets or sets the state of refresh summary.
- replicating
Count number - Gets or sets the count of entities being replicated.
- test
Migrated numberCount - Gets or sets the count of entities test migrated.
- assessed_
count int - Gets or sets the count of entities assessed.
- discovered_
count int - Gets or sets the count of entities discovered.
- extended_
summary Mapping[str, str] - Gets or sets the extended summary.
- last_
summary_ strrefreshed_ time - Gets or sets the time when summary was last refreshed.
- migrated_
count int - Gets or sets the count of entities migrated.
- refresh_
summary_ strstate - Gets or sets the state of refresh summary.
- replicating_
count int - Gets or sets the count of entities being replicated.
- test_
migrated_ intcount - Gets or sets the count of entities test migrated.
- assessed
Count Number - Gets or sets the count of entities assessed.
- discovered
Count Number - Gets or sets the count of entities discovered.
- extended
Summary Map<String> - Gets or sets the extended summary.
- last
Summary StringRefreshed Time - Gets or sets the time when summary was last refreshed.
- migrated
Count Number - Gets or sets the count of entities migrated.
- refresh
Summary StringState - Gets or sets the state of refresh summary.
- replicating
Count Number - Gets or sets the count of entities being replicated.
- test
Migrated NumberCount - Gets or sets the count of entities test migrated.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:migrate:MigrateProject project01 /subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01
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