Class: Fog::Monitoring::StormOnDemand::Real
- Inherits:
-
Object
- Object
- Fog::Monitoring::StormOnDemand::Real
show all
- Includes:
- StormOnDemand::Shared
- Defined in:
- lib/fog/monitoring/storm_on_demand.rb,
lib/fog/monitoring/storm_on_demand/requests/get_service.rb,
lib/fog/monitoring/storm_on_demand/requests/get_load_graph.rb,
lib/fog/monitoring/storm_on_demand/requests/get_load_stats.rb,
lib/fog/monitoring/storm_on_demand/requests/monitoring_ips.rb,
lib/fog/monitoring/storm_on_demand/requests/update_service.rb,
lib/fog/monitoring/storm_on_demand/requests/get_service_status.rb,
lib/fog/monitoring/storm_on_demand/requests/get_bandwidth_graph.rb,
lib/fog/monitoring/storm_on_demand/requests/get_bandwidth_stats.rb
Constant Summary
StormOnDemand::Shared::API_URL, StormOnDemand::Shared::API_VERSION
Instance Method Summary
collapse
#initialize, #reload, #request
Instance Method Details
#get_bandwidth_graph(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/monitoring/storm_on_demand/requests/get_bandwidth_graph.rb', line 5
def get_bandwidth_graph(options = {})
request(
:path => "/Monitoring/Bandwidth/graph",
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_bandwidth_stats(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/monitoring/storm_on_demand/requests/get_bandwidth_stats.rb', line 5
def get_bandwidth_stats(options = {})
request(
:path => "/Monitoring/Bandwidth/stats",
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_load_graph(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/monitoring/storm_on_demand/requests/get_load_graph.rb', line 5
def get_load_graph(options = {})
request(
:path => "/Monitoring/Load/graph",
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_load_stats(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/monitoring/storm_on_demand/requests/get_load_stats.rb', line 5
def get_load_stats(options = {})
request(
:path => "/Monitoring/Load/stats",
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_service(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/monitoring/storm_on_demand/requests/get_service.rb', line 5
def get_service(options = {})
request(
:path => "/Monitoring/Services/get",
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_service_status(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/monitoring/storm_on_demand/requests/get_service_status.rb', line 5
def get_service_status(options = {})
request(
:path => "/Monitoring/Services/status",
:body => Fog::JSON.encode(:params => options)
)
end
|
#monitoring_ips(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/monitoring/storm_on_demand/requests/monitoring_ips.rb', line 5
def monitoring_ips(options = {})
request(
:path => "/Monitoring/Services/monitoringIps",
:body => Fog::JSON.encode(:params => options)
)
end
|
#update_service(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/monitoring/storm_on_demand/requests/update_service.rb', line 5
def update_service(options = {})
request(
:path => "/Monitoring/Services/update",
:body => Fog::JSON.encode(:params => options)
)
end
|