1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[cloudstack|compute] added update resource count action

This commit is contained in:
bdorry 2012-02-01 12:17:37 -05:00
parent 40c4fc2098
commit f6bd3126c8
2 changed files with 21 additions and 0 deletions

View file

@ -103,6 +103,7 @@ module Fog
request :update_account
request :update_domain
request :update_user
request :update_resource_count
request :update_virtual_machine
class Mock

View file

@ -0,0 +1,20 @@
module Fog
module Compute
class Cloudstack
class Real
# Updates a user account.
#
# {CloudStack API Reference}[http://download.cloud.com/releases/2.2.0/api_2.2.4/global_admin/updateResourceCount.html]
def update_resource_count(options={})
options.merge!(
'command' => 'updateResourceCount'
)
request(options)
end
end
end
end
end