Queries a list of endpoint services.
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:ListVpcEndpointServices | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the endpoint service. 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:
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
MaxResults | integer | No | The number of entries to return on each page. Valid values: 1 to 50. Default value: 50. | 50 |
ServiceId | string | No | The endpoint service ID. | epsrv-hp3vpx8yqxblby3i**** |
ServiceName | string | No | The name of the endpoint service. | com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
ResourceId | string | No | The service resource ID. | lb-hp32z1wp5peaoox2q**** |
ServiceResourceType | string | No | The type of the service resource. Valid values:
| slb |
AutoAcceptEnabled | boolean | No | Specifies whether to automatically accept endpoint connection requests. Valid values:
| false |
ServiceStatus | string | No | The state of the endpoint service. Valid values:
| Active |
ServiceBusinessStatus | string | No | The service state of the endpoint service. Valid values:
| Normal |
ZoneAffinityEnabled | boolean | No | Specifies whether to first resolve the domain name of the nearest endpoint that is associated with the endpoint service. Valid values:
| true |
Tag | array<object> | No | The list of tags. | |
object | No | The information about the array object. | ||
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 resource group ID. | rg-acfmy***** |
Response parameters
Examples
Sample success responses
JSON
format
{
"Services": [
{
"AutoAcceptEnabled": true,
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"CreateTime": "2021-09-24T17:15:10Z",
"MinBandwidth": 100,
"MaxBandwidth": 1024,
"ServiceStatus": "Active",
"ZoneAffinityEnabled": true,
"RegionId": "cn-huhehaote",
"ServiceDomain": "epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com",
"Payer": "Endpoint",
"ServiceBusinessStatus": "Normal",
"ConnectBandwidth": 1024,
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****",
"ServiceDescription": "This is my EndpointService.",
"ServiceResourceType": "slb",
"ServiceType": "Interface",
"ServiceSupportIPv6": false,
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
],
"ResourceGroupId": "rg-acfmy*****"
}
],
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"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 |
2023-09-26 | The response structure of the API has changed | View Change Details |
2023-09-05 | 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-12-06 | The request parameters of the API has changed | View Change Details |
2022-09-20 | The request parameters of the API has changed. 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 |