CnsVolumeCreateResult

CnsVolumeCreateResult
CnsVolumeCreateResult

This class defines result for volume create operation.

This structure may be used only with operations rendered under /vsan.

AllOf
This class requires all of the following:
JSON Example
{
    "_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"
                        }
                    ]
                }
            ]
        }
    ]
}
string
name
Optional

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.

placementResults
Optional

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.