Sha256: 2c13f0f9760dbe202e1ed933748e54aa8d25c25150c2ef42ed8f177ba306d4fc

Contents?: true

Size: 992 Bytes

Versions: 43

Compression:

Stored size: 992 Bytes

Contents

module Fog
  module DNS
    class DNSMadeEasy
      class Real
        # Returns the secondary entry object representation of the specified secondary entry.
        #
        # ==== Parameters
        # * secondary_name<~String> - secondary name
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * name<~String> Secondary name.
        #     * ip<~Array> List of strings, IP addresses for your master nameserver associated with this secondary entry. e.g. ["10.10.10.10", "10.10.10.11"]
        #     * gtdLocation<~String> Global Traffic Director location. Values: DEFAULT, US_EAST, US_WEST, EUROPE
        #   * status<~Integer> - 200 - OK, 404 - specified secondary entry name is not found
        def get_secondary(secondary_name)
          request(
            :expects  => 200,
            :method   => "GET",
            :path     => "/V1.2/secondary/#{secondary_name}"
          )
        end
      end
    end
  end
end

Version data entries

43 entries across 41 versions & 6 rubygems

Version Path
fog-2.3.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-ifeel-2.2.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-2.2.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-2.1.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.42.1 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-2.0.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.42.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.41.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.40.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.39.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.38.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.37.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.36.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.35.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-2.0.0.pre.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb
fog-1.34.0 lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb