ListEgressProxyIpPools
Queries egress proxy IP pools.
Operation description
Invokes this API operation to perform a paged query of egress proxy IP pools.
You can filter the query results by egress proxy gateway ID, egress proxy IP pool ID, egress proxy IP pool name, status, or tag.
ListEgressProxyIpPools is a synchronous API operation that returns a list of egress proxy IP pools that meet the specified conditions in real time after you invoke it. The response is paginated by using MaxResults and NextToken:
If NextToken is empty, all data has been returned.
If NextToken has a value, you can use it as the NextToken parameter in the next invocation to continue the paged query.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
epg:ListEgressProxyIpPools |
list |
EgressProxyIpPool
EgressProxyIpPool
EgressProxyGateway
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MaxResults |
integer |
No |
The maximum number of entries to return per page during paging. Valid values: 1 to 1000. Default value: 20. |
12 |
| NextToken |
string |
No |
The token for the next query. Valid values:
|
FFmyTO70tTpLG6I3FmYAXG**** |
| Skip |
integer |
No |
The number of entries to skip during paging. Default value: 0. |
1 |
| EgressProxyGatewayIds |
array |
No |
Filters by egress proxy gateway ID. |
|
|
string |
No |
The ID of the egress proxy gateway. |
epg-gw80bb6a94f835db**** |
|
| EgressProxyIpPoolIds |
array |
No |
Filters by egress proxy IP pool ID. |
|
|
string |
No |
The ID of the egress proxy IP pool. |
eppool-gw80d96a96ca0b00**** |
|
| EgressProxyIpPoolNames |
array |
No |
Filters by egress proxy IP pool name. |
|
|
string |
No |
The name of the egress proxy IP pool. |
testEpg |
|
| Status |
string |
No |
Filters by the status of the egress proxy IP pool. Valid values:
|
Available |
| Tag |
array<object> |
No |
Filters by tag. |
|
|
object |
No |
The tag filter condition. |
||
| Key |
string |
No |
The tag key. The key can be up to 128 characters in length, and cannot start with |
testKey |
| Value |
string |
No |
The tag value. The value can be up to 256 characters in length, and cannot contain |
testValue |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EgressProxyIpPools |
array<object> |
The list of egress proxy IP pools. |
|
|
array<object> |
The egress proxy IP pool information. |
||
| EgressProxyIpPoolId |
string |
The ID of the egress proxy IP pool. |
eppool-gw80d96a96ca0b00**** |
| EgressProxyGatewayId |
string |
The ID of the egress proxy gateway to which the egress proxy IP pool belongs. |
epg-gw80bb6a94f835db**** |
| EgressProxyIpPoolName |
string |
The name of the egress proxy IP pool. The name must be 2 to 128 characters in length, and must start with a letter or a Chinese character. It can contain digits, periods (.), underscores (_), and hyphens (-). |
testEpg |
| Description |
string |
The description of the egress proxy IP pool. The description must be 2 to 256 characters in length and can contain letters and Chinese characters. It can also contain digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (_), and hyphens (-). |
testEpg |
| Status |
string |
The status of the egress proxy IP pool. Valid values:
Valid values:
|
Available |
| AddressType |
string |
The address type of the egress proxy IP pool. Valid values:
Valid values:
|
Intranet |
| Scheduler |
string |
The scheduling algorithm for egress IP addresses, which determines how an egress IP address is selected from the IP pool. Valid values:
Valid values:
|
Random |
| HashFactor |
string |
The hash factor used for consistent hashing scheduling. This parameter is returned only when the Scheduler parameter is set to ConsistentHash. Valid values:
Valid values:
|
SourceIP |
| HashHeaderName |
string |
The name of the custom hash request header. This parameter is returned only when the HashFactor parameter is set to HttpHeader. |
X-Forwarded-For |
| Tags |
array<object> |
The list of tags. |
|
|
object |
The tag. |
||
| Key |
string |
The tag key. The key can be up to 128 characters in length, and cannot start with |
testKey |
| Value |
string |
The tag value. The value can be up to 256 characters in length, and cannot contain |
testValue |
| CreateTime |
string |
The time when the egress proxy IP pool was created. The time is displayed in UTC in the |
2022-07-02T02:49:05Z |
| NextToken |
string |
The token for the next query. Valid values:
|
caeba0bbb2be03f8**** |
| MaxResults |
integer |
The maximum number of entries returned per page in the current query. |
10 |
| TotalCount |
integer |
The total number of egress proxy IP pools that meet the conditions. |
3 |
| RequestId |
string |
The request ID. |
C79118A9-CA6D-5359-B53E-111BE8A03DCF |
Examples
Success response
JSON format
{
"EgressProxyIpPools": [
{
"EgressProxyIpPoolId": "eppool-gw80d96a96ca0b00****",
"EgressProxyGatewayId": "epg-gw80bb6a94f835db****",
"EgressProxyIpPoolName": "testEpg",
"Description": "testEpg",
"Status": "Available",
"AddressType": "Intranet",
"Scheduler": "Random",
"HashFactor": "SourceIP",
"HashHeaderName": "X-Forwarded-For",
"Tags": [
{
"Key": "testKey",
"Value": "testValue"
}
],
"CreateTime": "2022-07-02T02:49:05Z"
}
],
"NextToken": "caeba0bbb2be03f8****",
"MaxResults": 10,
"TotalCount": 3,
"RequestId": "C79118A9-CA6D-5359-B53E-111BE8A03DCF"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.TagKey | The param of %s is illegal. | The value of the tag key parameter is invalid. |
| 400 | IllegalParam.TagValue | The param of %s is illegal. | The value of the tag value parameter is invalid. |
| 400 | IllegalParam.NextToken | The param of %s is illegal. | The value of the NextToken parameter query token is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.