Sha256: 6ed13efc8882b3b558a9d9bdc2bfcd1ad96fa736e90d7a367fcba4996b365586

Contents?: true

Size: 743 Bytes

Versions: 2

Compression:

Stored size: 743 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Disable a vApp template for download.
        #
        # @param [String] id Object identifier of the VM.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/POST-DisableVAppTemplateDownload.html
        # @since vCloud API version 0.9
        def post_disable_vapp_template_download(id)
          request(
            :expects => 202,
            :method  => 'POST',
            :parser  => Fog::ToHashDocument.new,
            :path    => "vAppTemplate/#{id}/action/disableDownload"
          )
        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/post_disable_vapp_template_download.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/post_disable_vapp_template_download.rb