Compute Management/VM Related Interfaces
PUTVM Related InterfacesSince 3.7.0SynchronousAuth Required
Update Priority Config
Update Priority Config
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredResource UUID, uniquely identifies the resource
Body Fields
updatepriorityconfigObjectRequiredupdatepriorityconfig request body object.
cpuSharesIntegerNo description provided.
oomScoreAdjIntegerNo description provided.
systemTagsList系统标签。
userTagsList用户标签。
Responses
Endpoint
PUT/zstack/v1/vm-priority-config/{uuid}/actions
/zstack/v1/vm-priority-config/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/vm-priority-config/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"updatepriorityconfig":{"cpuShares":1,"oomScoreAdj":1},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{}Change History
This API has no change history records yet.
