Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datamigration/v1beta1.MigrationJob
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new migration job in a given project and location.
Create MigrationJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MigrationJob(name: string, args: MigrationJobArgs, opts?: CustomResourceOptions);@overload
def MigrationJob(resource_name: str,
                 args: MigrationJobArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def MigrationJob(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 migration_job_id: Optional[str] = None,
                 type: Optional[MigrationJobType] = None,
                 source: Optional[str] = None,
                 destination: Optional[str] = None,
                 project: Optional[str] = None,
                 location: Optional[str] = None,
                 labels: Optional[Mapping[str, str]] = None,
                 name: Optional[str] = None,
                 dump_path: Optional[str] = None,
                 request_id: Optional[str] = None,
                 reverse_ssh_connectivity: Optional[ReverseSshConnectivityArgs] = None,
                 display_name: Optional[str] = None,
                 source_database: Optional[DatabaseTypeArgs] = None,
                 state: Optional[MigrationJobState] = None,
                 static_ip_connectivity: Optional[StaticIpConnectivityArgs] = None,
                 destination_database: Optional[DatabaseTypeArgs] = None,
                 vpc_peering_connectivity: Optional[VpcPeeringConnectivityArgs] = None)func NewMigrationJob(ctx *Context, name string, args MigrationJobArgs, opts ...ResourceOption) (*MigrationJob, error)public MigrationJob(string name, MigrationJobArgs args, CustomResourceOptions? opts = null)
public MigrationJob(String name, MigrationJobArgs args)
public MigrationJob(String name, MigrationJobArgs args, CustomResourceOptions options)
type: google-native:datamigration/v1beta1:MigrationJob
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 MigrationJobArgs
- 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 MigrationJobArgs
- 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 MigrationJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MigrationJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MigrationJobArgs
- 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 google_nativeMigrationJobResource = new GoogleNative.Datamigration.V1Beta1.MigrationJob("google-nativeMigrationJobResource", new()
{
    MigrationJobId = "string",
    Type = GoogleNative.Datamigration.V1Beta1.MigrationJobType.TypeUnspecified,
    Source = "string",
    Destination = "string",
    Project = "string",
    Location = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Name = "string",
    DumpPath = "string",
    RequestId = "string",
    ReverseSshConnectivity = new GoogleNative.Datamigration.V1Beta1.Inputs.ReverseSshConnectivityArgs
    {
        VmIp = "string",
        VmPort = 0,
        Vm = "string",
        Vpc = "string",
    },
    DisplayName = "string",
    SourceDatabase = new GoogleNative.Datamigration.V1Beta1.Inputs.DatabaseTypeArgs
    {
        Engine = GoogleNative.Datamigration.V1Beta1.DatabaseTypeEngine.DatabaseEngineUnspecified,
        Provider = GoogleNative.Datamigration.V1Beta1.DatabaseTypeProvider.DatabaseProviderUnspecified,
    },
    State = GoogleNative.Datamigration.V1Beta1.MigrationJobState.StateUnspecified,
    StaticIpConnectivity = null,
    DestinationDatabase = new GoogleNative.Datamigration.V1Beta1.Inputs.DatabaseTypeArgs
    {
        Engine = GoogleNative.Datamigration.V1Beta1.DatabaseTypeEngine.DatabaseEngineUnspecified,
        Provider = GoogleNative.Datamigration.V1Beta1.DatabaseTypeProvider.DatabaseProviderUnspecified,
    },
    VpcPeeringConnectivity = new GoogleNative.Datamigration.V1Beta1.Inputs.VpcPeeringConnectivityArgs
    {
        Vpc = "string",
    },
});
example, err := datamigrationv1beta1.NewMigrationJob(ctx, "google-nativeMigrationJobResource", &datamigrationv1beta1.MigrationJobArgs{
	MigrationJobId: pulumi.String("string"),
	Type:           datamigrationv1beta1.MigrationJobTypeTypeUnspecified,
	Source:         pulumi.String("string"),
	Destination:    pulumi.String("string"),
	Project:        pulumi.String("string"),
	Location:       pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name:      pulumi.String("string"),
	DumpPath:  pulumi.String("string"),
	RequestId: pulumi.String("string"),
	ReverseSshConnectivity: &datamigration.ReverseSshConnectivityArgs{
		VmIp:   pulumi.String("string"),
		VmPort: pulumi.Int(0),
		Vm:     pulumi.String("string"),
		Vpc:    pulumi.String("string"),
	},
	DisplayName: pulumi.String("string"),
	SourceDatabase: &datamigration.DatabaseTypeArgs{
		Engine:   datamigrationv1beta1.DatabaseTypeEngineDatabaseEngineUnspecified,
		Provider: datamigrationv1beta1.DatabaseTypeProviderDatabaseProviderUnspecified,
	},
	State:                datamigrationv1beta1.MigrationJobStateStateUnspecified,
	StaticIpConnectivity: &datamigration.StaticIpConnectivityArgs{},
	DestinationDatabase: &datamigration.DatabaseTypeArgs{
		Engine:   datamigrationv1beta1.DatabaseTypeEngineDatabaseEngineUnspecified,
		Provider: datamigrationv1beta1.DatabaseTypeProviderDatabaseProviderUnspecified,
	},
	VpcPeeringConnectivity: &datamigration.VpcPeeringConnectivityArgs{
		Vpc: pulumi.String("string"),
	},
})
var google_nativeMigrationJobResource = new MigrationJob("google-nativeMigrationJobResource", MigrationJobArgs.builder()
    .migrationJobId("string")
    .type("TYPE_UNSPECIFIED")
    .source("string")
    .destination("string")
    .project("string")
    .location("string")
    .labels(Map.of("string", "string"))
    .name("string")
    .dumpPath("string")
    .requestId("string")
    .reverseSshConnectivity(ReverseSshConnectivityArgs.builder()
        .vmIp("string")
        .vmPort(0)
        .vm("string")
        .vpc("string")
        .build())
    .displayName("string")
    .sourceDatabase(DatabaseTypeArgs.builder()
        .engine("DATABASE_ENGINE_UNSPECIFIED")
        .provider("DATABASE_PROVIDER_UNSPECIFIED")
        .build())
    .state("STATE_UNSPECIFIED")
    .staticIpConnectivity()
    .destinationDatabase(DatabaseTypeArgs.builder()
        .engine("DATABASE_ENGINE_UNSPECIFIED")
        .provider("DATABASE_PROVIDER_UNSPECIFIED")
        .build())
    .vpcPeeringConnectivity(VpcPeeringConnectivityArgs.builder()
        .vpc("string")
        .build())
    .build());
google_native_migration_job_resource = google_native.datamigration.v1beta1.MigrationJob("google-nativeMigrationJobResource",
    migration_job_id="string",
    type=google_native.datamigration.v1beta1.MigrationJobType.TYPE_UNSPECIFIED,
    source="string",
    destination="string",
    project="string",
    location="string",
    labels={
        "string": "string",
    },
    name="string",
    dump_path="string",
    request_id="string",
    reverse_ssh_connectivity={
        "vm_ip": "string",
        "vm_port": 0,
        "vm": "string",
        "vpc": "string",
    },
    display_name="string",
    source_database={
        "engine": google_native.datamigration.v1beta1.DatabaseTypeEngine.DATABASE_ENGINE_UNSPECIFIED,
        "provider": google_native.datamigration.v1beta1.DatabaseTypeProvider.DATABASE_PROVIDER_UNSPECIFIED,
    },
    state=google_native.datamigration.v1beta1.MigrationJobState.STATE_UNSPECIFIED,
    static_ip_connectivity={},
    destination_database={
        "engine": google_native.datamigration.v1beta1.DatabaseTypeEngine.DATABASE_ENGINE_UNSPECIFIED,
        "provider": google_native.datamigration.v1beta1.DatabaseTypeProvider.DATABASE_PROVIDER_UNSPECIFIED,
    },
    vpc_peering_connectivity={
        "vpc": "string",
    })
const google_nativeMigrationJobResource = new google_native.datamigration.v1beta1.MigrationJob("google-nativeMigrationJobResource", {
    migrationJobId: "string",
    type: google_native.datamigration.v1beta1.MigrationJobType.TypeUnspecified,
    source: "string",
    destination: "string",
    project: "string",
    location: "string",
    labels: {
        string: "string",
    },
    name: "string",
    dumpPath: "string",
    requestId: "string",
    reverseSshConnectivity: {
        vmIp: "string",
        vmPort: 0,
        vm: "string",
        vpc: "string",
    },
    displayName: "string",
    sourceDatabase: {
        engine: google_native.datamigration.v1beta1.DatabaseTypeEngine.DatabaseEngineUnspecified,
        provider: google_native.datamigration.v1beta1.DatabaseTypeProvider.DatabaseProviderUnspecified,
    },
    state: google_native.datamigration.v1beta1.MigrationJobState.StateUnspecified,
    staticIpConnectivity: {},
    destinationDatabase: {
        engine: google_native.datamigration.v1beta1.DatabaseTypeEngine.DatabaseEngineUnspecified,
        provider: google_native.datamigration.v1beta1.DatabaseTypeProvider.DatabaseProviderUnspecified,
    },
    vpcPeeringConnectivity: {
        vpc: "string",
    },
});
type: google-native:datamigration/v1beta1:MigrationJob
properties:
    destination: string
    destinationDatabase:
        engine: DATABASE_ENGINE_UNSPECIFIED
        provider: DATABASE_PROVIDER_UNSPECIFIED
    displayName: string
    dumpPath: string
    labels:
        string: string
    location: string
    migrationJobId: string
    name: string
    project: string
    requestId: string
    reverseSshConnectivity:
        vm: string
        vmIp: string
        vmPort: 0
        vpc: string
    source: string
    sourceDatabase:
        engine: DATABASE_ENGINE_UNSPECIFIED
        provider: DATABASE_PROVIDER_UNSPECIFIED
    state: STATE_UNSPECIFIED
    staticIpConnectivity: {}
    type: TYPE_UNSPECIFIED
    vpcPeeringConnectivity:
        vpc: string
MigrationJob 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 MigrationJob resource accepts the following input properties:
- Destination string
- The resource name (URI) of the destination connection profile.
- MigrationJob stringId 
- Required. The ID of the instance to create.
- Source string
- The resource name (URI) of the source connection profile.
- Type
Pulumi.Google Native. Datamigration. V1Beta1. Migration Job Type 
- The migration job type.
- DestinationDatabase Pulumi.Google Native. Datamigration. V1Beta1. Inputs. Database Type 
- The database engine type and provider of the destination.
- DisplayName string
- The migration job display name.
- DumpPath string
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- Labels Dictionary<string, string>
- The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Location string
- Name string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- Project string
- RequestId string
- A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- ReverseSsh Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Inputs. Reverse Ssh Connectivity 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- SourceDatabase Pulumi.Google Native. Datamigration. V1Beta1. Inputs. Database Type 
- The database engine type and provider of the source.
- State
Pulumi.Google Native. Datamigration. V1Beta1. Migration Job State 
- The current migration job state.
- StaticIp Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Inputs. Static Ip Connectivity 
- static ip connectivity data (default, no additional details needed).
- VpcPeering Pulumi.Connectivity Google Native. Datamigration. V1Beta1. Inputs. Vpc Peering Connectivity 
- The details of the VPC network that the source database is located in.
- Destination string
- The resource name (URI) of the destination connection profile.
- MigrationJob stringId 
- Required. The ID of the instance to create.
- Source string
- The resource name (URI) of the source connection profile.
- Type
MigrationJob Type 
- The migration job type.
- DestinationDatabase DatabaseType Args 
- The database engine type and provider of the destination.
- DisplayName string
- The migration job display name.
- DumpPath string
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- Labels map[string]string
- The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Location string
- Name string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- Project string
- RequestId string
- A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- ReverseSsh ReverseConnectivity Ssh Connectivity Args 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- SourceDatabase DatabaseType Args 
- The database engine type and provider of the source.
- State
MigrationJob State Enum 
- The current migration job state.
- StaticIp StaticConnectivity Ip Connectivity Args 
- static ip connectivity data (default, no additional details needed).
- VpcPeering VpcConnectivity Peering Connectivity Args 
- The details of the VPC network that the source database is located in.
- destination String
- The resource name (URI) of the destination connection profile.
- migrationJob StringId 
- Required. The ID of the instance to create.
- source String
- The resource name (URI) of the source connection profile.
- type
MigrationJob Type 
- The migration job type.
- destinationDatabase DatabaseType 
- The database engine type and provider of the destination.
- displayName String
- The migration job display name.
- dumpPath String
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- labels Map<String,String>
- The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- location String
- name String
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- project String
- requestId String
- A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- reverseSsh ReverseConnectivity Ssh Connectivity 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- sourceDatabase DatabaseType 
- The database engine type and provider of the source.
- state
MigrationJob State 
- The current migration job state.
- staticIp StaticConnectivity Ip Connectivity 
- static ip connectivity data (default, no additional details needed).
- vpcPeering VpcConnectivity Peering Connectivity 
- The details of the VPC network that the source database is located in.
- destination string
- The resource name (URI) of the destination connection profile.
- migrationJob stringId 
- Required. The ID of the instance to create.
- source string
- The resource name (URI) of the source connection profile.
- type
MigrationJob Type 
- The migration job type.
- destinationDatabase DatabaseType 
- The database engine type and provider of the destination.
- displayName string
- The migration job display name.
- dumpPath string
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- labels {[key: string]: string}
- The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- location string
- name string
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- project string
- requestId string
- A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- reverseSsh ReverseConnectivity Ssh Connectivity 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- sourceDatabase DatabaseType 
- The database engine type and provider of the source.
- state
MigrationJob State 
- The current migration job state.
- staticIp StaticConnectivity Ip Connectivity 
- static ip connectivity data (default, no additional details needed).
- vpcPeering VpcConnectivity Peering Connectivity 
- The details of the VPC network that the source database is located in.
- destination str
- The resource name (URI) of the destination connection profile.
- migration_job_ strid 
- Required. The ID of the instance to create.
- source str
- The resource name (URI) of the source connection profile.
- type
MigrationJob Type 
- The migration job type.
- destination_database DatabaseType Args 
- The database engine type and provider of the destination.
- display_name str
- The migration job display name.
- dump_path str
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- labels Mapping[str, str]
- The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- location str
- name str
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- project str
- request_id str
- A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- reverse_ssh_ Reverseconnectivity Ssh Connectivity Args 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- source_database DatabaseType Args 
- The database engine type and provider of the source.
- state
MigrationJob State 
- The current migration job state.
- static_ip_ Staticconnectivity Ip Connectivity Args 
- static ip connectivity data (default, no additional details needed).
- vpc_peering_ Vpcconnectivity Peering Connectivity Args 
- The details of the VPC network that the source database is located in.
- destination String
- The resource name (URI) of the destination connection profile.
- migrationJob StringId 
- Required. The ID of the instance to create.
- source String
- The resource name (URI) of the source connection profile.
- type "TYPE_UNSPECIFIED" | "ONE_TIME" | "CONTINUOUS"
- The migration job type.
- destinationDatabase Property Map
- The database engine type and provider of the destination.
- displayName String
- The migration job display name.
- dumpPath String
- The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
- labels Map<String>
- The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- location String
- name String
- The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- project String
- requestId String
- A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
- reverseSsh Property MapConnectivity 
- The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- sourceDatabase Property Map
- The database engine type and provider of the source.
- state "STATE_UNSPECIFIED" | "MAINTENANCE" | "DRAFT" | "CREATING" | "NOT_STARTED" | "RUNNING" | "FAILED" | "COMPLETED" | "DELETING" | "STOPPING" | "STOPPED" | "DELETED" | "UPDATING" | "STARTING" | "RESTARTING" | "RESUMING"
- The current migration job state.
- staticIp Property MapConnectivity 
- static ip connectivity data (default, no additional details needed).
- vpcPeering Property MapConnectivity 
- The details of the VPC network that the source database is located in.
Outputs
All input properties are implicitly available as output properties. Additionally, the MigrationJob resource produces the following output properties:
- CreateTime string
- The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- Duration string
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- EndTime string
- If the migration job is completed, the time when it was completed.
- Error
Pulumi.Google Native. Datamigration. V1Beta1. Outputs. Status Response 
- The error details in case of state FAILED.
- Id string
- The provider-assigned unique ID for this managed resource.
- Phase string
- The current migration job phase.
- UpdateTime string
- The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- CreateTime string
- The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- Duration string
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- EndTime string
- If the migration job is completed, the time when it was completed.
- Error
StatusResponse 
- The error details in case of state FAILED.
- Id string
- The provider-assigned unique ID for this managed resource.
- Phase string
- The current migration job phase.
- UpdateTime string
- The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- createTime String
- The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- duration String
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- endTime String
- If the migration job is completed, the time when it was completed.
- error
StatusResponse 
- The error details in case of state FAILED.
- id String
- The provider-assigned unique ID for this managed resource.
- phase String
- The current migration job phase.
- updateTime String
- The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- createTime string
- The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- duration string
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- endTime string
- If the migration job is completed, the time when it was completed.
- error
StatusResponse 
- The error details in case of state FAILED.
- id string
- The provider-assigned unique ID for this managed resource.
- phase string
- The current migration job phase.
- updateTime string
- The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- create_time str
- The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- duration str
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- end_time str
- If the migration job is completed, the time when it was completed.
- error
StatusResponse 
- The error details in case of state FAILED.
- id str
- The provider-assigned unique ID for this managed resource.
- phase str
- The current migration job phase.
- update_time str
- The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- createTime String
- The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
- duration String
- The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- endTime String
- If the migration job is completed, the time when it was completed.
- error Property Map
- The error details in case of state FAILED.
- id String
- The provider-assigned unique ID for this managed resource.
- phase String
- The current migration job phase.
- updateTime String
- The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
Supporting Types
DatabaseType, DatabaseTypeArgs    
- Engine
Pulumi.Google Native. Datamigration. V1Beta1. Database Type Engine 
- The database engine.
- Provider
Pulumi.Google Native. Datamigration. V1Beta1. Database Type Provider 
- The database provider.
- Engine
DatabaseType Engine 
- The database engine.
- Provider
DatabaseType Provider 
- The database provider.
- engine
DatabaseType Engine 
- The database engine.
- provider
DatabaseType Provider 
- The database provider.
- engine
DatabaseType Engine 
- The database engine.
- provider
DatabaseType Provider 
- The database provider.
- engine
DatabaseType Engine 
- The database engine.
- provider
DatabaseType Provider 
- The database provider.
- engine "DATABASE_ENGINE_UNSPECIFIED" | "MYSQL"
- The database engine.
- provider "DATABASE_PROVIDER_UNSPECIFIED" | "CLOUDSQL" | "RDS"
- The database provider.
DatabaseTypeEngine, DatabaseTypeEngineArgs      
- DatabaseEngine Unspecified 
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- DatabaseType Engine Database Engine Unspecified 
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- DatabaseType Engine Mysql 
- MYSQLThe source engine is MySQL.
- DatabaseEngine Unspecified 
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- DatabaseEngine Unspecified 
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- Mysql
- MYSQLThe source engine is MySQL.
- DATABASE_ENGINE_UNSPECIFIED
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- MYSQL
- MYSQLThe source engine is MySQL.
- "DATABASE_ENGINE_UNSPECIFIED"
- DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
- "MYSQL"
- MYSQLThe source engine is MySQL.
DatabaseTypeProvider, DatabaseTypeProviderArgs      
- DatabaseProvider Unspecified 
- DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- Cloudsql
- CLOUDSQLCloudSQL runs the database.
- Rds
- RDSRDS runs the database.
- DatabaseType Provider Database Provider Unspecified 
- DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- DatabaseType Provider Cloudsql 
- CLOUDSQLCloudSQL runs the database.
- DatabaseType Provider Rds 
- RDSRDS runs the database.
- DatabaseProvider Unspecified 
- DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- Cloudsql
- CLOUDSQLCloudSQL runs the database.
- Rds
- RDSRDS runs the database.
- DatabaseProvider Unspecified 
- DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- Cloudsql
- CLOUDSQLCloudSQL runs the database.
- Rds
- RDSRDS runs the database.
- DATABASE_PROVIDER_UNSPECIFIED
- DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- CLOUDSQL
- CLOUDSQLCloudSQL runs the database.
- RDS
- RDSRDS runs the database.
- "DATABASE_PROVIDER_UNSPECIFIED"
- DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
- "CLOUDSQL"
- CLOUDSQLCloudSQL runs the database.
- "RDS"
- RDSRDS runs the database.
DatabaseTypeResponse, DatabaseTypeResponseArgs      
MigrationJobState, MigrationJobStateArgs      
- StateUnspecified 
- STATE_UNSPECIFIEDThe state of the migration job is unknown.
- Maintenance
- MAINTENANCEThe migration job is down for maintenance.
- Draft
- DRAFTThe migration job is in draft mode and no resources are created.
- Creating
- CREATINGThe migration job is being created.
- NotStarted 
- NOT_STARTEDThe migration job is created and not started.
- Running
- RUNNINGThe migration job is running.
- Failed
- FAILEDThe migration job failed.
- Completed
- COMPLETEDThe migration job has been completed.
- Deleting
- DELETINGThe migration job is being deleted.
- Stopping
- STOPPINGThe migration job is being stopped.
- Stopped
- STOPPEDThe migration job is currently stopped.
- Deleted
- DELETEDThe migration job has been deleted.
- Updating
- UPDATINGThe migration job is being updated.
- Starting
- STARTINGThe migration job is starting.
- Restarting
- RESTARTINGThe migration job is restarting.
- Resuming
- RESUMINGThe migration job is resuming.
- MigrationJob State State Unspecified 
- STATE_UNSPECIFIEDThe state of the migration job is unknown.
- MigrationJob State Maintenance 
- MAINTENANCEThe migration job is down for maintenance.
- MigrationJob State Draft 
- DRAFTThe migration job is in draft mode and no resources are created.
- MigrationJob State Creating 
- CREATINGThe migration job is being created.
- MigrationJob State Not Started 
- NOT_STARTEDThe migration job is created and not started.
- MigrationJob State Running 
- RUNNINGThe migration job is running.
- MigrationJob State Failed 
- FAILEDThe migration job failed.
- MigrationJob State Completed 
- COMPLETEDThe migration job has been completed.
- MigrationJob State Deleting 
- DELETINGThe migration job is being deleted.
- MigrationJob State Stopping 
- STOPPINGThe migration job is being stopped.
- MigrationJob State Stopped 
- STOPPEDThe migration job is currently stopped.
- MigrationJob State Deleted 
- DELETEDThe migration job has been deleted.
- MigrationJob State Updating 
- UPDATINGThe migration job is being updated.
- MigrationJob State Starting 
- STARTINGThe migration job is starting.
- MigrationJob State Restarting 
- RESTARTINGThe migration job is restarting.
- MigrationJob State Resuming 
- RESUMINGThe migration job is resuming.
- StateUnspecified 
- STATE_UNSPECIFIEDThe state of the migration job is unknown.
- Maintenance
- MAINTENANCEThe migration job is down for maintenance.
- Draft
- DRAFTThe migration job is in draft mode and no resources are created.
- Creating
- CREATINGThe migration job is being created.
- NotStarted 
- NOT_STARTEDThe migration job is created and not started.
- Running
- RUNNINGThe migration job is running.
- Failed
- FAILEDThe migration job failed.
- Completed
- COMPLETEDThe migration job has been completed.
- Deleting
- DELETINGThe migration job is being deleted.
- Stopping
- STOPPINGThe migration job is being stopped.
- Stopped
- STOPPEDThe migration job is currently stopped.
- Deleted
- DELETEDThe migration job has been deleted.
- Updating
- UPDATINGThe migration job is being updated.
- Starting
- STARTINGThe migration job is starting.
- Restarting
- RESTARTINGThe migration job is restarting.
- Resuming
- RESUMINGThe migration job is resuming.
- StateUnspecified 
- STATE_UNSPECIFIEDThe state of the migration job is unknown.
- Maintenance
- MAINTENANCEThe migration job is down for maintenance.
- Draft
- DRAFTThe migration job is in draft mode and no resources are created.
- Creating
- CREATINGThe migration job is being created.
- NotStarted 
- NOT_STARTEDThe migration job is created and not started.
- Running
- RUNNINGThe migration job is running.
- Failed
- FAILEDThe migration job failed.
- Completed
- COMPLETEDThe migration job has been completed.
- Deleting
- DELETINGThe migration job is being deleted.
- Stopping
- STOPPINGThe migration job is being stopped.
- Stopped
- STOPPEDThe migration job is currently stopped.
- Deleted
- DELETEDThe migration job has been deleted.
- Updating
- UPDATINGThe migration job is being updated.
- Starting
- STARTINGThe migration job is starting.
- Restarting
- RESTARTINGThe migration job is restarting.
- Resuming
- RESUMINGThe migration job is resuming.
- STATE_UNSPECIFIED
- STATE_UNSPECIFIEDThe state of the migration job is unknown.
- MAINTENANCE
- MAINTENANCEThe migration job is down for maintenance.
- DRAFT
- DRAFTThe migration job is in draft mode and no resources are created.
- CREATING
- CREATINGThe migration job is being created.
- NOT_STARTED
- NOT_STARTEDThe migration job is created and not started.
- RUNNING
- RUNNINGThe migration job is running.
- FAILED
- FAILEDThe migration job failed.
- COMPLETED
- COMPLETEDThe migration job has been completed.
- DELETING
- DELETINGThe migration job is being deleted.
- STOPPING
- STOPPINGThe migration job is being stopped.
- STOPPED
- STOPPEDThe migration job is currently stopped.
- DELETED
- DELETEDThe migration job has been deleted.
- UPDATING
- UPDATINGThe migration job is being updated.
- STARTING
- STARTINGThe migration job is starting.
- RESTARTING
- RESTARTINGThe migration job is restarting.
- RESUMING
- RESUMINGThe migration job is resuming.
- "STATE_UNSPECIFIED"
- STATE_UNSPECIFIEDThe state of the migration job is unknown.
- "MAINTENANCE"
- MAINTENANCEThe migration job is down for maintenance.
- "DRAFT"
- DRAFTThe migration job is in draft mode and no resources are created.
- "CREATING"
- CREATINGThe migration job is being created.
- "NOT_STARTED"
- NOT_STARTEDThe migration job is created and not started.
- "RUNNING"
- RUNNINGThe migration job is running.
- "FAILED"
- FAILEDThe migration job failed.
- "COMPLETED"
- COMPLETEDThe migration job has been completed.
- "DELETING"
- DELETINGThe migration job is being deleted.
- "STOPPING"
- STOPPINGThe migration job is being stopped.
- "STOPPED"
- STOPPEDThe migration job is currently stopped.
- "DELETED"
- DELETEDThe migration job has been deleted.
- "UPDATING"
- UPDATINGThe migration job is being updated.
- "STARTING"
- STARTINGThe migration job is starting.
- "RESTARTING"
- RESTARTINGThe migration job is restarting.
- "RESUMING"
- RESUMINGThe migration job is resuming.
MigrationJobType, MigrationJobTypeArgs      
- TypeUnspecified 
- TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- OneTime 
- ONE_TIMEThe migration job is a one time migration.
- Continuous
- CONTINUOUSThe migration job is a continuous migration.
- MigrationJob Type Type Unspecified 
- TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- MigrationJob Type One Time 
- ONE_TIMEThe migration job is a one time migration.
- MigrationJob Type Continuous 
- CONTINUOUSThe migration job is a continuous migration.
- TypeUnspecified 
- TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- OneTime 
- ONE_TIMEThe migration job is a one time migration.
- Continuous
- CONTINUOUSThe migration job is a continuous migration.
- TypeUnspecified 
- TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- OneTime 
- ONE_TIMEThe migration job is a one time migration.
- Continuous
- CONTINUOUSThe migration job is a continuous migration.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- ONE_TIME
- ONE_TIMEThe migration job is a one time migration.
- CONTINUOUS
- CONTINUOUSThe migration job is a continuous migration.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIEDThe type of the migration job is unknown.
- "ONE_TIME"
- ONE_TIMEThe migration job is a one time migration.
- "CONTINUOUS"
- CONTINUOUSThe migration job is a continuous migration.
ReverseSshConnectivity, ReverseSshConnectivityArgs      
- VmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmPort int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- Vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- Vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- VmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmPort int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- Vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- Vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- vmIp String
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort Integer
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm String
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc String
- The name of the VPC to peer with the Cloud SQL private network.
- vmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort number
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- vm_ip str
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm_port int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm str
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc str
- The name of the VPC to peer with the Cloud SQL private network.
- vmIp String
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort Number
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm String
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc String
- The name of the VPC to peer with the Cloud SQL private network.
ReverseSshConnectivityResponse, ReverseSshConnectivityResponseArgs        
- Vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmPort int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- Vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- Vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- VmPort int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- Vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- vm String
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmIp String
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort Integer
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc String
- The name of the VPC to peer with the Cloud SQL private network.
- vm string
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmIp string
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort number
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc string
- The name of the VPC to peer with the Cloud SQL private network.
- vm str
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm_ip str
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vm_port int
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc str
- The name of the VPC to peer with the Cloud SQL private network.
- vm String
- The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmIp String
- The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vmPort Number
- The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
- vpc String
- The name of the VPC to peer with the Cloud SQL private network.
StatusResponse, StatusResponseArgs    
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<ImmutableDictionary<string, string>> 
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
VpcPeeringConnectivity, VpcPeeringConnectivityArgs      
- Vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- Vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc String
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc str
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc String
- The name of the VPC network to peer with the Cloud SQL private network.
VpcPeeringConnectivityResponse, VpcPeeringConnectivityResponseArgs        
- Vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- Vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc String
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc string
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc str
- The name of the VPC network to peer with the Cloud SQL private network.
- vpc String
- The name of the VPC network to peer with the Cloud SQL private network.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.