FirewallRule
FirewallRule
JSON Example
{
"rule_type": "string",
"application_ids": [
"string"
],
"name": "string",
"destination": "string",
"destination_scope": {
"grouping_object_ids": [
"string"
],
"vnic_group_ids": [
"string"
]
},
"action": "string",
"source_scope": {
"grouping_object_ids": [
"string"
],
"vnic_group_ids": [
"string"
]
},
"source": "string",
"services": [
{
"protocol": "string",
"ports": [
"string"
]
}
],
"id": "string",
"rule_interface": "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
destination
Optional
Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to 'any'.
string
action
Optional
action
Possible values are :
ALLOW,
DENY,
string
source
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
string
rule_interface
Optional
Deprecated, left for backwards compatibility. Remove once UI stops using it.
integer As int32
As int32
revision
Optional
current revision of the list of firewall rules, used to protect against concurrent modification (first writer wins)