Class: Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service
- Defined in:
- lib/softlayer/network/application/delivery/controller/load_balancer/service.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/service/group/cross_reference.rb
Defined Under Namespace
Classes: Group, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service'
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#group_count ⇒ Object
Returns the value of attribute group_count.
-
#group_reference_count ⇒ Object
Returns the value of attribute group_reference_count.
-
#group_references ⇒ Object
Returns the value of attribute group_references.
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#health_check_count ⇒ Object
Returns the value of attribute health_check_count.
-
#health_checks ⇒ Object
Returns the value of attribute health_checks.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#ip_address_id ⇒ Object
Returns the value of attribute ip_address_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#port ⇒ Object
Returns the value of attribute port.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#get_graph_image(message) ⇒ Object
graph_type metric.
- #get_group_references ⇒ Object
- #get_groups ⇒ Object
- #get_health_checks ⇒ Object
- #get_ip_address ⇒ Object
- #get_object ⇒ Object
- #toggle_status ⇒ 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
#enabled ⇒ Object
Returns the value of attribute enabled.
10 11 12 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 10 def enabled @enabled end |
#group_count ⇒ Object
Returns the value of attribute group_count.
17 18 19 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 17 def group_count @group_count end |
#group_reference_count ⇒ Object
Returns the value of attribute group_reference_count.
18 19 20 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 18 def group_reference_count @group_reference_count end |
#group_references ⇒ Object
Returns the value of attribute group_references.
20 21 22 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 20 def group_references @group_references end |
#groups ⇒ Object
Returns the value of attribute groups.
21 22 23 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 21 def groups @groups end |
#health_check_count ⇒ Object
Returns the value of attribute health_check_count.
19 20 21 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 19 def health_check_count @health_check_count end |
#health_checks ⇒ Object
Returns the value of attribute health_checks.
22 23 24 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 22 def health_checks @health_checks end |
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 11 def id @id end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
23 24 25 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 23 def ip_address @ip_address end |
#ip_address_id ⇒ Object
Returns the value of attribute ip_address_id.
12 13 14 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 12 def ip_address_id @ip_address_id end |
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 13 def name @name end |
#notes ⇒ Object
Returns the value of attribute notes.
14 15 16 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 14 def notes @notes end |
#port ⇒ Object
Returns the value of attribute port.
15 16 17 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 15 def port @port end |
#status ⇒ Object
Returns the value of attribute status.
16 17 18 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 16 def status @status end |
Instance Method Details
#delete_object ⇒ Object
25 26 27 |
# File 'lib/softlayer/network/application/delivery/controller/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/application/delivery/controller/load_balancer/service.rb', line 31 def get_graph_image() request(:get_graph_image, Softlayer::Base64Binary, ) end |
#get_group_references ⇒ Object
35 36 37 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 35 def get_group_references request(:get_group_references, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group::CrossReference]) end |
#get_groups ⇒ Object
39 40 41 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 39 def get_groups request(:get_groups, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group]) end |
#get_health_checks ⇒ Object
43 44 45 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 43 def get_health_checks request(:get_health_checks, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Health::Check]) end |
#get_ip_address ⇒ Object
47 48 49 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 47 def get_ip_address request(:get_ip_address, Softlayer::Network::Subnet::IpAddress) end |
#get_object ⇒ Object
51 52 53 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 51 def get_object request(:get_object, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service) end |
#toggle_status ⇒ Object
55 56 57 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service.rb', line 55 def toggle_status request(:toggle_status, Boolean) end |