Get Load Balancer Pool Status
Returns the status of the given load balancer pool by given load balancer service id and load balancer pool id.
Use the following Policy API -
GET /policy/api/v1/infra/lb-services/<lb-service-id>/lb-pools/<lb-pool-id>/detailed-status
service-id
pool-id
Data source type.
OK
{
"last_update_timestamp": 0,
"members": [
{
"failure_cause": "string",
"ip_address": "string",
"last_check_time": 0,
"last_state_change_time": 0,
"port": "string",
"status": "string"
}
],
"pool_id": "string",
"status": "string"
}
Timestamp when the data was last updated
Status of load balancer pool members
Load balancer pool identifier
UP means that all primary members are in UP status. PARTIALLY_UP means that some(not all) primary members are in UP status, the number of these active members is larger or equal to certain number(min_active_members) which is defined in LbPool. When there are no backup members which are in the UP status, the number(min_active_members) would be ignored. PRIMARY_DOWN means that less than certain(min_active_members) primary members are in UP status but backup members are in UP status, connections to this pool would be dispatched to backup members. DOWN means that all primary and backup members are DOWN. DETACHED means that the pool is not bound to any virtual server. UNKNOWN means that the pool is not associated to any enabled virtual servers, or no status reported from transport-nodes, the associated load balancer service may be working(or not working).
curl -H 'Authorization: <value>' https://{api_host}/api/v1/loadbalancer/services/{service-id}/pools/{pool-id}/status