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 in a given project and location. */ 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; /** * Address of the remote application endpoint for the BeyondCorp Connection. */ readonly applicationEndpoint: pulumi.Output; /** * Optional. User-settable connection resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter. */ readonly connectionId: pulumi.Output; /** * Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection. */ readonly connectors: pulumi.Output; /** * Timestamp when the resource was created. */ readonly createTime: pulumi.Output; /** * Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters. */ readonly displayName: pulumi.Output; /** * Optional. Gateway used by the connection. */ readonly gateway: pulumi.Output; /** * Optional. Resource labels to represent user provided metadata. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Unique resource name of the connection. The name is ignored when creating a connection. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; /** * The current state of the connection. */ readonly state: pulumi.Output; /** * The type of network connectivity used by the connection. */ readonly type: pulumi.Output; /** * A unique identifier for the instance generated by the system. */ readonly uid: pulumi.Output; /** * Timestamp when the resource was last modified. */ readonly updateTime: 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 { /** * Address of the remote application endpoint for the BeyondCorp Connection. */ applicationEndpoint: pulumi.Input; /** * Optional. User-settable connection resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter. */ connectionId?: pulumi.Input; /** * Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection. */ connectors?: pulumi.Input[]>; /** * Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters. */ displayName?: pulumi.Input; /** * Optional. Gateway used by the connection. */ gateway?: pulumi.Input; /** * Optional. Resource labels to represent user provided metadata. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Unique resource name of the connection. The name is ignored when creating a connection. */ name?: pulumi.Input; project?: pulumi.Input; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; /** * The type of network connectivity used by the connection. */ type: pulumi.Input; }