import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages a Google Cloud VPC peering connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const foo = new aiven.GcpVpcPeeringConnection("foo", { * vpcId: vpc.id, * gcpProjectId: "xxxx", * peerVpc: "xxxx", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/gcpVpcPeeringConnection:GcpVpcPeeringConnection foo PROJECT_NAME/VPC_ID/GCP_PROJECT_ID/PEER_VPC * ``` */ export declare class GcpVpcPeeringConnection extends pulumi.CustomResource { /** * Get an existing GcpVpcPeeringConnection 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GcpVpcPeeringConnectionState, opts?: pulumi.CustomResourceOptions): GcpVpcPeeringConnection; /** * Returns true if the given object is an instance of GcpVpcPeeringConnection. 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 GcpVpcPeeringConnection; /** * Google Cloud project ID. Changing this property forces recreation of the resource. */ readonly gcpProjectId: pulumi.Output; /** * Google Cloud VPC network name. Changing this property forces recreation of the resource. */ readonly peerVpc: pulumi.Output; /** * Computed Google Cloud network peering link. */ readonly selfLink: pulumi.Output; /** * State of the peering connection. */ readonly state: pulumi.Output; /** * State-specific help or error information. */ readonly stateInfo: pulumi.Output<{ [key: string]: string; }>; /** * The VPC the peering connection belongs to. Changing this property forces recreation of the resource. */ readonly vpcId: pulumi.Output; /** * Create a GcpVpcPeeringConnection 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: GcpVpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GcpVpcPeeringConnection resources. */ export interface GcpVpcPeeringConnectionState { /** * 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; /** * Computed Google Cloud network peering link. */ selfLink?: pulumi.Input; /** * State of the peering connection. */ state?: pulumi.Input; /** * State-specific help or error information. */ stateInfo?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The VPC the peering connection belongs to. Changing this property forces recreation of the resource. */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a GcpVpcPeeringConnection resource. */ export interface GcpVpcPeeringConnectionArgs { /** * 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=gcpVpcPeeringConnection.d.ts.map