1. Packages
  2. OVH
  3. API Docs
  4. Vps
  5. Vps
OVHCloud v2.4.1 published on Thursday, Jun 19, 2025 by OVHcloud

ovh.Vps.Vps

Explore with Pulumi AI

ovh logo
OVHCloud v2.4.1 published on Thursday, Jun 19, 2025 by OVHcloud

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      myVps:
        type: ovh:Vps:Vps
        name: my_vps
        properties:
          displayName: dev_vps
          ovhSubsidiary: ${mycart.ovhSubsidiary}
          plans:
            - duration: P1M
              plan_code: ${vps.planCode}
              pricing_mode: default
              configuration:
                - label: vps_datacenter
                  value: WAW
                - label: vps_os
                  value: Debian 10
    variables:
      myAccount:
        fn::invoke:
          function: ovh:Me:getMe
          arguments: {}
      mycart:
        fn::invoke:
          function: ovh:Order:getCart
          arguments:
            ovhSubsidiary: ${myAccount.ovhSubsidiary}
      vps:
        fn::invoke:
          function: ovh:Order:getCartProductPlan
          arguments:
            cartId: ${mycart.id}
            priceCapacity: renew
            product: vps
            planCode: vps-le-2-2-40
    outputs:
      vpsDisplayName: ${myVps.displayName}
    

    Create Vps Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Vps(name: string, args?: VpsArgs, opts?: CustomResourceOptions);
    @overload
    def Vps(resource_name: str,
            args: Optional[VpsArgs] = None,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Vps(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            display_name: Optional[str] = None,
            keymap: Optional[str] = None,
            memory_limit: Optional[float] = None,
            model: Optional[VpsModelArgs] = None,
            monitoring_ip_blocks: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            netboot_mode: Optional[str] = None,
            offer_type: Optional[str] = None,
            ovh_subsidiary: Optional[str] = None,
            plan_options: Optional[Sequence[VpsPlanOptionArgs]] = None,
            plans: Optional[Sequence[VpsPlanArgs]] = None,
            sla_monitoring: Optional[bool] = None,
            state: Optional[str] = None,
            vcore: Optional[float] = None,
            zone: Optional[str] = None)
    func NewVps(ctx *Context, name string, args *VpsArgs, opts ...ResourceOption) (*Vps, error)
    public Vps(string name, VpsArgs? args = null, CustomResourceOptions? opts = null)
    public Vps(String name, VpsArgs args)
    public Vps(String name, VpsArgs args, CustomResourceOptions options)
    
    type: ovh:Vps:Vps
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VpsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VpsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VpsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vpsResource = new Ovh.Vps.Vps("vpsResource", new()
    {
        DisplayName = "string",
        Keymap = "string",
        MemoryLimit = 0,
        Model = new Ovh.Vps.Inputs.VpsModelArgs
        {
            AvailableOptions = new[]
            {
                "string",
            },
            Datacenters = new[]
            {
                "string",
            },
            Disk = 0,
            MaximumAdditionnalIp = 0,
            Memory = 0,
            Name = "string",
            Offer = "string",
            Vcore = 0,
            Version = "string",
        },
        MonitoringIpBlocks = new[]
        {
            "string",
        },
        Name = "string",
        NetbootMode = "string",
        OfferType = "string",
        OvhSubsidiary = "string",
        PlanOptions = new[]
        {
            new Ovh.Vps.Inputs.VpsPlanOptionArgs
            {
                Duration = "string",
                PlanCode = "string",
                PricingMode = "string",
                Quantity = 0,
                Configurations = new[]
                {
                    new Ovh.Vps.Inputs.VpsPlanOptionConfigurationArgs
                    {
                        Label = "string",
                        Value = "string",
                    },
                },
            },
        },
        Plans = new[]
        {
            new Ovh.Vps.Inputs.VpsPlanArgs
            {
                Duration = "string",
                PlanCode = "string",
                PricingMode = "string",
                Configurations = new[]
                {
                    new Ovh.Vps.Inputs.VpsPlanConfigurationArgs
                    {
                        Label = "string",
                        Value = "string",
                    },
                },
                ItemId = 0,
                Quantity = 0,
            },
        },
        SlaMonitoring = false,
        State = "string",
        Vcore = 0,
        Zone = "string",
    });
    
    example, err := vps.NewVps(ctx, "vpsResource", &vps.VpsArgs{
    	DisplayName: pulumi.String("string"),
    	Keymap:      pulumi.String("string"),
    	MemoryLimit: pulumi.Float64(0),
    	Model: &vps.VpsModelArgs{
    		AvailableOptions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Datacenters: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Disk:                 pulumi.Float64(0),
    		MaximumAdditionnalIp: pulumi.Float64(0),
    		Memory:               pulumi.Float64(0),
    		Name:                 pulumi.String("string"),
    		Offer:                pulumi.String("string"),
    		Vcore:                pulumi.Float64(0),
    		Version:              pulumi.String("string"),
    	},
    	MonitoringIpBlocks: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:          pulumi.String("string"),
    	NetbootMode:   pulumi.String("string"),
    	OfferType:     pulumi.String("string"),
    	OvhSubsidiary: pulumi.String("string"),
    	PlanOptions: vps.VpsPlanOptionArray{
    		&vps.VpsPlanOptionArgs{
    			Duration:    pulumi.String("string"),
    			PlanCode:    pulumi.String("string"),
    			PricingMode: pulumi.String("string"),
    			Quantity:    pulumi.Float64(0),
    			Configurations: vps.VpsPlanOptionConfigurationArray{
    				&vps.VpsPlanOptionConfigurationArgs{
    					Label: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Plans: vps.VpsPlanArray{
    		&vps.VpsPlanArgs{
    			Duration:    pulumi.String("string"),
    			PlanCode:    pulumi.String("string"),
    			PricingMode: pulumi.String("string"),
    			Configurations: vps.VpsPlanConfigurationArray{
    				&vps.VpsPlanConfigurationArgs{
    					Label: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			ItemId:   pulumi.Float64(0),
    			Quantity: pulumi.Float64(0),
    		},
    	},
    	SlaMonitoring: pulumi.Bool(false),
    	State:         pulumi.String("string"),
    	Vcore:         pulumi.Float64(0),
    	Zone:          pulumi.String("string"),
    })
    
    var vpsResource = new Vps("vpsResource", VpsArgs.builder()
        .displayName("string")
        .keymap("string")
        .memoryLimit(0.0)
        .model(VpsModelArgs.builder()
            .availableOptions("string")
            .datacenters("string")
            .disk(0.0)
            .maximumAdditionnalIp(0.0)
            .memory(0.0)
            .name("string")
            .offer("string")
            .vcore(0.0)
            .version("string")
            .build())
        .monitoringIpBlocks("string")
        .name("string")
        .netbootMode("string")
        .offerType("string")
        .ovhSubsidiary("string")
        .planOptions(VpsPlanOptionArgs.builder()
            .duration("string")
            .planCode("string")
            .pricingMode("string")
            .quantity(0.0)
            .configurations(VpsPlanOptionConfigurationArgs.builder()
                .label("string")
                .value("string")
                .build())
            .build())
        .plans(VpsPlanArgs.builder()
            .duration("string")
            .planCode("string")
            .pricingMode("string")
            .configurations(VpsPlanConfigurationArgs.builder()
                .label("string")
                .value("string")
                .build())
            .itemId(0.0)
            .quantity(0.0)
            .build())
        .slaMonitoring(false)
        .state("string")
        .vcore(0.0)
        .zone("string")
        .build());
    
    vps_resource = ovh.vps.Vps("vpsResource",
        display_name="string",
        keymap="string",
        memory_limit=0,
        model={
            "available_options": ["string"],
            "datacenters": ["string"],
            "disk": 0,
            "maximum_additionnal_ip": 0,
            "memory": 0,
            "name": "string",
            "offer": "string",
            "vcore": 0,
            "version": "string",
        },
        monitoring_ip_blocks=["string"],
        name="string",
        netboot_mode="string",
        offer_type="string",
        ovh_subsidiary="string",
        plan_options=[{
            "duration": "string",
            "plan_code": "string",
            "pricing_mode": "string",
            "quantity": 0,
            "configurations": [{
                "label": "string",
                "value": "string",
            }],
        }],
        plans=[{
            "duration": "string",
            "plan_code": "string",
            "pricing_mode": "string",
            "configurations": [{
                "label": "string",
                "value": "string",
            }],
            "item_id": 0,
            "quantity": 0,
        }],
        sla_monitoring=False,
        state="string",
        vcore=0,
        zone="string")
    
    const vpsResource = new ovh.vps.Vps("vpsResource", {
        displayName: "string",
        keymap: "string",
        memoryLimit: 0,
        model: {
            availableOptions: ["string"],
            datacenters: ["string"],
            disk: 0,
            maximumAdditionnalIp: 0,
            memory: 0,
            name: "string",
            offer: "string",
            vcore: 0,
            version: "string",
        },
        monitoringIpBlocks: ["string"],
        name: "string",
        netbootMode: "string",
        offerType: "string",
        ovhSubsidiary: "string",
        planOptions: [{
            duration: "string",
            planCode: "string",
            pricingMode: "string",
            quantity: 0,
            configurations: [{
                label: "string",
                value: "string",
            }],
        }],
        plans: [{
            duration: "string",
            planCode: "string",
            pricingMode: "string",
            configurations: [{
                label: "string",
                value: "string",
            }],
            itemId: 0,
            quantity: 0,
        }],
        slaMonitoring: false,
        state: "string",
        vcore: 0,
        zone: "string",
    });
    
    type: ovh:Vps:Vps
    properties:
        displayName: string
        keymap: string
        memoryLimit: 0
        model:
            availableOptions:
                - string
            datacenters:
                - string
            disk: 0
            maximumAdditionnalIp: 0
            memory: 0
            name: string
            offer: string
            vcore: 0
            version: string
        monitoringIpBlocks:
            - string
        name: string
        netbootMode: string
        offerType: string
        ovhSubsidiary: string
        planOptions:
            - configurations:
                - label: string
                  value: string
              duration: string
              planCode: string
              pricingMode: string
              quantity: 0
        plans:
            - configurations:
                - label: string
                  value: string
              duration: string
              itemId: 0
              planCode: string
              pricingMode: string
              quantity: 0
        slaMonitoring: false
        state: string
        vcore: 0
        zone: string
    

    Vps Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Vps resource accepts the following input properties:

    DisplayName string
    Custom display name
    Keymap string
    KVM keyboard layout on VPS Cloud
    MemoryLimit double
    RAM of this VPS
    Model VpsModel
    Structure describing characteristics of a VPS model
    MonitoringIpBlocks List<string>
    IP blocks for OVH monitoring servers
    Name string
    Name of the VPS
    NetbootMode string
    VPS netboot mode (local┃rescue)
    OfferType string
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    OvhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    PlanOptions List<VpsPlanOption>
    Product Plan to order
    Plans List<VpsPlan>
    Product Plan to order
    SlaMonitoring bool
    State string
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    Vcore double
    Number of vcores
    Zone string
    OpenStask region where the VPS is located
    DisplayName string
    Custom display name
    Keymap string
    KVM keyboard layout on VPS Cloud
    MemoryLimit float64
    RAM of this VPS
    Model VpsModelArgs
    Structure describing characteristics of a VPS model
    MonitoringIpBlocks []string
    IP blocks for OVH monitoring servers
    Name string
    Name of the VPS
    NetbootMode string
    VPS netboot mode (local┃rescue)
    OfferType string
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    OvhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    PlanOptions []VpsPlanOptionArgs
    Product Plan to order
    Plans []VpsPlanArgs
    Product Plan to order
    SlaMonitoring bool
    State string
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    Vcore float64
    Number of vcores
    Zone string
    OpenStask region where the VPS is located
    displayName String
    Custom display name
    keymap String
    KVM keyboard layout on VPS Cloud
    memoryLimit Double
    RAM of this VPS
    model Model
    Structure describing characteristics of a VPS model
    monitoringIpBlocks List<String>
    IP blocks for OVH monitoring servers
    name String
    Name of the VPS
    netbootMode String
    VPS netboot mode (local┃rescue)
    offerType String
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    ovhSubsidiary String
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    planOptions List<PlanOption>
    Product Plan to order
    plans List<Plan>
    Product Plan to order
    slaMonitoring Boolean
    state String
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    vcore Double
    Number of vcores
    zone String
    OpenStask region where the VPS is located
    displayName string
    Custom display name
    keymap string
    KVM keyboard layout on VPS Cloud
    memoryLimit number
    RAM of this VPS
    model VpsModel
    Structure describing characteristics of a VPS model
    monitoringIpBlocks string[]
    IP blocks for OVH monitoring servers
    name string
    Name of the VPS
    netbootMode string
    VPS netboot mode (local┃rescue)
    offerType string
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    ovhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    planOptions VpsPlanOption[]
    Product Plan to order
    plans VpsPlan[]
    Product Plan to order
    slaMonitoring boolean
    state string
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    vcore number
    Number of vcores
    zone string
    OpenStask region where the VPS is located
    display_name str
    Custom display name
    keymap str
    KVM keyboard layout on VPS Cloud
    memory_limit float
    RAM of this VPS
    model VpsModelArgs
    Structure describing characteristics of a VPS model
    monitoring_ip_blocks Sequence[str]
    IP blocks for OVH monitoring servers
    name str
    Name of the VPS
    netboot_mode str
    VPS netboot mode (local┃rescue)
    offer_type str
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    ovh_subsidiary str
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    plan_options Sequence[VpsPlanOptionArgs]
    Product Plan to order
    plans Sequence[VpsPlanArgs]
    Product Plan to order
    sla_monitoring bool
    state str
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    vcore float
    Number of vcores
    zone str
    OpenStask region where the VPS is located
    displayName String
    Custom display name
    keymap String
    KVM keyboard layout on VPS Cloud
    memoryLimit Number
    RAM of this VPS
    model Property Map
    Structure describing characteristics of a VPS model
    monitoringIpBlocks List<String>
    IP blocks for OVH monitoring servers
    name String
    Name of the VPS
    netbootMode String
    VPS netboot mode (local┃rescue)
    offerType String
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    ovhSubsidiary String
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    planOptions List<Property Map>
    Product Plan to order
    plans List<Property Map>
    Product Plan to order
    slaMonitoring Boolean
    state String
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    vcore Number
    Number of vcores
    zone String
    OpenStask region where the VPS is located

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Vps resource produces the following output properties:

    Cluster string
    VPS cluster
    Iam VpsIam
    IAM resource information
    Id string
    The provider-assigned unique ID for this managed resource.
    Order VpsOrder
    Details about an Order
    ServiceName string
    The internal name of your VPS offer
    Cluster string
    VPS cluster
    Iam VpsIam
    IAM resource information
    Id string
    The provider-assigned unique ID for this managed resource.
    Order VpsOrder
    Details about an Order
    ServiceName string
    The internal name of your VPS offer
    cluster String
    VPS cluster
    iam Iam
    IAM resource information
    id String
    The provider-assigned unique ID for this managed resource.
    order Order
    Details about an Order
    serviceName String
    The internal name of your VPS offer
    cluster string
    VPS cluster
    iam VpsIam
    IAM resource information
    id string
    The provider-assigned unique ID for this managed resource.
    order VpsOrder
    Details about an Order
    serviceName string
    The internal name of your VPS offer
    cluster str
    VPS cluster
    iam VpsIam
    IAM resource information
    id str
    The provider-assigned unique ID for this managed resource.
    order VpsOrder
    Details about an Order
    service_name str
    The internal name of your VPS offer
    cluster String
    VPS cluster
    iam Property Map
    IAM resource information
    id String
    The provider-assigned unique ID for this managed resource.
    order Property Map
    Details about an Order
    serviceName String
    The internal name of your VPS offer

    Look up Existing Vps Resource

    Get an existing Vps resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VpsState, opts?: CustomResourceOptions): Vps
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster: Optional[str] = None,
            display_name: Optional[str] = None,
            iam: Optional[VpsIamArgs] = None,
            keymap: Optional[str] = None,
            memory_limit: Optional[float] = None,
            model: Optional[VpsModelArgs] = None,
            monitoring_ip_blocks: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            netboot_mode: Optional[str] = None,
            offer_type: Optional[str] = None,
            order: Optional[VpsOrderArgs] = None,
            ovh_subsidiary: Optional[str] = None,
            plan_options: Optional[Sequence[VpsPlanOptionArgs]] = None,
            plans: Optional[Sequence[VpsPlanArgs]] = None,
            service_name: Optional[str] = None,
            sla_monitoring: Optional[bool] = None,
            state: Optional[str] = None,
            vcore: Optional[float] = None,
            zone: Optional[str] = None) -> Vps
    func GetVps(ctx *Context, name string, id IDInput, state *VpsState, opts ...ResourceOption) (*Vps, error)
    public static Vps Get(string name, Input<string> id, VpsState? state, CustomResourceOptions? opts = null)
    public static Vps get(String name, Output<String> id, VpsState state, CustomResourceOptions options)
    resources:  _:    type: ovh:Vps:Vps    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Cluster string
    VPS cluster
    DisplayName string
    Custom display name
    Iam VpsIam
    IAM resource information
    Keymap string
    KVM keyboard layout on VPS Cloud
    MemoryLimit double
    RAM of this VPS
    Model VpsModel
    Structure describing characteristics of a VPS model
    MonitoringIpBlocks List<string>
    IP blocks for OVH monitoring servers
    Name string
    Name of the VPS
    NetbootMode string
    VPS netboot mode (local┃rescue)
    OfferType string
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    Order VpsOrder
    Details about an Order
    OvhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    PlanOptions List<VpsPlanOption>
    Product Plan to order
    Plans List<VpsPlan>
    Product Plan to order
    ServiceName string
    The internal name of your VPS offer
    SlaMonitoring bool
    State string
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    Vcore double
    Number of vcores
    Zone string
    OpenStask region where the VPS is located
    Cluster string
    VPS cluster
    DisplayName string
    Custom display name
    Iam VpsIamArgs
    IAM resource information
    Keymap string
    KVM keyboard layout on VPS Cloud
    MemoryLimit float64
    RAM of this VPS
    Model VpsModelArgs
    Structure describing characteristics of a VPS model
    MonitoringIpBlocks []string
    IP blocks for OVH monitoring servers
    Name string
    Name of the VPS
    NetbootMode string
    VPS netboot mode (local┃rescue)
    OfferType string
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    Order VpsOrderArgs
    Details about an Order
    OvhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    PlanOptions []VpsPlanOptionArgs
    Product Plan to order
    Plans []VpsPlanArgs
    Product Plan to order
    ServiceName string
    The internal name of your VPS offer
    SlaMonitoring bool
    State string
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    Vcore float64
    Number of vcores
    Zone string
    OpenStask region where the VPS is located
    cluster String
    VPS cluster
    displayName String
    Custom display name
    iam Iam
    IAM resource information
    keymap String
    KVM keyboard layout on VPS Cloud
    memoryLimit Double
    RAM of this VPS
    model Model
    Structure describing characteristics of a VPS model
    monitoringIpBlocks List<String>
    IP blocks for OVH monitoring servers
    name String
    Name of the VPS
    netbootMode String
    VPS netboot mode (local┃rescue)
    offerType String
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    order Order
    Details about an Order
    ovhSubsidiary String
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    planOptions List<PlanOption>
    Product Plan to order
    plans List<Plan>
    Product Plan to order
    serviceName String
    The internal name of your VPS offer
    slaMonitoring Boolean
    state String
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    vcore Double
    Number of vcores
    zone String
    OpenStask region where the VPS is located
    cluster string
    VPS cluster
    displayName string
    Custom display name
    iam VpsIam
    IAM resource information
    keymap string
    KVM keyboard layout on VPS Cloud
    memoryLimit number
    RAM of this VPS
    model VpsModel
    Structure describing characteristics of a VPS model
    monitoringIpBlocks string[]
    IP blocks for OVH monitoring servers
    name string
    Name of the VPS
    netbootMode string
    VPS netboot mode (local┃rescue)
    offerType string
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    order VpsOrder
    Details about an Order
    ovhSubsidiary string
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    planOptions VpsPlanOption[]
    Product Plan to order
    plans VpsPlan[]
    Product Plan to order
    serviceName string
    The internal name of your VPS offer
    slaMonitoring boolean
    state string
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    vcore number
    Number of vcores
    zone string
    OpenStask region where the VPS is located
    cluster str
    VPS cluster
    display_name str
    Custom display name
    iam VpsIamArgs
    IAM resource information
    keymap str
    KVM keyboard layout on VPS Cloud
    memory_limit float
    RAM of this VPS
    model VpsModelArgs
    Structure describing characteristics of a VPS model
    monitoring_ip_blocks Sequence[str]
    IP blocks for OVH monitoring servers
    name str
    Name of the VPS
    netboot_mode str
    VPS netboot mode (local┃rescue)
    offer_type str
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    order VpsOrderArgs
    Details about an Order
    ovh_subsidiary str
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    plan_options Sequence[VpsPlanOptionArgs]
    Product Plan to order
    plans Sequence[VpsPlanArgs]
    Product Plan to order
    service_name str
    The internal name of your VPS offer
    sla_monitoring bool
    state str
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    vcore float
    Number of vcores
    zone str
    OpenStask region where the VPS is located
    cluster String
    VPS cluster
    displayName String
    Custom display name
    iam Property Map
    IAM resource information
    keymap String
    KVM keyboard layout on VPS Cloud
    memoryLimit Number
    RAM of this VPS
    model Property Map
    Structure describing characteristics of a VPS model
    monitoringIpBlocks List<String>
    IP blocks for OVH monitoring servers
    name String
    Name of the VPS
    netbootMode String
    VPS netboot mode (local┃rescue)
    offerType String
    All offers a VPS can have (beta-classic┃classic┃cloud┃cloudram┃game-classic┃lowlat┃ssd)
    order Property Map
    Details about an Order
    ovhSubsidiary String
    OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at /1.0/me.json
    planOptions List<Property Map>
    Product Plan to order
    plans List<Property Map>
    Product Plan to order
    serviceName String
    The internal name of your VPS offer
    slaMonitoring Boolean
    state String
    State of the VPS (backuping┃installing┃maintenance┃rebooting┃rescued┃running┃stopped┃stopping┃upgrading)
    vcore Number
    Number of vcores
    zone String
    OpenStask region where the VPS is located

    Supporting Types

    VpsIam, VpsIamArgs

    DisplayName string
    Custom display name
    Id string
    Unique identifier of the resource in the IAM
    Tags Dictionary<string, string>
    Resource tags. Tags that were internally computed are prefixed with ovh:
    Urn string
    URN of the private database, used when writing IAM policies
    DisplayName string
    Custom display name
    Id string
    Unique identifier of the resource in the IAM
    Tags map[string]string
    Resource tags. Tags that were internally computed are prefixed with ovh:
    Urn string
    URN of the private database, used when writing IAM policies
    displayName String
    Custom display name
    id String
    Unique identifier of the resource in the IAM
    tags Map<String,String>
    Resource tags. Tags that were internally computed are prefixed with ovh:
    urn String
    URN of the private database, used when writing IAM policies
    displayName string
    Custom display name
    id string
    Unique identifier of the resource in the IAM
    tags {[key: string]: string}
    Resource tags. Tags that were internally computed are prefixed with ovh:
    urn string
    URN of the private database, used when writing IAM policies
    display_name str
    Custom display name
    id str
    Unique identifier of the resource in the IAM
    tags Mapping[str, str]
    Resource tags. Tags that were internally computed are prefixed with ovh:
    urn str
    URN of the private database, used when writing IAM policies
    displayName String
    Custom display name
    id String
    Unique identifier of the resource in the IAM
    tags Map<String>
    Resource tags. Tags that were internally computed are prefixed with ovh:
    urn String
    URN of the private database, used when writing IAM policies

    VpsModel, VpsModelArgs

    AvailableOptions List<string>
    All options the VPS can have (additionalDisk┃automatedBackup┃cpanel┃ftpbackup┃plesk┃snapshot┃veeam┃windows)
    Datacenters List<string>
    Datacenters where this model is available
    Disk double
    Disk capacity of this VPS
    MaximumAdditionnalIp double
    Maximum number of additional IPs
    Memory double
    RAM of the VPS
    Name string
    Name of the VPS
    Offer string
    Description of this VPS offer
    Vcore double
    Number of vcores
    Version string
    All versions that VPS can have (2013v1┃2014v1┃2015v1┃2017v1┃2017v2┃2017v3┃2018v1┃2018v2┃2019v1)
    AvailableOptions []string
    All options the VPS can have (additionalDisk┃automatedBackup┃cpanel┃ftpbackup┃plesk┃snapshot┃veeam┃windows)
    Datacenters []string
    Datacenters where this model is available
    Disk float64
    Disk capacity of this VPS
    MaximumAdditionnalIp float64
    Maximum number of additional IPs
    Memory float64
    RAM of the VPS
    Name string
    Name of the VPS
    Offer string
    Description of this VPS offer
    Vcore float64
    Number of vcores
    Version string
    All versions that VPS can have (2013v1┃2014v1┃2015v1┃2017v1┃2017v2┃2017v3┃2018v1┃2018v2┃2019v1)
    availableOptions List<String>
    All options the VPS can have (additionalDisk┃automatedBackup┃cpanel┃ftpbackup┃plesk┃snapshot┃veeam┃windows)
    datacenters List<String>
    Datacenters where this model is available
    disk Double
    Disk capacity of this VPS
    maximumAdditionnalIp Double
    Maximum number of additional IPs
    memory Double
    RAM of the VPS
    name String
    Name of the VPS
    offer String
    Description of this VPS offer
    vcore Double
    Number of vcores
    version String
    All versions that VPS can have (2013v1┃2014v1┃2015v1┃2017v1┃2017v2┃2017v3┃2018v1┃2018v2┃2019v1)
    availableOptions string[]
    All options the VPS can have (additionalDisk┃automatedBackup┃cpanel┃ftpbackup┃plesk┃snapshot┃veeam┃windows)
    datacenters string[]
    Datacenters where this model is available
    disk number
    Disk capacity of this VPS
    maximumAdditionnalIp number
    Maximum number of additional IPs
    memory number
    RAM of the VPS
    name string
    Name of the VPS
    offer string
    Description of this VPS offer
    vcore number
    Number of vcores
    version string
    All versions that VPS can have (2013v1┃2014v1┃2015v1┃2017v1┃2017v2┃2017v3┃2018v1┃2018v2┃2019v1)
    available_options Sequence[str]
    All options the VPS can have (additionalDisk┃automatedBackup┃cpanel┃ftpbackup┃plesk┃snapshot┃veeam┃windows)
    datacenters Sequence[str]
    Datacenters where this model is available
    disk float
    Disk capacity of this VPS
    maximum_additionnal_ip float
    Maximum number of additional IPs
    memory float
    RAM of the VPS
    name str
    Name of the VPS
    offer str
    Description of this VPS offer
    vcore float
    Number of vcores
    version str
    All versions that VPS can have (2013v1┃2014v1┃2015v1┃2017v1┃2017v2┃2017v3┃2018v1┃2018v2┃2019v1)
    availableOptions List<String>
    All options the VPS can have (additionalDisk┃automatedBackup┃cpanel┃ftpbackup┃plesk┃snapshot┃veeam┃windows)
    datacenters List<String>
    Datacenters where this model is available
    disk Number
    Disk capacity of this VPS
    maximumAdditionnalIp Number
    Maximum number of additional IPs
    memory Number
    RAM of the VPS
    name String
    Name of the VPS
    offer String
    Description of this VPS offer
    vcore Number
    Number of vcores
    version String
    All versions that VPS can have (2013v1┃2014v1┃2015v1┃2017v1┃2017v2┃2017v3┃2018v1┃2018v2┃2019v1)

    VpsOrder, VpsOrderArgs

    VpsOrderDetail, VpsOrderDetailArgs

    Description string
    DetailType string
    Product type of item in order
    Domain string
    OrderDetailId double
    Quantity string
    Description string
    DetailType string
    Product type of item in order
    Domain string
    OrderDetailId float64
    Quantity string
    description String
    detailType String
    Product type of item in order
    domain String
    orderDetailId Double
    quantity String
    description string
    detailType string
    Product type of item in order
    domain string
    orderDetailId number
    quantity string
    description str
    detail_type str
    Product type of item in order
    domain str
    order_detail_id float
    quantity str
    description String
    detailType String
    Product type of item in order
    domain String
    orderDetailId Number
    quantity String

    VpsPlan, VpsPlanArgs

    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    Configurations List<VpsPlanConfiguration>
    Representation of a configuration item for personalizing product
    ItemId double
    Cart item to be linked
    Quantity double
    Quantity of product desired
    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    Configurations []VpsPlanConfiguration
    Representation of a configuration item for personalizing product
    ItemId float64
    Cart item to be linked
    Quantity float64
    Quantity of product desired
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    configurations List<PlanConfiguration>
    Representation of a configuration item for personalizing product
    itemId Double
    Cart item to be linked
    quantity Double
    Quantity of product desired
    duration string
    duration
    planCode string
    Plan code
    pricingMode string
    Pricing model identifier
    configurations VpsPlanConfiguration[]
    Representation of a configuration item for personalizing product
    itemId number
    Cart item to be linked
    quantity number
    Quantity of product desired
    duration str
    duration
    plan_code str
    Plan code
    pricing_mode str
    Pricing model identifier
    configurations Sequence[VpsPlanConfiguration]
    Representation of a configuration item for personalizing product
    item_id float
    Cart item to be linked
    quantity float
    Quantity of product desired
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    configurations List<Property Map>
    Representation of a configuration item for personalizing product
    itemId Number
    Cart item to be linked
    quantity Number
    Quantity of product desired

    VpsPlanConfiguration, VpsPlanConfigurationArgs

    Label string
    Identifier of the resource
    Value string
    Path to the resource in api.ovh.com
    Label string
    Identifier of the resource
    Value string
    Path to the resource in api.ovh.com
    label String
    Identifier of the resource
    value String
    Path to the resource in api.ovh.com
    label string
    Identifier of the resource
    value string
    Path to the resource in api.ovh.com
    label str
    Identifier of the resource
    value str
    Path to the resource in api.ovh.com
    label String
    Identifier of the resource
    value String
    Path to the resource in api.ovh.com

    VpsPlanOption, VpsPlanOptionArgs

    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    Quantity double
    Quantity of product desired
    Configurations List<VpsPlanOptionConfiguration>
    Representation of a configuration item for personalizing product
    Duration string
    duration
    PlanCode string
    Plan code
    PricingMode string
    Pricing model identifier
    Quantity float64
    Quantity of product desired
    Configurations []VpsPlanOptionConfiguration
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    quantity Double
    Quantity of product desired
    configurations List<PlanOptionConfiguration>
    Representation of a configuration item for personalizing product
    duration string
    duration
    planCode string
    Plan code
    pricingMode string
    Pricing model identifier
    quantity number
    Quantity of product desired
    configurations VpsPlanOptionConfiguration[]
    Representation of a configuration item for personalizing product
    duration str
    duration
    plan_code str
    Plan code
    pricing_mode str
    Pricing model identifier
    quantity float
    Quantity of product desired
    configurations Sequence[VpsPlanOptionConfiguration]
    Representation of a configuration item for personalizing product
    duration String
    duration
    planCode String
    Plan code
    pricingMode String
    Pricing model identifier
    quantity Number
    Quantity of product desired
    configurations List<Property Map>
    Representation of a configuration item for personalizing product

    VpsPlanOptionConfiguration, VpsPlanOptionConfigurationArgs

    Label string
    Identifier of the resource
    Value string
    Path to the resource in api.ovh.com
    Label string
    Identifier of the resource
    Value string
    Path to the resource in api.ovh.com
    label String
    Identifier of the resource
    value String
    Path to the resource in api.ovh.com
    label string
    Identifier of the resource
    value string
    Path to the resource in api.ovh.com
    label str
    Identifier of the resource
    value str
    Path to the resource in api.ovh.com
    label String
    Identifier of the resource
    value String
    Path to the resource in api.ovh.com

    Import

    OVHcloud VPS database can be imported using the service_name, E.g.,

    terraform

    import {

    to = ovh_vps.myvps

    id = “

    }

    You can then run:

    pulumi preview -generate-config-out=./vps.tf

    The file vps.tf will then contain the imported resource’s configuration, that can be copied next to the import block above. See https://developer.hashicorp.com/terraform/language/import/generating-configuration for more details.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v2.4.1 published on Thursday, Jun 19, 2025 by OVHcloud