Queries a list of endpoints.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
privatelink:ListVpcEndpoints | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the endpoint. You can call the DescribeRegions operation to query the most recent region list. | cn-huhehaote |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. Valid values:
| caeba0bbb2be03f84eb48b699f0a4883 |
MaxResults | integer | No | The number of entries returned on each page. | 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 state of the endpoint. Valid values:
| Active |
ConnectionStatus | string | No | The state of the endpoint connection. Valid values:
| Disconnected |
Tag | array<object> | No | The list of tags. | |
object | No | The list of tags. | ||
Key | string | No | The key of the tag. You can specify up to 20 tag keys. The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with | FinanceDept |
Value | string | No | The value of the tag. 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 |
Response parameters
Examples
Sample success responses
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": ""
}
],
"NextToken": "caeba0bbb2be03f84eb48b699f0a****",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": 12
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-09-12 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2024-05-10 | The response structure of the API has changed | View Change Details |
2023-09-26 | The response structure of the API has changed | View Change Details |
2023-09-19 | The request parameters of the API has changed | View Change Details |
2023-09-05 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2023-03-02 | API Description Update. The response structure of the API has changed | View Change Details |
2022-07-26 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2021-03-17 | The response structure of the API has changed | View Change Details |