fbpx
GEThttps://api.spotinst.io/loadBalancer/balancer/{BALANCER_ID}?accountId={ACCOUNT_ID}

Describe a specific balancer

URL Parameters

Parameter Type Description
BALANCER_ID * String

The balancer id you want to get

Example: lb-12345
ACCOUNT_ID String

Account ID from Spotinst Console

Example: act-12345
Request

Headers
{
	"Content-Type": "application/json",
	"Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "kind": "spotinst:lb:balancer",
  "items": [
    {
      "id": "lb-12345",
      "name": "bestLoadBalancerInTheWorld",
      "scheme": "internet-facing",
      "timeouts": {
        "draining": 300,
        "idle": 60
      },
      "dns": {
        "providers": [],
        "records": [
          {
            "type": "A",
            "name": "bestloadbalancerintheworld2.lb-f9bc723da06a.dev.lb1.spotinst.io"
          }
        ],
        "aliases": []
      },
      "tags": [
        {
          "key": "Environment",
          "value": "Production"
        }
      ]
    }
  ],
  "count": 1
}