Class: Fog::Monitoring::OpenStack::AlarmState

Inherits:
OpenStack::Model show all
Defined in:
lib/fog/monitoring/openstack/models/alarm_state.rb

Instance Attribute Summary

Attributes inherited from OpenStack::Model

#project

Instance Method Summary collapse

Methods inherited from OpenStack::Model

#create, #destroy, #initialize, #save, #update

Constructor Details

This class inherits a constructor from Fog::OpenStack::Model

Instance Method Details

#patch(options) ⇒ Object



18
19
20
21
22
23
24
# File 'lib/fog/monitoring/openstack/models/alarm_state.rb', line 18

def patch(options)
  requires :id
  merge_attributes(
    service.list_alarm_state_history_for_specific_alarm(id, options)
  )
  self
end

#to_sObject



26
27
28
# File 'lib/fog/monitoring/openstack/models/alarm_state.rb', line 26

def to_s
  name
end