NetworkingFirewallInboundRule

Inbound.Rule structure Structure that defines a single address-based firewall rule.


Properties

string
address Required

IPv4 or IPv6 address.


policy Required

The allow or deny policy of this rule.

Possible values are: IGNOREACCEPTREJECTRETURN


integer as int64
prefix Required

CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the low-order 8 bits of address.


string
interface_name Optional

The interface to which this rule applies. An empty string indicates that the rule applies to all interfaces.

JSON Example

{
    "address": "string",
    "policy": "enum",
    "prefix": 0
}
Feedback

Was this page helpful?