Class: IControl::GlobalLB::MonitorRule
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::GlobalLB::MonitorRule
- Defined in:
- lib/icontrol/global_lb.rb,
lib/icontrol/global_lb.rb
Overview
An struct that specifies a monitor rule.
Instance Attribute Summary collapse
-
#monitor_templates ⇒ StringSequence
The list of monitors that constitute this monitor rule.
-
#quorum ⇒ Numeric
A value to be used when type is MONITOR_RULE_TYPE_M_OF_N, i.e.
-
#type ⇒ IControl::GlobalLB::MonitorRuleType
An indicator of how to deal/interpret with the list of monitors in monitor_templates.
Instance Attribute Details
#monitor_templates ⇒ StringSequence
The list of monitors that constitute this monitor rule.
111 112 113 |
# File 'lib/icontrol/global_lb.rb', line 111 def monitor_templates @monitor_templates end |
#quorum ⇒ Numeric
A value to be used when type is MONITOR_RULE_TYPE_M_OF_N, i.e. this value is the M in M of N. This value is ignored for other rule types.
111 112 113 |
# File 'lib/icontrol/global_lb.rb', line 111 def quorum @quorum end |
#type ⇒ IControl::GlobalLB::MonitorRuleType
An indicator of how to deal/interpret with the list of monitors in monitor_templates.
111 112 113 |
# File 'lib/icontrol/global_lb.rb', line 111 def type @type end |