InlinePBRRule1
InlinePBRRule1
JSON Example
{
"disabled": false,
"sources": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
],
"rule_tag": "string",
"services": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string",
"service": {
"resource_type": "string"
}
}
],
"notes": "string",
"applied_tos": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
],
"logged": false,
"action": "string",
"destinations": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
]
}
boolean
disabled
Optional
Flag to disable rule. Disabled will only be persisted but never provisioned/realized.
string
rule_tag
Optional
User level field which will be printed in CLI and packet logs.
string
notes
Optional
User notes specific to the rule.
array of ResourceReference
applied_tos
Optional
List of object where rule will be enforced. field overrides this one. Null will be treated as any.
boolean
logged
Optional
Flag to enable packet logging. Default is disabled.
string
action
Required
Action enforced on the packets which matches the PBR rule.
Possible values are : ROUTE_TO_UNDERLAY_NAT, ROUTE_TO_OVERLAY_NAT, ROUTE_TO_UNDERLAY, ROUTE_TO_OVERLAY,
array of ResourceReference
destinations
Optional
List of the destinations. Null will be treated as any.