Modifies an IP address whitelist of an ApsaraDB for ClickHouse cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyDBClusterAccessWhiteList |
The operation that you want to perform. Set the value to ModifyDBClusterAccessWhiteList. |
DBClusterId | String | Yes | cc-bp1qx68m06981**** |
The ID of the cluster. |
SecurityIps | String | Yes | 192.168.xx.xx |
The content of the IP address whitelist. You can specify the content in the following formats:
|
DBClusterIPArrayName | String | No | default |
The name of the IP address whitelist that you want to modify. Note If you do not specify this parameter, the default IP address whitelist is modified.
|
DBClusterIPArrayAttribute | String | No | NULL |
The attribute of the IP address whitelist. By default, this parameter is NULL. |
ModifyMode | String | No | Cover |
The method that is used to modify the IP address whitelist. Valid values:
Note If you do not specify this parameter, the value Cover is used by default.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC |
The ID of the request. |
Examples
Sample requests
http(s)://clickhouse.aliyuncs.com/?Action=ModifyDBClusterAccessWhiteList
&DBClusterId=cc-bp1qx68m06981****
&SecurityIps=192.168.xx.xx
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ModifyDBClusterAccessWhiteListResponse>
<RequestId>D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC</RequestId>
</ModifyDBClusterAccessWhiteListResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The error message returned because the specified value for the DBClusterId parameter does not exist. Check whether the value is valid. |
For a list of error codes, see Service error codes.