Queries endpoint services that can be associated with the endpoints created by the current Alibaba Cloud account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListVpcEndpointServicesByEndUser

The operation that you want to perform. Set the value to ListVpcEndpointServicesByEndUser.

RegionId String Yes eu-west-1

The region ID of the endpoint services that you want to query. You can call the DescribeRegions operation to query the most recent region list.

NextToken String No caeba0bbb2be03f84eb48b699f0a4883

The query token. Set this parameter to the NextToken value that is returned in the last API call. If no subsequent queries are to be sent, you can leave the parameter empty.

MaxResults Integer No 50

The number of entries to return on each page. Valid values: 1 to 50. Default value: 50.

ServiceId String No epsrv-hp3vpx8yqxblby3i****

The ID of the endpoint service that you want to query.

ServiceName String No com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****

The name of the endpoint service that you want to query.

Response parameters

Parameter Type Example Description
MaxResults String 50

The number of entries returned on each page.

NextToken String caeba0bbb2be03f84eb48b699f0a4883

The token that is used for the next query. If this parameter is empty, no subsequent query will be sent.

RequestId String 0ED8D006-F706-4D23-88ED-E11ED28DCAC0

The ID of the request.

Services Array of Service

The list of endpoint services.

Payer String Endpoint

The payer of the endpoint service. Valid values:

  • Endpoint: the service user.
  • EndpointService: the service provider.
ServiceDomain String epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com

The domain name of the endpoint service that can be associated with the endpoints created by the current Alibaba Cloud account.

ServiceId String epsrv-hp3vpx8yqxblby3i****

The ID of the endpoint service that can be associated with the endpoints created by the current Alibaba Cloud account.

ServiceName String com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****

The name of the endpoint service that can be associated with the endpoints created by the current Alibaba Cloud account.

Zones List eu-west-1a

The zones of the endpoint service that can be associated with the endpoints created by the current Alibaba Cloud account.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListVpcEndpointServicesByEndUser
&RegionId=eu-west-1
&<Common request parameters>

Sample success responses

XML format

<ListVpcEndpointServicesByEndUserResponse>
  <Services>
        <Payer>Endpoint</Payer>
        <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****</ServiceName>
        <ServiceDomain>epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com</ServiceDomain>
        <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>
        <Zones>eu-west-1a</Zones>
  </Services>
  <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>
  <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>
  <MaxResults>50</MaxResults>
</ListVpcEndpointServicesByEndUserResponse>

JSON format

{
    "Services": {
        "Payer": "Endpoint",
        "ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****",
        "ServiceDomain": "epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com",
        "ServiceId": "epsrv-hp3vpx8yqxblby3i****",
        "Zones": "eu-west-1a"
    },
    "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
    "NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
    "MaxResults": 50
}

Error codes

For a list of error codes, visit the API Error Center.