Modifies an IP address blacklist for major event protection.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
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 major event protection template. | 5132 |
RuleId | integer | Yes | The ID of the IP address blacklist rule for major 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 Major 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 for a complete list.
Release notes
See 变更详情 for a complete list.