FirewallRule

FirewallRule
FirewallRule
JSON Example
{
    "rule_type": "string",
    "application_ids": [
        "string"
    ],
    "name": "string",
    "rule_interface": "string",
    "destination": "string",
    "id": "string",
    "destination_scope": {
        "grouping_object_ids": [
            "string"
        ],
        "vnic_group_ids": [
            "string"
        ]
    },
    "source": "string",
    "source_scope": {
        "grouping_object_ids": [
            "string"
        ],
        "vnic_group_ids": [
            "string"
        ]
    },
    "services": [
        {
            "protocol": "string",
            "ports": [
                "string"
            ]
        }
    ],
    "action": "string",
    "revision": 0
}
string
rule_type
Optional

rule_type

Possible values are : USER, DEFAULT,
array of string
application_ids
Optional

Id of Service available to the gateway.

string
name
Optional

name

string
rule_interface
Optional

Deprecated, left for backwards compatibility. Remove once UI stops using it.

string
destination
Optional

Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to 'any'.

string
id
Optional

id

destination_scope
Optional

Optional for FirewallRule. If not specified, defaults to 'any'.

string
source
Optional

Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to 'any'.

source_scope
Optional

Optional for FirewallRule. If not specified, defaults to 'any'.

services
Optional

list of protocols and ports for this firewall rule

string
action
Optional

action

Possible values are : ALLOW, DENY,
integer As int32 As int32
revision
Optional

current revision of the list of firewall rules, used to protect against concurrent modification (first writer wins)

Property Of