Sha256: 2fe8c5604db3d5b45df562bd0029bac2548cea9fe6cac55ed6920f66b7a7ec13
Contents?: true
Size: 659 Bytes
Versions: 27
Compression:
Stored size: 659 Bytes
Contents
module Fog module Compute class VcloudDirector class Real require 'fog/vcloud_director/generators/compute/create_snapshot' def post_create_snapshot(id, options={}) body = Fog::Generators::Compute::VcloudDirector::CreateSnapshot.new(options).generate_xml request( :body => body, :expects => 202, :headers => { 'Content-Type' => 'application/vnd.vmware.vcloud.createSnapshotParams+xml' }, :method => 'POST', :parser => Fog::ToHashDocument.new, :path => "vApp/#{id}/action/createSnapshot" ) end end end end end
Version data entries
27 entries across 25 versions & 4 rubygems