Create CDN firewall rule
create_firewall_ruleCreate a firewall rule for an ArvanCloud domain to allow, deny, challenge, or bypass traffic based on a filter expression.
Instructions
[WRITE] POST /domains/{domain}/firewall/rules. Official FA samples: name, note, is_enabled, action (allow|deny|challenge|bypass), action_details, filter_expr.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | No | ||
| action | Yes | allow | deny | challenge | bypass (FA samples) | |
| domain | Yes | ||
| is_enabled | No | ||
| filter_expr | Yes | ||
| action_details | No |