FirewallRule
{
"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
}
rule_type
Id of Service available to the gateway.
name
Deprecated, left for backwards compatibility. Remove once UI stops using it.
Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to 'any'.
id
Optional for FirewallRule. If not specified, defaults to 'any'.
Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to 'any'.
Optional for FirewallRule. If not specified, defaults to 'any'.
action
current revision of the list of firewall rules, used to protect against concurrent modification (first writer wins)