Sha256: cf4f80fbb552f9a61fc7a6ead5782026c7f2a9a8175722de97d62756ea991b0b

Contents?: true

Size: 1.18 KB

Versions: 120

Compression:

Stored size: 1.18 KB

Contents

module Fog
  module Terremark
    module Shared
      module Real

        # Get details of a vapp
        #
        # ==== Parameters
        # * vapp_id<~Integer> - Id of vapp to lookup
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:

        # FIXME

        #     * 'endTime'<~String> - endTime of task
        #     * 'href'<~String> - link to task
        #     * 'startTime'<~String> - startTime of task
        #     * 'status'<~String> - status of task
        #     * 'type'<~String> - type of task
        #     * 'Owner'<~String> -
        #       * 'href'<~String> - href of owner
        #       * 'name'<~String> - name of owner
        #       * 'type'<~String> - type of owner
        #     * 'Result'<~String> -
        #       * 'href'<~String> - href of result
        #       * 'name'<~String> - name of result
        #       * 'type'<~String> - type of result
        def get_vapp(vapp_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :parser   => Fog::Parsers::Terremark::Shared::Vapp.new,
            :path     => "vapp/#{vapp_id}"
          )
        end

      end
    end
  end
end

Version data entries

120 entries across 120 versions & 19 rubygems

Version Path
fog-1.10.1 lib/fog/terremark/requests/shared/get_vapp.rb
fog-parser-fix-1.6.1 lib/fog/terremark/requests/shared/get_vapp.rb
fog-test-again-1.6.0 lib/fog/terremark/requests/shared/get_vapp.rb
fog-test-me-1.10.0 lib/fog/terremark/requests/shared/get_vapp.rb
fog-parser-fix-1.6.0 lib/fog/terremark/requests/shared/get_vapp.rb
fog-1.10.0 lib/fog/terremark/requests/shared/get_vapp.rb
fog-1.9.0 lib/fog/terremark/requests/shared/get_vapp.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/terremark/requests/shared/get_vapp.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/terremark/requests/shared/get_vapp.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/terremark/requests/shared/get_vapp.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/terremark/requests/shared/get_vapp.rb
fog-sgonyea-1.8.1 lib/fog/terremark/requests/shared/get_vapp.rb
fog-1.8.0 lib/fog/terremark/requests/shared/get_vapp.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/terremark/requests/shared/get_vapp.rb
fog-1.7.0 lib/fog/terremark/requests/shared/get_vapp.rb
fog-1.6.0 lib/fog/terremark/requests/shared/get_vapp.rb
fog-1.5.0 lib/fog/terremark/requests/shared/get_vapp.rb
rackspace-fog-1.4.2 lib/rackspace-fog/terremark/requests/shared/get_vapp.rb
fog-1.4.0 lib/fog/terremark/requests/shared/get_vapp.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_vapp.rb