FirewallRule

Properties

string
action Optional
Not available

Possible values are: ALLOWDENY


array of string
application_ids Optional
Not available

string
destination Optional

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


destination_scope Optional

Optional for FirewallRule. If not specified, defaults to ‘any’.


string
id Optional
Not available

string
name Optional
Not available

integer
revision Optional

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


string
rule_interface Optional

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


string
rule_type Optional
Not available

Possible values are: USERDEFAULT


array of FirewallService
services Optional

list of protocols and ports for this firewall rule


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’.

JSON Example

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

GatewayTemplate
Feedback

Was this page helpful?