L4Rule

L4Rule
L4Rule
JSON Example
{
    "action": {
        "select_pool": {
            "action_type": "string",
            "pool_group_ref": "string",
            "pool_ref": "string"
        }
    },
    "enable": false,
    "index": 0,
    "match": {
        "client_ip": {
            "addrs": [
                {
                    "addr": "string",
                    "type": "string"
                }
            ],
            "group_refs": [
                "string"
            ],
            "match_criteria": "string",
            "prefixes": [
                {
                    "ip_addr": {
                        "addr": "string",
                        "type": "string"
                    },
                    "mask": 0
                }
            ],
            "ranges": [
                {
                    "begin": {
                        "addr": "string",
                        "type": "string"
                    },
                    "end": {
                        "addr": "string",
                        "type": "string"
                    }
                }
            ]
        },
        "port": {
            "match_criteria": "string",
            "port_ranges": [
                {
                    "end": 0,
                    "start": 0
                }
            ],
            "ports": [
                0
            ]
        },
        "protocol": {
            "match_criteria": "string",
            "protocol": "string"
        }
    },
    "name": "string"
}
action
Optional

action

boolean
enable
Optional

Enable or disable the rule. Field introduced in 17.2.7. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

integer As int32 As int32
index
Required

Index of the rule. Field introduced in 17.2.7. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

match
Optional

match

string
name
Required

Name of the rule. Field introduced in 17.2.7. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.