Sha256: 366c8670f72e00938b850b5ebea6229dab5b036bd190fe113b35d81c9439d740

Contents?: true

Size: 954 Bytes

Versions: 2

Compression:

Stored size: 954 Bytes

Contents

module Fog
  module Compute
    module Terremark
      module Real
        # Get details of a vapp template
        #
        # ==== Parameters
        # * vapp_template_id<~Integer> - Id of vapp template to lookup
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:

        # FIXME

        #     * 'CatalogItems'<~Array>
        #       * 'href'<~String> - linke to item
        #       * 'name'<~String> - name of item
        #       * 'type'<~String> - type of item
        #     * 'description'<~String> - Description of catalog
        #     * 'name'<~String> - Name of catalog
        def get_vapp_template(vapp_template_id)
          request(
              :expects  => 200,
              :method   => 'GET',
              :parser   => Fog::Parsers::Terremark::GetVappTemplate.new,
              :path     => "vAppTemplate/#{vapp_template_id}"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-terremark-0.0.2 lib/fog/compute/terremark/requests/get_vapp_template.rb
fog-terremark-0.0.1 lib/fog/compute/terremark/requests/get_vapp_template.rb