import * as pulumi from "@pulumi/pulumi"; /** * The GCP VPC Peering Connection data source provides information about the existing Aiven VPC Peering Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const main = aiven.getGcpVpcPeeringConnection({ * vpcId: vpc.id, * gcpProjectId: "example-project", * peerVpc: "example-network", * }); * ``` */ export declare function getGcpVpcPeeringConnection(args: GetGcpVpcPeeringConnectionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGcpVpcPeeringConnection. */ export interface GetGcpVpcPeeringConnectionArgs { /** * Google Cloud project ID. Changing this property forces recreation of the resource. */ gcpProjectId: string; /** * Google Cloud VPC network name. Changing this property forces recreation of the resource. */ peerVpc: string; /** * The VPC the peering connection belongs to. Changing this property forces recreation of the resource. */ vpcId: string; } /** * A collection of values returned by getGcpVpcPeeringConnection. */ export interface GetGcpVpcPeeringConnectionResult { /** * Google Cloud project ID. Changing this property forces recreation of the resource. */ readonly gcpProjectId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Google Cloud VPC network name. Changing this property forces recreation of the resource. */ readonly peerVpc: string; /** * Computed Google Cloud network peering link. */ readonly selfLink: string; /** * State of the peering connection. */ readonly state: string; /** * State-specific help or error information. */ readonly stateInfo: { [key: string]: string; }; /** * The VPC the peering connection belongs to. Changing this property forces recreation of the resource. */ readonly vpcId: string; } /** * The GCP VPC Peering Connection data source provides information about the existing Aiven VPC Peering Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const main = aiven.getGcpVpcPeeringConnection({ * vpcId: vpc.id, * gcpProjectId: "example-project", * peerVpc: "example-network", * }); * ``` */ export declare function getGcpVpcPeeringConnectionOutput(args: GetGcpVpcPeeringConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getGcpVpcPeeringConnection. */ export interface GetGcpVpcPeeringConnectionOutputArgs { /** * Google Cloud project ID. Changing this property forces recreation of the resource. */ gcpProjectId: pulumi.Input; /** * Google Cloud VPC network name. Changing this property forces recreation of the resource. */ peerVpc: pulumi.Input; /** * The VPC the peering connection belongs to. Changing this property forces recreation of the resource. */ vpcId: pulumi.Input; } //# sourceMappingURL=getGcpVpcPeeringConnection.d.ts.map