appliance techpreview networking firewall addr inbound: firewall address rule
firewall_address_rule
structure Structure that defines a single address-based firewall rule.Representations:
{
"address": "string",
"interface_name": "string",
"policy": "deny",
"prefix": 1
}
"address": "string",
"interface_name": "string",
"policy": "deny",
"prefix": 1
}
<?xml version="1.0" ?>
<ns0:FirewallAddressRule xmlns:ns0="http://vmware.com/appliance/techpreview/networking/firewall/addr/inbound" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<address>string</address>
<prefix>1</prefix>
<policy>deny</policy>
<interface_name>string</interface_name>
</ns0:FirewallAddressRule>
<ns0:FirewallAddressRule xmlns:ns0="http://vmware.com/appliance/techpreview/networking/firewall/addr/inbound" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<address>string</address>
<prefix>1</prefix>
<policy>deny</policy>
<interface_name>string</interface_name>
</ns0:FirewallAddressRule>
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
address | string | IPv4 or IPv6 address. |
prefix | long | CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the low-order 8 bits of address. |
policy | string | The allow or deny policy of this rule. Defines firewall rule policies Value is one of: deny: Deny packet with correpsonding address. allow: Allow packet with corresponding address. |
interface_name | string | The interface to which this rule applies. An empty string or "*" indicates that the rule applies to all interfaces. |