Resource Center/Hardware/Host Operations/PCI Device Operations
GETPCI Device OperationsSince 2.4SynchronousAuth Required
GetPciDeviceCandidatesForNewCreateVm
GetPciDeviceCandidatesForNewCreateVm
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Query Parameters
Request Inputs
Query Parameters
hostUuidStringOptional. The host UUID.
clusterUuidsListOptional. The cluster UUIDs.
typesListOptional. The types.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
GET/zstack/v1/pci-device/candidate-pci-devices-for-new-create-vm
/zstack/v1/pci-device/candidate-pci-devices-for-new-create-vm
Request Example
curl -X GET 'http://{host}/zstack/v1/pci-device/candidate-pci-devices-for-new-create-vm?hostUuid=<hostUuid>&clusterUuids=<clusterUuids>&types=<types>&systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "uuid": "1d2d54391e4d303cbf12543508b208ba", "hostUuid": "d98a93185af134fda630723444fd49d4", "status": "Attached", "type": "GPU_Video_Controller", "vendorId": "10de", "deviceId": "0e0f", "subvendorId": "10de", "subdeviceId": "118b", "pciDeviceAddress": "0000:06:00.1" } ] }Change History
This API has no change history records yet.
