Queries the endpoint groups that are associated with a custom routing listener.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListCustomRoutingEndpointGroups |
list |
*CustomRoutingEndpointGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the Global Accelerator (GA) instance is deployed. Set the value to cn-hangzhou. |
cn-hangzhou |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Maximum value: 50. Default value: 10. |
10 |
| AcceleratorId |
string |
Yes |
The ID of the GA instance. |
ga-bp1odcab8tmno0hdq**** |
| ListenerId |
string |
No |
The ID of the custom routing listener. |
lsr-bp1bpn0kn908w4nbw**** |
| EndpointGroupId |
string |
No |
The ID of the endpoint group. |
epg-bp14sz7ftcwwjgrdm**** |
| AccessLogSwitch |
string |
No |
Whether access logging is enabled. Valid value: on. If left empty, all endpoint groups are returned. |
on |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| TotalCount |
integer |
The number of entries returned. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number. |
1 |
| EndpointGroups |
array<object> |
The endpoint group configurations. |
|
|
array<object> |
The endpoint group configurations. |
||
| AcceleratorId |
string |
The ID of the GA instance. |
ga-bp1odcab8tmno0hdq**** |
| ListenerId |
string |
The ID of the custom routing listener. |
lsr-bp1bpn0kn908w4nbw**** |
| EndpointGroupId |
string |
The ID of the endpoint group. |
epg-bp14sz7ftcwwjgrdm**** |
| Name |
string |
The name of the endpoint group. |
group1 |
| Description |
string |
The description of the endpoint group. |
EndpointGroup |
| EndpointGroupIpList |
array |
The endpoint group IP addresses. |
|
|
string |
The endpoint group IP address. |
203.0.XX.XX |
|
| EndpointGroupUnconfirmedIpList |
array |
The endpoint group IP addresses to be confirmed after the GA instance is upgraded. |
|
|
string |
The endpoint group IP address to be confirmed after the GA instance is upgraded. |
203.0.XX.XX |
|
| EndpointGroupRegion |
string |
The ID of the region where the endpoint group is created. |
cn-hangzhou |
| State |
string |
The status of the endpoint group. Valid values:
|
active |
| ServiceId |
string |
The ID of the service that manages the instance. Note
This parameter takes effect only if ServiceManaged is set to True. |
ALB |
| ServiceManaged |
boolean |
Whether the GA instance is managed. Valid values:
|
true |
| ServiceManagedInfos |
array<object> |
Actions that users can perform on the managed instance. Note
|
|
|
object |
Action policies for the managed instance. |
||
| Action |
string |
The name of the action on the managed instance. Valid values:
|
Update |
| 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 |
Whether the specified actions are managed.
|
false |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"TotalCount": 1,
"PageSize": 10,
"PageNumber": 1,
"EndpointGroups": [
{
"AcceleratorId": "ga-bp1odcab8tmno0hdq****",
"ListenerId": "lsr-bp1bpn0kn908w4nbw****",
"EndpointGroupId": "epg-bp14sz7ftcwwjgrdm****",
"Name": "group1",
"Description": "EndpointGroup",
"EndpointGroupIpList": [
"203.0.XX.XX"
],
"EndpointGroupUnconfirmedIpList": [
"203.0.XX.XX"
],
"EndpointGroupRegion": "cn-hangzhou",
"State": "active",
"ServiceId": "ALB",
"ServiceManaged": true,
"ServiceManagedInfos": [
{
"Action": "Update",
"ChildType": "Listener",
"IsManaged": true
}
]
}
]
}
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.