Skip to content

Files

Latest commit

 

History

History
44 lines (38 loc) · 2.85 KB

UpdateLoadBalancerRequest.md

File metadata and controls

44 lines (38 loc) · 2.85 KB

VultrRuby::UpdateLoadBalancerRequest

Properties

Name Type Description Notes
ssl CreateLoadBalancerRequestSsl [optional]
sticky_session CreateLoadBalancerRequestStickySession [optional]
forwarding_rules Array<CreateLoadBalancerRequestForwardingRulesInner> An array of forwarding rule objects. [optional]
health_check UpdateLoadBalancerRequestHealthCheck [optional]
proxy_protocol Boolean If `true`, you must configure backend nodes to accept Proxy protocol. * true * false (Default) [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]
http2 Boolean If `true`, this will enable HTTP2 traffic. You must have an HTTPS forwarding rule combo (HTTPS -> HTTPS) to enable this option. * true * false [optional]
nodes Integer The number of nodes to add to the load balancer (1-99), must be an odd number. This defaults to 1. [optional]
balancing_algorithm String The balancing algorithm. * roundrobin (default) * leastconn [optional]
instances Array<String> Send the complete array of Instances IDs that should be attached to this Load Balancer. Instances will be attached or detached to match your array. For example, if Instances X, Y, and Z are currently attached, and you send [A,B,Z], then Instance A and B will be attached, X and Y will be detached, and Z will remain attached. [optional]
label String The label for your Load Balancer [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]
firewall_rules Array<CreateLoadBalancerRequestFirewallRulesInner> An array of firewall rule objects. [optional]

Example

require 'vultr_ruby'

instance = VultrRuby::UpdateLoadBalancerRequest.new(
  ssl: null,
  sticky_session: null,
  forwarding_rules: null,
  health_check: null,
  proxy_protocol: null,
  ssl_redirect: null,
  http2: null,
  nodes: null,
  balancing_algorithm: null,
  instances: null,
  label: null,
  private_network: null,
  vpc: null,
  firewall_rules: null
)