import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages a VPC for an Aiven project. 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.ProjectVpc("example", { * project: "my-project", * cloudName: "aws-eu-central-1", * networkCidr: "192.168.6.0/24", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/projectVpc:ProjectVpc example PROJECT/PROJECT_VPC_ID * ``` */ export declare class ProjectVpc extends pulumi.CustomResource { /** * Get an existing ProjectVpc 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?: ProjectVpcState, opts?: pulumi.CustomResourceOptions): ProjectVpc; /** * Returns true if the given object is an instance of ProjectVpc. 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 ProjectVpc; /** * Target cloud. Maximum length: `256`. Changing this property forces recreation of the resource. */ readonly cloudName: pulumi.Output; /** * IPv4 network range CIDR. Maximum length: `18`. Changing this property forces recreation of the resource. */ readonly networkCidr: pulumi.Output; /** * Project name. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * Project VPC ID. */ readonly projectVpcId: pulumi.Output; /** * Project VPC state. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`. */ readonly state: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a ProjectVpc 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: ProjectVpcArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProjectVpc resources. */ export interface ProjectVpcState { /** * Target cloud. Maximum length: `256`. Changing this property forces recreation of the resource. */ cloudName?: pulumi.Input; /** * IPv4 network range CIDR. Maximum length: `18`. Changing this property forces recreation of the resource. */ networkCidr?: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * Project VPC ID. */ projectVpcId?: pulumi.Input; /** * Project VPC state. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`. */ state?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a ProjectVpc resource. */ export interface ProjectVpcArgs { /** * Target cloud. Maximum length: `256`. Changing this property forces recreation of the resource. */ cloudName: pulumi.Input; /** * IPv4 network range CIDR. Maximum length: `18`. Changing this property forces recreation of the resource. */ networkCidr: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=projectVpc.d.ts.map