Class: Softlayer::Network::LoadBalancer::Service
- Defined in:
- lib/softlayer/network/load_balancer/service.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_LoadBalancer_Service'
Instance Attribute Summary collapse
-
#connection_limit ⇒ Object
Returns the value of attribute connection_limit.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#destination_ip_address ⇒ Object
Returns the value of attribute destination_ip_address.
-
#destination_port ⇒ Object
Returns the value of attribute destination_port.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#health_check ⇒ Object
Returns the value of attribute health_check.
-
#health_check_url ⇒ Object
Returns the value of attribute health_check_url.
-
#health_response ⇒ Object
Returns the value of attribute health_response.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#peak_connections ⇒ Object
Returns the value of attribute peak_connections.
-
#source_port ⇒ Object
Returns the value of attribute source_port.
-
#type ⇒ Object
Returns the value of attribute type.
-
#vip ⇒ Object
Returns the value of attribute vip.
-
#vip_id ⇒ Object
Returns the value of attribute vip_id.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#get_graph_image(message) ⇒ Object
graph_type metric.
- #get_object ⇒ Object
- #get_status ⇒ Object
- #get_vip ⇒ Object
- #reset_peak_connections ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#connection_limit ⇒ Object
Returns the value of attribute connection_limit.
6 7 8 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 6 def connection_limit @connection_limit end |
#create_date ⇒ Object
Returns the value of attribute create_date.
7 8 9 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 7 def create_date @create_date end |
#destination_ip_address ⇒ Object
Returns the value of attribute destination_ip_address.
8 9 10 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 8 def destination_ip_address @destination_ip_address end |
#destination_port ⇒ Object
Returns the value of attribute destination_port.
9 10 11 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 9 def destination_port @destination_port end |
#enabled ⇒ Object
Returns the value of attribute enabled.
10 11 12 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 10 def enabled @enabled end |
#health_check ⇒ Object
Returns the value of attribute health_check.
11 12 13 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 11 def health_check @health_check end |
#health_check_url ⇒ Object
Returns the value of attribute health_check_url.
12 13 14 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 12 def health_check_url @health_check_url end |
#health_response ⇒ Object
Returns the value of attribute health_response.
13 14 15 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 13 def health_response @health_response end |
#id ⇒ Object
Returns the value of attribute id.
14 15 16 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 14 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
15 16 17 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 15 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 16 def name @name end |
#notes ⇒ Object
Returns the value of attribute notes.
17 18 19 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 17 def notes @notes end |
#peak_connections ⇒ Object
Returns the value of attribute peak_connections.
18 19 20 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 18 def peak_connections @peak_connections end |
#source_port ⇒ Object
Returns the value of attribute source_port.
19 20 21 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 19 def source_port @source_port end |
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 20 def type @type end |
#vip ⇒ Object
Returns the value of attribute vip.
23 24 25 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 23 def vip @vip end |
#vip_id ⇒ Object
Returns the value of attribute vip_id.
21 22 23 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 21 def vip_id @vip_id end |
#weight ⇒ Object
Returns the value of attribute weight.
22 23 24 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 22 def weight @weight end |
Instance Method Details
#delete_object ⇒ Object
25 26 27 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 25 def delete_object request(:delete_object, Boolean) end |
#get_graph_image(message) ⇒ Object
graph_type metric
31 32 33 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 31 def get_graph_image() request(:get_graph_image, Softlayer::Base64Binary, ) end |
#get_object ⇒ Object
35 36 37 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 35 def get_object request(:get_object, Softlayer::Network::LoadBalancer::Service) end |
#get_status ⇒ Object
39 40 41 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 39 def get_status request(:get_status, Array[Softlayer::Container::Network::LoadBalancer::StatusEntry]) end |
#get_vip ⇒ Object
43 44 45 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 43 def get_vip request(:get_vip, Softlayer::Network::LoadBalancer::VirtualIpAddress) end |
#reset_peak_connections ⇒ Object
47 48 49 |
# File 'lib/softlayer/network/load_balancer/service.rb', line 47 def reset_peak_connections request(:reset_peak_connections, Boolean) end |