import * as pulumi from "@pulumi/pulumi"; /** * Move a Dedicated Cloud Datacenter to a vrack. * * ## Example Usage * * > **WARNING** You have to import the resource first as it cannot be created, see Import section below. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const vrackDedicatedCloudDatacenter = new ovh.vrack.DedicatedCloudDatacenter("vrack_dedicated_cloud_datacenter", { * serviceName: "", * datacenter: "", * }); * ``` * * ## Import * * A Datacenter will always be in a vRack, first import the resource, this will move the Dedicated Cloud Datacenter to the vRack target. * * bash * * ```sh * $ pulumi import ovh:Vrack/dedicatedCloudDatacenter:DedicatedCloudDatacenter vrack-dedicatedCloudDatacenter "//" * ``` */ export declare class DedicatedCloudDatacenter extends pulumi.CustomResource { /** * Get an existing DedicatedCloudDatacenter 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?: DedicatedCloudDatacenterState, opts?: pulumi.CustomResourceOptions): DedicatedCloudDatacenter; /** * Returns true if the given object is an instance of DedicatedCloudDatacenter. 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 DedicatedCloudDatacenter; /** * Your Dedicated Cloud Datacenter. */ readonly datacenter: pulumi.Output; /** * Your dedicatedCloud name */ readonly dedicatedCloud: pulumi.Output; /** * The internal name of your vrack */ readonly serviceName: pulumi.Output; /** * The internal name of your target vrack */ readonly targetServiceName: pulumi.Output; /** * Create a DedicatedCloudDatacenter 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: DedicatedCloudDatacenterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DedicatedCloudDatacenter resources. */ export interface DedicatedCloudDatacenterState { /** * Your Dedicated Cloud Datacenter. */ datacenter?: pulumi.Input; /** * Your dedicatedCloud name */ dedicatedCloud?: pulumi.Input; /** * The internal name of your vrack */ serviceName?: pulumi.Input; /** * The internal name of your target vrack */ targetServiceName?: pulumi.Input; } /** * The set of arguments for constructing a DedicatedCloudDatacenter resource. */ export interface DedicatedCloudDatacenterArgs { /** * Your Dedicated Cloud Datacenter. */ datacenter: pulumi.Input; /** * The internal name of your vrack */ serviceName: pulumi.Input; }