Resource Center/Hardware/Host Operations/PCI Device Operations
PUTPCI Device OperationsSince 2.1SynchronousAuth Required
UpdateHostIommuState
UpdateHostIommuState
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID.
Body Fields
updatehostiommustateObjectRequiredupdatehostiommustate request body object.
stateStringRequired当前状态。
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/pci-device/hosts/{uuid}/actions
/zstack/v1/pci-device/hosts/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/pci-device/hosts/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"updatehostiommustate":{"state":"<state>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "state": "Enabled" }Change History
This API has no change history records yet.
