Queries endpoint group information for a basic GA instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:GetBasicEndpointGroup |
get |
*BasicEndpointGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the basic GA instance is deployed. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that ensures the idempotence of the request. You can use the client to generate the token, but you must ensure that the token is unique among different requests. The token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request. |
123e4567-e89b-12d3-a456-426655440000 |
| EndpointGroupId |
string |
Yes |
The ID of the endpoint group. |
epg-bp1dmlohjjz4kqaun**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned information. |
||
| RequestId |
string |
The ID of the request. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| AcceleratorId |
string |
The ID of the basic GA instance. |
ga-bp17frjjh0udz4qz**** |
| EndpointGroupId |
string |
The ID of the endpoint group. |
epg-bp1dmlohjjz4kqaun**** |
| Name |
string |
The name of the endpoint group. |
group1 |
| Description |
string |
The description of the endpoint group. |
BasicEndpointGroup |
| EndpointGroupRegion |
string |
The ID of the region where the endpoint group resides. |
cn-shanghai |
| EndpointType |
string |
The type of endpoint. Valid values:
|
ENI |
| EndpointAddress |
string |
The address of the endpoint. |
eni-bp1a05txelswuj8g**** |
| State |
string |
The status of the endpoint group. Valid values:
|
active |
| EndpointSubAddress |
string |
The secondary address of the endpoint. Returned only when the endpoint type is ECS, ENI, or NLB.
|
172.16.XX.XX |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"AcceleratorId": "ga-bp17frjjh0udz4qz****",
"EndpointGroupId": "epg-bp1dmlohjjz4kqaun****",
"Name": "group1",
"Description": "BasicEndpointGroup",
"EndpointGroupRegion": "cn-shanghai",
"EndpointType": "ENI",
"EndpointAddress": "eni-bp1a05txelswuj8g****",
"State": "active",
"EndpointSubAddress": "172.16.XX.XX"
}
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.