Type Definition digitalocean::request::LoadBalancerRequest []

type LoadBalancerRequest<M, V> = Request<M, V>;

A type alias with Request<_, LoadBalancer> specific functions.

Methods

impl LoadBalancerRequest<Create, LoadBalancer>
[src]

The load balancing algorithm used to determine which backend Droplet will be selected by a client. It must be either "round_robin" or "least_connections". The default value is "round_robin".

Digital Ocean Documentation.

An array of objects specifying the forwarding rules for a Load Balancer. At least one forwarding rule is required when creating a new Load Balancer instance.

Digital Ocean Documentation.

The (optional) health check settings.

Digital Ocean Documentation.

The (optional) sticky sessions settings. kind must be cookies or none. If kind is cookies then cookie_name and cookie_ttl_seconds should be set as well.

Digital Ocean Documentation.

A boolean value indicating whether HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443. Default value is false.

Digital Ocean Documentation.

The IDs of the Droplets to be assigned to the Load Balancer.

Note: Not intended to be used alongside the tag function.

Digital Ocean Documentation.

The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.

Note: Not intended to be used alongside the droplets function.

Digital Ocean Documentation.

impl LoadBalancerRequest<Update, LoadBalancer>
[src]

A human-readable name for a Load Balancer instance.

Digital Ocean Documentation.

The region where the Load Balancer instance will be located.

Digital Ocean Documentation.

The load balancing algorithm used to determine which backend Droplet will be selected by a client. It must be either "round_robin" or "least_connections". The default value is "round_robin".

Digital Ocean Documentation.

An array of objects specifying the forwarding rules for a Load Balancer. At least one forwarding rule is required when creating a new Load Balancer instance.

Digital Ocean Documentation.

The (optional) health check settings.

Digital Ocean Documentation.

The (optional) sticky sessions settings. kind must be cookies or none. If kind is cookies then cookie_name and cookie_ttl_seconds should be set as well.

Digital Ocean Documentation.

A boolean value indicating whether HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443. Default value is false.

Digital Ocean Documentation.

The IDs of the Droplets to be assigned to the Load Balancer.

Note: Not intended to be used alongside the tag function.

Digital Ocean Documentation.

The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.

Note: Not intended to be used alongside the droplets function.

Digital Ocean Documentation.

impl LoadBalancerRequest<Get, LoadBalancer>
[src]

Add droplets (by id) to the load balancer.

Digital Ocean Documentation.

Remove droplets (by id) from the load balancer.

Digital Ocean Documentation.

Add a forwarding rule to the Load Balancer.

Digital Ocean Documentation.

Remove a forwarding rule to the Load Balancer.

Digital Ocean Documentation.