Class: IControl::LocalLB::SNATPool
- Inherits:
-
Base
- Object
- Base
- IControl::LocalLB::SNATPool
- Defined in:
- lib/icontrol/local_lb/snat_pool.rb,
lib/icontrol/local_lb.rb
Overview
The SNATPool interface enables you to work with the definitions contained in a local load balancer’s SNAT pool, which is a set of translation addresses. Either a virtual server, an iRule or a top-level SNAT object can reference a SNAT pool.
Defined Under Namespace
Classes: SNATPoolStatisticEntry, SNATPoolStatisticEntrySequence, SNATPoolStatistics
Instance Method Summary collapse
-
#add_member(opts) ⇒ Object
Adds members to this SNAT pools.
-
#all_statistics ⇒ SNATPoolStatistics
Gets the statistics for all SNAT pools.
-
#create(opts) ⇒ Object
Creates this SNAT pools.
-
#delete_all_snat_pools ⇒ Object
Deletes all SNAT pools.
-
#delete_snat_pool ⇒ Object
Deletes a specified list of SNAT pools.
-
#list ⇒ String
Gets a list of all SNAT pools.
-
#member ⇒ String[]
Gets the list of members belonging to this SNAT pools.
-
#remove_all_members ⇒ Object
Removes all members from this SNAT pools.
-
#remove_member(opts) ⇒ Object
Removes members from this SNAT pools.
-
#reset_statistics ⇒ Object
Resets the statistics for a list of SNAT pools.
-
#statistics ⇒ SNATPoolStatistics
Gets the statistics for a list of SNAT pools.
-
#version ⇒ String
Get 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_member(opts) ⇒ Object
Adds members to this SNAT pools.
20 21 22 23 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 20 def add_member(opts) opts = check_params(opts,[:members]) super(opts) end |
#all_statistics ⇒ SNATPoolStatistics
Gets the statistics for all SNAT pools.
65 66 67 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 65 def all_statistics super end |
#create(opts) ⇒ Object
Creates this SNAT pools.
33 34 35 36 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 33 def create(opts) opts = check_params(opts,[:translation_addresses]) super(opts) end |
#delete_all_snat_pools ⇒ Object
Deletes all SNAT pools.
44 45 46 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 44 def delete_all_snat_pools super end |
#delete_snat_pool ⇒ Object
Deletes a specified list of SNAT pools.
54 55 56 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 54 def delete_snat_pool super end |
#list ⇒ String
Gets a list of all SNAT pools.
76 77 78 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 76 def list super end |
#member ⇒ String[]
Gets the list of members belonging to this SNAT pools.
87 88 89 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 87 def member super end |
#remove_all_members ⇒ Object
Removes all members from this SNAT pools.
116 117 118 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 116 def remove_all_members super end |
#remove_member(opts) ⇒ Object
Removes members from this SNAT pools.
128 129 130 131 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 128 def remove_member(opts) opts = check_params(opts,[:members]) super(opts) end |
#reset_statistics ⇒ Object
Resets the statistics for a list of SNAT pools.
139 140 141 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 139 def reset_statistics super end |
#statistics ⇒ SNATPoolStatistics
Gets the statistics for a list of SNAT pools.
98 99 100 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 98 def statistics super end |
#version ⇒ String
Get the version information for this interface.
106 107 108 |
# File 'lib/icontrol/local_lb/snat_pool.rb', line 106 def version super end |