REAL(member)一覧取得
Description
Real(member)の一覧を取得します。
Request URL
Network API v2.0 GET /v2.0/lb/members
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/members
-
Response
HTTP/1.1 200 OK
Date: Mon, 11 Jul 2016 06:51:18 GMT
Server: Apache
Content-Length: 575
Content-Type: application/json
{
"members": [
{
"address": "IPアドレス",
"admin_state_up": バランシングの有効/無効,
"id": "メンバーID",
"pool_id": "プールID",
"protocol_port": ポート番号,
"status": "ACTIVE",
"status_description": null,
"tenant_id": "テナントID",
"weight": 1
},
{
"address": "IPアドレス",
"admin_state_up": バランシングの有効/無効,
"id": "メンバーID",
"pool_id": "プールID",
"protocol_port": ポート番号,
"status": "ACTIVE",
"status_description": null,
"tenant_id": "テナントID",
"weight": 1
}
]
}