import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a 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; /** * Allows clients to store small amounts of arbitrary data. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; /** * Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@. */ readonly connectionId: pulumi.Output; /** * Server assigned timestamp for when the connection was created. */ readonly createTime: pulumi.Output; /** * If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. */ readonly disabled: pulumi.Output; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ readonly etag: pulumi.Output; /** * Configuration for connections to github.com. */ readonly githubConfig: pulumi.Output; /** * Configuration for connections to an instance of GitHub Enterprise. */ readonly githubEnterpriseConfig: pulumi.Output; /** * Configuration for connections to gitlab.com or an instance of GitLab Enterprise. */ readonly gitlabConfig: pulumi.Output; /** * Installation state of the Connection. */ readonly installationState: pulumi.Output; readonly location: pulumi.Output; /** * Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Set to true when the connection is being set up or updated in the background. */ readonly reconciling: pulumi.Output; /** * Server assigned timestamp for when the connection was updated. */ 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 { /** * Allows clients to store small amounts of arbitrary data. */ annotations?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@. */ connectionId: pulumi.Input; /** * If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. */ disabled?: pulumi.Input; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: pulumi.Input; /** * Configuration for connections to github.com. */ githubConfig?: pulumi.Input; /** * Configuration for connections to an instance of GitHub Enterprise. */ githubEnterpriseConfig?: pulumi.Input; /** * Configuration for connections to gitlab.com or an instance of GitLab Enterprise. */ gitlabConfig?: pulumi.Input; location?: pulumi.Input; /** * Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`. */ name?: pulumi.Input; project?: pulumi.Input; }