Plugins > vCenter Server 5.5.3 > VcVirtualDiskManager > eagerZeroVirtualDisk_Task

Method eagerZeroVirtualDisk_Task(String name, VcDatacenter datacenter)

Explicitly zero out unaccessed parts zeroedthick disk. Effectively a no-op if the disk is already eagerZeroedThick. Unlike zeroFillVirtualDisk, which wipes the entire disk, this operation only affects previously unaccessed parts of the disk.

The datacenter parameter may be omitted if a URL is used to name the disk.

Requires Datastore.FileManagement privilege on the datastore where the virtual disk resides.




Name Type Description
name String The name of the disk, either a datastore path or a URL referring to the virtual disk that should be inflated.
datacenter VcDatacenter If <code>name</code> 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, <code>name</code> must be a URL.