Lists the IP address whitelist templates linked to an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:ListInstanceLinkedWhitelistTemplates |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBInstanceId |
string |
Yes |
The instance ID. |
cc-exadfas |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
1234567890 |
| Data |
object |
The response data. |
|
| Templates |
array<object> |
A list of IP address whitelist templates. |
|
|
object |
An IP address whitelist template. |
||
| TemplateId |
string |
The IP address whitelist template ID. |
g-asdfwem |
| TemplateName |
string |
The IP address whitelist template name. |
demo_template |
| SecurityIPList |
string |
The comma-separated IP addresses in the whitelist. |
192.168.1.1,10.0.0.1 |
Examples
Success response
JSON format
{
"RequestId": "1234567890",
"Data": {
"Templates": [
{
"TemplateId": "g-asdfwem",
"TemplateName": "demo_template",
"SecurityIPList": "192.168.1.1,10.0.0.1"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.