import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages a Google Cloud VPC peering connection. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.GcpOrgVpcPeeringConnection("example", { * organizationId: "org1a23f456789", * organizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d", * gcpProjectId: "my-gcp-project", * peerVpc: "my-vpc", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/gcpOrgVpcPeeringConnection:GcpOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/GCP_PROJECT_ID/PEER_VPC * ``` */ export declare class GcpOrgVpcPeeringConnection extends pulumi.CustomResource { /** * Get an existing GcpOrgVpcPeeringConnection 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?: GcpOrgVpcPeeringConnectionState, opts?: pulumi.CustomResourceOptions): GcpOrgVpcPeeringConnection; /** * Returns true if the given object is an instance of GcpOrgVpcPeeringConnection. 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 GcpOrgVpcPeeringConnection; /** * Google Cloud project ID. Maximum length: `1024`. Changing this property forces recreation of the resource. */ readonly gcpProjectId: pulumi.Output; /** * ID of an organization. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ readonly organizationVpcId: pulumi.Output; /** * Google Cloud VPC network name. Maximum length: `1024`. 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. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`. */ readonly state: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a GcpOrgVpcPeeringConnection 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: GcpOrgVpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GcpOrgVpcPeeringConnection resources. */ export interface GcpOrgVpcPeeringConnectionState { /** * Google Cloud project ID. Maximum length: `1024`. Changing this property forces recreation of the resource. */ gcpProjectId?: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ organizationVpcId?: pulumi.Input; /** * Google Cloud VPC network name. Maximum length: `1024`. 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. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`. */ state?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a GcpOrgVpcPeeringConnection resource. */ export interface GcpOrgVpcPeeringConnectionArgs { /** * Google Cloud project ID. Maximum length: `1024`. Changing this property forces recreation of the resource. */ gcpProjectId: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ organizationVpcId: pulumi.Input; /** * Google Cloud VPC network name. Maximum length: `1024`. Changing this property forces recreation of the resource. */ peerVpc: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=gcpOrgVpcPeeringConnection.d.ts.map