Learn how to retrieve hardware information (i.e. disk size, RAM, number of cores, and motherboard details) for a Dedicated Server.
Requirements
- a Dedicated Server in your OVHcloud account
- access to the OVHcloud API
Instructions
From the OVHcloud API, navigate to the /dedicated/server section.
If you are unfamiliar with the OVHcloud API, this guide will get you started.
List the internal name of all your dedicated servers:
Example Output:
[
"ns1234567.ip-123-456-789.us"
]
Retrieve hardware information about a specific dedicated server using this call:
GET /dedicated/server/{serviceName}/specifications/hardware
Example Output:
{ bootMode: "uefi" threadsPerProcessor: 16 - diskGroups: [ - { raidController: null - diskSize: { value: 960 unit: "GB" } diskType: "NVME" description: "2 X Disk NVME 960 GB, JBOD" numberOfDisks: 2 defaultHardwareRaidSize: null defaultHardwareRaidType: null diskGroupId: 1 } ] processorName: "Epyc4344P" formFactor: "1u" expansionCards: null numberOfProcessors: 1 defaultHardwareRaidSize: null defaultHardwareRaidType: null usbKeys: null motherboard: "S3661" coresPerProcessor: 8 description: "ADVANCE-2 | AMD EPYC 4344P - AMD EPYC 4344P" - memorySize: { value: 65536 unit: "MB" } processorArchitecture: "x86_64" }
Go further
For more information and tutorials, please see our other Dedicated Server support guides or explore the guides for other OVHcloud products and services.