RuleSet

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.

Methods

__init__(**kwargs) Initializes a new RuleSet object with values from keyword arguments.

Attributes

items [Required] Gets the items of this RuleSet.
name [Required] Gets the name of this RuleSet.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this RuleSet.
  • items (list[oci.load_balancer.models.Rule]) – The value to assign to the items property of this RuleSet.
items

[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[oci.load_balancer.models.Rule]
name

[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