Queries the endpoint services that you are authorized to associate with an endpoint.
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 ID of the region. To obtain a region ID, call the DescribeRegions operation. Get the region ID by calling the DescribeRegions API. | cn-huhehaote |
NextToken | string | No | The token that is used to retrieve the next page of results. Valid values:
| 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. Set the value to Interface. An interface endpoint lets you add service resources of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB). | Interface |
RegionId | string | Yes | The ID of the region. To obtain a region ID, call the DescribeRegions operation. You can obtain the region ID by calling the DescribeRegions API operation. | cn-huhehaote |
| Tag | array<object> | No | The tags. | |
object | No | The tag. | ||
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 can be up to 64 characters in length. It 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. It cannot start with | FinanceJoshua |
ResourceGroupId | string | No | The ID of the resource group. | rg-acfmy***** |
Response elements
Element | Type | Description | Example |
object | |||
| Services | array<object> | The endpoint services. | |
array<object> | The endpoint services. | ||
Payer | string | The payer. Valid values:
| Endpoint |
ServiceDomain | string | The domain name of the endpoint service that you can connect to. | 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 Interface, which indicates an interface endpoint. You can add service resources of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB). | Interface |
ServiceSupportIPv6 | boolean | Indicates whether the endpoint service supports IPv6. Valid values:
| false |
| Tags | array<object> | The tags. | |
object | The tags. | ||
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 type of the service resource.
| slb |
AddressIpVersion | string | The IP version. Valid values:
| IPv4 |
ZoneAffinityEnabled | boolean | ||
VpcEndpointPolicySupported | boolean | ||
AutoAcceptEnabled | boolean | ||
NextToken | string | The token that is used to retrieve the next page of results.
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
RequestId | string | The request ID. | 0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
MaxResults | integer | The number of entries returned on each 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": false
}
],
"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.