Queries an endpoint based on a domain name.

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 GetEndPointByDomain

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

DomainURL String Yes jdbc:mysql://34502231286****-6422****.cn-hangzhou.datalakeanalytics.aliyuncs.com:10000

The URL of the endpoint.

RegionId String Yes cn-hangzhou

The region ID.

RegionID String No 8A840E5A-37DC-4178-81C1-367E733DA558

The ID of the request.

Response parameters

Parameter Type Example Description
EndPointInfo Struct

The information of the VPC endpoint.

allowIP String 10.1.1.1

The IP address that is allowed to access DLA.

cloudInstanceID String 1262b977c4d828367ecaa92892c9****

The instance ID of the queried Alibaba cloud service.

domainURL String jdbc:mysql://34502231286****-6422****.cn-hangzhou.datalakeanalytics.aliyuncs.com:10000

The URL of the endpoint.

endPointID String c9b2a71c786311bf2772837dc98*****

The ID of the endpoint.

host String jdbc:mysql://34502231286****-6422****.cn-hangzhou.datalakeanalytics.aliyuncs.com

The URL of the host.

networkType String vpc_singletunnel_jdbc

The network type.

port String 10000

The port number of the vSwitch.

product String openanalytics

The name of the service.

vSwitch String vsw-bp182ub0e8g16oyi3****

The ID of the vSwitch.

vpcID String vpc-bp15jfhv9yxrtsru9****

The ID of the VPC.

zone String cn-hangzhou-b

The zone ID.

RegionId String cn-hangzhou

The region ID.

RequestId String 8A840E5A-37DC-4178-81C1-367E733DA558

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=GetEndPointByDomain
&DomainURL=jdbc:mysql://34502231286****-6422****.cn-hangzhou.datalakeanalytics.aliyuncs.com:10000
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<GetEndPointByDomain>
  <RequestId>8A840E5A-37DC-4178-81C1-367E733DA558</RequestId>
  <EndPointInfo>
        <product>openanalytics</product>
        <cloudInstanceID>1262b977c4d828367ecaa92892c9****</cloudInstanceID>
        <zone>cn-hangzhou-b</zone>
        <vSwitch>vsw-bp182ub0e8g16oyi3****</vSwitch>
        <port>10000</port>
        <vpcID>vpc-bp15jfhv9yxrtsru9****</vpcID>
        <host>jdbc:mysql://34502231286****-6422****.cn-hangzhou.datalakeanalytics.aliyuncs.com</host>
        <networkType>vpc_singletunnel_jdbc</networkType>
        <allowIP>10.1.1.1</allowIP>
        <domainURL>jdbc:mysql://34502231286****-6422****.cn-hangzhou.datalakeanalytics.aliyuncs.com:10000</domainURL>
        <endPointID>c9b2a71c786311bf2772837dc98*****</endPointID>
  </EndPointInfo>
  <RegionId>cn-hangzhou</RegionId>
</GetEndPointByDomain>

JSON format

{"RequestId":"8A840E5A-37DC-4178-81C1-367E733DA558","EndPointInfo":{"product":"openanalytics","cloudInstanceID":"1262b977c4d828367ecaa92892c9****","zone":"cn-hangzhou-b","vSwitch":"vsw-bp182ub0e8g16oyi3****","port":"10000","vpcID":"vpc-bp15jfhv9yxrtsru9****","host":"jdbc:mysql://34502231286****-6422****.cn-hangzhou.datalakeanalytics.aliyuncs.com","networkType":"vpc_singletunnel_jdbc","allowIP":"10.1.1.1","domainURL":"jdbc:mysql://34502231286****-6422****.cn-hangzhou.datalakeanalytics.aliyuncs.com:10000","endPointID":"c9b2a71c786311bf2772837dc98*****"},"RegionId":"cn-hangzhou"}

Error codes

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