Description
紐付けるプールの変更やバランシングの有効/無効を変更します。
Request URL
Network API v2.0 PUT /v2.0/lb/members/{member_id} |
Request Json
{ “member”: { “pool_id”: “プールID” } } |
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
member_id | メンバーID | URI | メンバーIDを指定します。 |
pool_id(Optional) | プールID | plain | 紐付けるPOOLを変更する場合、指定します。 |
admin_state_up(Optional) | true false |
plain | バランシングの有効/無効を変更する場合、指定します。 |
Response
Normal response codes
200 |
Example
Request
curl -i -X PUT \ -H “Accept: application/json” \ -H “Content-Type: application/json” \ -H “X-Auth-Token: トークンID” \ -d ‘{“member”: {“pool_id”: “プールID“}}’ \ https://networking.odc01.eva-clouds.com/v2.0/lb/members/メンバーID |
Response
HTTP/1.1 200 OK Date: Tue, 19 Jul 2016 01:39:11 GMT Server: Apache Content-Length: 299 Content-Type: application/json { |