Removing and Updating
Datastores
The Web Services
API has methods to update and remove datastores.
- RemoveDatastore– Removes a datastore from a host.
- UpdateLocalSwapDatastore –Choose thelocalSwapDatastorefor this host. Any change to this setting affects virtual machines that subsequently power on or resume from a suspended state at this host, or that migrate to this host while powered on. Virtual machines that are currently powered on at this host are not affected.
See the
vSphere API Reference
for more
information about the
HostDatastoreSystem
operations, including constraints and limitations.