import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages Scaleway Virtual Private Clouds. * For more information, see [the main documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/). * * ## Example Usage * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * * const vpc01 = new scaleway.Vpc("vpc01", {tags: [ * "demo", * "terraform", * ]}); * ``` * * ### Enable routing * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * * const vpc01 = new scaleway.Vpc("vpc01", { * enableRouting: true, * tags: [ * "demo", * "terraform", * "routing", * ], * }); * ``` * * ## Import * * VPCs can be imported using `{region}/{id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/vpc:Vpc vpc_demo fr-par/11111111-1111-1111-1111-111111111111 * ``` */ export declare class Vpc extends pulumi.CustomResource { /** * Get an existing Vpc 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?: VpcState, opts?: pulumi.CustomResourceOptions): Vpc; /** * Returns true if the given object is an instance of Vpc. 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 Vpc; /** * Date and time of VPC's creation (RFC 3339 format). */ readonly createdAt: pulumi.Output; /** * Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. */ readonly enableRouting: pulumi.Output; /** * Defines whether the VPC is the default one for its Project. */ readonly isDefault: pulumi.Output; /** * The name for the VPC. If not provided it will be randomly generated. */ readonly name: pulumi.Output; /** * The Organization ID the VPC is associated with. */ readonly organizationId: pulumi.Output; /** * `projectId`) The ID of the Project the VPC is associated with. */ readonly projectId: pulumi.Output; /** * `region`) The region of the VPC. */ readonly region: pulumi.Output; /** * The tags to associate with the VPC. */ readonly tags: pulumi.Output; /** * Date and time of VPC's last update (RFC 3339 format). */ readonly updatedAt: pulumi.Output; /** * Create a Vpc 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?: VpcArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Vpc resources. */ export interface VpcState { /** * Date and time of VPC's creation (RFC 3339 format). */ createdAt?: pulumi.Input; /** * Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. */ enableRouting?: pulumi.Input; /** * Defines whether the VPC is the default one for its Project. */ isDefault?: pulumi.Input; /** * The name for the VPC. If not provided it will be randomly generated. */ name?: pulumi.Input; /** * The Organization ID the VPC is associated with. */ organizationId?: pulumi.Input; /** * `projectId`) The ID of the Project the VPC is associated with. */ projectId?: pulumi.Input; /** * `region`) The region of the VPC. */ region?: pulumi.Input; /** * The tags to associate with the VPC. */ tags?: pulumi.Input[]>; /** * Date and time of VPC's last update (RFC 3339 format). */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a Vpc resource. */ export interface VpcArgs { /** * Enable routing between Private Networks in the VPC. Note that you will not be able to deactivate it afterwards. */ enableRouting?: pulumi.Input; /** * The name for the VPC. If not provided it will be randomly generated. */ name?: pulumi.Input; /** * `projectId`) The ID of the Project the VPC is associated with. */ projectId?: pulumi.Input; /** * `region`) The region of the VPC. */ region?: pulumi.Input; /** * The tags to associate with the VPC. */ tags?: pulumi.Input[]>; }