Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.32 KB

LoadbalancerGenericInfo.md

File metadata and controls

28 lines (22 loc) · 1.32 KB

VultrRuby::LoadbalancerGenericInfo

Properties

Name Type Description Notes
balancing_algorithm String The balancing algorithm. * roundrobin (default) * leastconn [optional]
ssl_redirect Boolean If `true`, this will redirect all HTTP traffic to HTTPS. You must have an HTTPS rule and SSL certificate installed on the load balancer to enable this option. * true * false [optional]
sticky_sessions LoadbalancerGenericInfoStickySessions [optional]
proxy_protocol Boolean "If `true`, you must configure backend nodes to accept Proxy protocol. \n\n* true\n* false (Default)" [optional]
private_network String Use `vpc` instead. ID of the private network you wish to use. If private_network is omitted it will default to the public network. [optional]
vpc String ID of the VPC you wish to use. If a VPC ID is omitted it will default to the public network. [optional]

Example

require 'vultr_ruby'

instance = VultrRuby::LoadbalancerGenericInfo.new(
  balancing_algorithm: null,
  ssl_redirect: null,
  sticky_sessions: null,
  proxy_protocol: null,
  private_network: null,
  vpc: null
)