Class: IControl::GlobalLB::PoolMember
- Inherits:
-
Base
- Object
- Base
- IControl::GlobalLB::PoolMember
- Defined in:
- lib/icontrol/global_lb/pool_member.rb,
lib/icontrol/global_lb.rb
Overview
The PoolMember interface enables you to work with the pool members and their settings, and statistics.
Defined Under Namespace
Classes: MemberDependency, MemberDependencySequence, MemberDependencySequenceSequence, MemberEnabledState, MemberEnabledStateSequence, MemberEnabledStateSequenceSequence, MemberMetricLimit, MemberMetricLimitSequence, MemberMetricLimitSequenceSequence, MemberMonitorAssociation, MemberMonitorAssociationRemoval, MemberMonitorAssociationRemovalSequence, MemberMonitorAssociationRemovalSequenceSequence, MemberMonitorAssociationSequence, MemberMonitorAssociationSequenceSequence, MemberObjectStatus, MemberObjectStatusSequence, MemberObjectStatusSequenceSequence, MemberOrder, MemberOrderSequence, MemberOrderSequenceSequence, MemberRatio, MemberRatioSequence, MemberRatioSequenceSequence, MemberStatisticEntry, MemberStatisticEntrySequence, MemberStatistics, MemberStatisticsSequence
Instance Method Summary collapse
-
#add_dependency(opts) ⇒ Object
Adds the virtual servers to the dependency list that this pool members depend on.
-
#all_statistics ⇒ MemberStatistics
Gets the statistics for all pool members of this pool.
-
#dependency(opts) ⇒ MemberDependency[]
Gets the list of virtual servers that this pool members depend on.
-
#enabled_state(opts) ⇒ MemberEnabledState[]
Gets the enabled states for this members in this pool.
-
#limit(opts) ⇒ MemberMetricLimit[]
Gets the metric limits for this members of this pool.
-
#monitor_association ⇒ MemberMonitorAssociation[]
Gets the monitor associations used by this pool members, i.e.
-
#object_status(opts) ⇒ MemberObjectStatus[]
Gets the statuses for this members in this pool.
-
#order(opts) ⇒ MemberOrder[]
Gets the orders for this members in this pool.
-
#ratio(opts) ⇒ MemberRatio[]
Gets the ratios for this members in this pool.
-
#remove_all_dependencies(opts) ⇒ Object
Removes any and all dependencies of this pool members.
-
#remove_dependency(opts) ⇒ Object
Removes the virtual servers from the dependency list that this pool members depend on.
-
#remove_monitor_association(opts) ⇒ Object
Removes the monitor associations for this pool members.
-
#reset_statistics(opts) ⇒ Object
Resets the statistics for this set of pool members.
-
#set_enabled_state(opts) ⇒ Object
Sets the enabled states for this pool members in this pool.
-
#set_limit(opts) ⇒ Object
Sets the metric limits for this members of this pool.
-
#set_monitor_association(opts) ⇒ Object
Sets/creates the monitor associations for this pool members.
-
#set_order(opts) ⇒ Object
Sets the orders for this pool members.
-
#set_ratio(opts) ⇒ Object
Sets the ratios for this pool members.
-
#statistics(opts) ⇒ MemberStatistics
Gets the statistics for this set of pool members.
-
#version ⇒ String
Gets the version information for this interface.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#add_dependency(opts) ⇒ Object
Adds the virtual servers to the dependency list that this pool members depend on.
44 45 46 47 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 44 def add_dependency(opts) opts = check_params(opts,[:dependencies]) super(opts) end |
#all_statistics ⇒ MemberStatistics
Gets the statistics for all pool members of this pool.
56 57 58 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 56 def all_statistics super end |
#dependency(opts) ⇒ MemberDependency[]
Gets the list of virtual servers that this pool members depend on.
69 70 71 72 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 69 def dependency(opts) opts = check_params(opts,[:members]) super(opts) end |
#enabled_state(opts) ⇒ MemberEnabledState[]
Gets the enabled states for this members in this pool.
83 84 85 86 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 83 def enabled_state(opts) opts = check_params(opts,[:members]) super(opts) end |
#limit(opts) ⇒ MemberMetricLimit[]
Gets the metric limits for this members of this pool.
97 98 99 100 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 97 def limit(opts) opts = check_params(opts,[:members]) super(opts) end |
#monitor_association ⇒ MemberMonitorAssociation[]
Gets the monitor associations used by this pool members, i.e. the monitor rules used by the pool members.
110 111 112 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 110 def monitor_association super end |
#object_status(opts) ⇒ MemberObjectStatus[]
Gets the statuses for this members in this pool.
123 124 125 126 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 123 def object_status(opts) opts = check_params(opts,[:members]) super(opts) end |
#order(opts) ⇒ MemberOrder[]
Gets the orders for this members in this pool.
137 138 139 140 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 137 def order(opts) opts = check_params(opts,[:members]) super(opts) end |
#ratio(opts) ⇒ MemberRatio[]
Gets the ratios for this members in this pool.
151 152 153 154 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 151 def ratio(opts) opts = check_params(opts,[:members]) super(opts) end |
#remove_all_dependencies(opts) ⇒ Object
Removes any and all dependencies of this pool members.
186 187 188 189 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 186 def remove_all_dependencies(opts) opts = check_params(opts,[:members]) super(opts) end |
#remove_dependency(opts) ⇒ Object
Removes the virtual servers from the dependency list that this pool members depend on.
200 201 202 203 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 200 def remove_dependency(opts) opts = check_params(opts,[:dependencies]) super(opts) end |
#remove_monitor_association(opts) ⇒ Object
Removes the monitor associations for this pool members. Depending on the monitor association removal rule specified, this basically deletes any explicit monitor associations between a pool member and a monitor rule and thus causing the pool member to use the default monitor association of its parent pool, or this will delete any monitor association for the pool members altogether, i.e. this pool members will no longer be monitored.
218 219 220 221 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 218 def remove_monitor_association(opts) opts = check_params(opts,[:monitor_associations]) super(opts) end |
#reset_statistics(opts) ⇒ Object
Resets the statistics for this set of pool members.
231 232 233 234 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 231 def reset_statistics(opts) opts = check_params(opts,[:members]) super(opts) end |
#set_enabled_state(opts) ⇒ Object
Sets the enabled states for this pool members in this pool.
244 245 246 247 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 244 def set_enabled_state(opts) opts = check_params(opts,[:states]) super(opts) end |
#set_limit(opts) ⇒ Object
Sets the metric limits for this members of this pool.
257 258 259 260 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 257 def set_limit(opts) opts = check_params(opts,[:limits]) super(opts) end |
#set_monitor_association(opts) ⇒ Object
Sets/creates the monitor associations for this pool members. This basically creates the monitor associations between a pool member and a monitor rule.
271 272 273 274 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 271 def set_monitor_association(opts) opts = check_params(opts,[:monitor_associations]) super(opts) end |
#set_order(opts) ⇒ Object
Sets the orders for this pool members.
284 285 286 287 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 284 def set_order(opts) opts = check_params(opts,[:orders]) super(opts) end |
#set_ratio(opts) ⇒ Object
Sets the ratios for this pool members.
297 298 299 300 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 297 def set_ratio(opts) opts = check_params(opts,[:ratios]) super(opts) end |
#statistics(opts) ⇒ MemberStatistics
Gets the statistics for this set of pool members.
165 166 167 168 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 165 def statistics(opts) opts = check_params(opts,[:members]) super(opts) end |
#version ⇒ String
Gets the version information for this interface.
174 175 176 |
# File 'lib/icontrol/global_lb/pool_member.rb', line 174 def version super end |