import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new private connection in a given project and location. */ export declare class PrivateConnection extends pulumi.CustomResource { /** * Get an existing PrivateConnection 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): PrivateConnection; /** * Returns true if the given object is an instance of PrivateConnection. 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 PrivateConnection; /** * The create time of the resource. */ readonly createTime: pulumi.Output; /** * The private connection display name. */ readonly displayName: pulumi.Output; /** * The error details in case of state FAILED. */ readonly error: pulumi.Output; /** * The resource labels for private connections 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; /** * The name of the resource. */ readonly name: pulumi.Output; /** * Required. The private connection identifier. */ readonly privateConnectionId: pulumi.Output; readonly project: 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. If set to true, will skip validations. */ readonly skipValidation: pulumi.Output; /** * The state of the private connection. */ readonly state: pulumi.Output; /** * The last update time of the resource. */ readonly updateTime: pulumi.Output; /** * VPC peering configuration. */ readonly vpcPeeringConfig: pulumi.Output; /** * Create a PrivateConnection 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: PrivateConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PrivateConnection resource. */ export interface PrivateConnectionArgs { /** * The private connection display name. */ displayName?: pulumi.Input; /** * The resource labels for private connections 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; /** * The name of the resource. */ name?: pulumi.Input; /** * Required. The private connection identifier. */ privateConnectionId: pulumi.Input; project?: 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. If set to true, will skip validations. */ skipValidation?: pulumi.Input; /** * VPC peering configuration. */ vpcPeeringConfig?: pulumi.Input; }