REST API - list

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

Representation:

{
    "value"[
        {
            "address""string",
            "prefix"1,
            "interface_name""string",
            "policy""deny"
        },
        {
            "address""string",
            "prefix"1,
            "interface_name""string",
            "policy""deny"
        }
    ]
}

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