Describe target health.
GET
/v1/projects/{projectId}/lb/target-groups/{targetGroupId}/health
Code sample: Shell / cURL
curl --request GET \ --url https://stratum.example.com/v1/projects/example/lb/target-groups/example/health \ --header 'Authorization: Bearer <token>'Per-target health state reported by the data plane.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
targetGroupId
required
string
Responses
Section titled “Responses”Target health.
Media typeapplication/json
object
items
required
Array<object>
object
targetGroupId
required
string
targetId
required
string
targetType
string
ipAddress
The resolved address the load balancer dials. Absent on the synthetic target a POST /targets/actions/register of an auto-scaling-group returns — a group binding has no row of its own; its members appear as ip targets keyed on their instance ids.
string
port
required
integer
weight
integer
enabled
boolean
healthState
required
string
healthReason
string
lastHealthCheckAt
string format: date-time
registeredAt
string format: date-time
instanceId
The owning Stratum instance when this target’s IP resolves to a live NIC in the target group’s VPC; null for external ip targets.
string
instanceName
The owning instance’s name, resolved alongside instanceId.
string
nextPageToken
string
Example
{ "items": [ { "targetType": "instance", "healthState": "initial" } ]}