import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single private connection. */ export declare function getPrivateConnection(args: GetPrivateConnectionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPrivateConnectionArgs { location: string; privateConnectionId: string; project?: string; } export interface GetPrivateConnectionResult { /** * The create time of the resource. */ readonly createTime: string; /** * The private connection display name. */ readonly displayName: string; /** * The error details in case of state FAILED. */ readonly error: outputs.datamigration.v1.StatusResponse; /** * 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: { [key: string]: string; }; /** * The name of the resource. */ readonly name: string; /** * The state of the private connection. */ readonly state: string; /** * The last update time of the resource. */ readonly updateTime: string; /** * VPC peering configuration. */ readonly vpcPeeringConfig: outputs.datamigration.v1.VpcPeeringConfigResponse; } /** * Gets details of a single private connection. */ export declare function getPrivateConnectionOutput(args: GetPrivateConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetPrivateConnectionOutputArgs { location: pulumi.Input; privateConnectionId: pulumi.Input; project?: pulumi.Input; }