import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new connection. */ export declare class Connection extends pulumi.CustomResource { /** * Get an existing Connection 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): Connection; /** * Returns true if the given object is an instance of Connection. 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 Connection; /** * Cloud SQL properties. */ readonly cloudSql: pulumi.Output; /** * Optional. Connection id that should be assigned to the created connection. */ readonly connectionId: pulumi.Output; /** * The creation timestamp of the connection. */ readonly creationTime: pulumi.Output; /** * User provided description. */ readonly description: pulumi.Output; /** * User provided display name for the connection. */ readonly friendlyName: pulumi.Output; /** * True, if credential is configured for this connection. */ readonly hasCredential: pulumi.Output; /** * The last update timestamp of the connection. */ readonly lastModifiedTime: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Create a Connection 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?: ConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Connection resource. */ export interface ConnectionArgs { /** * Cloud SQL properties. */ cloudSql?: pulumi.Input; /** * Optional. Connection id that should be assigned to the created connection. */ connectionId?: pulumi.Input; /** * User provided description. */ description?: pulumi.Input; /** * User provided display name for the connection. */ friendlyName?: pulumi.Input; location?: pulumi.Input; /** * The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` */ name?: pulumi.Input; project?: pulumi.Input; }