Class: Softlayer::Network::Application::Delivery::Controller::LoadBalancer::VirtualServer
- Inherits:
-
Entity
- Object
- Model
- Entity
- Softlayer::Network::Application::Delivery::Controller::LoadBalancer::VirtualServer
- Defined in:
- lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualServer'
Instance Attribute Summary collapse
-
#allocation ⇒ Object
Returns the value of attribute allocation.
-
#id ⇒ Object
Returns the value of attribute 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.
-
#routing_method ⇒ Object
Returns the value of attribute routing_method.
-
#routing_method_id ⇒ Object
Returns the value of attribute routing_method_id.
-
#scale_load_balancer_count ⇒ Object
Returns the value of attribute scale_load_balancer_count.
-
#scale_load_balancers ⇒ Object
Returns the value of attribute scale_load_balancers.
-
#service_group_count ⇒ Object
Returns the value of attribute service_group_count.
-
#service_groups ⇒ Object
Returns the value of attribute service_groups.
-
#virtual_ip_address ⇒ Object
Returns the value of attribute virtual_ip_address.
-
#virtual_ip_address_id ⇒ Object
Returns the value of attribute virtual_ip_address_id.
Instance Method Summary collapse
- #delete_object ⇒ Object
- #get_object ⇒ Object
- #get_routing_method ⇒ Object
- #get_scale_load_balancers ⇒ Object
- #get_service_groups ⇒ Object
- #get_virtual_ip_address ⇒ Object
- #start_ssl ⇒ Object
- #stop_ssl ⇒ 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
#allocation ⇒ Object
Returns the value of attribute allocation.
9 10 11 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 9 def allocation @allocation end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 10 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 11 def name @name end |
#notes ⇒ Object
Returns the value of attribute notes.
12 13 14 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 12 def notes @notes end |
#port ⇒ Object
Returns the value of attribute port.
13 14 15 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 13 def port @port end |
#routing_method ⇒ Object
Returns the value of attribute routing_method.
18 19 20 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 18 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/virtual_server.rb', line 14 def routing_method_id @routing_method_id end |
#scale_load_balancer_count ⇒ Object
Returns the value of attribute scale_load_balancer_count.
16 17 18 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 16 def scale_load_balancer_count @scale_load_balancer_count end |
#scale_load_balancers ⇒ Object
Returns the value of attribute scale_load_balancers.
19 20 21 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 19 def scale_load_balancers @scale_load_balancers end |
#service_group_count ⇒ Object
Returns the value of attribute service_group_count.
17 18 19 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 17 def service_group_count @service_group_count end |
#service_groups ⇒ Object
Returns the value of attribute service_groups.
20 21 22 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 20 def service_groups @service_groups end |
#virtual_ip_address ⇒ Object
Returns the value of attribute virtual_ip_address.
21 22 23 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 21 def virtual_ip_address @virtual_ip_address end |
#virtual_ip_address_id ⇒ Object
Returns the value of attribute virtual_ip_address_id.
15 16 17 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 15 def virtual_ip_address_id @virtual_ip_address_id end |
Instance Method Details
#delete_object ⇒ Object
23 24 25 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 23 def delete_object request(:delete_object, Boolean) end |
#get_object ⇒ Object
27 28 29 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 27 def get_object request(:get_object, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::VirtualServer) end |
#get_routing_method ⇒ Object
31 32 33 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 31 def get_routing_method request(:get_routing_method, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Routing::Method) end |
#get_scale_load_balancers ⇒ Object
35 36 37 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 35 def get_scale_load_balancers request(:get_scale_load_balancers, Array[Softlayer::Scale::LoadBalancer]) end |
#get_service_groups ⇒ Object
39 40 41 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 39 def get_service_groups request(:get_service_groups, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Service::Group]) end |
#get_virtual_ip_address ⇒ Object
43 44 45 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 43 def get_virtual_ip_address request(:get_virtual_ip_address, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::VirtualIpAddress) end |
#start_ssl ⇒ Object
47 48 49 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 47 def start_ssl request(:start_ssl, Boolean) end |
#stop_ssl ⇒ Object
51 52 53 |
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb', line 51 def stop_ssl request(:stop_ssl, Boolean) end |