forked from docs/virtual-private-cloud
VPC Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: proposalbot <proposalbot@otc-service.com> Co-committed-by: proposalbot <proposalbot@otc-service.com>
17 KiB
17 KiB
- original_name
ListCommonPools.html
Querying Common Pools
Function
This API is used to query common pools. (This API is not supported in eu-nl.)
URI
GET /v3/{project_id}/eip/publicip-pools/common-pools
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String |
Minimum length: 0 Maximum length: 32 |
Parameter | Mandatory | Type | Description |
---|---|---|---|
fields | No | String |
Minimum length: 0 Maximum length: 1024 |
name | No | String |
Minimum length: 0 Maximum length: 36 |
public_border_group | No | String |
Minimum length: 0 Maximum length: 64 |
Request Parameter
None
Response Parameters
Status code: 200
Parameter | Type | Description |
---|---|---|
common_pools | Array of CommonPoolDict <listcommonpools__en-us_topic_0000001543023733_en-us_topic_0000001455540341_response_commonpooldict> objects |
Common pool. |
request_id | String | Request ID. |
Parameter | Type | Description |
---|---|---|
name | String |
Minimum length: 0 Maximum length: 36 |
status | String |
Minimum length: 0 Maximum length: 36 |
type | String |
Minimum length: 0 Maximum length: 36 |
used | Integer |
Minimum value: 0 Maximum value: 99999 |
public_border_group | String |
Minimum length: 1 Maximum length: 64 |
id | String |
Minimum length: 0 Maximum length: 36 |
allow_share_bandwidth_types | Array of strings |
|
Example Request
None
Example Response
Status code: 200
Normal response to the GET operation
{
"common_pools" : [ {
"name" : "5_bgp",
"status" : "active",
"type" : "bgp",
"used" : 99,
"public_border_group" : "center",
"allow_share_bandwidth_types" : [ "share" ]
} ],
"request_id" : "4a06c169-cc67-4d94-a786-2d70ef09b100"
}
Status Codes
See Status Codes <vpc_api_0002>
.
Error Codes
See Error Codes <vpc_api_0003>
.