Sha256: 3305923702e49d09b6dd39a97c423df70b27bea235acfe0497df58166f6565d3
Contents?: true
Size: 523 Bytes
Versions: 1
Compression:
Stored size: 523 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Creates an affinity/anti-affinity group # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createAffinityGroup.html] def create_affinity_group(name, type, options={}) options.merge!( 'command' => 'createAffinityGroup', 'name' => name, 'type' => type ) request(options) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-1.23.0 | lib/fog/cloudstack/requests/compute/create_affinity_group.rb |