GetEgressProxyConfigurationAttribute
Queries the details of an egress proxy configuration.
Operation description
GetEgressProxyConfigurationAttribute is a synchronous API operation. After you call this operation, it returns the details of the specified egress proxy configuration in real time. You can determine the current status of the egress proxy configuration based on the returned Status parameter. For example, Provisioning indicates that the configuration is being created, and Available indicates that the configuration is created and available.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
epg:GetEgressProxyConfigurationAttribute |
get |
*EgressProxyConfiguration
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EgressProxyConfigurationId |
string |
Yes |
The ID of the egress proxy configuration. |
epc-hn302f6a9a284c4f**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EgressProxyConfigurationId |
string |
The ID of the egress proxy configuration. |
epc-uf609a6a8fdf9f4d**** |
| EgressProxyConfigurationName |
string |
The name of the egress proxy configuration. 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 configuration. The description must be 2 to 256 characters in length and can contain Chinese characters, letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_). |
testEpg |
| DefaultRulePhaseActions |
object |
The default actions executed in each effective phase (PreDns, PreRequest, and PostResponse) when traffic does not match any rules. |
|
| PreDns |
string |
The default action executed in the PreDns phase (before DNS resolution) when traffic does not match any rules. Valid values:
Valid values:
|
Allow |
| PreRequest |
string |
The default action executed in the PreRequest phase (before request forwarding) when traffic does not match any rules. Valid values:
Valid values:
|
Allow |
| PostResponse |
string |
The default action executed in the PostResponse phase (after the response is returned) when traffic does not match any rules. This phase only supports the Allow value, which allows the traffic. This is the default value. Valid values:
|
Allow |
| RuleGroups |
array<object> |
The list of egress rule group references associated with the egress proxy configuration. |
|
|
object |
The rule group information. |
||
| EgressProxyRuleGroupId |
string |
The ID of the egress rule group. |
eprg-uf60966a9633667c**** |
| Priority |
integer |
The priority of the egress rule group in the egress proxy configuration. Valid values: 1 to 1000. A smaller value indicates a higher priority. |
1 |
| Status |
string |
The status of the egress proxy configuration. Valid values:
Valid values:
|
Available |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-aekzorljcazp**** |
| 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 |
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 configuration was created. The time is displayed in UTC in the yyyy-MM-ddTHH:mm:ssZ format. |
2026-02-02T02:20:24Z |
| RequestId |
string |
The ID of the request. |
C79118A9-CA6D-5359-B53E-111BE8A03DCF |
Examples
Success response
JSON format
{
"EgressProxyConfigurationId": "epc-uf609a6a8fdf9f4d****",
"EgressProxyConfigurationName": "testEpg",
"Description": "testEpg",
"DefaultRulePhaseActions": {
"PreDns": "Allow",
"PreRequest": "Allow",
"PostResponse": "Allow"
},
"RuleGroups": [
{
"EgressProxyRuleGroupId": "eprg-uf60966a9633667c****",
"Priority": 1
}
],
"Status": "Available",
"ResourceGroupId": "rg-aekzorljcazp****",
"Tags": [
{
"Key": "testKey",
"Value": "testValue"
}
],
"CreateTime": "2026-02-02T02:20:24Z",
"RequestId": "C79118A9-CA6D-5359-B53E-111BE8A03DCF"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ResourceNotFound.EgressProxyConfiguration | The specified resource of %s is not found. | The specified egress proxy configuration resource does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.