To show information about a load balancer instance, send a GET request to
/v2/load_balancers/$LOAD_BALANCER_ID
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
lb_id |
string | True | A unique identifier for a load balancer. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.load_balancers.get(lb_id="afda3ad")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.