import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single connection profile. */ export declare function getConnectionProfile(args: GetConnectionProfileArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetConnectionProfileArgs { connectionProfileId: string; location: string; project?: string; } export interface GetConnectionProfileResult { /** * An AlloyDB cluster connection profile. */ readonly alloydb: outputs.datamigration.v1.AlloyDbConnectionProfileResponse; /** * A CloudSQL database connection profile. */ readonly cloudsql: outputs.datamigration.v1.CloudSqlConnectionProfileResponse; /** * The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ readonly createTime: string; /** * The connection profile display name. */ readonly displayName: string; /** * The error details in case of state FAILED. */ readonly error: outputs.datamigration.v1.StatusResponse; /** * The resource labels for connection profile 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; }; /** * A MySQL database connection profile. */ readonly mysql: outputs.datamigration.v1.MySqlConnectionProfileResponse; /** * The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */ readonly name: string; /** * An Oracle database connection profile. */ readonly oracle: outputs.datamigration.v1.OracleConnectionProfileResponse; /** * A PostgreSQL database connection profile. */ readonly postgresql: outputs.datamigration.v1.PostgreSqlConnectionProfileResponse; /** * The database provider. */ readonly provider: string; /** * The current connection profile state (e.g. DRAFT, READY, or FAILED). */ readonly state: string; /** * The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */ readonly updateTime: string; } /** * Gets details of a single connection profile. */ export declare function getConnectionProfileOutput(args: GetConnectionProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetConnectionProfileOutputArgs { connectionProfileId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }