GetEgressProxyIpPoolAttribute
Queries the details of an egress proxy IP pool.
Operation description
GetEgressProxyIpPoolAttribute is a synchronous API operation that returns the current attribute information of the egress proxy IP pool in real time after it is called.
You can determine the current status of the egress proxy IP pool based on the returned Status parameter. For example, Provisioning indicates that the pool is being created, Available indicates that the pool is available, and Configuring indicates that the pool is being reconfigured.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
epg:GetEgressProxyIpPoolAttribute |
get |
*EgressProxyIpPool
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EgressProxyIpPoolId |
string |
Yes |
The ID of the egress proxy IP pool. |
eppool-gw80d96a96ca0b00**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EgressProxyIpPoolId |
string |
The ID of the egress proxy IP pool. |
eppool-gw80d96a96ca0b00**** |
| 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 Chinese characters and letters. It can also contain digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (_), and hyphens (-). |
testEpg |
| EgressProxyGatewayId |
string |
The ID of the egress proxy gateway to which the egress proxy IP pool belongs. |
epg-gw80bb6a94f835db**** |
| 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 |
| ZoneMappings |
array<object> |
The list of zone and vSwitch mappings for the egress proxy IP pool, including the IP addresses in each zone. |
|
|
array<object> |
The zone and vSwitch mapping. |
||
| ZoneId |
string |
The zone ID. You can call the DescribeZones operation to query information about zones in a region. |
cn-guangzhou-b |
| VSwitchId |
string |
The ID of the vSwitch that corresponds to the zone. Private IPv4 addresses are allocated from the CIDR block of this vSwitch. |
vsw-uf64h3tjn2xsd94mb**** |
| IpAddresses |
array<object> |
The list of IP addresses in the zone. |
|
|
object |
The IP address information. |
||
| PublicIpv4Address |
string |
The public IPv4 address. When the AddressType parameter is set to Internet, this is the public IPv4 address that corresponds to the elastic IP address (EIP). |
48.101.2.1 |
| PrivateIpv4Address |
string |
The private IPv4 address. When the AddressType parameter is set to Intranet, this is a private IPv4 address within the vSwitch CIDR block. |
192.168.10.1 |
| EipAllocationId |
string |
The ID of the elastic IP address (EIP) instance. This parameter is returned when the AddressType parameter is set to Internet. |
eip-2zep1zbmxnvoyt1vsj**** |
| Status |
string |
The status of the egress proxy IP pool. Valid values:
Valid values:
|
Available |
| Tags |
array<object> |
The list of tags. |
|
|
object |
The tag information. |
||
| Key |
string |
The tag key. The key can be up to 128 characters in length, 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 |
| RequestId |
string |
The request ID. |
01A05AB8-D4FC-5B68-B645-5BA513A94F36 |
Examples
Success response
JSON format
{
"EgressProxyIpPoolId": "eppool-gw80d96a96ca0b00****",
"EgressProxyIpPoolName": "testEpg",
"Description": "testEpg",
"EgressProxyGatewayId": "epg-gw80bb6a94f835db****",
"AddressType": "Intranet",
"Scheduler": "Random",
"HashFactor": "SourceIP",
"HashHeaderName": "X-Forwarded-For",
"ZoneMappings": [
{
"ZoneId": "cn-guangzhou-b",
"VSwitchId": "vsw-uf64h3tjn2xsd94mb****",
"IpAddresses": [
{
"PublicIpv4Address": "48.101.2.1",
"PrivateIpv4Address": "192.168.10.1",
"EipAllocationId": "eip-2zep1zbmxnvoyt1vsj****"
}
]
}
],
"Status": "Available",
"Tags": [
{
"Key": "testKey",
"Value": "testValue"
}
],
"CreateTime": "2022-07-02T02:49:05Z",
"RequestId": "01A05AB8-D4FC-5B68-B645-5BA513A94F36"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ResourceNotFound.EgressProxyIpPool | The specified resource of %s is not found. | The specified egress proxy IP address pool resource does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.