Sha256: b5e2f8de48caa844e4b51f4f89492705130ae1a22655a16c5e59567ab0d07240

Contents?: true

Size: 730 Bytes

Versions: 1

Compression:

Stored size: 730 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates a profile that contains information about the virtual machine which will be provisioned automatically by autoscale feature.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createAutoScaleVmProfile.html]
        def create_auto_scale_vm_profile(serviceofferingid, templateid, zoneid, options={})
          options.merge!(
            'command' => 'createAutoScaleVmProfile', 
            'serviceofferingid' => serviceofferingid, 
            'templateid' => templateid, 
            'zoneid' => zoneid  
          )
          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_auto_scale_vm_profile.rb