Class: Softlayer::Network::LoadBalancer::Global::Host
- Defined in:
- lib/softlayer/network/load_balancer/global/host.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_LoadBalancer_Global_Host'
Instance Attribute Summary collapse
-
#destination_ip ⇒ Object
Returns the value of attribute destination_ip.
-
#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.
-
#hits ⇒ Object
Returns the value of attribute hits.
-
#id ⇒ Object
Returns the value of attribute id.
-
#load_balance_order ⇒ Object
Returns the value of attribute load_balance_order.
-
#load_balancer_account ⇒ Object
Returns the value of attribute load_balancer_account.
-
#location ⇒ Object
Returns the value of attribute location.
-
#status ⇒ Object
Returns the value of attribute status.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
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
#destination_ip ⇒ Object
Returns the value of attribute destination_ip.
7 8 9 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 7 def destination_ip @destination_ip end |
#destination_port ⇒ Object
Returns the value of attribute destination_port.
8 9 10 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 8 def destination_port @destination_port end |
#enabled ⇒ Object
Returns the value of attribute enabled.
9 10 11 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 9 def enabled @enabled end |
#health_check ⇒ Object
Returns the value of attribute health_check.
10 11 12 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 10 def health_check @health_check end |
#hits ⇒ Object
Returns the value of attribute hits.
11 12 13 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 11 def hits @hits end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 12 def id @id end |
#load_balance_order ⇒ Object
Returns the value of attribute load_balance_order.
13 14 15 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 13 def load_balance_order @load_balance_order end |
#load_balancer_account ⇒ Object
Returns the value of attribute load_balancer_account.
17 18 19 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 17 def load_balancer_account @load_balancer_account end |
#location ⇒ Object
Returns the value of attribute location.
14 15 16 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 14 def location @location end |
#status ⇒ Object
Returns the value of attribute status.
15 16 17 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 15 def status @status end |
#weight ⇒ Object
Returns the value of attribute weight.
16 17 18 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 16 def weight @weight end |
Instance Method Details
#delete_object ⇒ Object
19 20 21 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 19 def delete_object request(:delete_object, Boolean) end |
#get_load_balancer_account ⇒ Object
23 24 25 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 23 def get_load_balancer_account request(:get_load_balancer_account, Softlayer::Network::LoadBalancer::Global::Account) end |
#get_object ⇒ Object
27 28 29 |
# File 'lib/softlayer/network/load_balancer/global/host.rb', line 27 def get_object request(:get_object, Softlayer::Network::LoadBalancer::Global::Host) end |