appliance networking firewall inbound: rule
rule
structure Structure that defines a single address-based firewall rule. This structure was added in vSphere API 6.7.1.Representation:
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
address | string | IPv4 or IPv6 address. This attribute was added in vSphere API 6.7.1.
|
prefix | long | CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the low-order 8 bits of address. This attribute was added in vSphere API 6.7.1.
|
policy | string | The allow or deny policy of this rule. This attribute was added in vSphere API 6.7.1. Defines firewall rule policies. This enumeration was added in vSphere API 6.7.1. Value is one of: |
Optional | ||
interface_name | string | The interface to which this rule applies. An empty string indicates that the rule applies to all interfaces. This attribute was added in vSphere API 6.7.1. Optional. |