CnsVolumeCreateResult
This class defines result for volume create operation.
This structure may be used only with operations rendered under /vsan
.
{
"_typeName": "string",
"volumeId": {
"_typeName": "string",
"id": "string"
},
"fault": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"name": "string",
"placementResults": [
{
"_typeName": "string",
"datastore": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"placementFaults": [
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
]
}
]
}
Client specified volume name in input.
This field will be set along with fault field because if volume creation fails, then there won't be any volumeId to be set in the result.CNS API will not try to enforce any uniqueness for volume name.
But it is highly recommended to not to have duplicate volume names, especially for a single invocation of the create operation.
Placement result for every datastore in the dynamic volume provisioning/create request.
The size of this array will be equal to the size of datastores.
This is an optional field and will not be set for static volume provisioning and register volume operations.