Class: Fog::OpenStack::Monitoring::AlarmStates

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/openstack/monitoring/models/alarm_states.rb

Instance Attribute Summary

Attributes inherited from Collection

#response

Instance Method Summary collapse

Methods inherited from Collection

#destroy, #find_by_id, #get, #load_response, #summary

Instance Method Details

#all(options = {}) ⇒ Object



10
11
12
# File 'lib/fog/openstack/monitoring/models/alarm_states.rb', line 10

def all(options = {})
  load_response(service.list_alarm_state_history_for_all_alarms(options), 'elements')
end

#list_alarm_state_history(id, options = {}) ⇒ Object



14
15
16
# File 'lib/fog/openstack/monitoring/models/alarm_states.rb', line 14

def list_alarm_state_history(id, options = {})
  load_response(service.list_alarm_state_history_for_specific_alarm(id, options), 'elements')
end