Queries available IP address pools.
Operation description
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PublicIpAddressPoolIds |
array |
No |
The IDs of the IP address pool. You can specify up to 100 IDs. |
|
|
string |
No |
The ID of the IP address pool. You can specify up to 100 IDs. |
pippool-6wetvn6fumkgycssx**** |
|
| Status |
string |
No |
The status of the IP address pool. Valid values:
|
Created |
| MaxResults |
integer |
No |
The maximum number of entries to return. Valid values: 10 to 100. Default value: 10. |
10 |
| NextToken |
string |
No |
The pagination token for the next request to retrieve a new page of results.
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| Isp |
string |
No |
The line type. Valid values:
BGP (Multi-ISP) and BGP (Multi-ISP) Pro lines are described in What is EIP?. If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to BGP_FinanceCloud. |
BGP |
| Name |
string |
No |
The name of the IP address pool. The name must be 1 to 128 characters in length, start with a letter, and can contain digits, periods (.), underscores (_), and hyphens (-). It cannot start with |
AddressPoolName |
| DryRun |
boolean |
No |
Specifies whether to perform only a dry run. Valid values:
|
false |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the IP address pool belongs. |
rg-acfmxazb4pcdvf**** |
| Tags |
array<object> |
No |
The tags to add to the resource. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key. You can specify up to 20 tag keys. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with |
FinanceDept |
| Value |
string |
No |
The tag value. You can specify up to 20 tag values. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with |
FinanceJoshua |
| RegionId |
string |
Yes |
The region ID of the IP address pool. Call DescribeRegions to query the region ID. |
cn-chengdu |
| SecurityProtectionEnabled |
boolean |
No |
Specifies whether to enable Anti-DDoS Pro/Premium. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
| NextToken |
string |
The pagination token for subsequent requests.
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| PublicIpAddressPoolList |
array<object> |
The IP address pools. |
|
|
array<object> |
The IP address pool details. |
||
| PublicIpAddressPoolId |
string |
The ID of the IP address pool. |
pippool-6wetvn6fumkgycssx**** |
| RegionId |
string |
The region ID of the IP address pool. |
cn-chengdu |
| CreationTime |
string |
The time when the IP address pool was created. The time is displayed in the |
2022-05-10T01:37:38Z |
| Isp |
string |
The line type.
BGP (Multi-ISP) and BGP (Multi-ISP) Pro are described in EIP line types. If you are allowed to use single-ISP bandwidth, one of the following values may be returned:
If your services are deployed in China East 1 Finance, BGP_FinanceCloud is returned. |
BGP |
| Name |
string |
The name of the IP address pool. |
AddressPoolName |
| Status |
string |
The status of the IP address pool.
|
Created |
| Description |
string |
The description of the IP address pool. |
AddressPoolDescription |
| TotalIpNum |
integer |
The total number of available IP addresses in the public IP address pool. |
100 |
| UsedIpNum |
integer |
The number of used IP addresses in the public IP address pool. |
20 |
| IpAddressRemaining |
boolean |
Indicates whether idle IP addresses exist.
|
true |
| UserType |
string |
The user type. Valid values:
|
admin |
| OwnerId |
integer |
The Alibaba Cloud account to which the IP address pool belongs. |
121012345612***** |
| ShareType |
string |
The sharing type of the IP address pool.
|
Shared |
| ResourceGroupId |
string |
The ID of the resource group to which the IP address pool belongs. |
rg-acfmxazb4pcdvf**** |
| Tags |
array<object> |
The tag list. |
|
|
object |
|||
| Key |
string |
The key of tag N. |
FinanceDept |
| Value |
string |
The value of tag N. |
FinanceDept |
| BizType |
string |
The service type of the IP address pool.
|
CloudBox |
| Zones |
array |
The zone of the IP address pool. This parameter is returned only when the service type of the IP address pool is CloudBox. |
|
|
string |
The zone of the IP address pool. This parameter is returned only when the service type of the IP address pool is CloudBox. |
ap-southeast-1-lzdvn-cb |
|
| SecurityProtectionTypes |
array |
The edition of Anti-DDoS.
|
|
|
string |
The edition of Anti-DDoS.
|
AntiDDoS_Enhanced |
|
| BusinessStatus |
string |
The status of the IP address pool.
|
Normal |
Examples
Success response
JSON format
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF",
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"TotalCount": 1,
"PublicIpAddressPoolList": [
{
"PublicIpAddressPoolId": "pippool-6wetvn6fumkgycssx****",
"RegionId": "cn-chengdu",
"CreationTime": "2022-05-10T01:37:38Z",
"Isp": "BGP",
"Name": "AddressPoolName",
"Status": "Created",
"Description": "AddressPoolDescription",
"TotalIpNum": 100,
"UsedIpNum": 20,
"IpAddressRemaining": true,
"UserType": "admin",
"OwnerId": 0,
"ShareType": "Shared",
"ResourceGroupId": "rg-acfmxazb4pcdvf****",
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceDept"
}
],
"BizType": "CloudBox",
"Zones": [
"ap-southeast-1-lzdvn-cb"
],
"SecurityProtectionTypes": [
"AntiDDoS_Enhanced"
],
"BusinessStatus": "Normal"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.Isp | The param of Isp [%s] is illegal. | The error message returned because the Isp parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | IllegalParam.NextToken | The specified NextToken is invalid. | The specified NextToken is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.