code: public void enableAlarmActions(ManagedEntity entity, boolean enabled) throws RuntimeFault, RemoteException {
          getVimService().enableAlarmActions(getMOR(), entity.getMOR(), enabled);
      }
docs: Toggles alarms on the given managed entity.
  
  @param entity
  The {@link ManagedEntity} to toggle alarms on.
  @param enabled
  Whether to enable or disable alarms.
  @throws RuntimeFault
  if any unhandled runtime fault occurs
  @throws RemoteException
  @since 4.0