Sha256: f42ef0a927b500a4252ca236179b2ce4d41b672e4cbc69633ab21a1216f244d3

Contents?: true

Size: 369 Bytes

Versions: 88

Compression:

Stored size: 369 Bytes

Contents

module Fog
  module Compute
    class Joyent
      class Real

        def create_machine_snapshot(machine_id, snapshot_name)
          request(
            :method => "POST",
            :path => "/my/machines/#{machine_id}/snapshots",
            :body => {"name" => snapshot_name },
            :expects => [201]
          )
        end

      end
    end
  end
end

Version data entries

88 entries across 88 versions & 16 rubygems

Version Path
fog-1.22.0 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-1.21.0 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-1.20.0 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-1.19.0 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/joyent/requests/compute/create_machine_snapshot.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/joyent/requests/compute/create_machine_snapshot.rb