Querying EIP Pools
Function
This API is used to query EIP pools.
URI
GET /v3/{project_id}/eip/publicip-pools
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String |
Minimum length: 0 Maximum length: 32 |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| marker | No | String |
Minimum length: 0 Maximum length: 36 |
| limit | No | Integer |
Minimum value: 0 Maximum value: 2000 |
| fields | No | String |
Minimum length: 0 Maximum length: 1024 |
| sort_key | No | String |
Minimum length: 0 Maximum length: 36 |
| sort_dir | No | String |
Minimum length: 0 Maximum length: 16 |
| id | No | String |
Minimum length: 0 Maximum length: 36 |
| name | No | String |
Minimum length: 0 Maximum length: 128 |
| size | No | Integer |
Minimum value: 0 Maximum value: 999999 |
| status | No | String |
Minimum length: 0 Maximum length: 36 |
| type | No | String |
Minimum length: 0 Maximum length: 36 |
| description | No | String |
Minimum length: 0 Maximum length: 1024 |
| public_border_group | No | String |
Minimum length: 0 Maximum length: 64 |
Request Parameter
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| publicip_pools | Array of PublicipPoolShowResp objects | EIP pool. |
| request_id | String | Request ID. |
| page_info | PageInfoOption object | Pagination page number information. |
| Parameter | Type | Description |
|---|---|---|
| id | String |
Minimum length: 1 Maximum length: 36 |
| name | String |
Minimum length: 0 Maximum length: 64 |
| status | String |
Minimum length: 0 Maximum length: 36 |
| type | String |
Enumerated values:
|
| description | String |
Minimum length: 0 Maximum length: 1024 |
| project_id | String |
Minimum length: 1 Maximum length: 36 |
| size | Integer |
Minimum value: 0 Maximum value: 999999 |
| used | Integer |
Minimum value: 0 Maximum value: 999999 |
| created_at | String |
Minimum length: 0 Maximum length: 64 |
| updated_at | String |
Minimum length: 0 Maximum length: 64 |
| billing_info | BillingInfoDict object | Order information, which is available only for yearly/monthly resources. |
| public_border_group | String |
Minimum length: 0 Maximum length: 64 |
| shared | Boolean |
|
| is_common | Boolean |
|
| tags | Array of TagsInfo objects |
|
| enterprise_project_id | String |
Minimum length: 0 Maximum length: 36 |
| allow_share_bandwidth_types | Array of strings |
Maximum length: 64 |
| Parameter | Type | Description |
|---|---|---|
| order_id | String |
Minimum length: 0 Maximum length: 64 |
| product_id | String |
Minimum length: 0 Maximum length: 64 |
| Parameter | Type | Description |
|---|---|---|
| key | String |
Minimum length: 0 Maximum length: 64 |
| value | String |
Minimum length: 0 Maximum length: 256 |
| Parameter | Type | Description |
|---|---|---|
| previous_marker | String | Marker value of the previous page. Minimum length: 0 Maximum length: 36 |
| next_marker | String | Marker value of the next page. Minimum length: 0 Maximum length: 36 |
| current_count | Integer | Total number of data records on the current page. Minimum value: 0 Maximum value: 99999 |
Example Request
None
Example Response
Status code: 200
Normal response to the GET operation
{
"publicip_pools" : [ {
"id" : "f588ccfa-8750-4d7c-bf5d-2ede24414706",
"name" : "test_pool_xxx",
"status" : "active",
"shared" : true,
"is_common" : false,
"enterprise_project_id" : 0,
"type" : "spec_bgp",
"project_id" : "8b7e35ad379141fc9df3e178bd64f55c",
"size" : 100,
"used" : 20,
"billing_info" : {
"order_id" : "CS20081917179HW3H",
"product_id" : "00301-335034-0--0"
},
"created_at" : "2020-07-17T09:25:53Z",
"updated_at" : "2020-07-17T09:25:53Z",
"description" : "test",
"public_border_group" : "center",
"allow_share_bandwidth_types" : [ "share" ]
} ],
"request_id" : "4a06c169-cc67-4d94-a786-2d70ef09b100",
"page_info" : {
"previous_marker" : "f588ccfa-8750-4d7c-bf5d-2ede24414706",
"current_count" : 1
}
} Status Codes
See Status Codes.
Error Codes
See Error Codes.