Lists endpoint connections.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
privatelink:ListVpcEndpointConnections | list | *VpcEndpointService
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The region ID of the endpoint connection. You can call the DescribeRegions operation to obtain the region ID. | cn-huhehaote |
NextToken | string | No | The token that is used for the next query. Valid values:
| caeba0bbb2be03f84eb48b699f0a4883 |
MaxResults | integer | No | The number of entries to return on each page. Valid values: 1 to 1,000. Default value: 50. | 50 |
ServiceId | string | No | The ID of the endpoint service. | epsrv-hp3vpx8yqxblby3i**** |
EniId | string | No | The ID of the endpoint elastic network interface (ENI). | eni-hp32lk0pyv6o94hs**** |
EndpointId | string | No | The ID of the endpoint. | ep-hp33b2e43fays7s8**** |
ConnectionStatus | string | No | The state of the endpoint connection. Valid values:
| Disconnected |
EndpointOwnerId | integer | No | The ID of the Alibaba Cloud account to which the endpoint belongs. | 25346073170691**** |
ResourceId | string | No | The ID of the service resource. | lb-hp32z1wp5peaoox2q**** |
ReplacedResourceId | string | No | The ID of the service resource that is replaced during a smooth migration. | lb-hp32z1wp5peaoox2q**** |
RegionId | string | Yes | The region ID of the endpoint connection. You can call the DescribeRegions operation to obtain the region ID. | cn-huhehaote |
ResourceGroupId | string | No | The ID of the resource group to which the endpoint belongs. | rg-acfmy***** |
Response elements
Element | Type | Description | Example |
object | |||
| Connections | array<object> | The endpoint connections. | |
array<object> | The endpoint connections. | ||
| Zones | array<object> | The zones. | |
object | The zones. | ||
VSwitchId | string | The ID of the vSwitch to which the endpoint belongs. | vsw-hp3uf6045ljdhd5zr**** |
ZoneId | string | The ID of the zone. | cn-huhehaote-b |
ResourceId | string | The ID of the service resource. | lb-hp32z1wp5peaoox2q**** |
EniId | string | The ID of the endpoint ENI. | eni-hp32lk0pyv6o94hs**** |
ZoneDomain | string | The zone domain name. | ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com |
ZoneStatus | string | The state of the zone. Valid values:
| Connected |
ReplacedResourceId | string | The ID of the service resource that is replaced during a smooth migration. | lb-hp32z1wp5peaoox2q**** |
ReplacedEniId | string | The ID of the endpoint ENI that is replaced during a smooth migration. | eni-hp32lk0pyv6o94hs**** |
ModifiedTime | string | The time when the endpoint connection was modified. | 2021-09-28T10:34:46Z |
Bandwidth | integer | The bandwidth of the endpoint connection. Unit: Mbps. Valid values: 100 to 10,240. Note When the service resource is a Classic Load Balancer (CLB) instance, the bandwidth of the endpoint connection ranges from 100 to 10,240 Mbps, and the default value is 3,072 Mbps. Network Load Balancer (NLB) does not support bandwidth limits. | 3072 |
EndpointOwnerId | integer | The ID of the Alibaba Cloud account to which the endpoint belongs. | 25346073170691**** |
ResourceOwner | boolean | Indicates whether the endpoint and the endpoint service belong to the same Alibaba Cloud account. Valid values:
| true |
ServiceId | string | The ID of the endpoint service. | epsrv-hp3vpx8yqxblby3i**** |
ConnectionStatus | string | The state of the endpoint connection. Valid values:
| Disconnected |
EndpointId | string | The ID of the endpoint. | ep-hp33b2e43fays7s8**** |
EndpointVpcId | string | The ID of the virtual private cloud (VPC) to which the endpoint belongs. | vpc-hp356stwkxg3fn2xe**** |
ResourceGroupId | string | The ID of the resource group to which the endpoint belongs. | rg-acfmw353z35v*** |
TrafficControlMode | string | ||
EndpointRegionId | string | ||
ServiceRegionId | string | ||
NextToken | string | The token that is used for the next query. Valid values:
| caeba0bbb2be03f84eb48b699f0a4883 |
RequestId | string | The request ID. | 0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
MaxResults | integer | The number of entries per page. | 50 |
TotalCount | string | The total number of entries returned. | 1 |
Examples
Success response
JSON format
{
"Connections": [
{
"Zones": [
{
"VSwitchId": "vsw-hp3uf6045ljdhd5zr****",
"ZoneId": "cn-huhehaote-b",
"ResourceId": "lb-hp32z1wp5peaoox2q****",
"EniId": "eni-hp32lk0pyv6o94hs****",
"ZoneDomain": "ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com",
"ZoneStatus": "Connected",
"ReplacedResourceId": "lb-hp32z1wp5peaoox2q****",
"ReplacedEniId": "eni-hp32lk0pyv6o94hs****"
}
],
"ModifiedTime": "2021-09-28T10:34:46Z",
"Bandwidth": 3072,
"EndpointOwnerId": 0,
"ResourceOwner": true,
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"ConnectionStatus": "Disconnected",
"EndpointId": "ep-hp33b2e43fays7s8****",
"EndpointVpcId": "vpc-hp356stwkxg3fn2xe****",
"ResourceGroupId": "rg-acfmw353z35v***",
"TrafficControlMode": "",
"EndpointRegionId": "",
"ServiceRegionId": ""
}
],
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": "1"
}Error codes
HTTP status code | Error code | Error message | Description |
400 | EndpointServiceNotFound | The specified Service does not exist. | The specified Service does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.