com.vmware.vim25.mo
Class CustomizationSpecManager

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by 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)

Constructor Summary
CustomizationSpecManager(ServerConnection sc, ManagedObjectReference mor)
           
 
Method Summary
 void checkCustomizationResources(String guestOs)
           
 void createCustomizationSpec(CustomizationSpecItem item)
           
 String customizationSpecItemToXml(CustomizationSpecItem item)
           
 void deleteCustomizationSpec(String name)
           
 boolean doesCustomizationSpecExist(String name)
           
 void duplicateCustomizationSpec(String name, String newName)
           
 CustomizationSpecItem getCustomizationSpec(String name)
           
 byte[] getEncryptionKey()
           
 CustomizationSpecInfo[] getInfo()
           
 void overwriteCustomizationSpec(CustomizationSpecItem item)
           
 void renameCustomizationSpec(String name, String newName)
           
 CustomizationSpecItem xmlToCustomizationSpecItem(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, setMOR, setServerConnection, toString, waitForValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomizationSpecManager

public CustomizationSpecManager(ServerConnection sc,
                                ManagedObjectReference mor)
Method Detail

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.