Chapter 09/circuit-oneops-1-master/components/cookbooks/f5-bigip/libraries/provider_ltm_pool.rb
#
# Return F5 monitor rule type given number of monitors provided in
# new resource monitors parameter
#
# @return [String]
#   F5 rule type
#
Return F5 monitor rule type given number of monitors provided in
new resource monitors parameter
Return F5 monitor rule type given number of monitors provided in new resource monitors parameter
def monitor_rule_type
        case new_resource.monitors.size
        when 0
          'MONITOR_RULE_TYPE_NONE'
        when 1
          'MONITOR_RULE_TYPE_SINGLE'
        else
          'MONITOR_RULE_TYPE_AND_LIST'
        end
      end
def monitor_rule_type case new_resource . monitors . size when 0 'MONITOR_RULE_TYPE_NONE' when 1 'MONITOR_RULE_TYPE_SINGLE' else 'MONITOR_RULE_TYPE_AND_LIST' end end
Return F5 monitor rule type given number of monitors provided in
new resource monitors parameter
Return F5 monitor rule type given number of monitors provided in new resource monitors parameter
F5 rule type
F5 rule type
String