Sha256: f06ddb51c3a9854f2e6cd140c0bcb357a0d9a8cf8da08f5e0498cdf2e55d5171

Contents?: true

Size: 1.02 KB

Versions: 43

Compression:

Stored size: 1.02 KB

Contents

module Fog
  module Terremark
    module Shared
      module Real

        require 'fog/terremark/parsers/shared/get_internet_services'

        # Get a list of all internet services for a vdc
        #
        # ==== Parameters
        # * vdc_id<~Integer> - Id of vDc to get list of internet services for
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'InternetServices'<~Array>
        #       * 'id'<~String> => id of the internet service
        #       * 'name'<~String> => name of service
        #       * 'PublicIPAddress'<~Hash>
        #       *   'Id'<~String> => id of the public IP
        #       *   'name'<~String> => actual ip address
        #
        def get_internet_services(vdc_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :parser   => Fog::Parsers::Terremark::Shared::GetInternetServices.new,
            :path     => "vdc/#{vdc_id}/internetServices"
          )
        end

      end
    end
  end
end

Version data entries

43 entries across 43 versions & 8 rubygems

Version Path
fog-1.1.1 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-1.1.0 lib/fog/terremark/requests/shared/get_internet_services.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_internet_services.rb
tag-fog-1.0.1 lib/fog/terremark/requests/shared/get_internet_services.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_internet_services.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_internet_services.rb
fog-1.0.0 lib/fog/terremark/requests/shared/get_internet_services.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_internet_services.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.11.0 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.10.0 lib/fog/terremark/requests/shared/get_internet_services.rb
fog4encbs-0.9.0.1 lib/fog/terremark/requests/shared/get_internet_services.rb
fog4encbs-0.9.0 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.9.0 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.8.2 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.8.1 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.8.0 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.7.2 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.7.1 lib/fog/terremark/requests/shared/get_internet_services.rb
fog-0.7.0 lib/fog/terremark/requests/shared/get_internet_services.rb