mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[cloudstack] add create_disk_offering request
This commit is contained in:
parent
0e686b2740
commit
3a306e3131
1 changed files with 19 additions and 0 deletions
19
lib/fog/cloudstack/requests/compute/create_disk_offering.rb
Normal file
19
lib/fog/cloudstack/requests/compute/create_disk_offering.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
module Fog
|
||||
module Compute
|
||||
class Cloudstack
|
||||
class Real
|
||||
|
||||
# Creates a disk offering.
|
||||
#
|
||||
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.0.0/root_admin/createDiskOffering.html]
|
||||
def create_disk_offering(options={})
|
||||
options.merge!(
|
||||
'command' => 'createDiskOffering'
|
||||
)
|
||||
request(options)
|
||||
end
|
||||
|
||||
end # Real
|
||||
end # Cloudstack
|
||||
end # Compute
|
||||
end # Fog
|
Loading…
Add table
Reference in a new issue