Sha256: ec9c8177019bd9361b6b550e13e1e26148fc9d2a21b4327c8258be4f5b9ae385

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates snapshot for a vm.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createVMSnapshot.html]
        def create_vm_snapshot(virtualmachineid, options={})
          options.merge!(
            'command' => 'createVMSnapshot', 
            'virtualmachineid' => virtualmachineid  
          )
          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_vm_snapshot.rb