MigrationJobArgs

data class MigrationJobArgs(val cmekKeyName: Output<String>? = null, val conversionWorkspace: Output<ConversionWorkspaceInfoArgs>? = null, val destination: Output<String>? = null, val destinationDatabase: Output<DatabaseTypeArgs>? = null, val displayName: Output<String>? = null, val dumpFlags: Output<DumpFlagsArgs>? = null, val dumpPath: Output<String>? = null, val filter: 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(cmekKeyName: Output<String>? = null, conversionWorkspace: Output<ConversionWorkspaceInfoArgs>? = null, destination: Output<String>? = null, destinationDatabase: Output<DatabaseTypeArgs>? = null, displayName: Output<String>? = null, dumpFlags: Output<DumpFlagsArgs>? = null, dumpPath: Output<String>? = null, filter: 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 cmekKeyName: Output<String>? = null

The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/PROJECT/locations/REGION/keyRings/RING/cryptoKeys/KEY_NAME

Link copied to clipboard

The conversion workspace used by the migration.

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 dumpFlags: Output<DumpFlagsArgs>? = null

The initial dump flags. This field and the "dump_path" field are mutually exclusive.

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). This field and the "dump_flags" field are mutually exclusive.

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

This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.

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