Verb | URI | Description |
POST | /lb/pools | Create a new load balancer pool. |
Normal Response Code: 201
Error Response Codes: Unauthorized (401), Bad Request (400)
This operation requires a request body.
This operation returns a response body.
Example 4.86. Create pool: HTTP request
POST /v2.0/lb/pools.json HTTP/1.1
User-Agent: python-neutronclient
Accept: application/json
{ "pool":{ "subnet_id":"8032909d-47a1-4715-90af-5153ffe39861", "lb_method":"ROUND_ROBIN", "protocol":"TCP", "name":"NewPool", "admin_state_up":true } }
Example 4.87. Create pool: HTTP and JSON response
HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
{ "pool":{ "status":"PENDING_CREATE", "lb_method":"STATIC_IP", "protocol":"TCP", "description":"", "health_monitors":[ ], "subnet_id":"8032909d-47a1-4715-90af-5153ffe39861", "tenant_id":"83657cfcdfe44cd5920adaf26c48ceea", "admin_state_up":true, "name":"NewPool", "members":[ ], "id":"a224402b-794b-4c0c-9d08-d95640a6f5a1", "vip_id":null } }