VcenterSettingsV1ConfigComponentsApplmgmtFirewallRulePolicy

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


Properties

string
address Required

IPv4 or IPv6 address.


string
interface_name Optional

The interface to which this rule applies. An empty string indicates that the rule applies to all interfaces. Only set if interface name required


policy 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: 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.

JSON Example

{
	"address": "string",
	"policy": "IGNORE",
	"prefix": 0
}

Feedback

Was this page helpful?