Struct digitalocean::api::LoadBalancer []

pub struct LoadBalancer { /* fields omitted */ }

Load Balancers provide a way to distribute traffic across multiple Droplets.

Digital Ocean Documentation.

Methods

impl LoadBalancer

A unique ID that can be used to identify and reference a Load Balancer.

A human-readable name for a Load Balancer instance.

An attribute containing the public-facing IP address of the Load Balancer.

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".

A status string indicating the current state of the Load Balancer. This can be "new", "active", or "errored".

A time value given in ISO8601 combined date and time format that represents when the Load Balancer was created.

An object specifying the forwarding rules for a Load Balancer.

An object specifying health check settings for the Load Balancer.

An object specifying sticky sessions settings for the Load Balancer.

The region where the Load Balancer instance is located.

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

An array containing the IDs of the Droplets assigned to the Load Balancer.

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

impl LoadBalancer
[src]

Be sure to include a forwarding rule by chaining .forwarding_rule() onto this.

Note: It may contain one of the droplets_ids or tag attributes as they are mutually exclusive.

Digital Ocean Documentation.

Note: Any attribute that is not provided will be reset to its default value.

Note: It may contain one of the droplets_ids or tag attributes as they are mutually exclusive.

Digital Ocean Documentation.

Trait Implementations

impl Debug for LoadBalancer
[src]

Formats the value using the given formatter.

impl Clone for LoadBalancer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl HasResponse for LoadBalancer
[src]