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:
parent
40c4fc2098
commit
f6bd3126c8
2 changed files with 21 additions and 0 deletions
|
@ -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
|
||||
|
|
20
lib/fog/cloudstack/requests/compute/update_resource_count.rb
Normal file
20
lib/fog/cloudstack/requests/compute/update_resource_count.rb
Normal 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
|
Loading…
Reference in a new issue