Sha256: 3bb9e4b9942ff03ecbb0c37a8fa484cbd68ceb45df1df61c7e2139acb8c8b65c

Contents?: true

Size: 807 Bytes

Versions: 7

Compression:

Stored size: 807 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # Requests a new cloud IP address for the account.
        #
        # @param [Hash] options
        # @option options [String] :reverse_dns Reverse DNS hostname
        # @option options [String] :name Name for Cloud IP
        # @option options [Array] :port_translators Port on which external clients connect and port on which your service is listening.
        #
        # @return [Hash] if successful Hash version of JSON object
        # @return [NilClass] if no options were passed
        #
        # @see https://api.gb1.brightbox.com/1.0/#cloud_ip_create_cloud_ip
        #
        def create_cloud_ip(options = {})
          wrapped_request("post", "/1.0/cloud_ips", [201], options)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-brightbox-0.9.0/lib/fog/brightbox/requests/compute/create_cloud_ip.rb
fog-brightbox-0.9.0 lib/fog/brightbox/requests/compute/create_cloud_ip.rb
fog-brightbox-0.8.0 lib/fog/brightbox/requests/compute/create_cloud_ip.rb
fog-brightbox-0.7.2 lib/fog/brightbox/requests/compute/create_cloud_ip.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-brightbox-0.7.1/lib/fog/brightbox/requests/compute/create_cloud_ip.rb
fog-brightbox-0.7.1 lib/fog/brightbox/requests/compute/create_cloud_ip.rb
fog-brightbox-0.7.0 lib/fog/brightbox/requests/compute/create_cloud_ip.rb