Firewall rule information.
Name | Type | Description | Notes |
---|---|---|---|
Id | int | A unique ID for the Firewall Rule. | [optional] |
Type | string | This field is deprecated. Use `ip_type` instead. The type of IP rule. * v4 * v6 | [optional] |
IpType | string | The type of IP rule. * v4 * v6 | [optional] |
Action | string | Action to take when this rule is met. * accept | [optional] |
Protocol | string | The protocol for this rule. * ICMP * TCP * UDP * GRE | [optional] |
Port | string | Port or port range for this rule. | [optional] |
Subnet | string | IP address representing a subnet. The IP address format must match with the "ip_type" parameter value. | [optional] |
SubnetSize | int | The number of bits for the netmask in CIDR notation. Example: 24 | [optional] |
Source | string | If the source string is given a value of "cloudflare" subnet and subnet_size will both be ignored. Possible values: | |
Notes | string | User-supplied notes for this rule. | [optional] |