Resource Center/Elastic Bare Metal Management(Plus)
PUTElastic Bare Metal Management(Plus)Since 4.0.0SynchronousAuth Required
ChangeBareMetal2ChassisOfferingState
ChangeBareMetal2ChassisOfferingState
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 chassis offering UUID.
Body Fields
changebaremetal2chassisofferingstateObjectRequiredchangebaremetal2chassisofferingstate request body object.
stateEventStringRequiredThe event that changes the state of the chassis offering.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/baremetal2/chassis/offerings/{uuid}/actions
/zstack/v1/baremetal2/chassis/offerings/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/baremetal2/chassis/offerings/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"changebaremetal2chassisofferingstate":{"stateEvent":"<stateEvent>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "8020c6ab0e4346df8146d922a5319c2c", "name": "BM-8C-8G", "description": "This is bare metal instance offering.", "architecture": "x86_64", "cpuModelName": "Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz", "cpuNum": 8.0, "memorySize": 8.589934592E9, "bootMode": "UEFI", "state": "Enabled", "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.
