Class: Fog::Monitoring::StormOnDemand::MonitorServices
- Inherits:
-
Collection
- Object
- Collection
- Fog::Monitoring::StormOnDemand::MonitorServices
- Defined in:
- lib/fog/storm_on_demand/models/monitoring/monitor_services.rb
Instance Method Summary collapse
Instance Method Details
#get(uniq_id) ⇒ Object
10 11 12 13 |
# File 'lib/fog/storm_on_demand/models/monitoring/monitor_services.rb', line 10 def get(uniq_id) status = service.get_service(:uniq_id => uniq_id).body new(status) end |
#monitoring_ips ⇒ Object
15 16 17 |
# File 'lib/fog/storm_on_demand/models/monitoring/monitor_services.rb', line 15 def monitoring_ips service.monitoring_ips.body['ips'] end |
#status(uniq_id) ⇒ Object
19 20 21 |
# File 'lib/fog/storm_on_demand/models/monitoring/monitor_services.rb', line 19 def status(uniq_id) service.get_service_status(:uniq_id => uniq_id).body end |
#update(options) ⇒ Object
23 24 25 26 |
# File 'lib/fog/storm_on_demand/models/monitoring/monitor_services.rb', line 23 def update() status = service.update_service().body new(status) end |