CreateRuleSetDetails

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

Bases: object

A named set of rules to add to the load balancer.

Methods

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

Attributes

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

Initializes a new CreateRuleSetDetails 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 CreateRuleSetDetails.
  • items (list[oci.load_balancer.models.Rule]) – The value to assign to the items property of this CreateRuleSetDetails.
items

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

Returns:The items of this CreateRuleSetDetails.
Return type:list[oci.load_balancer.models.Rule]
name

[Required] Gets the name of this CreateRuleSetDetails. 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 CreateRuleSetDetails.
Return type:str