CreateVirtualDiskRequestType

CreateVirtualDiskRequestType
CreateVirtualDiskRequestType

The parameters of CreateVirtualDisk_Task.

JSON Example
{
    "name": "string",
    "datacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "spec": {
        "_typeName": "string",
        "diskType": "string",
        "adapterType": "string"
    }
}
string
name
Required

The name of the disk, either a datastore path or a URL referring to the virtual disk to be created.

datacenter
Optional

If name is a datastore path, the datacenter for that datastore path. Not needed when invoked directly on ESX. If not specified on a call to VirtualCenter, name must be a URL.

spec
Required

The specification of the virtual disk to be created.