CreateDiskRequestType

CreateDiskRequestType
CreateDiskRequestType

The parameters of CreateDisk_Task.

JSON Example
{
    "spec": {
        "_typeName": "string",
        "name": "string",
        "keepAfterDeleteVm": false,
        "backingSpec": {
            "_typeName": "string",
            "datastore": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "path": "string"
        },
        "capacityInMB": 0,
        "profile": [
            {
                "_typeName": "string"
            }
        ],
        "crypto": {
            "_typeName": "string"
        },
        "metadata": [
            {
                "_typeName": "string",
                "key": "string",
                "value": "string"
            }
        ]
    }
}
spec
Required

Specification to create a virtual storage object.