POOL一覧取得

Description

POOLの一覧を取得します。

Request URL

Network API v2.0

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

  • Normal response codes
200

Example

  • Request
curl -i -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Auth-Token: トークンID" \
ネットワークエンドポイント/lb/pools
  • Response
HTTP/1.1 200 OK
Date: Wed, 04 Apr 2018 03:37:18 GMT
Server: Apache
Content-Length: 999
Content-Type: application/json

{
    "pools": [
        {
            "status": "ACTIVE", 
            "lb_method": "LEAST_CONNECTIONS", 
            "protocol": "TCP", 
            "description": "", 
            "health_monitors": [], 
            "members": [
                "メンバーID",
                "メンバーID"
            ], 
            "status_description": null, 
            "id": "プールID", 
            "vip_id": "VIP ID", 
            "name": "プール名", 
            "admin_state_up": true, 
            "subnet_id": "サブネットID", 
            "tenant_id": "テナントID", 
            "health_monitors_status": [], 
            "provider": "lbnat1"
        }, 
        {
            "status": "ACTIVE", 
            "lb_method": "LEAST_CONNECTIONS", 
            "protocol": "TCP", 
            "description": "", 
            "health_monitors": [], 
            "members": [], 
            "status_description": null, 
            "id": "プールID", 
            "vip_id": "VIP ID", 
            "name": "プール名", 
            "admin_state_up": true, 
            "subnet_id": "サブネットID", 
            "tenant_id": "テナントID", 
            "health_monitors_status": [], 
            "provider": "lbnat1"
        }
    ]
}

Internet for everyone

Copyright (c) 2024 GMO Internet Group, Inc. All Rights Reserved.