import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new migration job in a given project and location. */ export declare class MigrationJob extends pulumi.CustomResource { /** * Get an existing MigrationJob resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MigrationJob; /** * Returns true if the given object is an instance of MigrationJob. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MigrationJob; /** * 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". */ readonly createTime: pulumi.Output; /** * Required. The resource name (URI) of the destination connection profile. */ readonly destination: pulumi.Output; /** * The database engine type and provider of the destination. */ readonly destinationDatabase: pulumi.Output; /** * The migration job display name. */ readonly displayName: pulumi.Output; /** * The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). */ readonly dumpPath: pulumi.Output; /** * The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */ readonly duration: pulumi.Output; /** * If the migration job is completed, the time when it was completed. */ readonly endTime: pulumi.Output; /** * The error details in case of state FAILED. */ readonly error: pulumi.Output; /** * 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" }`. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}. */ readonly name: pulumi.Output; /** * The current migration job phase. */ readonly phase: pulumi.Output; /** * The details needed to communicate to the source over Reverse SSH tunnel connectivity. */ readonly reverseSshConnectivity: pulumi.Output; /** * Required. The resource name (URI) of the source connection profile. */ readonly source: pulumi.Output; /** * The database engine type and provider of the source. */ readonly sourceDatabase: pulumi.Output; /** * The current migration job state. */ readonly state: pulumi.Output; /** * static ip connectivity data (default, no additional details needed). */ readonly staticIpConnectivity: pulumi.Output; /** * Required. The migration job type. */ readonly type: pulumi.Output; /** * 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". */ readonly updateTime: pulumi.Output; /** * The details of the VPC network that the source database is located in. */ readonly vpcPeeringConnectivity: pulumi.Output; /** * Create a MigrationJob resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MigrationJobArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a MigrationJob resource. */ export interface MigrationJobArgs { /** * Required. The resource name (URI) of the destination connection profile. */ readonly destination?: pulumi.Input; /** * The database engine type and provider of the destination. */ readonly destinationDatabase?: pulumi.Input; /** * The migration job display name. */ readonly displayName?: pulumi.Input; /** * The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). */ readonly dumpPath?: pulumi.Input; /** * 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" }`. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; readonly locationsId: pulumi.Input; readonly migrationJobsId: pulumi.Input; /** * The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}. */ readonly name?: pulumi.Input; readonly projectsId: pulumi.Input; /** * The details needed to communicate to the source over Reverse SSH tunnel connectivity. */ readonly reverseSshConnectivity?: pulumi.Input; /** * Required. The resource name (URI) of the source connection profile. */ readonly source?: pulumi.Input; /** * The database engine type and provider of the source. */ readonly sourceDatabase?: pulumi.Input; /** * The current migration job state. */ readonly state?: pulumi.Input; /** * static ip connectivity data (default, no additional details needed). */ readonly staticIpConnectivity?: pulumi.Input; /** * Required. The migration job type. */ readonly type?: pulumi.Input; /** * The details of the VPC network that the source database is located in. */ readonly vpcPeeringConnectivity?: pulumi.Input; }