1. Packages
  2. OVH
  3. API Docs
  4. Dedicated
  5. getServerSpecificationsHardware
OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud

ovh.Dedicated.getServerSpecificationsHardware

Explore with Pulumi AI

Use this data source to get the hardward information about a dedicated server associated with your OVHcloud Account.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const spec = ovh.Dedicated.getServerSpecificationsHardware({
    serviceName: "myserver",
});
Copy
import pulumi
import pulumi_ovh as ovh

spec = ovh.Dedicated.get_server_specifications_hardware(service_name="myserver")
Copy
package main

import (
	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/dedicated"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dedicated.GetServerSpecificationsHardware(ctx, &dedicated.GetServerSpecificationsHardwareArgs{
			ServiceName: "myserver",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var spec = Ovh.Dedicated.GetServerSpecificationsHardware.Invoke(new()
    {
        ServiceName = "myserver",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Dedicated.DedicatedFunctions;
import com.pulumi.ovh.Dedicated.inputs.GetServerSpecificationsHardwareArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var spec = DedicatedFunctions.getServerSpecificationsHardware(GetServerSpecificationsHardwareArgs.builder()
            .serviceName("myserver")
            .build());

    }
}
Copy
variables:
  spec:
    fn::invoke:
      function: ovh:Dedicated:getServerSpecificationsHardware
      arguments:
        serviceName: myserver
Copy

Using getServerSpecificationsHardware

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getServerSpecificationsHardware(args: GetServerSpecificationsHardwareArgs, opts?: InvokeOptions): Promise<GetServerSpecificationsHardwareResult>
function getServerSpecificationsHardwareOutput(args: GetServerSpecificationsHardwareOutputArgs, opts?: InvokeOptions): Output<GetServerSpecificationsHardwareResult>
Copy
def get_server_specifications_hardware(service_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetServerSpecificationsHardwareResult
def get_server_specifications_hardware_output(service_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetServerSpecificationsHardwareResult]
Copy
func GetServerSpecificationsHardware(ctx *Context, args *GetServerSpecificationsHardwareArgs, opts ...InvokeOption) (*GetServerSpecificationsHardwareResult, error)
func GetServerSpecificationsHardwareOutput(ctx *Context, args *GetServerSpecificationsHardwareOutputArgs, opts ...InvokeOption) GetServerSpecificationsHardwareResultOutput
Copy

> Note: This function is named GetServerSpecificationsHardware in the Go SDK.

public static class GetServerSpecificationsHardware 
{
    public static Task<GetServerSpecificationsHardwareResult> InvokeAsync(GetServerSpecificationsHardwareArgs args, InvokeOptions? opts = null)
    public static Output<GetServerSpecificationsHardwareResult> Invoke(GetServerSpecificationsHardwareInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServerSpecificationsHardwareResult> getServerSpecificationsHardware(GetServerSpecificationsHardwareArgs args, InvokeOptions options)
public static Output<GetServerSpecificationsHardwareResult> getServerSpecificationsHardware(GetServerSpecificationsHardwareArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ovh:Dedicated/getServerSpecificationsHardware:getServerSpecificationsHardware
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ServiceName This property is required. string
The internal name of your dedicated server.
ServiceName This property is required. string
The internal name of your dedicated server.
serviceName This property is required. String
The internal name of your dedicated server.
serviceName This property is required. string
The internal name of your dedicated server.
service_name This property is required. str
The internal name of your dedicated server.
serviceName This property is required. String
The internal name of your dedicated server.

getServerSpecificationsHardware Result

The following output properties are available:

BootMode string
Server boot mode
CoresPerProcessor double
Number of cores per processor
DefaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize
Default hardware raid size for this disk group
DefaultHardwareRaidType string
Default hardware raid type for this disk group
Description string
Expansion card description
DiskGroups List<GetServerSpecificationsHardwareDiskGroup>
Details about the groups of disks in the server
ExpansionCards List<GetServerSpecificationsHardwareExpansionCard>
Details about the server's expansion cards
FormFactor string
Server form factor
Id string
The provider-assigned unique ID for this managed resource.
MemorySize GetServerSpecificationsHardwareMemorySize
RAM capacity
Motherboard string
Server motherboard
NumberOfProcessors double
Number of processors in this dedicated server
ProcessorArchitecture string
Processor architecture bit
ProcessorName string
Processor name
ServiceName string
ThreadsPerProcessor double
Number of threads per processor
UsbKeys List<GetServerSpecificationsHardwareUsbKey>
Capacity of the USB keys installed on your server, if any
BootMode string
Server boot mode
CoresPerProcessor float64
Number of cores per processor
DefaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize
Default hardware raid size for this disk group
DefaultHardwareRaidType string
Default hardware raid type for this disk group
Description string
Expansion card description
DiskGroups []GetServerSpecificationsHardwareDiskGroup
Details about the groups of disks in the server
ExpansionCards []GetServerSpecificationsHardwareExpansionCard
Details about the server's expansion cards
FormFactor string
Server form factor
Id string
The provider-assigned unique ID for this managed resource.
MemorySize GetServerSpecificationsHardwareMemorySize
RAM capacity
Motherboard string
Server motherboard
NumberOfProcessors float64
Number of processors in this dedicated server
ProcessorArchitecture string
Processor architecture bit
ProcessorName string
Processor name
ServiceName string
ThreadsPerProcessor float64
Number of threads per processor
UsbKeys []GetServerSpecificationsHardwareUsbKey
Capacity of the USB keys installed on your server, if any
bootMode String
Server boot mode
coresPerProcessor Double
Number of cores per processor
defaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize
Default hardware raid size for this disk group
defaultHardwareRaidType String
Default hardware raid type for this disk group
description String
Expansion card description
diskGroups List<GetServerSpecificationsHardwareDiskGroup>
Details about the groups of disks in the server
expansionCards List<GetServerSpecificationsHardwareExpansionCard>
Details about the server's expansion cards
formFactor String
Server form factor
id String
The provider-assigned unique ID for this managed resource.
memorySize GetServerSpecificationsHardwareMemorySize
RAM capacity
motherboard String
Server motherboard
numberOfProcessors Double
Number of processors in this dedicated server
processorArchitecture String
Processor architecture bit
processorName String
Processor name
serviceName String
threadsPerProcessor Double
Number of threads per processor
usbKeys List<GetServerSpecificationsHardwareUsbKey>
Capacity of the USB keys installed on your server, if any
bootMode string
Server boot mode
coresPerProcessor number
Number of cores per processor
defaultHardwareRaidSize GetServerSpecificationsHardwareDefaultHardwareRaidSize
Default hardware raid size for this disk group
defaultHardwareRaidType string
Default hardware raid type for this disk group
description string
Expansion card description
diskGroups GetServerSpecificationsHardwareDiskGroup[]
Details about the groups of disks in the server
expansionCards GetServerSpecificationsHardwareExpansionCard[]
Details about the server's expansion cards
formFactor string
Server form factor
id string
The provider-assigned unique ID for this managed resource.
memorySize GetServerSpecificationsHardwareMemorySize
RAM capacity
motherboard string
Server motherboard
numberOfProcessors number
Number of processors in this dedicated server
processorArchitecture string
Processor architecture bit
processorName string
Processor name
serviceName string
threadsPerProcessor number
Number of threads per processor
usbKeys GetServerSpecificationsHardwareUsbKey[]
Capacity of the USB keys installed on your server, if any
boot_mode str
Server boot mode
cores_per_processor float
Number of cores per processor
default_hardware_raid_size dedicated.GetServerSpecificationsHardwareDefaultHardwareRaidSize
Default hardware raid size for this disk group
default_hardware_raid_type str
Default hardware raid type for this disk group
description str
Expansion card description
disk_groups Sequence[dedicated.GetServerSpecificationsHardwareDiskGroup]
Details about the groups of disks in the server
expansion_cards Sequence[dedicated.GetServerSpecificationsHardwareExpansionCard]
Details about the server's expansion cards
form_factor str
Server form factor
id str
The provider-assigned unique ID for this managed resource.
memory_size dedicated.GetServerSpecificationsHardwareMemorySize
RAM capacity
motherboard str
Server motherboard
number_of_processors float
Number of processors in this dedicated server
processor_architecture str
Processor architecture bit
processor_name str
Processor name
service_name str
threads_per_processor float
Number of threads per processor
usb_keys Sequence[dedicated.GetServerSpecificationsHardwareUsbKey]
Capacity of the USB keys installed on your server, if any
bootMode String
Server boot mode
coresPerProcessor Number
Number of cores per processor
defaultHardwareRaidSize Property Map
Default hardware raid size for this disk group
defaultHardwareRaidType String
Default hardware raid type for this disk group
description String
Expansion card description
diskGroups List<Property Map>
Details about the groups of disks in the server
expansionCards List<Property Map>
Details about the server's expansion cards
formFactor String
Server form factor
id String
The provider-assigned unique ID for this managed resource.
memorySize Property Map
RAM capacity
motherboard String
Server motherboard
numberOfProcessors Number
Number of processors in this dedicated server
processorArchitecture String
Processor architecture bit
processorName String
Processor name
serviceName String
threadsPerProcessor Number
Number of threads per processor
usbKeys List<Property Map>
Capacity of the USB keys installed on your server, if any

Supporting Types

GetServerSpecificationsHardwareDefaultHardwareRaidSize

Unit This property is required. string
Value This property is required. double
Unit This property is required. string
Value This property is required. float64
unit This property is required. String
value This property is required. Double
unit This property is required. string
value This property is required. number
unit This property is required. str
value This property is required. float
unit This property is required. String
value This property is required. Number

GetServerSpecificationsHardwareDiskGroup

DefaultHardwareRaidSize This property is required. GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
Default hardware raid size for this disk group
DefaultHardwareRaidType This property is required. string
Default hardware raid type for this disk group
Description This property is required. string
Expansion card description
DiskGroupId This property is required. double
Identifier of this disk group
DiskSize This property is required. GetServerSpecificationsHardwareDiskGroupDiskSize
Disk capacity
DiskType This property is required. string
Type of the disk (SSD, SATA, SAS, ...)
NumberOfDisks This property is required. double
Number of disks in this group
RaidController This property is required. string
Raid controller, if any, managing this group of disks
DefaultHardwareRaidSize This property is required. GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
Default hardware raid size for this disk group
DefaultHardwareRaidType This property is required. string
Default hardware raid type for this disk group
Description This property is required. string
Expansion card description
DiskGroupId This property is required. float64
Identifier of this disk group
DiskSize This property is required. GetServerSpecificationsHardwareDiskGroupDiskSize
Disk capacity
DiskType This property is required. string
Type of the disk (SSD, SATA, SAS, ...)
NumberOfDisks This property is required. float64
Number of disks in this group
RaidController This property is required. string
Raid controller, if any, managing this group of disks
defaultHardwareRaidSize This property is required. GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
Default hardware raid size for this disk group
defaultHardwareRaidType This property is required. String
Default hardware raid type for this disk group
description This property is required. String
Expansion card description
diskGroupId This property is required. Double
Identifier of this disk group
diskSize This property is required. GetServerSpecificationsHardwareDiskGroupDiskSize
Disk capacity
diskType This property is required. String
Type of the disk (SSD, SATA, SAS, ...)
numberOfDisks This property is required. Double
Number of disks in this group
raidController This property is required. String
Raid controller, if any, managing this group of disks
defaultHardwareRaidSize This property is required. GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
Default hardware raid size for this disk group
defaultHardwareRaidType This property is required. string
Default hardware raid type for this disk group
description This property is required. string
Expansion card description
diskGroupId This property is required. number
Identifier of this disk group
diskSize This property is required. GetServerSpecificationsHardwareDiskGroupDiskSize
Disk capacity
diskType This property is required. string
Type of the disk (SSD, SATA, SAS, ...)
numberOfDisks This property is required. number
Number of disks in this group
raidController This property is required. string
Raid controller, if any, managing this group of disks
default_hardware_raid_size This property is required. dedicated.GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize
Default hardware raid size for this disk group
default_hardware_raid_type This property is required. str
Default hardware raid type for this disk group
description This property is required. str
Expansion card description
disk_group_id This property is required. float
Identifier of this disk group
disk_size This property is required. dedicated.GetServerSpecificationsHardwareDiskGroupDiskSize
Disk capacity
disk_type This property is required. str
Type of the disk (SSD, SATA, SAS, ...)
number_of_disks This property is required. float
Number of disks in this group
raid_controller This property is required. str
Raid controller, if any, managing this group of disks
defaultHardwareRaidSize This property is required. Property Map
Default hardware raid size for this disk group
defaultHardwareRaidType This property is required. String
Default hardware raid type for this disk group
description This property is required. String
Expansion card description
diskGroupId This property is required. Number
Identifier of this disk group
diskSize This property is required. Property Map
Disk capacity
diskType This property is required. String
Type of the disk (SSD, SATA, SAS, ...)
numberOfDisks This property is required. Number
Number of disks in this group
raidController This property is required. String
Raid controller, if any, managing this group of disks

GetServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize

Unit This property is required. string
Value This property is required. double
Unit This property is required. string
Value This property is required. float64
unit This property is required. String
value This property is required. Double
unit This property is required. string
value This property is required. number
unit This property is required. str
value This property is required. float
unit This property is required. String
value This property is required. Number

GetServerSpecificationsHardwareDiskGroupDiskSize

Unit This property is required. string
Value This property is required. double
Unit This property is required. string
Value This property is required. float64
unit This property is required. String
value This property is required. Double
unit This property is required. string
value This property is required. number
unit This property is required. str
value This property is required. float
unit This property is required. String
value This property is required. Number

GetServerSpecificationsHardwareExpansionCard

Description This property is required. string
Expansion card description
Type This property is required. string
Expansion card type enum
Description This property is required. string
Expansion card description
Type This property is required. string
Expansion card type enum
description This property is required. String
Expansion card description
type This property is required. String
Expansion card type enum
description This property is required. string
Expansion card description
type This property is required. string
Expansion card type enum
description This property is required. str
Expansion card description
type This property is required. str
Expansion card type enum
description This property is required. String
Expansion card description
type This property is required. String
Expansion card type enum

GetServerSpecificationsHardwareMemorySize

Unit This property is required. string
Value This property is required. double
Unit This property is required. string
Value This property is required. float64
unit This property is required. String
value This property is required. Double
unit This property is required. string
value This property is required. number
unit This property is required. str
value This property is required. float
unit This property is required. String
value This property is required. Number

GetServerSpecificationsHardwareUsbKey

Unit This property is required. string
Value This property is required. double
Unit This property is required. string
Value This property is required. float64
unit This property is required. String
value This property is required. Double
unit This property is required. string
value This property is required. number
unit This property is required. str
value This property is required. float
unit This property is required. String
value This property is required. Number

Package Details

Repository
ovh ovh/pulumi-ovh
License
Apache-2.0
Notes
This Pulumi package is based on the ovh Terraform Provider.