ListVpcEndpoints
Queries 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 region ID of the endpoints to query. You can call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
| NextToken |
string |
No |
The pagination token for the next query. Valid values:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
The number of entries per page. Valid values: 1 to 1000. Default value: 50. |
50 |
| EndpointId |
string |
No |
The ID of the endpoint to query. |
ep-hp33b2e43fays7s8**** |
| ServiceName |
string |
No |
The service name of the endpoint service associated with the endpoint to query. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
| VpcId |
string |
No |
The VPC to which the endpoint belongs. |
vpc-fdjkf789dfdfdfde**** |
| EndpointName |
string |
No |
The name of the endpoint. |
test |
| EndpointType |
string |
No |
The endpoint type. Valid values:
|
Interface |
| EndpointStatus |
string |
No |
The endpoint status. Valid values:
|
Active |
| ConnectionStatus |
string |
No |
Endpoint connection status of the endpoint. Valid values:
|
Disconnected |
| Tag |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The tag. |
||
| Key |
string |
No |
The tag key of the instance. 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 of the instance. 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 |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
1 |
| AddressIpVersion |
string |
No |
The IP version. Valid values:
|
IPv4 |
| ServiceRegionId |
string |
No |
The region ID of the endpoint service. |
cn-huhehaote |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Endpoints |
array<object> |
The endpoint information. |
|
|
array<object> |
The endpoint information. |
||
| VpcId |
string |
The VPC to which the endpoint belongs. |
vpc-hp356stwkxg3fn2xe**** |
| EndpointName |
string |
The name of the endpoint. |
test |
| EndpointType |
string |
The endpoint type. Valid values:
|
Interface |
| CreateTime |
string |
The time when the endpoint was created. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time is displayed in UTC. |
2021-09-24T18:00:07Z |
| ServiceId |
string |
The ID of the endpoint service associated with the endpoint. |
epsrv-hp3vpx8yqxblby3i**** |
| ZoneAffinityEnabled |
boolean |
Specifies whether nearest access resolution is supported for the endpoint domain name of the connected service. Valid values:
|
true |
| EndpointDomain |
string |
The domain name of the endpoint. |
ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com |
| EndpointStatus |
string |
The endpoint status. Valid values:
|
Active |
| RegionId |
string |
The region ID of the endpoint. |
cn-huhehaote |
| ResourceOwner |
boolean |
Specifies whether the endpoint and the endpoint service belong to the same account. Valid values:
|
true |
| Bandwidth |
integer |
The connection bandwidth of the endpoint. Unit: Mbit/s. |
1024 |
| ConnectionStatus |
string |
Endpoint 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 endpoint service associated with the endpoint. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo**** |
| Tags |
array<object> |
The list of tags. |
|
|
object |
The list of tags. |
||
| Key |
string |
The tag key of the instance. |
FinanceDept |
| Value |
string |
The tag value of the instance. |
FinanceJoshua |
| ResourceGroupId |
string |
The resource instance ID. |
1 |
| PolicyDocument |
string |
The RAM access policy. For more information about access policy definitions, see Access policy elements. |
{\n \"Version\": \"1\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": \"*\",\n \"Principal\": \"*\",\n \"Resource\": \"*\"\n }\n ]\n} |
| AddressIpVersion |
string |
The IP version. Valid values:
|
IPv4 |
| ServiceRegionId |
string |
The region ID of the endpoint service associated with the endpoint. |
cn-huhehaote |
| CrossRegionBandwidth |
integer |
The cross-region bandwidth of the endpoint. Unit: Mbit/s. |
1000 |
| ProtectedEnabled |
boolean |
Specifies whether to enable managed protection, which takes effect for STS calls. Valid values:
|
|
| NextToken |
string |
The pagination token for the next query. Valid values:
|
caeba0bbb2be03f84eb48b699f0a**** |
| RequestId |
string |
The ID of the request. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| MaxResults |
integer |
The number of entries per page. |
50 |
| TotalCount |
integer |
The total number of entries. |
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,
"ProtectedEnabled": false
}
],
"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.