The ListVpcEndpoints operation lists endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpoints |
get |
*VpcEndpoint
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the endpoint is deployed. You can call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results.
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
The number of entries to return on each page. Valid values: 1 to 1000. Default value: 50. |
50 |
| EndpointId |
string |
No |
The ID of the endpoint. |
ep-hp33b2e43fays7s8**** |
| ServiceName |
string |
No |
The name of the endpoint service with which the endpoint is associated. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
| VpcId |
string |
No |
The ID of the VPC to which the endpoint belongs. |
vpc-fdjkf789dfdfdfde**** |
| EndpointName |
string |
No |
The name of the endpoint. |
test |
| EndpointType |
string |
No |
The type of the endpoint. Valid values:
|
Interface |
| EndpointStatus |
string |
No |
The status of the endpoint. Valid values:
|
Active |
| ConnectionStatus |
string |
No |
The connection state of the endpoint. Valid values:
|
Disconnected |
| Tag |
array<object> |
No |
The tags. |
|
|
object |
No |
A tag that consists of a key-value pair. |
||
| Key |
string |
No |
The tag key. You can specify up to 20 tag keys. The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with |
FinanceDept |
| Value |
string |
No |
The tag value. You can specify up to 20 tag values. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with |
FinanceJoshua |
| RegionId |
string |
Yes |
The ID of the region where the endpoint is deployed. You can call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
1 |
| AddressIpVersion |
string |
No |
The IP version. Valid values:
|
IPv4 |
| ServiceRegionId |
string |
No |
The ID of the region where the endpoint service is deployed. |
cn-huhehaote |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Endpoints |
array<object> |
A list of endpoints. |
|
|
array<object> |
|
||
| VpcId |
string |
The ID of the VPC to which the endpoint belongs. |
vpc-hp356stwkxg3fn2xe**** |
| EndpointName |
string |
The name of the endpoint. |
test |
| EndpointType |
string |
The type of the endpoint. Valid values:
|
Interface |
| CreateTime |
string |
The time when the endpoint was created. |
2021-09-24T18:00:07Z |
| ServiceId |
string |
The ID of the associated endpoint service. |
epsrv-hp3vpx8yqxblby3i**** |
| ZoneAffinityEnabled |
boolean |
Indicates whether zone-aware DNS resolution is enabled. Valid values:
|
true |
| EndpointDomain |
string |
The domain name of the endpoint. |
ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com |
| EndpointStatus |
string |
The status of the endpoint. Valid values:
|
Active |
| RegionId |
string |
The ID of the region that contains the endpoint. |
cn-huhehaote |
| ResourceOwner |
boolean |
Indicates whether the endpoint and the endpoint service belong to the same Alibaba Cloud account. Valid values:
|
true |
| Bandwidth |
integer |
The connection bandwidth of the endpoint, in Mbps. |
1024 |
| ConnectionStatus |
string |
The connection status of the endpoint. Valid values:
|
Disconnected |
| EndpointDescription |
string |
The description of the endpoint. |
This is my Endpoint. |
| EndpointId |
string |
The ID of the endpoint. |
ep-hp33b2e43fays7s8**** |
| EndpointBusinessStatus |
string |
The business status of the endpoint. Valid values:
|
Normal |
| ServiceName |
string |
The name of the associated endpoint service. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo**** |
| Tags |
array<object> |
A list of tags. |
|
|
object |
|
||
| Key |
string |
The tag key. |
FinanceDept |
| Value |
string |
The tag value. |
FinanceJoshua |
| ResourceGroupId |
string |
The ID of the resource group. |
1 |
| PolicyDocument |
string |
The RAM access policy. For details on the policy syntax, see Basic elements of a RAM policy. |
{\n \"Version\": \"1\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": \"*\",\n \"Principal\": \"*\",\n \"Resource\": \"*\"\n }\n ]\n} |
| AddressIpVersion |
string |
The IP address family. Valid values:
|
IPv4 |
| ServiceRegionId |
string |
The ID of the region where the associated endpoint service is deployed. |
cn-huhehaote |
| CrossRegionBandwidth |
integer |
The bandwidth of the cross-region connection, in Mbps. |
1000 |
| NextToken |
string |
The token to retrieve the next page of results.
|
caeba0bbb2be03f84eb48b699f0a**** |
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| MaxResults |
integer |
The number of entries returned per page. |
50 |
| TotalCount |
integer |
The total number of entries that match the query. |
12 |
Examples
Success response
JSON format
{
"Endpoints": [
{
"VpcId": "vpc-hp356stwkxg3fn2xe****",
"EndpointName": "test",
"EndpointType": "Interface",
"CreateTime": "2021-09-24T18:00:07Z",
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"ZoneAffinityEnabled": true,
"EndpointDomain": "ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com",
"EndpointStatus": "Active",
"RegionId": "cn-huhehaote",
"ResourceOwner": true,
"Bandwidth": 1024,
"ConnectionStatus": "Disconnected",
"EndpointDescription": "This is my Endpoint.",
"EndpointId": "ep-hp33b2e43fays7s8****",
"EndpointBusinessStatus": "Normal",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****",
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
],
"ResourceGroupId": "1",
"PolicyDocument": "{\\n \\\"Version\\\": \\\"1\\\",\\n \\\"Statement\\\": [\\n {\\n \\\"Effect\\\": \\\"Allow\\\",\\n \\\"Action\\\": \\\"*\\\",\\n \\\"Principal\\\": \\\"*\\\",\\n \\\"Resource\\\": \\\"*\\\"\\n }\\n ]\\n}",
"AddressIpVersion": "IPv4",
"ServiceRegionId": "cn-huhehaote",
"CrossRegionBandwidth": 1000
}
],
"NextToken": "caeba0bbb2be03f84eb48b699f0a****",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": 12
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.