Class: IControl::LocalLB::Monitor::CommonAttributes

Inherits:
Base::Struct
  • Object
show all
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

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

#dest_ipportIControl::LocalLB::MonitorIPPort

The destination IP:port of this monitor template.

Returns:



406
407
408
# File 'lib/icontrol/local_lb/monitor.rb', line 406

def dest_ipport
  @dest_ipport
end

#intervalNumeric

The interval specifying how frequently the monitor instance of this template will run.

Returns:

  • (Numeric)

    the current value of interval



406
407
408
# File 'lib/icontrol/local_lb/monitor.rb', line 406

def interval
  @interval
end

#is_directly_usableObject

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.

Returns:

  • (Object)

    the current value of is_directly_usable



406
407
408
# File 'lib/icontrol/local_lb/monitor.rb', line 406

def is_directly_usable
  @is_directly_usable
end

#is_read_onlyObject

The flag indicating whether this template is read-only.

Returns:

  • (Object)

    the current value of is_read_only



406
407
408
# File 'lib/icontrol/local_lb/monitor.rb', line 406

def is_read_only
  @is_read_only
end

#parent_templateString

The parent template of this monitor template.

Returns:

  • (String)

    the current value of parent_template



406
407
408
# File 'lib/icontrol/local_lb/monitor.rb', line 406

def parent_template
  @parent_template
end

#timeoutNumeric

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.

Returns:

  • (Numeric)

    the current value of timeout



406
407
408
# File 'lib/icontrol/local_lb/monitor.rb', line 406

def timeout
  @timeout
end