RulePosition

class oci.network_firewall.models.RulePosition(**kwargs)

Bases: object

An object which defines the position of the rule.

Methods:

__init__(**kwargs)

Initializes a new RulePosition object with values from keyword arguments.

Attributes:

after_rule

Gets the after_rule of this RulePosition.

before_rule

Gets the before_rule of this RulePosition.

__init__(**kwargs)

Initializes a new RulePosition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • before_rule (str) – The value to assign to the before_rule property of this RulePosition.

  • after_rule (str) – The value to assign to the after_rule property of this RulePosition.

property after_rule

Gets the after_rule of this RulePosition. Identifier for rule after which this rule lies.

Returns

The after_rule of this RulePosition.

Return type

str

property before_rule

Gets the before_rule of this RulePosition. Identifier for rule before which this rule lies.

Returns

The before_rule of this RulePosition.

Return type

str