import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single Connection. */ export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetConnectionArgs { connectionId: string; location: string; project?: string; view?: string; } export interface GetConnectionResult { /** * Optional. Configuration for establishing the connection's authentication with an external system. */ readonly authConfig: outputs.connectors.v1.AuthConfigResponse; /** * Optional. Configuration for configuring the connection with an external system. */ readonly configVariables: outputs.connectors.v1.ConfigVariableResponse[]; /** * Connection revision. This field is only updated when the connection is created or updated by User. */ readonly connectionRevision: string; /** * 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: string; /** * Infra configs supported by Connector Version. */ readonly connectorVersionInfraConfig: outputs.connectors.v1.ConnectorVersionInfraConfigResponse; /** * Flag to mark the version indicating the launch stage. */ readonly connectorVersionLaunchStage: string; /** * Created time. */ readonly createTime: string; /** * Optional. Description of the resource. */ readonly description: string; /** * Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). */ readonly destinationConfigs: outputs.connectors.v1.DestinationConfigResponse[]; /** * GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName} */ readonly envoyImageLocation: string; /** * Optional. Eventing config of a connection */ readonly eventingConfig: outputs.connectors.v1.EventingConfigResponse; /** * Optional. Eventing enablement type. Will be nil if eventing is not enabled. */ readonly eventingEnablementType: string; /** * Eventing Runtime Data. */ readonly eventingRuntimeData: outputs.connectors.v1.EventingRuntimeDataResponse; /** * GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName} */ readonly imageLocation: string; /** * Is trusted tester program enabled for the project. */ readonly isTrustedTester: boolean; /** * 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: { [key: string]: string; }; /** * Optional. Configuration that indicates whether or not the Connection can be edited. */ readonly lockConfig: outputs.connectors.v1.LockConfigResponse; /** * Optional. Log configuration for the connection. */ readonly logConfig: outputs.connectors.v1.ConnectorsLogConfigResponse; /** * Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} */ readonly name: string; /** * Optional. Node configuration for the connection. */ readonly nodeConfig: outputs.connectors.v1.NodeConfigResponse; /** * Optional. Service account needed for runtime plane to access Google Cloud resources. */ readonly serviceAccount: string; /** * 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: string; /** * Optional. Ssl config of a connection */ readonly sslConfig: outputs.connectors.v1.SslConfigResponse; /** * Current status of the connection. */ readonly status: outputs.connectors.v1.ConnectionStatusResponse; /** * This subscription type enum states the subscription type of the project. */ readonly subscriptionType: string; /** * Optional. Suspended indicates if a user has suspended a connection or not. */ readonly suspended: boolean; /** * Updated time. */ readonly updateTime: string; } /** * Gets details of a single Connection. */ export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetConnectionOutputArgs { connectionId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; view?: pulumi.Input; }