# File lib/fog/compute/ecloud/models/internet_services.rb, line 28 def create(options) options[:uri] = "#{service.base_path}/internetServices/publicIps/#{public_ip_id}/action/createInternetService" options[:protocol] ||= "TCP" options[:enabled] ||= true options[:description] ||= "" options[:persistence] ||= {} options[:persistence][:type] ||= "None" data = service.internet_service_create(options).body new(data) end