Queries the attach relationships between accelerated IP addresses and endpoints of a basic Global Accelerator (GA) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListBasicAccelerateIpEndpointRelations |
list |
*BasicAccelerateIpEndpointRelation
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Global Accelerator instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of a request. Generate a parameter value from your client to ensure that the value is unique among different requests. ClientToken supports only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId may be different for each API request. |
123e4567-e89b-12d3-a456-426655440000 |
| AcceleratorId |
string |
Yes |
The instance ID of the basic Global Accelerator (GA) instance. |
ga-bp17frjjh0udz4qz**** |
| EndpointId |
string |
No |
The endpoint ID of the basic Global Accelerator (GA) instance. |
ep-bp14sz7ftcwwjgrdm**** |
| AccelerateIpId |
string |
No |
The instance ID of the accelerated IP address of the basic Global Accelerator (GA) instance. |
gaip-bp1**** |
| NextToken |
string |
No |
The token that determines the start point of the next query. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResults |
integer |
No |
The number of entries per page when you query results in batches. Valid values: 1 to 50. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| TotalCount |
string |
The total number of entries returned. |
1 |
| NextToken |
string |
The token that determines the start point of the next query. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResults |
string |
The number of entries per page when results are queried in batches. |
10 |
| AccelerateIpEndpointRelations |
array<object> |
The list of attach relationships between accelerated IP addresses and endpoints of the basic Global Accelerator (GA) instance. |
|
|
object |
The list of attach relationships between accelerated IP addresses and endpoints of the basic Global Accelerator (GA) instance. |
||
| AccelerateIpId |
string |
The instance ID of the accelerated IP address of the basic Global Accelerator (GA) instance. |
gaip-bp1**** |
| IpAddress |
string |
The accelerated IP address of the basic Global Accelerator (GA) instance. |
116.132.XX.XX |
| EndpointId |
string |
The endpoint ID of the basic Global Accelerator (GA) instance. |
ep-bp14sz7ftcwwjgrdm**** |
| EndpointName |
string |
The name of the endpoint of the basic Global Accelerator (GA) instance. |
ep01 |
| EndpointType |
string |
The endpoint type. Valid values:
|
ENI |
| EndpointAddress |
string |
The address of the endpoint. |
eni-bp1a05txelswuj8g**** |
| EndpointSubAddress |
string |
The secondary address of the endpoint. This parameter is returned when the endpoint type attached to the accelerated IP address is ECS, ENI, or NLB.
|
172.16.XX.XX |
| EndpointSubAddressType |
string |
The type of the endpoint secondary address. Valid values:
This parameter is returned when the endpoint type bound to the accelerated IP address is ECS, ENI, or NLB. If the endpoint type is NLB, only the primary type is returned. |
primary |
| EndpointZoneId |
string |
The zone ID of the endpoint. Currently, this parameter is returned only when the endpoint type bound to the accelerated IP address is NLB. |
cn-hangzhou-g |
| State |
string |
The attach status between the accelerated IP address and the endpoint of the basic Global Accelerator (GA) instance. The value active is returned, which indicates that the attach relationship is established. |
active |
| AcceleratorId |
string |
The instance ID of the basic Global Accelerator (GA) instance. |
ga-bp1miyl2kn2racucvegr5 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"TotalCount": "1",
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"MaxResults": "10",
"AccelerateIpEndpointRelations": [
{
"AccelerateIpId": "gaip-bp1****",
"IpAddress": "116.132.XX.XX",
"EndpointId": "ep-bp14sz7ftcwwjgrdm****",
"EndpointName": "ep01",
"EndpointType": "NLB",
"EndpointAddress": "eni-bp1a05txelswuj8g****",
"EndpointSubAddress": "172.16.XX.XX",
"EndpointSubAddressType": "primary",
"EndpointZoneId": "cn-hangzhou-g",
"State": "active",
"AcceleratorId": "ga-bp1miyl2kn2racucvegr5"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.