GetEgressProxyGatewayAttribute
Queries the details of an egress proxy gateway instance.
Operation description
GetEgressProxyGatewayAttribute is a synchronous API operation that returns the current attributes of an egress proxy gateway in real time after the call.
You can determine the current status of the egress proxy gateway based on the returned Status. For example, Provisioning indicates that the gateway is being created, Active indicates that the gateway is running, Configuring indicates that the gateway is being reconfigured, and Inactive indicates that the gateway is stopped.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
epg:GetEgressProxyGatewayAttribute |
get |
*EgressProxyGateway
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EgressProxyGatewayId |
string |
Yes |
The ID of the egress proxy gateway instance. |
epg-gw80bb6a94f835db**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EgressProxyGatewayId |
string |
The ID of the egress proxy gateway instance. |
epg-gw80bb6a94f835db**** |
| EgressProxyGatewayName |
string |
The name of the egress proxy gateway. 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 gateway instance. The description must be 2 to 256 characters in length, and can contain Chinese and English characters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (_), and hyphens (-). |
testEpg |
| DnsName |
string |
The DNS domain name. |
epg-gw80bb6a94f835****.cn-shanghai.epg.aliyuncs.com |
| VpcId |
string |
The ID of the virtual private cloud (VPC). |
vpc-n4appznmjjr362yd3**** |
| ZoneMappings |
array<object> |
The list of zone and vSwitch mappings. If the current region supports two or more zones, at least two zones must be returned. |
|
|
object |
The mapping between a zone and a vSwitch. |
||
| ZoneId |
string |
The zone ID. |
cn-shanghai-b |
| VSwitchId |
string |
The ID of the vSwitch that corresponds to the zone. |
vsw-f8zvrktbjs9hh3xqz**** |
| Status |
string |
The status of the zone. Valid values:
Valid values:
|
Available |
| EgressProxyConfigurationId |
string |
The ID of the associated egress proxy configuration. |
epc-uf609a6a8fdf9f4d**** |
| ListenerProperties |
array<object> |
The list of listener properties. |
|
|
object |
The listener properties. |
||
| Port |
integer |
The listener port. Valid values: 1 to 65535. |
8080 |
| Protocol |
string |
The listener protocol. Valid values:
Valid values:
|
HTTP |
| TlsInterceptProperties |
object |
The TLS interception properties. |
|
| TlsInterceptMode |
string |
The TLS Block Mode. Valid values:
Valid values:
|
enable |
| PrivateCaCertificateId |
string |
The ID of the private CA certificate. |
1f01a6f9-a0e7-64e5-9d3c-29c056bf**** |
| DefaultEgressProxyIpPoolId |
string |
The ID of the default egress IP pool. |
eppool-gw80d96a96ca0b00**** |
| Status |
string |
The status of the egress proxy gateway instance. Valid values:
Valid values:
|
Active |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-aek2zye42m**** |
| 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. It cannot start with aliyun or acs:, and cannot contain http:// or https://. |
testKey |
| Value |
string |
The tag value. The value can be up to 256 characters in length, and cannot contain http:// or https://. |
testValue |
| CreateTime |
string |
The time when the egress proxy gateway was created. The time is displayed in UTC and follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. |
2022-07-02T02:49:05Z |
| RequestId |
string |
The request ID. |
01A05AB7-6C14-5A12-94E7-F20F9F69AE3D |
Examples
Success response
JSON format
{
"EgressProxyGatewayId": "epg-gw80bb6a94f835db****",
"EgressProxyGatewayName": "testEpg",
"Description": "testEpg",
"DnsName": "epg-gw80bb6a94f835****.cn-shanghai.epg.aliyuncs.com",
"VpcId": "vpc-n4appznmjjr362yd3****",
"ZoneMappings": [
{
"ZoneId": "cn-shanghai-b",
"VSwitchId": "vsw-f8zvrktbjs9hh3xqz****",
"Status": "Available"
}
],
"EgressProxyConfigurationId": "epc-uf609a6a8fdf9f4d****",
"ListenerProperties": [
{
"Port": 8080,
"Protocol": "HTTP"
}
],
"TlsInterceptProperties": {
"TlsInterceptMode": "enable",
"PrivateCaCertificateId": "1f01a6f9-a0e7-64e5-9d3c-29c056bf****"
},
"DefaultEgressProxyIpPoolId": "eppool-gw80d96a96ca0b00****",
"Status": "Active",
"ResourceGroupId": "rg-aek2zye42m****",
"Tags": [
{
"Key": "testKey",
"Value": "testValue"
}
],
"CreateTime": "2022-07-02T02:49:05Z",
"RequestId": "01A05AB7-6C14-5A12-94E7-F20F9F69AE3D"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ResourceNotFound.EgressProxyGateway | The specified resource of %s is not found. | The specified egress proxy gateway resource does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.