ShrinkVirtualDiskRequestType

ShrinkVirtualDiskRequestType
ShrinkVirtualDiskRequestType

The parameters of ShrinkVirtualDisk_Task.

JSON Example
{
    "name": "string",
    "datacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "copy": false
}
string
name
Required

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

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.

boolean
copy
Optional

If true or omitted, performs shrink in copy-shrink mode, otherwise shrink in in-place mode.