Package com.vmware.vim25.mo
Class CustomizationSpecManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.CustomizationSpecManager
-
Constructor Summary
ConstructorsConstructorDescriptionCustomizationSpecManager(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckResources(String guestOs) voidcreate(CustomizationSpecItem item) voidbooleanvoidbooleangetCustomizationSpec(String name) byte[]getInfo()booleanisGuestOsCustomizable(String guestId) voidvoidxmlToCustomizationSpecItem(String specItemXml) xmlToSpecItem(String specItemXml) Methods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Constructor Details
-
CustomizationSpecManager
-
-
Method Details
-
getEncryptionKey
public byte[] getEncryptionKey() -
getInfo
-
checkResources
-
create
public void create(CustomizationSpecItem item) throws AlreadyExists, CustomizationFault, RuntimeFault, RemoteException -
delete
- Throws:
NotFoundRuntimeFaultRemoteException
-
duplicate
public void duplicate(String name, String newName) throws AlreadyExists, NotFound, RuntimeFault, RemoteException -
exists
- Throws:
RuntimeFaultRemoteException
-
get
- Throws:
NotFoundRuntimeFaultRemoteException
-
isGuestOsCustomizable
- Throws:
RuntimeFaultRemoteException
-
overwrite
public void overwrite(CustomizationSpecItem item) throws ConcurrentAccess, CustomizationFault, NotFound, RuntimeFault, RemoteException -
rename
public void rename(String name, String newName) throws AlreadyExists, NotFound, RuntimeFault, RemoteException -
specItemToXml
- Throws:
RuntimeFaultRemoteException
-
xmlToSpecItem
public CustomizationSpecItem xmlToSpecItem(String specItemXml) throws CustomizationFault, RuntimeFault, RemoteException -
customizationSpecItemToXml
public String customizationSpecItemToXml(CustomizationSpecItem item) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
doesCustomizationSpecExist
- Throws:
RuntimeFaultRemoteException
-
getCustomizationSpec
public CustomizationSpecItem getCustomizationSpec(String name) throws NotFound, RuntimeFault, RemoteException - Throws:
NotFoundRuntimeFaultRemoteException
-
xmlToCustomizationSpecItem
public CustomizationSpecItem xmlToCustomizationSpecItem(String specItemXml) throws CustomizationFault, RuntimeFault, RemoteException
-