Resource Center/Elastic Bare Metal Management(Plus)
POSTElastic Bare Metal Management(Plus)Since 4.0.0SynchronousAuth Required
BatchAddBareMetal2IpmiChassis
BatchAddBareMetal2IpmiChassis
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
chassisInfoStringRequiredThe Base64-encoded configuration file of bare metal chassis.
longJobNameStringOptional. The name of the long job.
longJobDescriptionStringOptional. The description of the long job.
resourceUuidStringOptional. The UUID of the long job.
tagUuidsListOptional. The tag UUIDs.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/baremetal2/chassis/ipmi/from-file
/zstack/v1/baremetal2/chassis/ipmi/from-file
Request Example
curl -X POST 'http://{host}/zstack/v1/baremetal2/chassis/ipmi/from-file' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"chassisInfo":"<chassisInfo>","longJobName":"<longJobName>","longJobDescription":"<longJobDescription>","resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "1a3e5b9ece0738f5b1ca785271dd7b34", "name": "APIBatchAddBareMetal2ChassisEvent", "apiId": "d22289087f32358ca7d06ed3c1969462", "jobName": "APIBatchAddBareMetal2ChassisEvent", "jobData": "{\"createMessages\":[]", "jobResult": "", "state": "Succeeded", "managementNodeUuid": "a0b0f5b18c6e3cbb84b7d75e3eea991d" } }Change History
This API has no change history records yet.
