• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Neutron
  5. LBaas
  6. Show load balancer

Show load balancer

Function Description

This interface is used to query details of a load balancer.

Interface Format

Method

URI

Description

GET

/v2.0/lbaas/loadbalancers/{loadbalancer_id}

Queries detailed information about the load balancer specified by the tenant submitting the request.

Restrictions

N/A

Request Parameter

None

Response Parameter

Parameter

Type

Mandatory

Description

loadbalancer

Dict

Yes

Specifies the load balancer. For details, see Table 1.

Request Example

GET /v2.0/lbaas/loadbalancers/3d77894d-2ffe-4411-ac0a-0d57689779b8

Response Example

{
    "loadbalancer": {
        "description": "",
        "admin_state_up": true,
        "tenant_id": "1867112d054b427e808cc6096d8193a1",
        "provisioning_status": "ACTIVE",
        "vip_subnet_id": "4f5e8efe-fbbe-405e-b48c-a41202ef697c",
        "listeners": [
            {
                "id": "09e64049-2ab0-4763-a8c5-f4207875dc3e"
            }
        ],
        "vip_address": "192.168.2.4",
        "vip_port_id": "c7157e7a-036a-42ca-8474-100be22e3727",
        "provider": "vlb",
        "pools": [
            {
                "id": "b7e53dbd-62ab-4505-a280-5c066078a5c9"
            }
        ],
        "id": "3d77894d-2ffe-4411-ac0a-0d57689779b8",
        "operating_status": "ONLINE",
        "name": "lb-2"
    }
}

Error Code

See section Return Code Processing.