import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single migration job. */ export declare function getMigrationJob(args: GetMigrationJobArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetMigrationJobArgs { location: string; migrationJobId: string; project?: string; } export interface GetMigrationJobResult { /** * 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: string; /** * The resource name (URI) of the destination connection profile. */ readonly destination: string; /** * The database engine type and provider of the destination. */ readonly destinationDatabase: outputs.datamigration.v1beta1.DatabaseTypeResponse; /** * The migration job display name. */ readonly displayName: string; /** * The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). */ readonly dumpPath: 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". */ readonly duration: string; /** * If the migration job is completed, the time when it was completed. */ readonly endTime: string; /** * The error details in case of state FAILED. */ readonly error: outputs.datamigration.v1beta1.StatusResponse; /** * 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: { [key: string]: string; }; /** * The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */ readonly name: string; /** * The current migration job phase. */ readonly phase: string; /** * The details needed to communicate to the source over Reverse SSH tunnel connectivity. */ readonly reverseSshConnectivity: outputs.datamigration.v1beta1.ReverseSshConnectivityResponse; /** * The resource name (URI) of the source connection profile. */ readonly source: string; /** * The database engine type and provider of the source. */ readonly sourceDatabase: outputs.datamigration.v1beta1.DatabaseTypeResponse; /** * The current migration job state. */ readonly state: string; /** * static ip connectivity data (default, no additional details needed). */ readonly staticIpConnectivity: outputs.datamigration.v1beta1.StaticIpConnectivityResponse; /** * The migration job type. */ readonly type: 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". */ readonly updateTime: string; /** * The details of the VPC network that the source database is located in. */ readonly vpcPeeringConnectivity: outputs.datamigration.v1beta1.VpcPeeringConnectivityResponse; } /** * Gets details of a single migration job. */ export declare function getMigrationJobOutput(args: GetMigrationJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetMigrationJobOutputArgs { location: pulumi.Input; migrationJobId: pulumi.Input; project?: pulumi.Input; }