• Native OpenStack API

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

Show listener

Function Description

This interface is used to query the details of a listener.

Interface Format

Method

URI

Description

GET

/v2.0/lbaas/listeners/{listener_id}

Queries detailed information about the listener specified by tenants sending requests to the system.

Restrictions

N/A

Request Parameter

None

Response Parameter

Parameter

Type

Mandatory

Description

listener

Dict

Yes

Specifies the listener list. For details, see Table 2.

Request Example

GET /v2.0/lbaas/listeners/09e64049-2ab0-4763-a8c5-f4207875dc3e

Response Example

{
    "listener": {
        "protocol_port": 8000,
        "protocol": "TCP",
        "description": "",
        "default_tls_container_ref": null,
        "admin_state_up": true,
        "loadbalancers": [
            {
                "id": "3d77894d-2ffe-4411-ac0a-0d57689779b8"
            }
        ],
        "tenant_id": "1867112d054b427e808cc6096d8193a1",
        "sni_container_refs": [],
        "connection_limit": -1,
        "default_pool_id": "b7e53dbd-62ab-4505-a280-5c066078a5c9",
        "id": "09e64049-2ab0-4763-a8c5-f4207875dc3e",
        "name": "listener-2"
    }
}

Error Code

See section Return Code Processing.