specifications_hardware
Creates, updates, deletes, gets or lists a specifications_hardware resource.
Overview​
| Name | specifications_hardware |
| Type | Resource |
| Id | ovh.dedicated_server.specifications_hardware |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
default_disk_group_id | integer | Default disk group id used for OS reinstallation when not specified (wire: defaultDiskGroupId) |
processor_name | string | processor name (wire: processorName) |
boot_mode | string | Server boot mode (legacy, uefi, uefi-legacy) (wire: bootMode) |
cores_per_processor | integer | number of cores per processor (wire: coresPerProcessor) |
default_hardware_raid_size | object | Default hardware raid size for this server (wire: defaultHardwareRaidSize) |
default_hardware_raid_type | string | Default hardware raid type configured on this server (raid0, raid1, raid10, raid1E, raid5, raid50, raid6, raid60) (wire: defaultHardwareRaidType) |
description | string | commercial name of this server |
disk_groups | array | details about the groups of disks in the server (wire: diskGroups) |
expansion_cards | array | details about the server's expansion cards (wire: expansionCards) |
form_factor | string | Server form factor (0.25u, 0.5u, 1u, 2u, 3u, 4u) (wire: formFactor) |
memory_size | object | ram capacity (wire: memorySize) |
motherboard | string | server motherboard |
number_of_processors | integer | number of processors in this dedicated server (wire: numberOfProcessors) |
processor_architecture | string | processor architecture bit (arm64, armhf32, ppc64, x86, x86-ht, x86_64) (wire: processorArchitecture) |
threads_per_processor | integer | number of threads per processor (wire: threadsPerProcessor) |
usb_keys | array | Capacity of the USB keys installed on your server, if any (wire: usbKeys) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | service_name | Get the hardware specifications. Returns the hardware of the server: commercial name, processors, memory, disk groups, expansion cards, motherboard, form factor and default RAID settings. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
service_name | string | The internal name of your dedicated server (wire: serviceName) |
SELECT examples​
- get
Get the hardware specifications. Returns the hardware of the server: commercial name, processors, memory, disk groups, expansion cards, motherboard, form factor and default RAID settings.
SELECT
default_disk_group_id,
processor_name,
boot_mode,
cores_per_processor,
default_hardware_raid_size,
default_hardware_raid_type,
description,
disk_groups,
expansion_cards,
form_factor,
memory_size,
motherboard,
number_of_processors,
processor_architecture,
threads_per_processor,
usb_keys
FROM ovh.dedicated_server.specifications_hardware
WHERE service_name = '{{ service_name }}' -- required
;