device.get_info¶
Get info for type device.
Type: object
Type: array
No Additional Items
No Additional Properties
Specific value:
No Additional Properties
No Additional Items
Tuple Validation
Parameter 1: data
data
DeviceGetInfoDisk
Type: objectNo Additional Properties
Type
Type: constGet disk info.
Must be one of:
- "DISK"
"DISK"
Get Partitions
Type: boolean Default: falseIf set, query partition information for the disks.
NOTE: This can be expensive on systems with a large number of disks present.
Serials Only
Type: boolean Default: falseIf set, query ONLY serial information for the disks (overrides get_partitions
).
DeviceGetInfoOther
Type: objectNo Additional Properties
Type
Type: enum (of string)Get info for either serial devices or GPUs.
Must be one of:
- "SERIAL"
- "GPU"
Result
Return an object if type="DISK"
or an array otherwise.
Type: object
Each additional property must conform to the following schema
Type: string Type: object
Each additional property must conform to the following schema
Type: object Type: array of object
No Additional Items
No Additional Properties
No Additional Items
Each item of this array must be:
SerialInfo
Type: objectNo Additional Properties
Name
Type: stringLocation
Type: stringDrivername
Type: stringStart
Type: stringSize
Type: integerDescription
Type: string Type: array of object
No Additional Items
No Additional Properties
No Additional Items
No Additional Properties
No Additional Items
Each item of this array must be:
GPUInfo
Type: objectGPUInfoAddr
Type: objectNo Additional Properties
Pci Slot
Type: stringDomain
Type: stringBus
Type: stringSlot
Type: stringDescription
Type: stringDevices
Type: array of objectNo Additional Items
Each item of this array must be:
GPUInfoDevice
Type: objectNo Additional Properties
Pci Id
Type: stringPci Slot
Type: stringVm Pci Slot
Type: stringVendor
Type: string
Type: null
Available To Host
Type: booleanUses System Critical Devices
Type: booleanCritical Reason
Type: string
Type: null
Additional Properties of any type are allowed.
Type: objectRequired roles: READONLY_ADMIN