Class: Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group
- Inherits:
-
Entity
- Object
- Model
- Entity
- Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group
- Defined in:
- 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: CrossReference, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Service_Group'
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#routing_method ⇒ Object
Returns the value of attribute routing_method.
-
#routing_method_id ⇒ Object
Returns the value of attribute routing_method_id.
-
#routing_type ⇒ Object
Returns the value of attribute routing_type.
-
#routing_type_id ⇒ Object
Returns the value of attribute routing_type_id.
-
#service_count ⇒ Object
Returns the value of attribute service_count.
-
#service_reference_count ⇒ Object
Returns the value of attribute service_reference_count.
-
#service_references ⇒ Object
Returns the value of attribute service_references.
-
#services ⇒ Object
Returns the value of attribute services.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#virtual_server_count ⇒ Object
Returns the value of attribute virtual_server_count.
-
#virtual_servers ⇒ Object
Returns the value of attribute virtual_servers.
Instance Method Summary collapse
-
#get_graph_image(message) ⇒ Object
graph_type metric.
- #get_object ⇒ Object
- #get_routing_method ⇒ Object
- #get_routing_type ⇒ Object
- #get_service_references ⇒ Object
- #get_services ⇒ Object
- #get_virtual_servers ⇒ Object
- #kick_all_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
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 11 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 12 def name @name end |
#notes ⇒ Object
Returns the value of attribute notes.
13 14 15 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 13 def notes @notes end |
#routing_method ⇒ Object
Returns the value of attribute routing_method.
20 21 22 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 20 def routing_method @routing_method end |
#routing_method_id ⇒ Object
Returns the value of attribute routing_method_id.
14 15 16 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 14 def routing_method_id @routing_method_id end |
#routing_type ⇒ Object
Returns the value of attribute routing_type.
21 22 23 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 21 def routing_type @routing_type end |
#routing_type_id ⇒ Object
Returns the value of attribute routing_type_id.
15 16 17 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 15 def routing_type_id @routing_type_id end |
#service_count ⇒ Object
Returns the value of attribute service_count.
17 18 19 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 17 def service_count @service_count end |
#service_reference_count ⇒ Object
Returns the value of attribute service_reference_count.
18 19 20 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 18 def service_reference_count @service_reference_count end |
#service_references ⇒ Object
Returns the value of attribute service_references.
22 23 24 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 22 def service_references @service_references end |
#services ⇒ Object
Returns the value of attribute services.
23 24 25 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 23 def services @services end |
#timeout ⇒ Object
Returns the value of attribute timeout.
16 17 18 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 16 def timeout @timeout end |
#virtual_server_count ⇒ Object
Returns the value of attribute virtual_server_count.
19 20 21 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 19 def virtual_server_count @virtual_server_count end |
#virtual_servers ⇒ Object
Returns the value of attribute virtual_servers.
24 25 26 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 24 def virtual_servers @virtual_servers end |
Instance Method Details
#get_graph_image(message) ⇒ Object
graph_type metric
28 29 30 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 28 def get_graph_image() request(:get_graph_image, Softlayer::Base64Binary, ) end |
#get_object ⇒ Object
32 33 34 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 32 def get_object request(:get_object, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group) end |
#get_routing_method ⇒ Object
36 37 38 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 36 def get_routing_method request(:get_routing_method, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Routing::Method) end |
#get_routing_type ⇒ Object
40 41 42 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 40 def get_routing_type request(:get_routing_type, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Routing::Type) end |
#get_service_references ⇒ Object
44 45 46 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 44 def get_service_references request(:get_service_references, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group::CrossReference]) end |
#get_services ⇒ Object
48 49 50 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 48 def get_services request(:get_services, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service]) end |
#get_virtual_servers ⇒ Object
52 53 54 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 52 def get_virtual_servers request(:get_virtual_servers, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::VirtualServer]) end |
#kick_all_connections ⇒ Object
56 57 58 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb', line 56 def kick_all_connections request(:kick_all_connections, Boolean) end |