Invokes the DescribeCustomRoutingEndpointGroupDestinations operation to query the mapping configuration of a specified endpoint group (custom route listener).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:DescribeCustomRoutingEndpointGroupDestinations |
get |
*CustomRoutingEndpointGroupDestination
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Alibaba Cloud Global Accelerator (GA) instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| DestinationId |
string |
Yes |
The ID of the endpoint group mapping configuration to query. |
dst-123abc**** |
| EndpointGroupId |
string |
No |
The ID of the endpoint group to which the mapping configuration belongs. |
epg-bp1j184jhb9i9ubwf**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| AcceleratorId |
string |
The instance ID of the Alibaba Cloud Global Accelerator (GA) to which the endpoint group mapping configuration belongs. |
ga-bp1odcab8tmno0hdq**** |
| ListenerId |
string |
The ID of the listener to which the endpoint group mapping configuration belongs. |
lsr-bp1bpn0kn908w4nbw**** |
| EndpointGroupId |
string |
The endpoint group ID. |
epg-bp14sz7ftcwwjgrdm**** |
| DestinationId |
string |
The ID of the endpoint group mapping configuration. |
dst-123abc**** |
| Protocols |
array |
The Protocol Type of the backend service for the endpoint group.
|
|
|
string |
The Protocol Type of the backend service for the endpoint group.
|
TCP |
|
| FromPort |
integer |
The start port of the backend service for the endpoint group. |
80 |
| ToPort |
integer |
The end port of the backend service for the endpoint group. |
80 |
| State |
string |
The status of the endpoint group mapping configuration. Valid values:
|
active |
| ServiceId |
string |
The service ID to which the managed instance belongs. Note
This parameter is valid only when ServiceManaged is set to True. |
ALB |
| ServiceManaged |
boolean |
Indicates whether the instance is managed. Valid values:
|
true |
| ServiceManagedInfos |
array<object> |
The list of action policies that the user can execute on the managed instance. Note
This parameter is valid only when ServiceManaged is set to True.
|
|
|
object |
The list of action policies that the user can execute on the managed instance. |
||
| Action |
string |
Managed policy action name, Valid values:
|
Update |
| ChildType |
string |
The type of the child resource. Valid values:
Note
This parameter is valid only when Action is set to CreateChild. |
Listener |
| IsManaged |
boolean |
Indicates whether the managed policy action is managed. Valid values:
|
false |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"AcceleratorId": "ga-bp1odcab8tmno0hdq****",
"ListenerId": "lsr-bp1bpn0kn908w4nbw****",
"EndpointGroupId": "epg-bp14sz7ftcwwjgrdm****",
"DestinationId": "dst-123abc****",
"Protocols": [
"TCP"
],
"FromPort": 80,
"ToPort": 80,
"State": "active",
"ServiceId": "ALB",
"ServiceManaged": true,
"ServiceManagedInfos": [
{
"Action": "Update",
"ChildType": "Listener",
"IsManaged": false
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | An error occurred while the request was being processed. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.