class oci.load_balancer.models.RuleSet(**kwargs)

Bases: object

A named set of rules associated with a load balancer. Rules are objects that represent actions to apply to a listener, such as adding, altering, or removing HTTP headers. For more information, see Managing Rule Sets.


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

  • name (str) -- The value to assign to the name property of this RuleSet.
  • items (list[Rule]) -- The value to assign to the items property of this RuleSet.

[Required] Gets the items of this RuleSet. An array of rules that compose the rule set.

Returns:The items of this RuleSet.
Return type:list[Rule]

[Required] Gets the name of this RuleSet. The name for this set of rules. It must be unique and it cannot be changed. Avoid entering confidential information.

Example: example_rule_set

Returns:The name of this RuleSet.
Return type:str