com.vmware.vim25.mo
Class HostProfileManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ProfileManager
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)
| 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 |
HostProfileManager
public HostProfileManager(ServerConnection sc,
ManagedObjectReference mor)
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.