Package com.vmware.vim25.mo
Class HostProfileManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ProfileManager
com.vmware.vim25.mo.HostProfileManager
-
Constructor Summary
ConstructorsConstructorDescriptionHostProfileManager(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionapplyEntitiesConfig_Task(ApplyHostProfileConfigurationSpec[] applyConfigSpecs) applyHostConfig_Task(HostSystem host, HostConfigSpec configSpec) applyHostConfig_Task(HostSystem host, HostConfigSpec configSpec, ProfileDeferredPolicyOptionParameter[] userInput) checkAnswerFileStatus_Task(HostSystem[] hosts) compositeHostProfile_Task(Profile source, Profile[] targets, HostApplyProfile toBeMerged, HostApplyProfile toBeReplacedWith, HostApplyProfile toBeDeleted, HostApplyProfile enableStatusToBeCopied) createDefaultProfile(String profileType) createDefaultProfile(String profileType, String profileTypeName, Profile profile) generateConfigTaskList(HostConfigSpec configSpec, HostSystem host) Deprecated.as of SDK5.5, use generateHostProfileTaskList_Task() insteadgenerateHostConfigTaskSpec_Task(StructuredCustomizations[] hostsInfo) generateHostProfileTaskList_Task(HostConfigSpec configSpec, HostSystem host) queryAnswerFileStatus(HostSystem[] hosts) queryHostProfileMetadata(String[] profileName) queryHostProfileMetadata(String[] profileNames, Profile profile) queryProfileStructure(Profile profile) retrieveAnswerFile(HostSystem host) retrieveAnswerFileForProfile(HostSystem host, HostApplyProfile applyProfile) retrieveHostCustomizations(HostSystem[] hosts) retrieveHostCustomizationsForProfile(HostSystem[] hosts, HostApplyProfile applyProfile) updateAnswerFile_Task(HostSystem host, AnswerFileCreateSpec configSpec) validateHostProfileComposition_Task(Profile source, Profile[] targets, HostApplyProfile toBeMerged, HostApplyProfile toReplaceWith, HostApplyProfile toBeDeleted, HostApplyProfile enableStatusToBeCopied, boolean errorOnly) Methods inherited from class com.vmware.vim25.mo.ProfileManager
createProfile, findAssociatedProfile, getProfile, queryPolicyMetadata, queryPolicyMetadataMethods 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
-
HostProfileManager
-
-
Method Details
-
applyEntitiesConfig_Task
public Task applyEntitiesConfig_Task(ApplyHostProfileConfigurationSpec[] applyConfigSpecs) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
applyHostConfig_Task
public Task applyHostConfig_Task(HostSystem host, HostConfigSpec configSpec, ProfileDeferredPolicyOptionParameter[] userInput) throws HostConfigFailed, InvalidState, RuntimeFault, RemoteException -
compositeHostProfile_Task
public Task compositeHostProfile_Task(Profile source, Profile[] targets, HostApplyProfile toBeMerged, HostApplyProfile toBeReplacedWith, HostApplyProfile toBeDeleted, HostApplyProfile enableStatusToBeCopied) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
exportAnswerFile_Task
- Throws:
RuntimeFaultRemoteException
-
generateHostConfigTaskSpec_Task
public Task generateHostConfigTaskSpec_Task(StructuredCustomizations[] hostsInfo) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
generateHostProfileTaskList_Task
public Task generateHostProfileTaskList_Task(HostConfigSpec configSpec, HostSystem host) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
retrieveHostCustomizations
public StructuredCustomizations[] retrieveHostCustomizations(HostSystem[] hosts) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
retrieveHostCustomizationsForProfile
public StructuredCustomizations[] retrieveHostCustomizationsForProfile(HostSystem[] hosts, HostApplyProfile applyProfile) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
updateAnswerFile_Task
public Task updateAnswerFile_Task(HostSystem host, AnswerFileCreateSpec configSpec) throws AnswerFileUpdateFailed, RuntimeFault, RemoteException -
validateHostProfileComposition_Task
public Task validateHostProfileComposition_Task(Profile source, Profile[] targets, HostApplyProfile toBeMerged, HostApplyProfile toReplaceWith, HostApplyProfile toBeDeleted, HostApplyProfile enableStatusToBeCopied, boolean errorOnly) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
applyHostConfig_Task
public Task applyHostConfig_Task(HostSystem host, HostConfigSpec configSpec) throws HostConfigFailed, InvalidState, RuntimeFault, RemoteException -
checkAnswerFileStatus_Task
- Throws:
RuntimeFaultRemoteException- Since:
- SDK5.0
-
createDefaultProfile
- Throws:
RuntimeFaultRemoteException
-
createDefaultProfile
public ApplyProfile createDefaultProfile(String profileType, String profileTypeName, Profile profile) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
generateConfigTaskList
@Deprecated public HostProfileManagerConfigTaskList generateConfigTaskList(HostConfigSpec configSpec, HostSystem host) throws RuntimeFault, RemoteException Deprecated.as of SDK5.5, use generateHostProfileTaskList_Task() instead- Throws:
RuntimeFaultRemoteException
-
queryAnswerFileStatus
public AnswerFileStatusResult[] queryAnswerFileStatus(HostSystem[] hosts) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException- Since:
- SDK5.0
-
queryHostProfileMetadata
public ProfileMetadata[] queryHostProfileMetadata(String[] profileName) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
queryHostProfileMetadata
public ProfileMetadata[] queryHostProfileMetadata(String[] profileNames, Profile profile) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
queryProfileStructure
public ProfileProfileStructure queryProfileStructure(Profile profile) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException- Since:
- SDK5.0
-
retrieveAnswerFile
- Throws:
RuntimeFaultRemoteException- Since:
- SDK5.0
-
retrieveAnswerFileForProfile
public AnswerFile retrieveAnswerFileForProfile(HostSystem host, HostApplyProfile applyProfile) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException- Since:
- SDK5.1
-