MigrationJobArgs

data class MigrationJobArgs(val destination: Output<String>? = null, val destinationDatabase: Output<DatabaseTypeArgs>? = null, val displayName: Output<String>? = null, val dumpPath: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val migrationJobId: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val reverseSshConnectivity: Output<ReverseSshConnectivityArgs>? = null, val source: Output<String>? = null, val sourceDatabase: Output<DatabaseTypeArgs>? = null, val state: Output<MigrationJobState>? = null, val staticIpConnectivity: Output<StaticIpConnectivityArgs>? = null, val type: Output<MigrationJobType>? = null, val vpcPeeringConnectivity: Output<VpcPeeringConnectivityArgs>? = null) : ConvertibleToJava<MigrationJobArgs>

Creates a new migration job in a given project and location.

Constructors

Link copied to clipboard
fun MigrationJobArgs(destination: Output<String>? = null, destinationDatabase: Output<DatabaseTypeArgs>? = null, displayName: Output<String>? = null, dumpPath: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, migrationJobId: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null, reverseSshConnectivity: Output<ReverseSshConnectivityArgs>? = null, source: Output<String>? = null, sourceDatabase: Output<DatabaseTypeArgs>? = null, state: Output<MigrationJobState>? = null, staticIpConnectivity: Output<StaticIpConnectivityArgs>? = null, type: Output<MigrationJobType>? = null, vpcPeeringConnectivity: Output<VpcPeeringConnectivityArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MigrationJobArgs

Properties

Link copied to clipboard
val destination: Output<String>? = null

The resource name (URI) of the destination connection profile.

Link copied to clipboard

The database engine type and provider of the destination.

Link copied to clipboard
val displayName: Output<String>? = null

The migration job display name.

Link copied to clipboard
val dumpPath: Output<String>? = null

The path to the dump file in Google Cloud Storage, in the format: (gs://BUCKET_NAME/OBJECT_NAME).

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val migrationJobId: Output<String>? = null

Required. The ID of the instance to create.

Link copied to clipboard
val name: Output<String>? = null

The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

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.

Link copied to clipboard

The details needed to communicate to the source over Reverse SSH tunnel connectivity.

Link copied to clipboard
val source: Output<String>? = null

The resource name (URI) of the source connection profile.

Link copied to clipboard
val sourceDatabase: Output<DatabaseTypeArgs>? = null

The database engine type and provider of the source.

Link copied to clipboard
val state: Output<MigrationJobState>? = null

The current migration job state.

Link copied to clipboard

static ip connectivity data (default, no additional details needed).

Link copied to clipboard
val type: Output<MigrationJobType>? = null

The migration job type.

Link copied to clipboard

The details of the VPC network that the source database is located in.