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. * Auto-naming is currently not supported for this resource. */ 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; /** * Optional. Configuration for establishing the connection's authentication with an external system. */ readonly authConfig: pulumi.Output; /** * Optional. Configuration for configuring the connection with an external system. */ readonly configVariables: pulumi.Output; /** * Required. Identifier to assign to the Connection. Must be unique within scope of the parent resource. */ readonly connectionId: pulumi.Output; /** * Connection revision. This field is only updated when the connection is created or updated by User. */ readonly connectionRevision: pulumi.Output; /** * Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource. */ readonly connectorVersion: pulumi.Output; /** * Infra configs supported by Connector Version. */ readonly connectorVersionInfraConfig: pulumi.Output; /** * Flag to mark the version indicating the launch stage. */ readonly connectorVersionLaunchStage: pulumi.Output; /** * Created time. */ readonly createTime: pulumi.Output; /** * Optional. Description of the resource. */ readonly description: pulumi.Output; /** * Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). */ readonly destinationConfigs: pulumi.Output; /** * GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} */ readonly envoyImageLocation: pulumi.Output; /** * Optional. Eventing config of a connection */ readonly eventingConfig: pulumi.Output; /** * Optional. Eventing enablement type. Will be nil if eventing is not enabled. */ readonly eventingEnablementType: pulumi.Output; /** * Eventing Runtime Data. */ readonly eventingRuntimeData: pulumi.Output; /** * GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} */ readonly imageLocation: pulumi.Output; /** * Is trusted tester program enabled for the project. */ readonly isTrustedTester: pulumi.Output; /** * Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Optional. Configuration that indicates whether or not the Connection can be edited. */ readonly lockConfig: pulumi.Output; /** * Optional. Log configuration for the connection. */ readonly logConfig: pulumi.Output; /** * Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} */ readonly name: pulumi.Output; /** * Optional. Node configuration for the connection. */ readonly nodeConfig: pulumi.Output; readonly project: pulumi.Output; /** * Optional. Service account needed for runtime plane to access Google Cloud resources. */ readonly serviceAccount: pulumi.Output; /** * The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors" */ readonly serviceDirectory: pulumi.Output; /** * Optional. Ssl config of a connection */ readonly sslConfig: pulumi.Output; /** * Current status of the connection. */ readonly status: pulumi.Output; /** * This subscription type enum states the subscription type of the project. */ readonly subscriptionType: pulumi.Output; /** * Optional. Suspended indicates if a user has suspended a connection or not. */ readonly suspended: pulumi.Output; /** * Updated time. */ 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 { /** * Optional. Configuration for establishing the connection's authentication with an external system. */ authConfig?: pulumi.Input; /** * Optional. Configuration for configuring the connection with an external system. */ configVariables?: pulumi.Input[]>; /** * Required. Identifier to assign to the Connection. Must be unique within scope of the parent resource. */ connectionId: pulumi.Input; /** * Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource. */ connectorVersion: pulumi.Input; /** * Optional. Description of the resource. */ description?: pulumi.Input; /** * Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). */ destinationConfigs?: pulumi.Input[]>; /** * Optional. Eventing config of a connection */ eventingConfig?: pulumi.Input; /** * Optional. Eventing enablement type. Will be nil if eventing is not enabled. */ eventingEnablementType?: pulumi.Input; /** * Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Optional. Configuration that indicates whether or not the Connection can be edited. */ lockConfig?: pulumi.Input; /** * Optional. Log configuration for the connection. */ logConfig?: pulumi.Input; /** * Optional. Node configuration for the connection. */ nodeConfig?: pulumi.Input; project?: pulumi.Input; /** * Optional. Service account needed for runtime plane to access Google Cloud resources. */ serviceAccount?: pulumi.Input; /** * Optional. Ssl config of a connection */ sslConfig?: pulumi.Input; /** * Optional. Suspended indicates if a user has suspended a connection or not. */ suspended?: pulumi.Input; }