Update Load Balancer
documentedUpdate a load balancer.
PUT /v2/load_balancers/{id}Load Balancersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.digitalocean.com/v2/load_balancers/{{$lb_id}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "region": "{{$region}}", "forwarding_rules": [ { "entry_protocol": "{{$entry_protocol}}", "entry_port": {{$entry_port}}, "target_protocol": "{{$target_protocol}}", "target_port": {{$target_port}}, "certificate_id": "{{$certificate_id}}", "tls_passthrough": {{$tls_passthrough}} } ], "health_check": { "protocol": "{{$health_protocol}}", "port": {{$health_port}}, "path": "{{$health_path}}", "check_interval_seconds": {{$health_check_interval}}, "response_timeout_seconds": {{$health_timeout}}, "healthy_threshold": {{$health_healthy}}, "unhealthy_threshold": {{$health_unhealthy}} }, "droplet_ids": {{$droplet_ids}}, "redirect_http_to_https": {{$redirect_http_to_https}}, "enable_proxy_protocol": {{$enable_proxy_protocol}}, "firewall": { "allow": {{$firewall_allow}}, "deny": {{$firewall_deny}} }, "tag": "{{$tag}}", "vpc_uuid": "{{$vpc_uuid}}"}'"}