Call the ListVpcEndpointServicesByEndUser operation to retrieve a list of endpoint services for which the current account is whitelisted. This list includes services that you can connect to by creating new endpoints, as well as services that are already connected to your existing ones.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpointServicesByEndUser |
get |
*VpcEndpointService
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
| NextToken |
string |
No |
The pagination token.
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResults |
integer |
No |
The number of entries to return on each page. Valid values: 1 to 1000. Default value: 50. |
50 |
| ServiceId |
string |
No |
The ID of the endpoint service. |
epsrv-hp3vpx8yqxblby3i**** |
| ServiceName |
string |
No |
The name of the endpoint service. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo**** |
| ServiceType |
string |
No |
The type of the endpoint service. Only Interface is supported. An interface endpoint allows you to use Application Load Balancers (ALBs), Classic Load Balancers (CLBs), and Network Load Balancers (NLBs) as service resources. |
Interface |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
| Tag |
array<object> |
No |
A list of tags to filter resources. You can specify up to 20 tags. |
|
|
object |
No |
A key-value pair that makes up a tag. |
||
| Key |
string |
No |
The key of the tag. The tag key cannot be an empty string. The tag key can be up to 64 characters in length. It cannot start with |
FinanceDept |
| Value |
string |
No |
The value of the tag. The tag value can be an empty string. The tag value can be up to 128 characters in length. It cannot start with |
FinanceJoshua |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-acfmy***** |
| ServiceRegionId |
string |
No |
The region ID of the endpoint service. |
cn-beijing |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Services |
array<object> |
The endpoint services. |
|
|
array<object> |
An endpoint service. |
||
| Payer |
string |
The payer. Valid values:
|
Endpoint |
| ServiceDomain |
string |
The domain name of the endpoint service. |
epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com |
| Zones |
array |
The zones where the endpoint service is available. |
|
|
string |
The zone where the endpoint service is available. |
cn-huhehaote-a |
|
| ServiceId |
string |
The ID of the endpoint service. |
epsrv-hp3vpx8yqxblby3i**** |
| ServiceName |
string |
The name of the endpoint service. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
| ServiceType |
string |
The type of the endpoint service. The value is always Interface. This indicates an interface endpoint where you can add service resources such as Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB). |
Interface |
| ServiceSupportIPv6 |
boolean |
Specifies whether the endpoint service supports IPv6. Valid values:
|
false |
| Tags |
array<object> |
A list of tags. |
|
|
object |
A tag. |
||
| Key |
string |
The tag key. |
FinanceDept |
| Value |
string |
The tag value. |
FinanceJoshua |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-acfmy***** |
| ServiceResourceType |
string |
The service resource type.
|
slb |
| AddressIpVersion |
string |
The IP version. Valid values:
|
IPv4 |
| ZoneAffinityEnabled |
boolean |
Specifies whether zone affinity is enabled. Valid values:
|
false |
| VpcEndpointPolicySupported |
boolean |
||
| AutoAcceptEnabled |
boolean |
Specifies whether connection requests are automatically accepted. Valid values:
|
true |
| NextToken |
string |
The token that is used to retrieve the next page of results. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| MaxResults |
integer |
The number of entries returned per page. |
50 |
| TotalCount |
string |
The total number of entries. |
29 |
Examples
Success response
JSON format
{
"Services": [
{
"Payer": "Endpoint",
"ServiceDomain": "epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com",
"Zones": [
"cn-huhehaote-a"
],
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****",
"ServiceType": "Interface",
"ServiceSupportIPv6": false,
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
],
"ResourceGroupId": "rg-acfmy*****",
"ServiceResourceType": "slb",
"AddressIpVersion": "IPv4",
"ZoneAffinityEnabled": false,
"VpcEndpointPolicySupported": false,
"AutoAcceptEnabled": true
}
],
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": "29"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.