Description

POOLの一覧を取得します。

Request URL

Network API

GET /v2.0/lb/pools

Request Json

This operation does not accept a request body.

Request Parameters

Parameter Value Style Description
X-Auth-Token トークンID header トークンIDを指定します。

Response Code

Success

200

Example

Request

curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: トークンID" \
https://networking.tyo1.conoha.io/v2.0/lb/pools

Response

HTTP/1.1 200 OK
Server: openresty/1.7.10.1
Date: Fri, 08 May 2015 08:00:15 GMT
Content-Type: application/json
Content-Length: 2537
Connection: keep-alive

{
    "pools": [
        {
            "status": "ACTIVE",
            "lb_method": "LEAST_CONNECTIONS",
            "protocol": "TCP",
            "description": "",
            "health_monitors": [
                "18aa7ef8-2074-4a81-9615-c3c4a0f7fb9d"
            ],
            "members": [
                "0a5b0d2c-78ec-494e-9303-0c38c3623c78",
                "e38f6eb7-e639-4e5c-a608-d1fa4d7c98e1",
                "de7387a6-fc0c-4fa7-9d5f-491b20cf4ca5"
            ],
            "status_description": null,
            "id": "17ec063d-97f6-4b7f-8b70-332d358ec93f",
            "vip_id": "5c1910e8-a75e-431e-b49a-74c59edd4512",
            "name": "",
            "admin_state_up": true,
            "subnet_id": "9c27f83a-ba6d-4e0e-b004-e34422e207a6",
            "tenant_id": "22394afc818d471ca2f0308c06ae7460",
            "health_monitors_status": [
                {
                    "monitor_id": "18aa7ef8-2074-4a81-9615-c3c4a0f7fb9d",
                    "status": "ACTIVE",
                    "status_description": null
                }
            ],
            "provider": "lvs_dsr"
        },
        {
            "status": "ACTIVE",
            "lb_method": "ROUND_ROBIN",
            "protocol": "TCP",
            "description": "",
            "health_monitors": [
                "18aa7ef8-2074-4a81-9615-c3c4a0f7fb9d"
            ],
            "members": [
                "2daf88ff-33c1-4af0-a2ae-50d63f4cd589",
                "916263f7-bf39-4717-948e-52d93f22daa7"
            ],
            "status_description": null,
            "id": "97081853-56b6-408a-882c-1852ef46fafb",
            "vip_id": "209992bc-cd1c-4e2a-9623-d32ed388eeb3",
            "name": "",
            "admin_state_up": true,
            "subnet_id": "9c27f83a-ba6d-4e0e-b004-e34422e207a6",
            "tenant_id": "22394afc818d471ca2f0308c06ae7460",
            "health_monitors_status": [
                {
                    "monitor_id": "18aa7ef8-2074-4a81-9615-c3c4a0f7fb9d",
                    "status": "ACTIVE",
                    "status_description": null
                }
            ],
            "provider": "lvs_dsr"
        }
    ]
}

ConoHaにて提供しておりますAPIにつきましては、クラウド基盤として採用しておりますOpenStackの機能にて実装しておりますので、詳細な情報や使い方はOpenStackのドキュメントにてご確認ください。