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 Userトークン 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" \
https://networking.jpt1.cloud.z.com/v2.0/lb/pools
  • Response
HTTP/1.1 200 OK
Date: Fri, 08 Jul 2016 07:53:53 GMT
Server: Apache
Content-Length: 1268
Content-Type: application/json

{
    "pools": [
        {
            "status": "ACTIVE",
            "lb_method": "バランシング方式",
            "protocol": "プロトコル",
            "description": "",
            "health_monitors": [],
            "members": [],
            "status_description": null,
            "id": "プールID",
            "vip_id": null,
            "name": "プールの名前",
            "admin_state_up": true,
            "subnet_id": "サブネットID",
            "tenant_id": "テナントID",
            "health_monitors_status": [],
            "provider": "lbdsr1"
        },
        {
            "status": "ACTIVE",
            "lb_method": "バランシング方式",
            "protocol": "プロトコル",
            "description": "",
            "health_monitors": [],
            "members": [],
            "status_description": null,
            "id": "プールID",
            "vip_id": null,
            "name": "プールの名前",
            "admin_state_up": true,
            "subnet_id": "サブネットID",
            "tenant_id": "テナントID",
            "health_monitors_status": [],
            "provider": "lbdsr1"
        }
    ]
}

Internet for everyone

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