Querying the BYOIP Pools
Function
This API is used to query the BYOIP pools.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
GET /v1/byoip-pools
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
limit |
No |
Integer |
Specifies the number of resources on each page. If this parameter is not specified, the default value is 500. |
|
marker |
No |
String |
Specifies the ID of the resource from which pagination query starts, that is, the ID of the last resource on the previous page. If the parameter is not specified, only resources on the first page are queried. This parameter must be used together with limit. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
Specifies the user token. The token can be obtained by calling the IAM API. The value of X-Subject-Token in the response header is the user token. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
request_id |
String |
Specifies the request ID. |
|
byoip_pools |
Array of ByoipPool objects |
Specifies the BYOIP pools. |
|
page_info |
PageInfo object |
Specifies the pagination query information. |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Specifies the ID of the BYOIP pool. |
|
cidr |
String |
Specifies the CIDR block of the BYOIP pool. |
|
ip_type |
String |
The IP address type. Value range: IPV4 and IPV6 |
|
created_at |
String |
Specifies when the BYOIP pool was created. |
|
updated_at |
String |
Specifies when the BYOIP pool was updated. |
|
area |
String |
Specifies the acceleration area. Value: EUROPE |
|
domain_id |
String |
Specifies the tenant ID. |
Example Requests
Request example for querying BYOIP pools.
GET https://{ga_endpoint}/v1/byoip-pools
Example Responses
Status code: 200
Successful operation.
{
"request_id" : "915a14a6-867b-4af7-83d1-70efceb146f9",
"byoip_pools" : [ {
"id" : "ac1bf54f-6a23-4074-af77-800648d25bc8",
"cidr" : "208.188.100.0/24",
"ip_type" : "IPV4",
"created_at" : "2019-01-08T01:21:37Z",
"updated_at" : "2019-01-08T01:21:37Z",
"area" : "EUROPE",
"domain_id" : "99a3fff0d03c428eac3678da6a7d0f24"
} ],
"page_info" : {
"next_marker" : "09e86f09-03fc-440e-8132-03f3e149e979",
"current_count" : 10
}
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Successful operation. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.