Sha256: ada6aebfa3e1175e32bc72305d997b424162b1b8612488d5a17eca339bbe89d5

Contents?: true

Size: 721 Bytes

Versions: 3

Compression:

Stored size: 721 Bytes

Contents

module Fog
  module Compute
    class VcloudDirector
      class Real
        require 'fog/vcloud_director/parsers/compute/vm'

        # Retrieve a vApp or VM.
        #
        # @note This should probably be deprecated.
        #
        # @param [String] id Object identifier of the vApp or VM.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see #get_vapp
        def get_template_vm(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::Parsers::Compute::VcloudDirector::Vm.new,
            :path       => "vAppTemplate/#{id}"
          )
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-vcloud-director-0.2.2 lib/fog/vcloud_director/requests/compute/get_template_vm.rb
fog-vcloud-director-0.2.1 lib/fog/vcloud_director/requests/compute/get_template_vm.rb
fog-vcloud-director-0.2.0 lib/fog/vcloud_director/requests/compute/get_template_vm.rb