com.vmware.vim25.mo
Class CustomizationSpecManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.CustomizationSpecManager
public class CustomizationSpecManager
- extends ManagedObject
The managed object class corresponding to the one defined in VI SDK API reference.
- Author:
- Steve JIN (sjin@vmware.com)
| 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, setMOR, setServerConnection, toString, waitForValues |
CustomizationSpecManager
public CustomizationSpecManager(ServerConnection sc,
ManagedObjectReference mor)
getEncryptionKey
public byte[] getEncryptionKey()
getInfo
public CustomizationSpecInfo[] getInfo()
checkCustomizationResources
public void checkCustomizationResources(String guestOs)
throws CustomizationFault,
RuntimeFault,
RemoteException
- Throws:
CustomizationFault
RuntimeFault
RemoteException
createCustomizationSpec
public void createCustomizationSpec(CustomizationSpecItem item)
throws CustomizationFault,
AlreadyExists,
RuntimeFault,
RemoteException
- Throws:
CustomizationFault
AlreadyExists
RuntimeFault
RemoteException
customizationSpecItemToXml
public String customizationSpecItemToXml(CustomizationSpecItem item)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
deleteCustomizationSpec
public void deleteCustomizationSpec(String name)
throws NotFound,
RuntimeFault,
RemoteException
- Throws:
NotFound
RuntimeFault
RemoteException
doesCustomizationSpecExist
public boolean doesCustomizationSpecExist(String name)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
duplicateCustomizationSpec
public void duplicateCustomizationSpec(String name,
String newName)
throws AlreadyExists,
NotFound,
RuntimeFault,
RemoteException
- Throws:
AlreadyExists
NotFound
RuntimeFault
RemoteException
getCustomizationSpec
public CustomizationSpecItem getCustomizationSpec(String name)
throws NotFound,
RuntimeFault,
RemoteException
- Throws:
NotFound
RuntimeFault
RemoteException
overwriteCustomizationSpec
public void overwriteCustomizationSpec(CustomizationSpecItem item)
throws NotFound,
RuntimeFault,
RemoteException
- Throws:
NotFound
RuntimeFault
RemoteException
renameCustomizationSpec
public void renameCustomizationSpec(String name,
String newName)
throws AlreadyExists,
NotFound,
RuntimeFault,
RemoteException
- Throws:
AlreadyExists
NotFound
RuntimeFault
RemoteException
xmlToCustomizationSpecItem
public CustomizationSpecItem xmlToCustomizationSpecItem(String specItemXml)
throws CustomizationFault,
RuntimeFault,
RemoteException
- Throws:
CustomizationFault
RuntimeFault
RemoteException
Copyright © 2011-2012. All Rights Reserved.