Queries the configuration of an endpoint group that is associated with a custom routing listener.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeCustomRoutingEndpointGroup

The operation that you want to perform. Set the value to DescribeCustomRoutingEndpointGroup.

RegionId String Yes cn-hangzhou

The ID of the region where the Global Accelerator (GA) instance is deployed. Set the value to cn-hangzhou.

EndpointGroupId String Yes epg-bp1dmlohjjz4kqaua****

The ID of the endpoint group.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

AcceleratorId String ga-bp1odcab8tmno0hdq****

The ID of the GA instance.

ListenerId String lsr-bp1bpn0kn908w4nbw****

The ID of the custom routing listener.

EndpointGroupId String epg-bp1dmlohjjz4kqaua****

The ID of the endpoint group.

Name String group1

The name of the endpoint group.

Description String EndpointGroup

The description of the endpoint group.

EndpointGroupIpList Array of String 203.0.XX.XX

The list of endpoint group IP addresses.

EndpointGroupUnconfirmedIpList Array of String 203.0.XX.XX

The endpoint group IP addresses to be confirmed after the GA instance is upgraded.

EndpointGroupRegion String cn-hangzhou

The ID of the region where the endpoint group is created.

State String active

The status of the endpoint group.

  • init: being initialized
  • active: running as expected
  • updating: being updated
  • deleting: being deleted
SlsRegion String cn-hangzhou

The region of the logs that are created in Log Service.

SlsProjectName String pn-01

The name of the Log Service project.

SlsLogStoreName String lsn-01

The name of the Logstore.

AccessLogSwitch String on

The status of the logs.

  • on: associated
  • off: not associated
  • binding: being associated
  • unbinding: being disassociated
EnableAccessLog Boolean on

Indicates whether access logging is enabled.

  • on: enabled
  • off: disabled

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeCustomRoutingEndpointGroup
&RegionId=cn-hangzhou
&EndpointGroupId=epg-bp1dmlohjjz4kqaua****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeCustomRoutingEndpointGroupResponse>
    <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
    <AcceleratorId>ga-bp1odcab8tmno0hdq****</AcceleratorId>
    <ListenerId>lsr-bp1bpn0kn908w4nbw****</ListenerId>
    <EndpointGroupId>epg-bp1dmlohjjz4kqaua****</EndpointGroupId>
    <Name>group1</Name>
    <Description>EndpointGroup</Description>
    <EndpointGroupIpList>203.0.XX.XX</EndpointGroupIpList>
    <EndpointGroupUnconfirmedIpList>203.0.XX.XX</EndpointGroupUnconfirmedIpList>
    <EndpointGroupRegion>cn-hangzhou</EndpointGroupRegion>
    <State>active</State>
    <SlsRegion>cn-hangzhou</SlsRegion>
    <SlsProjectName>pn-01</SlsProjectName>
    <SlsLogStoreName>lsn-01</SlsLogStoreName>
    <AccessLogSwitch>on</AccessLogSwitch>
    <EnableAccessLog>false</EnableAccessLog>
</DescribeCustomRoutingEndpointGroupResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368",
  "AcceleratorId" : "ga-bp1odcab8tmno0hdq****",
  "ListenerId" : "lsr-bp1bpn0kn908w4nbw****",
  "EndpointGroupId" : "epg-bp1dmlohjjz4kqaua****",
  "Name" : "group1",
  "Description" : "EndpointGroup",
  "EndpointGroupIpList" : [ "203.0.XX.XX" ],
  "EndpointGroupUnconfirmedIpList" : [ "203.0.XX.XX" ],
  "EndpointGroupRegion" : "cn-hangzhou",
  "State" : "active",
  "SlsRegion" : "cn-hangzhou",
  "SlsProjectName" : "pn-01",
  "SlsLogStoreName" : "lsn-01",
  "AccessLogSwitch" : "on",
  "EnableAccessLog" : false
}

Error codes

For a list of error codes, visit the API Error Center.