Invokes the ListCustomRoutingEndpointGroupDestinations operation to query the destination configurations of an endpoint group for a custom route listener.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListCustomRoutingEndpointGroupDestinations |
list |
*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 |
| PageNumber |
integer |
No |
The page number of the list. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page for a paged query. Maximum value: 50. Default value: 10. |
10 |
| AcceleratorId |
string |
Yes |
The instance ID of the Alibaba Cloud Global Accelerator (GA) instance for which you want to query endpoint group destination configurations. |
ga-bp1odcab8tmno0hdq**** |
| ListenerId |
string |
No |
The ID of the listener for which you want to query endpoint group destination configurations. |
lsr-bp1bpn0kn908w4nbw**** |
| EndpointGroupId |
string |
No |
The ID of the endpoint group for which you want to query destination configurations. |
epg-bp16jdc00bhe97sr5**** |
| Protocols |
array |
No |
The protocol type of the backend service of the endpoint group. Valid values:
If this parameter is left empty, all protocol types are queried. You can specify up to 10 protocol entries. |
|
|
string |
No |
The protocol type of the backend service of the endpoint group. Valid values:
If this parameter is left empty, all protocol types are queried. You can specify up to 10 protocol entries. |
TCP |
|
| FromPort |
integer |
No |
The start port of the backend service of the endpoint group. Valid values: 1 to 65499. The value of FromPort must be less than or equal to the value of ToPort. |
80 |
| ToPort |
integer |
No |
The end port of the backend service of the endpoint group. Valid values: 1 to 65499. The value of FromPort must be less than or equal to the value of ToPort. |
80 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| PageSize |
integer |
The number of entries per page in a paging query. |
10 |
| PageNumber |
integer |
The page number of the list. |
1 |
| Destinations |
array<object> |
The destination configurations of the endpoint group. |
|
|
array<object> |
The destination configurations of the endpoint group. |
||
| AcceleratorId |
string |
The instance ID of the Alibaba Cloud Global Accelerator (GA) instance to which the endpoint group destination configuration belongs. |
ga-bp1odcab8tmno0hdq**** |
| ListenerId |
string |
The ID of the listener to which the endpoint group destination configuration belongs. |
lsr-bp1bpn0kn908w4nbw**** |
| EndpointGroupId |
string |
The ID of the endpoint group to which the destination configuration belongs. |
epg-bp14sz7ftcwwjgrdm**** |
| DestinationId |
string |
The ID of the endpoint group destination configuration. |
dst-123abc**** |
| Protocols |
array |
The Protocol Type of the backend service of the endpoint group.
|
|
|
string |
The Protocol Type of the backend service of the endpoint group.
|
TCP |
|
| FromPort |
integer |
The start port of the backend service of the endpoint group. |
80 |
| ToPort |
integer |
The end port of the backend service of the endpoint group. |
80 |
| ServiceId |
string |
The ID of the service 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 |
The name of the action that you can perform on the managed instance. Valid values:
|
Create |
| ChildType |
string |
The type of the child resource. Valid values:
Note
This parameter takes effect only if Action is set to CreateChild. |
Listener |
| IsManaged |
boolean |
Indicates whether the specified actions are managed. Valid values:
|
false |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"TotalCount": 1,
"PageSize": 10,
"PageNumber": 1,
"Destinations": [
{
"AcceleratorId": "ga-bp1odcab8tmno0hdq****",
"ListenerId": "lsr-bp1bpn0kn908w4nbw****",
"EndpointGroupId": "epg-bp14sz7ftcwwjgrdm****",
"DestinationId": "dst-123abc****",
"Protocols": [
"TCP"
],
"FromPort": 80,
"ToPort": 80,
"ServiceId": "ALB",
"ServiceManaged": true,
"ServiceManagedInfos": [
{
"Action": "Create",
"ChildType": "Listener",
"IsManaged": false
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | No permissions. | No permissions. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.