Sha256: 6ff7b57568b4edf89eda0a3350337bf638736c0d35b57e247c6db872f3f7689d

Contents?: true

Size: 928 Bytes

Versions: 2

Compression:

Stored size: 928 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Deletes shadow VM.
        #
        # This operation is asynchronous and returns a task that you can
        # monitor to track the progress of the request.
        #
        # @deprecated Since vCloud API version 5.1 this operation may be
        #   removed in a future release.
        #
        # @param [String] id Object identifier of the vApp.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-ShadowVm.html
        # @since vCloud API version 1.5
        def delete_shadow_vm(id)
          request(
            :expects => 202,
            :method  => 'DELETE',
            :parser  => Fog::ToHashDocument.new,
            :path    => "shadowVm/#{id}"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/requests/compute/delete_shadow_vm.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/delete_shadow_vm.rb