Resource Center/Hardware/Host Operations/PCI Device Operations
GETPCI Device OperationsSince 2.1SynchronousAuth Required
GetPciDeviceCandidatesForAttachingVm
GetPciDeviceCandidatesForAttachingVm
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Query Parameters
Request Inputs
Path Parameters
vmInstanceUuidStringRequiredThe VM instance UUID.
Query Parameters
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
typesListOptional. The types.
Responses
Endpoint
GET/zstack/v1/vm-instances/{vmInstanceUuid}/candidate-pci-devices
/zstack/v1/vm-instances/{vmInstanceUuid}/candidate-pci-devices
Request Example
curl -X GET 'http://{host}/zstack/v1/vm-instances/{vmInstanceUuid}/candidate-pci-devices?systemTags=<systemTags>&userTags=<userTags>&types=<types>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "uuid": "99bc47cf68e340a1b0a85c874637ec7b", "hostUuid": "f853669ede9c4699bdff97e30d91235b", "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.
