lib/fastly/backend.rb in fastly-1.00 vs lib/fastly/backend.rb in fastly-1.01
- old
+ new
@@ -1,10 +1,10 @@
class Fastly
# An individual host you want to serve assets off
class Backend < BelongsToServiceAndVersion
attr_accessor :service_id, :name, :address, :ipv4, :ipv6, :hostname, :use_ssl, :client_cert, :port,
- :connect_timeout, :first_byte_timeout, :between_bytes_timeout, :error_threshold, :max_conn, :weight, :comment, :healthcheck
+ :connect_timeout, :first_byte_timeout, :between_bytes_timeout, :error_threshold, :max_conn, :weight, :comment, :healthcheck, :auto_loadbalance, :request_condition
##
# :attr: service_id
#
# The id of the service this belongs to.
@@ -97,8 +97,17 @@
##
# :attr: healthcheck
#
# the name of a healthcheck to associate with this backend. See the Healthcheck object
-
+
+ ##
+ # :attr: auto_loadbalance
+ #
+ # set to true if you want to auto_loadbalance, set to false if you don't want to auto_loadbalance
+
+ ##
+ # :attr: request_condition
+ #
+ # name of a request_condition to filter the backend on
end
end
\ No newline at end of file