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