com.vmware.vim25.mo
Class ProfileManager

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.ProfileManager
Direct Known Subclasses:
ClusterProfileManager, HostProfileManager

public class ProfileManager
extends ManagedObject

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

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
ProfileManager(ServerConnection sc, ManagedObjectReference mor)
           
 
Method Summary
 Profile createProfile(ProfileCreateSpec createSpec)
           
 Profile[] findAssociatedProfile(ManagedEntity entity)
           
 Profile[] getProfile()
           
 ProfilePolicyMetadata[] queryPolicyMetadata(String[] policyName)
           
 ProfilePolicyMetadata[] queryPolicyMetadata(String[] policyName, Profile profile)
           
 
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

ProfileManager

public ProfileManager(ServerConnection sc,
                      ManagedObjectReference mor)
Method Detail

getProfile

public Profile[] getProfile()

createProfile

public Profile createProfile(ProfileCreateSpec createSpec)
                      throws DuplicateName,
                             RuntimeFault,
                             RemoteException
Throws:
DuplicateName
RuntimeFault
RemoteException

findAssociatedProfile

public Profile[] findAssociatedProfile(ManagedEntity entity)
                                throws RuntimeFault,
                                       RemoteException
Throws:
RuntimeFault
RemoteException

queryPolicyMetadata

public ProfilePolicyMetadata[] queryPolicyMetadata(String[] policyName)
                                            throws RuntimeFault,
                                                   RemoteException
Throws:
RuntimeFault
RemoteException

queryPolicyMetadata

public ProfilePolicyMetadata[] queryPolicyMetadata(String[] policyName,
                                                   Profile profile)
                                            throws RuntimeFault,
                                                   RemoteException
Throws:
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.