VcenterSettingsV1ConfigComponentsApplmgmtFirewallRulePolicy
FirewallRulePolicy structure Structure that defines a single address-based firewall rule.
Properties
IPv4 or IPv6 address.
The interface to which this rule applies. An empty string indicates that the rule applies to all interfaces. Only set if interface name required
FirewallRulePolicy.Policy enumerated type Defines firewall rule policies.
IGNORE : Drop packet with correpsonding address.
ACCEPT : Allow packet with corresponding address.
REJECT : Drop packet with corresponding address sending destination is not reachable.
RETURN : Apply default or port-specific rules to packet with corresponding address.
Possible values are: IGNORE , ACCEPT , REJECT , RETURN
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": "IGNORE",
"prefix": 0
}