Queries CIDR blocks in an IP address pool.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| PublicIpAddressPoolId | string | Yes | The ID of the IP address pool. | pippool-6wetvn6fumkgycssx**** |
| CidrBlock | string | No | The CIDR blocks. | 47.0.XX.XX/24 |
| MaxResults | integer | No | The maximum number of entries to return. Valid values: 10 to 100. Default value: 10. | 10 |
| NextToken | string | No | The token that is used for the next query. Valid values:
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
| DryRun | boolean | No | Specifies whether to perform a dry run. Valid values:
| false |
| RegionId | string | Yes | The region ID of the CIDR blocks. | cn-chengdu |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF",
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"TotalCount": 10,
"PublicIpPoolCidrBlockList": [
{
"PublicIpAddressPoolId": "pippool-6wetvn6fumkgycssx****",
"CidrBlock": "47.0.XX.XX/24",
"CreationTime": "2022-05-10T01:37:38Z",
"Status": "Created",
"UsedIpNum": 20,
"TotalIpNum": 20
}
]
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-07-31 | The Error code has changed | View Change Details |
| 2023-06-26 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
| 2023-05-15 | The response structure of the API has changed | View Change Details |
