Sha256: ba5efa42f31697166bb64e493f53be7bd0494f50954f2b65d221a3495ebf477b

Contents?: true

Size: 936 Bytes

Versions: 1

Compression:

Stored size: 936 Bytes

Contents

class Fastly
  # A logical collection of backends - for example all the asset servers in one data center
  class Director < BelongsToServiceAndVersion
    attr_accessor :service_id, :name, :type, :comment, :retries, :capacity, :quorom

    ## 
    # :attr: service
    # 
    # The id of the service this belongs to.
    # 

    ## 
    # :attr: version
    # 
    # The number of the version this belongs to.
    # 

    ## 
    # :attr: name
    # 
    # The domain name of this domain
    # 

    ## 
    # :attr: type
    # 
    # what kind of Load Balancer group (currently always 1 meaning random)
    # 

    ## 
    # :attr: retries
    # 
    # how many backends to search if it fails (default 5)
    # 

    ## 
    # :attr: quorum
    # 
    # the percentage of capacity that needs to be up for a director to be considered up (default 75)
    # 

    ## 
    # :attr: comment 
    # 
    # a free form comment field
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fastly-0.5 lib/fastly/director.rb