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 organization. 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.OrganizationVpc("example", { * organizationId: "org1a23f456789", * cloudName: "aws-eu-west-1", * networkCidr: "10.0.0.0/24", * displayName: "My organization VPC", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/organizationVpc:OrganizationVpc example ORGANIZATION_ID/ORGANIZATION_VPC_ID * ``` */ export declare class OrganizationVpc extends pulumi.CustomResource { /** * Get an existing OrganizationVpc 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?: OrganizationVpcState, opts?: pulumi.CustomResourceOptions): OrganizationVpc; /** * Returns true if the given object is an instance of OrganizationVpc. 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 OrganizationVpc; /** * The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource. */ readonly cloudName: pulumi.Output; /** * VPC creation timestamp. */ readonly createTime: pulumi.Output; /** * User defined display name for this VPC. Maximum length: `64`. */ readonly displayName: pulumi.Output; /** * Network address range used by the VPC. For example, `192.168.0.0/24`. Changing this property forces recreation of the resource. */ readonly networkCidr: pulumi.Output; /** * ID of an organization. Maximum length: `36`. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; /** * The ID of the Aiven Organization VPC. */ readonly organizationVpcId: pulumi.Output; /** * State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`. */ readonly state: pulumi.Output; readonly timeouts: pulumi.Output; /** * Timestamp of last change to VPC. */ readonly updateTime: pulumi.Output; /** * Create a OrganizationVpc 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: OrganizationVpcArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationVpc resources. */ export interface OrganizationVpcState { /** * The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource. */ cloudName?: pulumi.Input; /** * VPC creation timestamp. */ createTime?: pulumi.Input; /** * User defined display name for this VPC. Maximum length: `64`. */ displayName?: pulumi.Input; /** * Network address range used by the VPC. For example, `192.168.0.0/24`. Changing this property forces recreation of the resource. */ networkCidr?: pulumi.Input; /** * ID of an organization. Maximum length: `36`. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; /** * The ID of the Aiven Organization VPC. */ organizationVpcId?: pulumi.Input; /** * State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`. */ state?: pulumi.Input; timeouts?: pulumi.Input; /** * Timestamp of last change to VPC. */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationVpc resource. */ export interface OrganizationVpcArgs { /** * The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource. */ cloudName: pulumi.Input; /** * User defined display name for this VPC. Maximum length: `64`. */ displayName?: pulumi.Input; /** * Network address range used by the VPC. For example, `192.168.0.0/24`. Changing this property forces recreation of the resource. */ networkCidr: pulumi.Input; /** * ID of an organization. Maximum length: `36`. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=organizationVpc.d.ts.map