class Fog::Monitoring::OpenStack::Alarm
Public Instance Methods
destroy()
click to toggle source
# File lib/fog/monitoring/openstack/models/alarm.rb, line 36 def destroy requires :id service.delete_alarm(id) true end
patch(attr = nil)
click to toggle source
# File lib/fog/monitoring/openstack/models/alarm.rb, line 28 def patch(attr = nil) requires :id merge_attributes( service.patch_alarm(id, attr || attributes).body ) self end
to_s()
click to toggle source
# File lib/fog/monitoring/openstack/models/alarm.rb, line 42 def to_s name end
update(attr = nil)
click to toggle source
# File lib/fog/monitoring/openstack/models/alarm.rb, line 20 def update(attr = nil) requires :id merge_attributes( service.update_alarm(id, attr || attributes).body ) self end