import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new connection profile in a given project and location. */ export declare class ConnectionProfile extends pulumi.CustomResource { /** * Get an existing ConnectionProfile 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): ConnectionProfile; /** * Returns true if the given object is an instance of ConnectionProfile. 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 ConnectionProfile; /** * A CloudSQL database connection profile. */ readonly cloudsql: pulumi.Output; /** * 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: pulumi.Output; /** * The connection profile display name. */ readonly displayName: pulumi.Output; /** * The error details in case of state FAILED. */ readonly error: pulumi.Output; /** * 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: pulumi.Output<{ [key: string]: string; }>; /** * A MySQL database connection profile. */ readonly mysql: pulumi.Output; /** * The name of this connection profile resource in the form of projects/{project}/locations/{location}/instances/{instance}. */ readonly name: pulumi.Output; /** * A PostgreSQL database connection profile. */ readonly postgresql: pulumi.Output; /** * The database provider. */ readonly provider: pulumi.Output; /** * The current connection profile state (e.g. DRAFT, READY, or FAILED). */ readonly state: pulumi.Output; /** * 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: pulumi.Output; /** * Create a ConnectionProfile 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: ConnectionProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ConnectionProfile resource. */ export interface ConnectionProfileArgs { /** * A CloudSQL database connection profile. */ readonly cloudsql?: pulumi.Input; readonly connectionProfilesId: pulumi.Input; /** * The connection profile display name. */ readonly displayName?: pulumi.Input; /** * 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?: pulumi.Input<{ [key: string]: pulumi.Input; }>; readonly locationsId: pulumi.Input; /** * A MySQL database connection profile. */ readonly mysql?: pulumi.Input; /** * The name of this connection profile resource in the form of projects/{project}/locations/{location}/instances/{instance}. */ readonly name?: pulumi.Input; /** * A PostgreSQL database connection profile. */ readonly postgresql?: pulumi.Input; readonly projectsId: pulumi.Input; /** * The database provider. */ readonly provider?: pulumi.Input; /** * The current connection profile state (e.g. DRAFT, READY, or FAILED). */ readonly state?: pulumi.Input; }