RaiEgressRule Class

A single egress rule. Rules are evaluated in order; first match wins.

Constructor

RaiEgressRule(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

Name of the rule. Must be unique within the policy. Required.

description
str

Description of the rule.

rule_type

The type of rule (e.g., Fqdn). Determines how match criteria are interpreted. Required. "Fqdn"

match

The match criteria for this rule.

action

The action to take when this rule matches, including the action type and any type-specific configuration (headers for Transform, rewrite target for Rewrite). Required.

Attributes

action

The action to take when this rule matches, including the action type and any type-specific configuration (headers for Transform, rewrite target for Rewrite). Required.

action: _models.RaiEgressRuleAction

description

Description of the rule.

description: str | None

match

The match criteria for this rule.

match: _models.RaiEgressRuleMatch | None

name

Name of the rule. Must be unique within the policy. Required.

name: str

rule_type

The type of rule (e.g., Fqdn). Determines how match criteria are interpreted. Required. "Fqdn"

rule_type: str | _models.RaiEgressRuleType