Retrieves a list of 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. 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 per 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 associated with the endpoint. | com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
VpcId | string | No | The virtual private cloud (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 state of the endpoint. Valid values:
| Active |
ConnectionStatus | string | No | The state of the endpoint connection. Valid values:
| Disconnected |
| Tag | array<object> | No | The tags. | |
object | No | The tag. | ||
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. 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 protocol version. Valid values:
| IPv4 |
Response elements
Element | Type | Description | Example |
object | |||
| Endpoints | array<object> | A list of endpoints. | |
array<object> | A list of endpoints. | ||
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 endpoint service associated with the endpoint. | epsrv-hp3vpx8yqxblby3i**** |
ZoneAffinityEnabled | boolean | Indicates whether the endpoint service supports zone-aware DNS resolution. Valid values:
| true |
EndpointDomain | string | The domain name of the endpoint. | ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com |
EndpointStatus | string | The state of the endpoint. Valid values:
| Active |
RegionId | string | The ID of the region where the endpoint is deployed. | 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 bandwidth of the endpoint connection, in Mbps. | 1024 |
ConnectionStatus | string | The state of the endpoint connection. 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 service state 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. | FinanceDept |
Value | string | The tag value. | FinanceJoshua |
ResourceGroupId | string | The ID of the resource group. | 1 |
PolicyDocument | string | The RAM access policy. For more information about 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 protocol version. Valid values:
| IPv4 |
ServiceRegionId | string | ||
CrossRegionBandwidth | integer | ||
NextToken | string | The token that is used 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 returned. | 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": "",
"CrossRegionBandwidth": 0
}
],
"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.