Resource Center/Hardware/Host Operations/PCI Device Operations
GETPCI Device OperationsSince 3.5.0SynchronousAuth Required
GetMdevDeviceCandidates
GetMdevDeviceCandidates
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Query Parameters
Request Inputs
Query Parameters
clusterUuidsListOptional. The cluster UUID list.
hostUuidStringOptional. The host UUID.
vmInstanceUuidStringOptional. The VM instance UUID.
typesListOptional. The MDEV device types.
systemTagsListOptional. The system tags.
Responses
Endpoint
GET/zstack/v1/mdev-devices/candidates
/zstack/v1/mdev-devices/candidates
Request Example
curl -X GET 'http://{host}/zstack/v1/mdev-devices/candidates?clusterUuids=<clusterUuids>&hostUuid=<hostUuid>&vmInstanceUuid=<vmInstanceUuid>&types=<types>&systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "uuid": "4dd1f251873b4173939179c29b864df0", "name": "GRID M60-2A", "parentUuid": "36ff3d337d644bb9803f6599ec77189c", "hostUuid": "f1c21432e12245e78ee05324bb0886b4", "mdevSpecUuid": "8c9ddca8f93d4457acf78194986f8034", "type": "GPU_Video_Controller", "state": "Enabled", "status": "Active", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } ] }Change History
This API has no change history records yet.
