Class: IControl::LocalLB::Monitor::CommonAttributes
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::LocalLB::Monitor::CommonAttributes
- Defined in:
- lib/icontrol/local_lb/monitor.rb,
lib/icontrol/local_lb/monitor.rb
Overview
A struct that describes some common attributes of a monitor template.
Instance Attribute Summary (collapse)
-
- (IControl::LocalLB::MonitorIPPort) dest_ipport
The destination IP:port of this monitor template.
-
- (Numeric) interval
The interval specifying how frequently the monitor instance of this template will run.
-
- (Object) is_directly_usable
The flag indicating whether this template is directly usable, or the user has to derive from this template before being able to use the derived template.
-
- (Object) is_read_only
The flag indicating whether this template is read-only.
-
- (String) parent_template
The parent template of this monitor template.
-
- (Numeric) timeout
The number of seconds in which the node or service must respond to the monitor request.
Method Summary
Methods inherited from Base::Struct
from_soap, icontrol_attribute, #to_soap
Instance Attribute Details
- (IControl::LocalLB::MonitorIPPort) dest_ipport
The destination IP:port of this monitor template.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def dest_ipport @dest_ipport end |
- (Numeric) interval
The interval specifying how frequently the monitor instance of this template will run.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def interval @interval end |
- (Object) is_directly_usable
The flag indicating whether this template is directly usable, or the user has to derive from this template before being able to use the derived template.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def is_directly_usable @is_directly_usable end |
- (Object) is_read_only
The flag indicating whether this template is read-only.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def is_read_only @is_read_only end |
- (String) parent_template
The parent template of this monitor template.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def parent_template @parent_template end |
- (Numeric) timeout
The number of seconds in which the node or service must respond to the monitor request. If the target responds within the set time period, it is considered up. If the target does not respond within the set time period, it is considered down. You can change this number to any number you want, however, it should be 3 times the interval number of seconds plus 1 second.
406 407 408 |
# File 'lib/icontrol/local_lb/monitor.rb', line 406 def timeout @timeout end |