Resource Center/Bare Metal Management (Plus)/Bare Metal Management Operations
POSTBare Metal Management OperationsSince 3.1.1SynchronousAuth Required
BatchCreateBaremetalChassis
BatchCreateBaremetalChassis
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.
baremetalChassisInfoStringRequiredThe 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.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/baremetal/chassis/from-file
/zstack/v1/baremetal/chassis/from-file
Request Example
curl -X POST 'http://{host}/zstack/v1/baremetal/chassis/from-file' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"baremetalChassisInfo":"<baremetalChassisInfo>","longJobName":"<longJobName>","longJobDescription":"<longJobDescription>","resourceUuid":"<resourceUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "cec9662c5cc534779833c89d8104aa7d", "name": "APIBatchCreateBaremetalChassisMsg", "apiId": "85ef8b327b0a3c71a53827b30892f327", "jobName": "APIBatchCreateBaremetalChassisMsg", "jobData": "{\"createMessages\":[]", "jobResult": "", "state": "Succeeded", "managementNodeUuid": "31c1228477b6310b9eb28a75e892b046" } }Change History
This API has no change history records yet.
