Sha256: af6883f03101fb9f59062faadaa2d75e8f2a53babfab611d85a6cf46e306eade

Contents?: true

Size: 830 Bytes

Versions: 2

Compression:

Stored size: 830 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Delete a vApp template.
        #
        # This operation is asynchronous and returns a task that you can
        # monitor to track the progress of the request.
        #
        # @param [String] id Object identifier of the vApp template.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/DELETE-VAppTemplate.html
        # @since vCloud API version 0.9
        def delete_vapp_template(id)
          request(
            :expects => 202,
            :method  => 'DELETE',
            :parser  => Fog::ToHashDocument.new,
            :path    => "vAppTemplate/#{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_vapp_template.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/delete_vapp_template.rb