Sha256: ce097edd671d62749bf36dfa66e23109bc25ac6a5d5dfb289a494fdc798af40a
Contents?: true
Size: 1.08 KB
Versions: 76
Compression:
Stored size: 1.08 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 => "api/extensions/v1.6/vdc/#{vdc_id}/internetServices", :override_path => true ) end end end end end
Version data entries
76 entries across 76 versions & 11 rubygems