import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates a private network (vRack) in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const network = new ovh.CloudNetworkPrivateVrack("network", { * serviceName: "", * name: "my-private-network", * region: "GRA1", * description: "My private network", * vlanId: 100, * }); * ``` * * ## Import * * A cloud private network can be imported using the `service_name` and `network_id`, separated by `/`: * * terraform * * import { * * to = ovh_cloud_network_private_vrack.network * * id = "/" * * } * * bash * * ```sh * $ pulumi import ovh:index/cloudNetworkPrivateVrack:CloudNetworkPrivateVrack network service_name/network_id * ``` */ export declare class CloudNetworkPrivateVrack extends pulumi.CustomResource { /** * Get an existing CloudNetworkPrivateVrack 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?: CloudNetworkPrivateVrackState, opts?: pulumi.CustomResourceOptions): CloudNetworkPrivateVrack; /** * Returns true if the given object is an instance of CloudNetworkPrivateVrack. 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 CloudNetworkPrivateVrack; /** * Computed hash representing the current target specification value. */ readonly checksum: pulumi.Output; /** * Creation date of the network. */ readonly createdAt: pulumi.Output; /** * Current state of the network: */ readonly currentState: pulumi.Output; /** * Network description. **Changing this value recreates the resource.** */ readonly description: pulumi.Output; /** * Network name. */ readonly name: pulumi.Output; /** * Region where the network will be created. **Changing this value recreates the resource.** */ readonly region: pulumi.Output; /** * Network readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: pulumi.Output; /** * Service name of the resource representing the id of the cloud project. **Changing this value recreates the resource.** */ readonly serviceName: pulumi.Output; /** * Last update date of the network. */ readonly updatedAt: pulumi.Output; /** * VLAN ID of the network (0-4096). Assigned by the API if not set. **Changing this value recreates the resource.** Not supported in localzone regions. */ readonly vlanId: pulumi.Output; /** * Create a CloudNetworkPrivateVrack 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: CloudNetworkPrivateVrackArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudNetworkPrivateVrack resources. */ export interface CloudNetworkPrivateVrackState { /** * Computed hash representing the current target specification value. */ checksum?: pulumi.Input; /** * Creation date of the network. */ createdAt?: pulumi.Input; /** * Current state of the network: */ currentState?: pulumi.Input; /** * Network description. **Changing this value recreates the resource.** */ description?: pulumi.Input; /** * Network name. */ name?: pulumi.Input; /** * Region where the network will be created. **Changing this value recreates the resource.** */ region?: pulumi.Input; /** * Network readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ resourceStatus?: pulumi.Input; /** * Service name of the resource representing the id of the cloud project. **Changing this value recreates the resource.** */ serviceName?: pulumi.Input; /** * Last update date of the network. */ updatedAt?: pulumi.Input; /** * VLAN ID of the network (0-4096). Assigned by the API if not set. **Changing this value recreates the resource.** Not supported in localzone regions. */ vlanId?: pulumi.Input; } /** * The set of arguments for constructing a CloudNetworkPrivateVrack resource. */ export interface CloudNetworkPrivateVrackArgs { /** * Network description. **Changing this value recreates the resource.** */ description?: pulumi.Input; /** * Network name. */ name?: pulumi.Input; /** * Region where the network will be created. **Changing this value recreates the resource.** */ region: pulumi.Input; /** * Service name of the resource representing the id of the cloud project. **Changing this value recreates the resource.** */ serviceName: pulumi.Input; /** * VLAN ID of the network (0-4096). Assigned by the API if not set. **Changing this value recreates the resource.** Not supported in localzone regions. */ vlanId?: pulumi.Input; }