Modifies an IP address blacklist for critical event protection.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-waf:ModifyMajorProtectionBlackIp | update | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
InstanceId | string | Yes | The ID of the Web Application Firewall (WAF) instance. Note Call DescribeInstance to query the ID of the current WAF instance. | waf_cdnsdf3**** |
TemplateId | integer | Yes | The ID of the critical event protection template. | 5132 |
RuleId | integer | Yes | The ID of the IP address blacklist rule for critical event protection. | 20012033 |
IpList | string | Yes | The IP address blacklist to add. You can specify custom IP addresses or CIDR blocks. Both IPv4 and IPv6 addresses are supported. Separate multiple IP addresses with commas (,). For more information, see Critical event protection. | 12.XX.XX.2,3.XX.XX.3/24 |
ExpiredTime | integer | Yes | The time after which the IP address blacklist becomes invalid. Unit: seconds. Note If the value is 0, the IP address blacklist is permanently valid. | 1662603328 |
Description | string | No | The description of the IP address blacklist. | test |
RegionId | string | No | The region of the WAF instance. Valid values:
| cn-hangzhou |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm***q |
Response elements
Parameter | Type | Description | Example |
object | The result of the request. | ||
RequestId | string | The ID of the request. | 66A98669-CC6E-4F3E-80A6-3014697B11AE |
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.