View API
| Local Properties | ||
Service Types | Data Object Types | All Properties | All Methods |
Data Object - MachineDeleteSpec
- Class
- VMware.Hv.DeleteSpec
- Parameter to
- Machine_Delete, Machine_DeleteMachines
- See also
- DatastorePathId
- Since
- Horizon View 6.0
Data Object Description
The specification for deleting a Machine. For managed VMs, deleteFromDisk must be set to true, in order to delete it from disk. For linked-clone VMs, there are three options: a. Delete from disk: set deleteFromDisk to true. b. Archive persistent disk in place: set archivePersistentDisk to true, and archiveDatastorePath to null. c. Archive persistent disk to a specific datastore path: set archivePersistentDisk to true, and archiveDatastorePath to non-null.Data Object Properties
Properties
Name | Type | Description |
---|---|---|
deleteFromDisk | xsd:boolean |
Determines whether the Machine VM should be deleted from vCenter
Server. This is only applicable for managed machines. This must always
be true for machines in linked and instant clone desktops. This
defaults to true for linked and instant clone machines and false for
all other types. Note :- If this is true, then machine being deleted must not have any active user session, otherwise delete operation would fail.
|
archivePersistentDisk | xsd:boolean |
Determines whether to detach the persistent user disk and save it for
future use. This can only be specified for linked-clone desktops with
redirectWindowsProfile enabled, in which
case it defaults to true.
|
archiveDatastorePath | DatastorePathId |
Determines the location where the persistent user disk will be saved
for future use. If this is unset and archivePersistentDisk is
specified, the persistent disk is archived in place.
|
Top of page | Local Properties | ||
Service Types | Data Object Types | All Properties | All Methods |