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


Required Property Name Type Description
required address string

IPv4 or IPv6 address.

optional interface_name string

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

required policy NetworkingFirewallInboundPolicy Enum

The allow or deny policy of this rule.

required prefix integer

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

JSON Example

    "address": "string",
    "policy": "enum",
    "prefix": 0

Was this page helpful?