Adds an IP address to a whitelist of DLA.

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 SetAllowIP

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

AllowIP String Yes 10.1.1.1

The IP address that is allowed to access DLA.

Append Boolean Yes false

Specifies whether the IP address is a secondary IP address.

NetworkType String Yes vpc_singletunnel_jdbc

The network type.

Product String Yes openanalytics

The name of the service.

RegionId String Yes cn-hangzhou

The region ID.

Response parameters

Parameter Type Example Description
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=SetAllowIP
&AllowIP=10.1.1.1
&Append=false
&NetworkType=vpc_singletunnel_jdbc
&Product=openanalytics
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<RequestId>8A840E5A-37DC-4178-81C1-367E733DA558</RequestId>
<RegionId>cn-hangzhou</RegionId>

JSON format

{"RequestId":"8A840E5A-37DC-4178-81C1-367E733DA558","RegionId":"cn-hangzhou"}

Error codes

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