Deletes an object.
delete
{ AccessGroup
| Assembly
| BondPort
| FileServer
| FileSystem
| Network
| NfsAccessGroup
| PhysicalDisk
| Repository
| SanServer
| Server
| ServerPool
| Tag
| VirtualCdrom
| VirtualDisk
| VlanGroup
| VlanSegment
| Vm
| VmDiskMapping
| Vnic
} instance
Where
is:
instance
{ id=
| id
name=
}name
This command deletes an object.
Virtual machines and virtual machine templates are treated as equivalent within the CLI. Therefore, to delete a virtual machine template you should use the delete Vm command. Since it is possible that a virtual machine template and a virtual machine may share the same name, it is recommended that you use the object's unique ID to perform this operation.
The following table shows the available options for this command.
Option | Description |
---|---|
{ | The object to delete. |
{ |
The instance of the object using either the
|
Example A.47 Deleting a virtual machine or virtual machine template
OVM> delete Vm id=0004fb00001400007be890778aedc7b8
Example A.49 Deleting a virtual machine disk mapping
OVM> delete VmDiskMapping id=0004fb00001300009d46acbb77de919e