Lists the subset of the server hardware inventory. The request body can either specify a subset of attributes, or can be empty, and a subset of attributes or the full inventory response is returned.
This API now supports the URI path prefix /compute-ops-mgmt
which used to be /compute-ops
. The old prefix will continue
to be supported to allow for a smooth transition. The Guide
contains more information about this change.
Below is an example payload for fetching chassis and processor inventory which is a subset.
object Chassis Inventory | |
object Processor Inventory |
Subset of a Server Inventory
Bad request
Unauthorized
Forbidden
Not found
Not acceptable
Internal server error
{- "chassis": {
- "data": [
- {
- "chassisType": null,
- "oem": {
- "hpe": {
- "formfactor": null
}
}
}
]
}, - "processor": {
- "data": [
- {
- "name": null,
- "model": null,
- "status": null,
- "maxSpeedMHz": null,
- "totalCores": null,
- "totalThreads": null
}
]
}
}
{- "chassis": {
- "data": [
- {
- "chassisType": "RackMount",
- "oem": {
- "hpe": {
- "formfactor": "1U"
}
}
}
]
}, - "processor": {
- "data": [
- {
- "name": "Processors",
- "maxSpeedMHz": 4100,
- "model": "AMD EPYC 7262 8-Core Processor",
- "status": {
- "health": "OK",
- "state": "Enabled"
}, - "totalCores": 8,
- "totalThreads": 16
}
]
}
}