userID: ********************{
"clientToken": "",
"regionID": "nm8",
"multiAttach": false,
"isEncrypt": false,
"kmsUUID": "",
"projectID": "0",
"diskMode": "VBD",
"diskType": "SSD",
"name": "volume-20230407-4",
"diskSize": 1,
"onDemand": false,
"cycleType": "month",
"cycleCount": 2,
"azName": "az2"
}curl --location --request POST 'http://ct-global.ctapi-internal.ctyun.local:31111/v4/ebs/new' \
--header 'x-ctyun-user-id: {{userID}}' \
--header 'Accept-Language: zh-CN' \
--header 'userId: ef378f73-1c52-435e-90f2-6a9cd2258c8e' \
--header 'userID: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"clientToken": "",
"regionID": "nm8",
"multiAttach": false,
"isEncrypt": false,
"kmsUUID": "",
"projectID": "0",
"diskMode": "VBD",
"diskType": "SSD",
"name": "volume-20230407-4",
"diskSize": 1,
"onDemand": false,
"cycleType": "month",
"cycleCount": 2,
"azName": "az2"
}'{
"statusCode": 800,
"errorCode": null,
"message": null,
"description": "SUCCESS",
"returnObj": {
"masterOrderID": null,
"masterOrderNO": "20230407006400",
"masterResourceID": null,
"regionID": null,
"resources": [
{
"resourceID": "0e263fe33ba2453fa60d4f29aae60d58"
}
]
}
}