name | string | Required, Identifier | The logical name of the redirect rule |
redirectUrl | string | Required | The target URL to redirect matching requests to |
urlPattern | string | Required | URL pattern to match using * wildcards (e.g. example.com/old-page*) |
zoneId | string | Required, Identifier | The zone ID this redirect rule applies to |
description | string | | Human friendly description shown in the Cloudflare dashboard |
enabled | bool | | Whether the rule is enabled |
pageRuleId | string | | Cloudflare page rule ID (output only) |
priority | int | | Priority of the page rule (lower number = higher priority) |
statusCode | int | | HTTP status code for the redirect (301 or 302) |