CnsVolumeOperationBatchResult

CnsVolumeOperationBatchResult
CnsVolumeOperationBatchResult

Wrapper class to pass array of CnsVolumeOperationResult as Task result field, which can only be set to a single object otherwise.

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

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

Result for volume operation, performed for multiple input entries.

This is a mandatory field and should be set to non-empty array. For create operation, all objects in this array would be of type CnsVolumeCreateResult. For attach operation, all objects in this array would be of type CnsVolumeAttachResult.