appliance techpreview networking firewall addr inbound: list

Get ordered list of inbound IP addresses that are allowed or denied by firewall.

Request:

HTTP request

GET https://{server}/rest/appliance/techpreview/networking/firewall/addr/inbound
No request parameters

Response:

HTTP Status Code: 200

Representations:

{
    "value"[
        {
            "address""string",
            "interface_name""string",
            "policy""deny",
            "prefix"1
        },
        {
            "address""string",
            "interface_name""string",
            "policy""deny",
            "prefix"1
        }
    ]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/appliance/techpreview/networking/firewall/addr/inbound" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value-array>
    <array-item>
      <address>string</address>
      <prefix>1</prefix>
      <policy>deny</policy>
      <interface_name>string</interface_name>
    </array-item>
    <array-item>
      <address>string</address>
      <prefix>1</prefix>
      <policy>deny</policy>
      <interface_name>string</interface_name>
    </array-item>
  </value-array>
</ns0:List-Result>

Response Type:

Name Type Description
bold = required
value firewall_address_rule[] List of address-based firewall rules.
value[].address string IPv4 or IPv6 address.

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

value[].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.

value[].interface_name string The interface to which this rule applies. An empty string or "*" indicates that the rule applies to all interfaces.

Errors:

HTTP Status Code Type Description
500 error Generic error