Queries available endpoint services when you create endpoints.

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 cn-huhehaote

The ID of the region that you want to query.

You can call the DescribeRegions operation to query the most recent region list.

NextToken String No caeba0bbb2be03f84eb48b699f0a4883

The token that is used for the next query. Valid values:

  • If this is your first query or no next query is to be sent, ignore this parameter.
  • If a next query is to be sent, set the value to the value of NextToken that is returned from the last call.
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.

ServiceType String No Interface

The endpoint service type is used as a filter condition.

Response parameters

Parameter Type Example Description
Services Array of Service

The list of endpoint services.

Payer String Endpoint

The payer. Valid values:

  • Endpoint: the service consumer
  • 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 when you create endpoints.

Zones Array of String cn-huhehaote-a

The zone of the endpoint service that can be associated with the endpoints when you create endpoints.

ServiceId String epsrv-hp3vpx8yqxblby3i****

The ID of the endpoint service that can be associated with the endpoints when you create endpoints.

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

The name of the endpoint service that can be associated with the endpoints when you create endpoints.

ServiceType String Interface

The type of the endpoint service.

The value is set to Interface. This value is used when ServiceResourceType is set to slb. The value slb indicates the Classic Load Balancer (CLB) type.

NextToken String caeba0bbb2be03f84eb48b699f0a4883

The token that is used for the next query. Valid values:

  • If the value returned of NextToken is empty, it indicates that no next query is to be sent.
  • If the value returned of NextToken is not empty, the value indicates the token that is used for the next query.
RequestId String 0ED8D006-F706-4D23-88ED-E11ED28DCAC0

The ID of the request.

MaxResults String 50

The number of entries returned per page.

Examples

Sample requests

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

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

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

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "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"
  } ],
  "NextToken" : "caeba0bbb2be03f84eb48b699f0a4883",
  "RequestId" : "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
  "MaxResults" : "50"
}

Error codes

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