com.vmware.vim25.mo
Class HostProfileManager

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.ProfileManager
          extended by com.vmware.vim25.mo.HostProfileManager

public class HostProfileManager
extends ProfileManager

The managed object class corresponding to the one defined in VI SDK API reference.

Since:
4.0
Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
HostProfileManager(ServerConnection sc, ManagedObjectReference mor)
           
 
Method Summary
 Task applyHostConfig_Task(HostSystem host, HostConfigSpec configSpec)
           
 Task applyHostConfig_Task(HostSystem host, HostConfigSpec configSpec, ProfileDeferredPolicyOptionParameter[] userInputs)
           
 Task checkAnswerFileStatus_Task(HostSystem[] hosts)
           
 ApplyProfile createDefaultProfile(String profileType)
           
 ApplyProfile createDefaultProfile(String profileType, String profileTypeName, Profile profile)
           
 Task exportAnswerFile_Task(HostSystem host)
           
 HostProfileManagerConfigTaskList generateConfigTaskList(HostConfigSpec configSpec, HostSystem host)
           
 AnswerFileStatusResult[] queryAnswerFileStatus(HostSystem[] hosts)
           
 ProfileMetadata[] queryHostProfileMetadata(String[] profileName)
           
 ProfileMetadata[] queryHostProfileMetadata(String[] profileNames, Profile profile)
           
 ProfileProfileStructure queryProfileStructure(Profile profile)
           
 AnswerFile retrieveAnswerFile(HostSystem host)
           
 Task updateAnswerFile_Task(HostSystem host, AnswerFileCreateSpec configSpec)
           
 
Methods inherited from class com.vmware.vim25.mo.ProfileManager
createProfile, findAssociatedProfile, getProfile, queryPolicyMetadata, queryPolicyMetadata
 
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

HostProfileManager

public HostProfileManager(ServerConnection sc,
                          ManagedObjectReference mor)
Method Detail

applyHostConfig_Task

public Task applyHostConfig_Task(HostSystem host,
                                 HostConfigSpec configSpec)
                          throws HostConfigFailed,
                                 InvalidState,
                                 RuntimeFault,
                                 RemoteException
Throws:
HostConfigFailed
InvalidState
RuntimeFault
RemoteException

applyHostConfig_Task

public Task applyHostConfig_Task(HostSystem host,
                                 HostConfigSpec configSpec,
                                 ProfileDeferredPolicyOptionParameter[] userInputs)
                          throws HostConfigFailed,
                                 InvalidState,
                                 RuntimeFault,
                                 RemoteException
Throws:
HostConfigFailed
InvalidState
RuntimeFault
RemoteException

checkAnswerFileStatus_Task

public Task checkAnswerFileStatus_Task(HostSystem[] hosts)
                                throws RuntimeFault,
                                       RemoteException
Throws:
RuntimeFault
RemoteException
Since:
SDK5.0

createDefaultProfile

public ApplyProfile createDefaultProfile(String profileType)
                                  throws RuntimeFault,
                                         RemoteException
Throws:
RuntimeFault
RemoteException

createDefaultProfile

public ApplyProfile createDefaultProfile(String profileType,
                                         String profileTypeName,
                                         Profile profile)
                                  throws RuntimeFault,
                                         RemoteException
Throws:
RuntimeFault
RemoteException

exportAnswerFile_Task

public Task exportAnswerFile_Task(HostSystem host)
                           throws RuntimeFault,
                                  RemoteException
Throws:
RuntimeFault
RemoteException
Since:
SDK5.0

generateConfigTaskList

public HostProfileManagerConfigTaskList generateConfigTaskList(HostConfigSpec configSpec,
                                                               HostSystem host)
                                                        throws RuntimeFault,
                                                               RemoteException
Throws:
RuntimeFault
RemoteException

queryAnswerFileStatus

public AnswerFileStatusResult[] queryAnswerFileStatus(HostSystem[] hosts)
                                               throws RuntimeFault,
                                                      RemoteException
Throws:
RuntimeFault
RemoteException
Since:
SDK5.0

queryHostProfileMetadata

public ProfileMetadata[] queryHostProfileMetadata(String[] profileName)
                                           throws RuntimeFault,
                                                  RemoteException
Throws:
RuntimeFault
RemoteException

queryHostProfileMetadata

public ProfileMetadata[] queryHostProfileMetadata(String[] profileNames,
                                                  Profile profile)
                                           throws RuntimeFault,
                                                  RemoteException
Throws:
RuntimeFault
RemoteException

queryProfileStructure

public ProfileProfileStructure queryProfileStructure(Profile profile)
                                              throws RuntimeFault,
                                                     RemoteException
Throws:
RuntimeFault
RemoteException
Since:
SDK5.0

retrieveAnswerFile

public AnswerFile retrieveAnswerFile(HostSystem host)
                              throws RuntimeFault,
                                     RemoteException
Throws:
RuntimeFault
RemoteException
Since:
SDK5.0

updateAnswerFile_Task

public Task updateAnswerFile_Task(HostSystem host,
                                  AnswerFileCreateSpec configSpec)
                           throws AnswerFileUpdateFailed,
                                  RuntimeFault,
                                  RemoteException
Throws:
AnswerFileUpdateFailed
RuntimeFault
RemoteException
Since:
SDK5.0


Copyright © 2011-2012. All Rights Reserved.