|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualMachineImageStoreMXBean
Management interface of a VirtualMachineImageStore. A VirtualMachineImageStore is a storage repository for virtual machine images. that can be used as templates when creating a new virtual machine.
A VirtualMachineImageStore either belongs to a server pool or to host. In the former case, the VirtualMachineImageStore is shared among all hosts belonging to the pool. In the latter case, the VirtualMachineImageStore refers to the local disk of the host.
The ObjectName for identifying a VirtualMachineImageStoreMXBean follows the following template:
org.ow2.jasmine.vmm.api:type=VirtualMachineImageStore,name=<pathname>
Method Summary | |
---|---|
long |
getCapacityMB()
Returns the storage capacity of the VirtualMachineImageStore in MBytes |
long |
getFreeSpaceMB()
Returns the free storage capacity of the VirtualMachineImageStore in MBytes |
java.lang.String |
getName()
Returns the name of the VirtualMachineImageStore |
java.util.List<VirtualMachineImageMXBean> |
listVMImageTemplates()
Lists the VM images available on this VirtualMachineImageStore |
VirtualMachineImageMXBean |
lookUpByUUID(java.lang.String uuid)
Returns the virtual image (if any) whose UUID is provided as argument |
void |
removeVMImageTemplate(VirtualMachineImageMXBean image)
Removes a VM image from the VirtualMachineImageStore |
Methods inherited from interface org.ow2.jasmine.vmm.api.ManagedResourceMXBean |
---|
getObjectName, getPath |
Method Detail |
---|
VirtualMachineImageMXBean lookUpByUUID(java.lang.String uuid) throws VMMException
uuid
- the UUID of the virtual image to look up
VMMException
java.util.List<VirtualMachineImageMXBean> listVMImageTemplates() throws VMMException
VMMException
void removeVMImageTemplate(VirtualMachineImageMXBean image) throws VMMException
vmImageID
- the ID of the VM image to remove
VMMException
- raised if the operation failsjava.lang.String getName()
long getCapacityMB() throws VMMException
VMMException
long getFreeSpaceMB() throws VMMException
VMMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |