mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
add(rackspace monitoring): list notification plans
* Added support for listing Rackspace Monitoring notification plans
This commit is contained in:
parent
b473e9c0e0
commit
fbb4429689
2 changed files with 19 additions and 0 deletions
|
@ -45,6 +45,7 @@ module Fog
|
|||
request :list_data_points
|
||||
request :list_check_types
|
||||
request :list_overview
|
||||
request :list_notification_plans
|
||||
|
||||
request :get_agent_token
|
||||
request :get_alarm
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
module Fog
|
||||
module Rackspace
|
||||
class Monitoring
|
||||
class Real
|
||||
|
||||
def list_notification_plans
|
||||
request(
|
||||
:expects => [200],
|
||||
:method => 'GET',
|
||||
:path => "notification_plans"
|
||||
)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Add table
Reference in a new issue