import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * 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; /** * An AlloyDB cluster connection profile. */ readonly alloydb: pulumi.Output; /** * A CloudSQL database connection profile. */ readonly cloudsql: pulumi.Output; /** * Required. The connection profile identifier. */ readonly connectionProfileId: 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; }>; readonly location: pulumi.Output; /** * A MySQL database connection profile. */ readonly mysql: pulumi.Output; /** * The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */ readonly name: pulumi.Output; /** * An Oracle database connection profile. */ readonly oracle: pulumi.Output; /** * A PostgreSQL database connection profile. */ readonly postgresql: pulumi.Output; readonly project: pulumi.Output; /** * The database provider. */ readonly provider: pulumi.Output; /** * Optional. 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. */ readonly requestId: pulumi.Output; /** * Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */ readonly skipValidation: 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 { /** * An AlloyDB cluster connection profile. */ alloydb?: pulumi.Input; /** * A CloudSQL database connection profile. */ cloudsql?: pulumi.Input; /** * Required. The connection profile identifier. */ connectionProfileId: pulumi.Input; /** * The connection profile display name. */ 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" }`. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * A MySQL database connection profile. */ mysql?: pulumi.Input; /** * The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */ name?: pulumi.Input; /** * An Oracle database connection profile. */ oracle?: pulumi.Input; /** * A PostgreSQL database connection profile. */ postgresql?: pulumi.Input; project?: pulumi.Input; /** * The database provider. */ provider?: pulumi.Input; /** * Optional. 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. */ requestId?: pulumi.Input; /** * Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */ skipValidation?: pulumi.Input; /** * The current connection profile state (e.g. DRAFT, READY, or FAILED). */ state?: pulumi.Input; }