public class LicenseManager extends ManagedObject
| Constructor and Description |
|---|
LicenseManager(ServerConnection serverConnection,
ManagedObjectReference mor) |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValuespublic LicenseManager(ServerConnection serverConnection, ManagedObjectReference mor)
public LicenseDiagnostics getDiagnostics()
public LicenseManagerEvaluationInfo getEvaluation()
public LicenseAssignmentManager getLicenseAssignmentManager()
public LicenseManagerLicenseInfo[] getLicenses()
public LicenseFeatureInfo[] getFeatureInfo()
public String getLicensedEdition()
public LicenseSource getSource()
public boolean getSourceAvailable()
public LicenseManagerLicenseInfo addLicense(String licenseKey, KeyValue[] labels) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic LicenseManagerLicenseInfo decodeLicense(String licenseKey) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic boolean checkLicenseFeature(HostSystem host, String featureKey) throws InvalidState, RuntimeFault, RemoteException
InvalidStateRuntimeFaultRemoteExceptionpublic void configureLicenseSource(HostSystem host, LicenseSource licenseSource) throws CannotAccessLocalSource, LicenseServerUnavailable, InvalidLicense, RuntimeFault, RemoteException
public void disableFeature(HostSystem host, String featureKey) throws LicenseServerUnavailable, InvalidState, RuntimeFault, RemoteException
public void enableFeature(HostSystem host, String featureKey) throws LicenseServerUnavailable, InvalidState, RuntimeFault, RemoteException
public LicenseAvailabilityInfo[] queryLicenseSourceAvailability(HostSystem host) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic LicenseUsageInfo queryLicenseUsage(HostSystem host) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic LicenseFeatureInfo[] querySupportedFeatures(HostSystem host) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void removeLicense(String licenseKey) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void removeLicenseLabel(String licenseKey, String labelKey) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void updateLicense(String licenseKey, KeyValue[] labels) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void updateLicenseLabel(String licenseKey, String labelKey, String labelValue) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void setLicenseEdition(HostSystem host, String featureKey) throws LicenseServerUnavailable, InvalidState, RuntimeFault, RemoteException
Copyright © 2011-2012. All Rights Reserved.