Configures the whitelist of a Time Series Database (TSDB) instance. The IP addresses in the whitelist are allowed to connect to the instance.

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 No ModifyHiTSDBInstanceSecurityIpList

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

InstanceId String Yes ts-ufxxxxxxxxxxxxxx

The ID of the instance.

SecurityIpList String Yes ["127.0.0.1", "192.168.0.1/24"]

The IP addresses or CIDR blocks that you want to add to the whitelist of the instance. Specify this parameter in the JSON format.

Response parameters

Parameter Type Example Description
RequestId String 1556DCB0-043A-4444-8BD9-CF4A68E7EE64

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyHiTSDBInstanceSecurityIpList
&InstanceId=ts-ufxxxxxxxxxxxxxx
&SecurityIpList=["127.0.0.1", "192.168.0.1/24"]
&<Common request parameters>

Sample success responses

XML format

<ModifyHiTSDBInstanceSecurityIpListResponse>
      <RequestId>1556DCB0-043A-4444-8BD9-CF4A68E7EE64</RequestId>
</ModifyHiTSDBInstanceSecurityIpListResponse>

JSON format

{
   "RequestId": "1556DCB0-043A-4444-8BD9-CF4A68E7EE64"
}

Error codes

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