com.vmware.vim25.mo
Class HostProfile

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.Profile
          extended by com.vmware.vim25.mo.HostProfile

public class HostProfile
extends Profile

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
HostProfile(ServerConnection sc, ManagedObjectReference mor)
           
 
Method Summary
 ProfileExecuteResult executeHostProfile(HostSystem host, ProfileDeferredPolicyOptionParameter[] deferredParam)
           
 HostSystem getReferenceHost()
           
 void updateHostProfile(HostProfileConfigSpec config)
           
 void updateReferenceHost(HostSystem host)
           
 
Methods inherited from class com.vmware.vim25.mo.Profile
associateProfile, checkProfileCompliance_Task, destroyProfile, dissociateProfile, exportProfile, getComplianceStatus, getConfig, getCreatedTime, getDescriptioin, getEntity, getModifiedTime, getName, retrieveDescription
 
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

HostProfile

public HostProfile(ServerConnection sc,
                   ManagedObjectReference mor)
Method Detail

getReferenceHost

public HostSystem getReferenceHost()

executeHostProfile

public ProfileExecuteResult executeHostProfile(HostSystem host,
                                               ProfileDeferredPolicyOptionParameter[] deferredParam)
                                        throws RuntimeFault,
                                               RemoteException
Throws:
RuntimeFault
RemoteException

updateHostProfile

public void updateHostProfile(HostProfileConfigSpec config)
                       throws DuplicateName,
                              ProfileUpdateFailed,
                              RuntimeFault,
                              RemoteException
Throws:
DuplicateName
ProfileUpdateFailed
RuntimeFault
RemoteException

updateReferenceHost

public void updateReferenceHost(HostSystem host)
                         throws RuntimeFault,
                                RemoteException
Throws:
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.