Resource Center/Bare Metal Management (Plus)/Bare Metal Management Operations
PUTBare Metal Management OperationsSince 2.6.0SynchronousAuth Required
RecoverBaremetalInstance
RecoverBaremetalInstance
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 UUID of the bare metal instance.
Body Fields
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/baremetal/instances/{uuid}/actions
/zstack/v1/baremetal/instances/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/baremetal/instances/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "38471d80059739568ee29b580ee00314", "name": "BM-1", "description": "This is a baremetal instance.", "zoneUuid": "cd3f0df2f33d3d47af58fa92d45e0ed3", "clusterUuid": "fc7f9da7d8a53a939a4163619a2e6264", "chassisUuid": "36d14ed4da51339eae615f7716724d25", "imageUuid": "4eec69d4ae423807bf38164c6d592d86", "platform": "Linux", "state": "Stopped", "status": "Provisioned", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM", "bmNics": [ { "uuid": "9e01966b83283f9b967be10fe13ce8bf", "baremetalInstanceUuid": "38471d80059739568ee29b580ee00314", "l3NetworkUuid": "294c0bcaa1e43fae9abaadef23d72e24", "mac": "6c:b3:11:1b:0b:1e", "ip": "192.168.0.10", "netmask": "255.255.255.0", "gateway": "192.168.0.1", "pxe": false } ] } }Change History
This API has no change history records yet.
