Queries the attachment information between an accelerated IP address and an endpoint of a basic Global Accelerator (GA) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:GetBasicAccelerateIpEndpointRelation |
get |
BasicAccelerateIpEndpointRelation
BasicAccelerateIp
|
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 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. Note
EndpointId and AccelerateIpId cannot both be empty. |
ep-bp14sz7ftcwwjgrdm**** |
| AccelerateIpId |
string |
No |
The accelerated IP address instance ID of the basic Global Accelerator (GA) instance. Note
EndpointId and AccelerateIpId cannot both be empty. |
gaip-bp1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| 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 secondary address of the endpoint. Valid values:
This parameter is returned when the endpoint type bound to the accelerated IP address is ECS, ENI, or NLB. When 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 |
| AccelerateIpId |
string |
The accelerated IP address instance ID 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 |
| State |
string |
The attachment status between the accelerated IP address and the endpoint of the basic Global Accelerator (GA) instance. The value active indicates that the attachment is established. |
active |
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| AcceleratorId |
string |
The instance ID of the basic Global Accelerator (GA) instance. |
ga-bp11v53zfftax68b0daws |
Examples
Success response
JSON format
{
"EndpointId": "ep-bp14sz7ftcwwjgrdm****",
"EndpointName": "ep01",
"EndpointType": "ENI",
"EndpointAddress": "eni-bp1a05txelswuj8g****",
"EndpointSubAddress": "172.16.XX.XX",
"EndpointSubAddressType": "primary",
"EndpointZoneId": "cn-hangzhou-g",
"AccelerateIpId": "gaip-bp1****",
"IpAddress": "116.132.XX.XX",
"State": "active",
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"AcceleratorId": " ga-bp11v53zfftax68b0daws"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.