com.vmware.vim25.mo
Class AlarmManager

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.AlarmManager

public class AlarmManager
extends ManagedObject

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

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
AlarmManager(ServerConnection sc, ManagedObjectReference mor)
           
 
Method Summary
 void acknowledgeAlarm(Alarm alarm, ManagedEntity entity)
           
 boolean areAlarmActionsEnabled(ManagedEntity entity)
           
 Alarm createAlarm(ManagedEntity me, AlarmSpec as)
           
 void enableAlarmActions(ManagedEntity entity, boolean enabled)
           
 Alarm[] getAlarm(ManagedEntity me)
           
 AlarmState[] getAlarmState(ManagedEntity me)
           
 AlarmExpression[] getDefaultExpression()
           
 AlarmDescription getDescription()
           
 
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

AlarmManager

public AlarmManager(ServerConnection sc,
                    ManagedObjectReference mor)
Method Detail

getDefaultExpression

public AlarmExpression[] getDefaultExpression()

getDescription

public AlarmDescription getDescription()

acknowledgeAlarm

public void acknowledgeAlarm(Alarm alarm,
                             ManagedEntity entity)
                      throws RuntimeFault,
                             RemoteException
Throws:
RuntimeFault
RemoteException
Since:
4.0

areAlarmActionsEnabled

public boolean areAlarmActionsEnabled(ManagedEntity entity)
                               throws RuntimeFault,
                                      RemoteException
Throws:
RuntimeFault
RemoteException
Since:
4.0

enableAlarmActions

public void enableAlarmActions(ManagedEntity entity,
                               boolean enabled)
                        throws RuntimeFault,
                               RemoteException
Throws:
RuntimeFault
RemoteException
Since:
4.0

createAlarm

public Alarm createAlarm(ManagedEntity me,
                         AlarmSpec as)
                  throws InvalidName,
                         DuplicateName,
                         RuntimeFault,
                         RemoteException
Throws:
InvalidName
DuplicateName
RuntimeFault
RemoteException

getAlarm

public Alarm[] getAlarm(ManagedEntity me)
                 throws RuntimeFault,
                        RemoteException
Throws:
RuntimeFault
RemoteException

getAlarmState

public AlarmState[] getAlarmState(ManagedEntity me)
                           throws RuntimeFault,
                                  RemoteException
Throws:
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.