DigitalOcean.LoadBalancer.update

You're seeing just the function update, go back to DigitalOcean.LoadBalancer module for more information.
Link to this function

update(load_balancer_id, opts)

Specs

Update a load balancer.

Examples

iex> DigitalOcean.LoadBalancer.update(
...>   "4de7ac8b-495b-4884-9a69-1050c6793cd6"
...>   name: "example-lb-01",
...>   region: "nyc3",
...>   algorithm: "least_connections",
...>   forwarding_rules: [
...>     %{
...>       entry_protocol: "http",
...>       entry_port: 80,
...>       target_protocol: "http",
...>       target_port: 80
...>     }
...>   ],
...>   health_check: %{
...>     protocol: "http",
...>     port: 80,
...>     path: "/",
...>     check_interval_seconds: 10,
...>     response_timeout_seconds: 5,
...>     healthy_threshold: 5,
...>     unhealthy_threshold: 3
...>   },
...>   sticky_sessions: %{
...>     type: "cookies",
...>     cookie_name: "DO_LB",
...>     cookie_ttl_seconds: 300
...>   },
...>   droplet_ids: [
...>     3164444,
...>     3164445
...>   ]
...> ) |> DigitalOcean.request()
{ :ok, %DigitalOcean.Response{} }