1. Registry
  2. Packages
  3. Google Cloud Native
  4. API Docs
  5. datamigration
  6. datamigration/v1beta1
  7. MigrationJob

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi
google-native logo Google Cloud Native

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi

    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.
    
    
    resource "google-native_datamigration_v1beta1_migration_job" "name" {
        # resource properties
    }

    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 = new() { },
        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"),
    	},
    })
    
    resource "google-native_datamigration_v1beta1_migration_job" "google-nativeMigrationJobResource" {
      lifecycle {
        create_before_destroy = true
      }
      migration_job_id = "string"
      type             = "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   = "DATABASE_ENGINE_UNSPECIFIED"
        provider = "DATABASE_PROVIDER_UNSPECIFIED"
      }
      state                  = "STATE_UNSPECIFIED"
      static_ip_connectivity = {}
      destination_database = {
        engine   = "DATABASE_ENGINE_UNSPECIFIED"
        provider = "DATABASE_PROVIDER_UNSPECIFIED"
      }
      vpc_peering_connectivity = {
        vpc = "string"
      }
    }
    
    var google_nativeMigrationJobResource = new com.pulumi.googlenative.datamigration_v1beta1.MigrationJob("google-nativeMigrationJobResource", com.pulumi.googlenative.datamigration_v1beta1.MigrationJobArgs.builder()
        .migrationJobId("string")
        .type(com.pulumi.googlenative.datamigration_v1beta1.enums.MigrationJobType.TypeUnspecified)
        .source("string")
        .destination("string")
        .project("string")
        .location("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .dumpPath("string")
        .requestId("string")
        .reverseSshConnectivity(com.pulumi.googlenative.datamigration_v1beta1.inputs.ReverseSshConnectivityArgs.builder()
            .vmIp("string")
            .vmPort(0)
            .vm("string")
            .vpc("string")
            .build())
        .displayName("string")
        .sourceDatabase(com.pulumi.googlenative.datamigration_v1beta1.inputs.DatabaseTypeArgs.builder()
            .engine(com.pulumi.googlenative.datamigration_v1beta1.enums.DatabaseTypeEngine.DatabaseEngineUnspecified)
            .provider(com.pulumi.googlenative.datamigration_v1beta1.enums.DatabaseTypeProvider.DatabaseProviderUnspecified)
            .build())
        .state(com.pulumi.googlenative.datamigration_v1beta1.enums.MigrationJobState.StateUnspecified)
        .staticIpConnectivity(com.pulumi.googlenative.datamigration_v1beta1.inputs.StaticIpConnectivityArgs.builder()
            .build())
        .destinationDatabase(com.pulumi.googlenative.datamigration_v1beta1.inputs.DatabaseTypeArgs.builder()
            .engine(com.pulumi.googlenative.datamigration_v1beta1.enums.DatabaseTypeEngine.DatabaseEngineUnspecified)
            .provider(com.pulumi.googlenative.datamigration_v1beta1.enums.DatabaseTypeProvider.DatabaseProviderUnspecified)
            .build())
        .vpcPeeringConnectivity(com.pulumi.googlenative.datamigration_v1beta1.inputs.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.
    MigrationJobId string
    Required. The ID of the instance to create.
    Source string
    The resource name (URI) of the source connection profile.
    Type Pulumi.GoogleNative.Datamigration.V1Beta1.MigrationJobType
    The migration job type.
    DestinationDatabase Pulumi.GoogleNative.Datamigration.V1Beta1.Inputs.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 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.
    ReverseSshConnectivity Pulumi.GoogleNative.Datamigration.V1Beta1.Inputs.ReverseSshConnectivity
    The details needed to communicate to the source over Reverse SSH tunnel connectivity.
    SourceDatabase Pulumi.GoogleNative.Datamigration.V1Beta1.Inputs.DatabaseType
    The database engine type and provider of the source.
    State Pulumi.GoogleNative.Datamigration.V1Beta1.MigrationJobState
    The current migration job state.
    StaticIpConnectivity Pulumi.GoogleNative.Datamigration.V1Beta1.Inputs.StaticIpConnectivity
    static ip connectivity data (default, no additional details needed).
    VpcPeeringConnectivity Pulumi.GoogleNative.Datamigration.V1Beta1.Inputs.VpcPeeringConnectivity
    The details of the VPC network that the source database is located in.
    Destination string
    The resource name (URI) of the destination connection profile.
    MigrationJobId string
    Required. The ID of the instance to create.
    Source string
    The resource name (URI) of the source connection profile.
    Type MigrationJobType
    The migration job type.
    DestinationDatabase DatabaseTypeArgs
    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.
    ReverseSshConnectivity ReverseSshConnectivityArgs
    The details needed to communicate to the source over Reverse SSH tunnel connectivity.
    SourceDatabase DatabaseTypeArgs
    The database engine type and provider of the source.
    State MigrationJobStateEnum
    The current migration job state.
    StaticIpConnectivity StaticIpConnectivityArgs
    static ip connectivity data (default, no additional details needed).
    VpcPeeringConnectivity VpcPeeringConnectivityArgs
    The details of the VPC network that the source database is located in.
    destination string
    The resource name (URI) of the destination connection profile.
    migration_job_id string
    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.
    destination_database object
    The database engine type and provider of the destination.
    display_name string
    The migration job display name.
    dump_path 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
    request_id 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.
    reverse_ssh_connectivity object
    The details needed to communicate to the source over Reverse SSH tunnel connectivity.
    source_database object
    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.
    static_ip_connectivity object
    static ip connectivity data (default, no additional details needed).
    vpc_peering_connectivity object
    The details of the VPC network that the source database is located in.
    destination String
    The resource name (URI) of the destination connection profile.
    migrationJobId String
    Required. The ID of the instance to create.
    source String
    The resource name (URI) of the source connection profile.
    type MigrationJobType
    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.
    reverseSshConnectivity ReverseSshConnectivity
    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 MigrationJobState
    The current migration job state.
    staticIpConnectivity StaticIpConnectivity
    static ip connectivity data (default, no additional details needed).
    vpcPeeringConnectivity VpcPeeringConnectivity
    The details of the VPC network that the source database is located in.
    destination string
    The resource name (URI) of the destination connection profile.
    migrationJobId string
    Required. The ID of the instance to create.
    source string
    The resource name (URI) of the source connection profile.
    type MigrationJobType
    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.
    reverseSshConnectivity ReverseSshConnectivity
    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 MigrationJobState
    The current migration job state.
    staticIpConnectivity StaticIpConnectivity
    static ip connectivity data (default, no additional details needed).
    vpcPeeringConnectivity VpcPeeringConnectivity
    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_id str
    Required. The ID of the instance to create.
    source str
    The resource name (URI) of the source connection profile.
    type MigrationJobType
    The migration job type.
    destination_database DatabaseTypeArgs
    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_connectivity ReverseSshConnectivityArgs
    The details needed to communicate to the source over Reverse SSH tunnel connectivity.
    source_database DatabaseTypeArgs
    The database engine type and provider of the source.
    state MigrationJobState
    The current migration job state.
    static_ip_connectivity StaticIpConnectivityArgs
    static ip connectivity data (default, no additional details needed).
    vpc_peering_connectivity VpcPeeringConnectivityArgs
    The details of the VPC network that the source database is located in.
    destination String
    The resource name (URI) of the destination connection profile.
    migrationJobId String
    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.
    reverseSshConnectivity Property Map
    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.
    staticIpConnectivity Property Map
    static ip connectivity data (default, no additional details needed).
    vpcPeeringConnectivity Property Map
    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.GoogleNative.Datamigration.V1Beta1.Outputs.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 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".
    end_time string
    If the migration job is completed, the time when it was completed.
    error object
    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.
    update_time 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".

    Look up Existing MigrationJob Resource

    Get an existing MigrationJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): MigrationJob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> MigrationJob
    func GetMigrationJob(ctx *Context, name string, id IDInput, state *MigrationJobState, opts ...ResourceOption) (*MigrationJob, error)
    public static MigrationJob Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static MigrationJob get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingMigrationJob:    type: google-native:datamigration/v1beta1:MigrationJob    get:      id: ${id}
    import {
      to = google-native_datamigration_v1beta1_migration_job.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state MigrationJobState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    DatabaseType, DatabaseTypeArgs

    A message defining the database engine and provider.

    Engine DatabaseTypeEngine
    The database engine.
    Provider DatabaseTypeProvider
    The database provider.
    engine DatabaseTypeEngine
    The database engine.
    provider DatabaseTypeProvider
    The database provider.
    engine DatabaseTypeEngine
    The database engine.
    provider DatabaseTypeProvider
    The database provider.
    engine DatabaseTypeEngine
    The database engine.
    provider DatabaseTypeProvider
    The database provider.

    DatabaseTypeEngine

    The database engine.

    NameValueDescription
    DatabaseEngineUnspecifiedDATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
    MysqlMYSQLThe source engine is MySQL.
    NameValueDescription
    DatabaseTypeEngineDatabaseEngineUnspecifiedDATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
    DatabaseTypeEngineMysqlMYSQLThe source engine is MySQL.
    ValueDescription
    DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
    MYSQLThe source engine is MySQL.
    NameValueDescription
    DatabaseEngineUnspecifiedDATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
    MysqlMYSQLThe source engine is MySQL.
    NameValueDescription
    DatabaseEngineUnspecifiedDATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
    MysqlMYSQLThe source engine is MySQL.
    NameValueDescription
    DATABASE_ENGINE_UNSPECIFIEDDATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
    MYSQLMYSQLThe source engine is MySQL.
    ValueDescription
    DATABASE_ENGINE_UNSPECIFIEDThe source database engine of the migration job is unknown.
    MYSQLThe source engine is MySQL.

    DatabaseTypeProvider

    The database provider.

    NameValueDescription
    DatabaseProviderUnspecifiedDATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
    CloudsqlCLOUDSQLCloudSQL runs the database.
    RdsRDSRDS runs the database.
    NameValueDescription
    DatabaseTypeProviderDatabaseProviderUnspecifiedDATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
    DatabaseTypeProviderCloudsqlCLOUDSQLCloudSQL runs the database.
    DatabaseTypeProviderRdsRDSRDS runs the database.
    ValueDescription
    DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
    CLOUDSQLCloudSQL runs the database.
    RDSRDS runs the database.
    NameValueDescription
    DatabaseProviderUnspecifiedDATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
    CloudsqlCLOUDSQLCloudSQL runs the database.
    RdsRDSRDS runs the database.
    NameValueDescription
    DatabaseProviderUnspecifiedDATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
    CloudsqlCLOUDSQLCloudSQL runs the database.
    RdsRDSRDS runs the database.
    NameValueDescription
    DATABASE_PROVIDER_UNSPECIFIEDDATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
    CLOUDSQLCLOUDSQLCloudSQL runs the database.
    RDSRDSRDS runs the database.
    ValueDescription
    DATABASE_PROVIDER_UNSPECIFIEDThe database provider is unknown.
    CLOUDSQLCloudSQL runs the database.
    RDSRDS runs the database.

    DatabaseTypeResponse

    A message defining the database engine and provider.

    Engine string
    The database engine.
    Provider string
    The database provider.
    Engine string
    The database engine.
    Provider string
    The database provider.
    engine string
    The database engine.
    provider string
    The database provider.
    engine String
    The database engine.
    provider String
    The database provider.
    engine string
    The database engine.
    provider string
    The database provider.
    engine str
    The database engine.
    provider str
    The database provider.
    engine String
    The database engine.
    provider String
    The database provider.

    MigrationJobState

    The current migration job state.

    NameValueDescription
    StateUnspecifiedSTATE_UNSPECIFIEDThe state of the migration job is unknown.
    MaintenanceMAINTENANCEThe migration job is down for maintenance.
    DraftDRAFTThe migration job is in draft mode and no resources are created.
    CreatingCREATINGThe migration job is being created.
    NotStartedNOT_STARTEDThe migration job is created and not started.
    RunningRUNNINGThe migration job is running.
    FailedFAILEDThe migration job failed.
    CompletedCOMPLETEDThe migration job has been completed.
    DeletingDELETINGThe migration job is being deleted.
    StoppingSTOPPINGThe migration job is being stopped.
    StoppedSTOPPEDThe migration job is currently stopped.
    DeletedDELETEDThe migration job has been deleted.
    UpdatingUPDATINGThe migration job is being updated.
    StartingSTARTINGThe migration job is starting.
    RestartingRESTARTINGThe migration job is restarting.
    ResumingRESUMINGThe migration job is resuming.
    NameValueDescription
    MigrationJobStateStateUnspecifiedSTATE_UNSPECIFIEDThe state of the migration job is unknown.
    MigrationJobStateMaintenanceMAINTENANCEThe migration job is down for maintenance.
    MigrationJobStateDraftDRAFTThe migration job is in draft mode and no resources are created.
    MigrationJobStateCreatingCREATINGThe migration job is being created.
    MigrationJobStateNotStartedNOT_STARTEDThe migration job is created and not started.
    MigrationJobStateRunningRUNNINGThe migration job is running.
    MigrationJobStateFailedFAILEDThe migration job failed.
    MigrationJobStateCompletedCOMPLETEDThe migration job has been completed.
    MigrationJobStateDeletingDELETINGThe migration job is being deleted.
    MigrationJobStateStoppingSTOPPINGThe migration job is being stopped.
    MigrationJobStateStoppedSTOPPEDThe migration job is currently stopped.
    MigrationJobStateDeletedDELETEDThe migration job has been deleted.
    MigrationJobStateUpdatingUPDATINGThe migration job is being updated.
    MigrationJobStateStartingSTARTINGThe migration job is starting.
    MigrationJobStateRestartingRESTARTINGThe migration job is restarting.
    MigrationJobStateResumingRESUMINGThe migration job is resuming.
    ValueDescription
    STATE_UNSPECIFIEDThe state of the migration job is unknown.
    MAINTENANCEThe migration job is down for maintenance.
    DRAFTThe migration job is in draft mode and no resources are created.
    CREATINGThe migration job is being created.
    NOT_STARTEDThe migration job is created and not started.
    RUNNINGThe migration job is running.
    FAILEDThe migration job failed.
    COMPLETEDThe migration job has been completed.
    DELETINGThe migration job is being deleted.
    STOPPINGThe migration job is being stopped.
    STOPPEDThe migration job is currently stopped.
    DELETEDThe migration job has been deleted.
    UPDATINGThe migration job is being updated.
    STARTINGThe migration job is starting.
    RESTARTINGThe migration job is restarting.
    RESUMINGThe migration job is resuming.
    NameValueDescription
    StateUnspecifiedSTATE_UNSPECIFIEDThe state of the migration job is unknown.
    MaintenanceMAINTENANCEThe migration job is down for maintenance.
    DraftDRAFTThe migration job is in draft mode and no resources are created.
    CreatingCREATINGThe migration job is being created.
    NotStartedNOT_STARTEDThe migration job is created and not started.
    RunningRUNNINGThe migration job is running.
    FailedFAILEDThe migration job failed.
    CompletedCOMPLETEDThe migration job has been completed.
    DeletingDELETINGThe migration job is being deleted.
    StoppingSTOPPINGThe migration job is being stopped.
    StoppedSTOPPEDThe migration job is currently stopped.
    DeletedDELETEDThe migration job has been deleted.
    UpdatingUPDATINGThe migration job is being updated.
    StartingSTARTINGThe migration job is starting.
    RestartingRESTARTINGThe migration job is restarting.
    ResumingRESUMINGThe migration job is resuming.
    NameValueDescription
    StateUnspecifiedSTATE_UNSPECIFIEDThe state of the migration job is unknown.
    MaintenanceMAINTENANCEThe migration job is down for maintenance.
    DraftDRAFTThe migration job is in draft mode and no resources are created.
    CreatingCREATINGThe migration job is being created.
    NotStartedNOT_STARTEDThe migration job is created and not started.
    RunningRUNNINGThe migration job is running.
    FailedFAILEDThe migration job failed.
    CompletedCOMPLETEDThe migration job has been completed.
    DeletingDELETINGThe migration job is being deleted.
    StoppingSTOPPINGThe migration job is being stopped.
    StoppedSTOPPEDThe migration job is currently stopped.
    DeletedDELETEDThe migration job has been deleted.
    UpdatingUPDATINGThe migration job is being updated.
    StartingSTARTINGThe migration job is starting.
    RestartingRESTARTINGThe migration job is restarting.
    ResumingRESUMINGThe migration job is resuming.
    NameValueDescription
    STATE_UNSPECIFIEDSTATE_UNSPECIFIEDThe state of the migration job is unknown.
    MAINTENANCEMAINTENANCEThe migration job is down for maintenance.
    DRAFTDRAFTThe migration job is in draft mode and no resources are created.
    CREATINGCREATINGThe migration job is being created.
    NOT_STARTEDNOT_STARTEDThe migration job is created and not started.
    RUNNINGRUNNINGThe migration job is running.
    FAILEDFAILEDThe migration job failed.
    COMPLETEDCOMPLETEDThe migration job has been completed.
    DELETINGDELETINGThe migration job is being deleted.
    STOPPINGSTOPPINGThe migration job is being stopped.
    STOPPEDSTOPPEDThe migration job is currently stopped.
    DELETEDDELETEDThe migration job has been deleted.
    UPDATINGUPDATINGThe migration job is being updated.
    STARTINGSTARTINGThe migration job is starting.
    RESTARTINGRESTARTINGThe migration job is restarting.
    RESUMINGRESUMINGThe migration job is resuming.
    ValueDescription
    STATE_UNSPECIFIEDThe state of the migration job is unknown.
    MAINTENANCEThe migration job is down for maintenance.
    DRAFTThe migration job is in draft mode and no resources are created.
    CREATINGThe migration job is being created.
    NOT_STARTEDThe migration job is created and not started.
    RUNNINGThe migration job is running.
    FAILEDThe migration job failed.
    COMPLETEDThe migration job has been completed.
    DELETINGThe migration job is being deleted.
    STOPPINGThe migration job is being stopped.
    STOPPEDThe migration job is currently stopped.
    DELETEDThe migration job has been deleted.
    UPDATINGThe migration job is being updated.
    STARTINGThe migration job is starting.
    RESTARTINGThe migration job is restarting.
    RESUMINGThe migration job is resuming.

    MigrationJobType

    Required. The migration job type.

    NameValueDescription
    TypeUnspecifiedTYPE_UNSPECIFIEDThe type of the migration job is unknown.
    OneTimeONE_TIMEThe migration job is a one time migration.
    ContinuousCONTINUOUSThe migration job is a continuous migration.
    NameValueDescription
    MigrationJobTypeTypeUnspecifiedTYPE_UNSPECIFIEDThe type of the migration job is unknown.
    MigrationJobTypeOneTimeONE_TIMEThe migration job is a one time migration.
    MigrationJobTypeContinuousCONTINUOUSThe migration job is a continuous migration.
    ValueDescription
    TYPE_UNSPECIFIEDThe type of the migration job is unknown.
    ONE_TIMEThe migration job is a one time migration.
    CONTINUOUSThe migration job is a continuous migration.
    NameValueDescription
    TypeUnspecifiedTYPE_UNSPECIFIEDThe type of the migration job is unknown.
    OneTimeONE_TIMEThe migration job is a one time migration.
    ContinuousCONTINUOUSThe migration job is a continuous migration.
    NameValueDescription
    TypeUnspecifiedTYPE_UNSPECIFIEDThe type of the migration job is unknown.
    OneTimeONE_TIMEThe migration job is a one time migration.
    ContinuousCONTINUOUSThe migration job is a continuous migration.
    NameValueDescription
    TYPE_UNSPECIFIEDTYPE_UNSPECIFIEDThe type of the migration job is unknown.
    ONE_TIMEONE_TIMEThe migration job is a one time migration.
    CONTINUOUSCONTINUOUSThe migration job is a continuous migration.
    ValueDescription
    TYPE_UNSPECIFIEDThe type of the migration job is unknown.
    ONE_TIMEThe migration job is a one time migration.
    CONTINUOUSThe migration job is a continuous migration.

    ReverseSshConnectivity, ReverseSshConnectivityArgs

    The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1beta1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.

    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.
    vm_ip string
    The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
    vm_port 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.
    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

    The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1beta1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.

    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.
    vm_ip string
    The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
    vm_port 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 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

    The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

    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 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.
    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

    The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.

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

    The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.

    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 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-native logo Google Cloud Native

    This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

    Viewing docs for Google Cloud Native v0.32.0
    published on Wednesday, Nov 29, 2023 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial