CnsVolumeAttachDetachSpec

CnsVolumeAttachDetachSpec
CnsVolumeAttachDetachSpec

Data object for specifications for volume attach/detach operations.

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"
    },
    "vm": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
}
volumeId
Required

Unique identifier and datastore information for the volume.

vm
Required

VirtualMachine to which this volume needs to be attached to.