Class: Softlayer::Network::Application::Delivery::Controller
- Defined in:
- lib/softlayer/network/application/delivery/controller.rb,
lib/softlayer/network/application/delivery/controller/type.rb,
lib/softlayer/network/application/delivery/controller/configuration.rb,
lib/softlayer/network/application/delivery/controller/load_balancer.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health.rb,
lib/softlayer/network/application/delivery/controller/configuration/history.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/routing.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/service.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health/check.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/routing/type.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/routing/method.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health/attribute.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health/check/type.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health/attribute/type.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/service/group/cross_reference.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address/secure_transport_cipher.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address/secure_transport_protocol.rb
Defined Under Namespace
Modules: Configuration, LoadBalancer Classes: Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Application_Delivery_Controller'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#average_daily_public_bandwidth_usage ⇒ Object
Returns the value of attribute average_daily_public_bandwidth_usage.
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#configuration_history ⇒ Object
Returns the value of attribute configuration_history.
-
#configuration_history_count ⇒ Object
Returns the value of attribute configuration_history_count.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#datacenter ⇒ Object
Returns the value of attribute datacenter.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#license_expiration_date ⇒ Object
Returns the value of attribute license_expiration_date.
-
#load_balancer_count ⇒ Object
Returns the value of attribute load_balancer_count.
-
#load_balancers ⇒ Object
Returns the value of attribute load_balancers.
-
#managed_resource_flag ⇒ Object
Returns the value of attribute managed_resource_flag.
-
#management_ip_address ⇒ Object
Returns the value of attribute management_ip_address.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#network_vlan ⇒ Object
Returns the value of attribute network_vlan.
-
#network_vlan_count ⇒ Object
Returns the value of attribute network_vlan_count.
-
#network_vlans ⇒ Object
Returns the value of attribute network_vlans.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#outbound_public_bandwidth_usage ⇒ Object
Returns the value of attribute outbound_public_bandwidth_usage.
-
#password ⇒ Object
Returns the value of attribute password.
-
#primary_ip_address ⇒ Object
Returns the value of attribute primary_ip_address.
-
#projected_public_bandwidth_usage ⇒ Object
Returns the value of attribute projected_public_bandwidth_usage.
-
#subnet_count ⇒ Object
Returns the value of attribute subnet_count.
-
#subnets ⇒ Object
Returns the value of attribute subnets.
-
#tag_reference_count ⇒ Object
Returns the value of attribute tag_reference_count.
-
#tag_references ⇒ Object
Returns the value of attribute tag_references.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_id ⇒ Object
Returns the value of attribute type_id.
-
#virtual_ip_address_count ⇒ Object
Returns the value of attribute virtual_ip_address_count.
-
#virtual_ip_addresses ⇒ Object
Returns the value of attribute virtual_ip_addresses.
Instance Method Summary collapse
-
#create_live_load_balancer(message) ⇒ Object
load_balancer.
-
#delete_live_load_balancer(message) ⇒ Object
load_balancer.
-
#delete_live_load_balancer_service(message) ⇒ Object
service.
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_average_daily_public_bandwidth_usage ⇒ Object
-
#get_bandwidth_data_by_date(message) ⇒ Object
start_date_time end_date_time network_type.
-
#get_bandwidth_image_by_date(message) ⇒ Object
start_date_time end_date_time network_type.
- #get_billing_item ⇒ Object
- #get_configuration_history ⇒ Object
-
#get_custom_bandwidth_data_by_date(message) ⇒ Object
graph_data.
- #get_datacenter ⇒ Object
- #get_description ⇒ Object
- #get_license_expiration_date ⇒ Object
-
#get_live_load_balancer_service_graph_image(message) ⇒ Object
service graph_type metric.
- #get_load_balancers ⇒ Object
- #get_managed_resource_flag ⇒ Object
- #get_management_ip_address ⇒ Object
- #get_network_vlan ⇒ Object
- #get_network_vlans ⇒ Object
- #get_object ⇒ Object
- #get_outbound_public_bandwidth_usage ⇒ Object
- #get_password ⇒ Object
- #get_primary_ip_address ⇒ Object
- #get_projected_public_bandwidth_usage ⇒ Object
- #get_subnets ⇒ Object
- #get_tag_references ⇒ Object
- #get_type ⇒ Object
- #get_virtual_ip_addresses ⇒ Object
- #restore_base_configuration ⇒ Object
-
#restore_configuration(message) ⇒ Object
configuration_history_id.
-
#save_current_configuration(message) ⇒ Object
notes.
-
#update_live_load_balancer(message) ⇒ Object
load_balancer.
- #update_net_scaler_license ⇒ 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
#account ⇒ Object
Returns the value of attribute account.
23 24 25 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 23 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
10 11 12 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 10 def account_id @account_id end |
#average_daily_public_bandwidth_usage ⇒ Object
Returns the value of attribute average_daily_public_bandwidth_usage.
24 25 26 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 24 def average_daily_public_bandwidth_usage @average_daily_public_bandwidth_usage end |
#billing_item ⇒ Object
Returns the value of attribute billing_item.
25 26 27 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 25 def billing_item @billing_item end |
#configuration_history ⇒ Object
Returns the value of attribute configuration_history.
26 27 28 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 26 def configuration_history @configuration_history end |
#configuration_history_count ⇒ Object
Returns the value of attribute configuration_history_count.
17 18 19 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 17 def configuration_history_count @configuration_history_count end |
#create_date ⇒ Object
Returns the value of attribute create_date.
11 12 13 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 11 def create_date @create_date end |
#datacenter ⇒ Object
Returns the value of attribute datacenter.
27 28 29 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 27 def datacenter @datacenter end |
#description ⇒ Object
Returns the value of attribute description.
28 29 30 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 28 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 12 def id @id end |
#license_expiration_date ⇒ Object
Returns the value of attribute license_expiration_date.
29 30 31 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 29 def license_expiration_date @license_expiration_date end |
#load_balancer_count ⇒ Object
Returns the value of attribute load_balancer_count.
18 19 20 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 18 def load_balancer_count @load_balancer_count end |
#load_balancers ⇒ Object
Returns the value of attribute load_balancers.
30 31 32 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 30 def load_balancers @load_balancers end |
#managed_resource_flag ⇒ Object
Returns the value of attribute managed_resource_flag.
31 32 33 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 31 def managed_resource_flag @managed_resource_flag end |
#management_ip_address ⇒ Object
Returns the value of attribute management_ip_address.
32 33 34 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 32 def management_ip_address @management_ip_address end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
13 14 15 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 13 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 14 def name @name end |
#network_vlan ⇒ Object
Returns the value of attribute network_vlan.
33 34 35 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 33 def network_vlan @network_vlan end |
#network_vlan_count ⇒ Object
Returns the value of attribute network_vlan_count.
19 20 21 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 19 def network_vlan_count @network_vlan_count end |
#network_vlans ⇒ Object
Returns the value of attribute network_vlans.
34 35 36 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 34 def network_vlans @network_vlans end |
#notes ⇒ Object
Returns the value of attribute notes.
15 16 17 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 15 def notes @notes end |
#outbound_public_bandwidth_usage ⇒ Object
Returns the value of attribute outbound_public_bandwidth_usage.
35 36 37 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 35 def outbound_public_bandwidth_usage @outbound_public_bandwidth_usage end |
#password ⇒ Object
Returns the value of attribute password.
36 37 38 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 36 def password @password end |
#primary_ip_address ⇒ Object
Returns the value of attribute primary_ip_address.
37 38 39 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 37 def primary_ip_address @primary_ip_address end |
#projected_public_bandwidth_usage ⇒ Object
Returns the value of attribute projected_public_bandwidth_usage.
38 39 40 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 38 def projected_public_bandwidth_usage @projected_public_bandwidth_usage end |
#subnet_count ⇒ Object
Returns the value of attribute subnet_count.
20 21 22 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 20 def subnet_count @subnet_count end |
#subnets ⇒ Object
Returns the value of attribute subnets.
39 40 41 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 39 def subnets @subnets end |
#tag_reference_count ⇒ Object
Returns the value of attribute tag_reference_count.
21 22 23 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 21 def tag_reference_count @tag_reference_count end |
#tag_references ⇒ Object
Returns the value of attribute tag_references.
40 41 42 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 40 def tag_references @tag_references end |
#type ⇒ Object
Returns the value of attribute type.
41 42 43 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 41 def type @type end |
#type_id ⇒ Object
Returns the value of attribute type_id.
16 17 18 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 16 def type_id @type_id end |
#virtual_ip_address_count ⇒ Object
Returns the value of attribute virtual_ip_address_count.
22 23 24 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 22 def virtual_ip_address_count @virtual_ip_address_count end |
#virtual_ip_addresses ⇒ Object
Returns the value of attribute virtual_ip_addresses.
42 43 44 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 42 def virtual_ip_addresses @virtual_ip_addresses end |
Instance Method Details
#create_live_load_balancer(message) ⇒ Object
load_balancer
45 46 47 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 45 def create_live_load_balancer() request(:create_live_load_balancer, Boolean, ) end |
#delete_live_load_balancer(message) ⇒ Object
load_balancer
50 51 52 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 50 def delete_live_load_balancer() request(:delete_live_load_balancer, Boolean, ) end |
#delete_live_load_balancer_service(message) ⇒ Object
service
55 56 57 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 55 def delete_live_load_balancer_service() request(:delete_live_load_balancer_service, Boolean, ) end |
#edit_object(message) ⇒ Object
template_object
60 61 62 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 60 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
64 65 66 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 64 def get_account request(:get_account, Softlayer::Account) end |
#get_average_daily_public_bandwidth_usage ⇒ Object
68 69 70 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 68 def get_average_daily_public_bandwidth_usage request(:get_average_daily_public_bandwidth_usage, Float) end |
#get_bandwidth_data_by_date(message) ⇒ Object
start_date_time end_date_time network_type
75 76 77 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 75 def get_bandwidth_data_by_date() request(:get_bandwidth_data_by_date, Array[Softlayer::Metric::Tracking::Object::Data], ) end |
#get_bandwidth_image_by_date(message) ⇒ Object
start_date_time end_date_time network_type
82 83 84 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 82 def get_bandwidth_image_by_date() request(:get_bandwidth_image_by_date, Softlayer::Container::Bandwidth::GraphOutputs, ) end |
#get_billing_item ⇒ Object
86 87 88 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 86 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item::Network::Application::Delivery::Controller) end |
#get_configuration_history ⇒ Object
90 91 92 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 90 def get_configuration_history request(:get_configuration_history, Array[Softlayer::Network::Application::Delivery::Controller::Configuration::History]) end |
#get_custom_bandwidth_data_by_date(message) ⇒ Object
graph_data
95 96 97 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 95 def get_custom_bandwidth_data_by_date() request(:get_custom_bandwidth_data_by_date, Softlayer::Container::Graph, ) end |
#get_datacenter ⇒ Object
99 100 101 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 99 def get_datacenter request(:get_datacenter, Softlayer::Location) end |
#get_description ⇒ Object
103 104 105 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 103 def get_description request(:get_description, String) end |
#get_license_expiration_date ⇒ Object
107 108 109 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 107 def get_license_expiration_date request(:get_license_expiration_date, DateTime) end |
#get_live_load_balancer_service_graph_image(message) ⇒ Object
service graph_type metric
114 115 116 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 114 def get_live_load_balancer_service_graph_image() request(:get_live_load_balancer_service_graph_image, Softlayer::Base64Binary, ) end |
#get_load_balancers ⇒ Object
118 119 120 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 118 def get_load_balancers request(:get_load_balancers, Array[Softlayer::Network::LoadBalancer::VirtualIpAddress]) end |
#get_managed_resource_flag ⇒ Object
122 123 124 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 122 def get_managed_resource_flag request(:get_managed_resource_flag, Boolean) end |
#get_management_ip_address ⇒ Object
126 127 128 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 126 def get_management_ip_address request(:get_management_ip_address, String) end |
#get_network_vlan ⇒ Object
130 131 132 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 130 def get_network_vlan request(:get_network_vlan, Softlayer::Network::Vlan) end |
#get_network_vlans ⇒ Object
134 135 136 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 134 def get_network_vlans request(:get_network_vlans, Array[Softlayer::Network::Vlan]) end |
#get_object ⇒ Object
138 139 140 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 138 def get_object request(:get_object, Softlayer::Network::Application::Delivery::Controller) end |
#get_outbound_public_bandwidth_usage ⇒ Object
142 143 144 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 142 def get_outbound_public_bandwidth_usage request(:get_outbound_public_bandwidth_usage, Float) end |
#get_password ⇒ Object
146 147 148 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 146 def get_password request(:get_password, Softlayer::Software::Component::Password) end |
#get_primary_ip_address ⇒ Object
150 151 152 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 150 def get_primary_ip_address request(:get_primary_ip_address, String) end |
#get_projected_public_bandwidth_usage ⇒ Object
154 155 156 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 154 def get_projected_public_bandwidth_usage request(:get_projected_public_bandwidth_usage, Float) end |
#get_subnets ⇒ Object
158 159 160 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 158 def get_subnets request(:get_subnets, Array[Softlayer::Network::Subnet]) end |
#get_tag_references ⇒ Object
162 163 164 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 162 def get_tag_references request(:get_tag_references, Array[Softlayer::Tag::Reference]) end |
#get_type ⇒ Object
166 167 168 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 166 def get_type request(:get_type, Softlayer::Network::Application::Delivery::Controller::Type) end |
#get_virtual_ip_addresses ⇒ Object
170 171 172 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 170 def get_virtual_ip_addresses request(:get_virtual_ip_addresses, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::VirtualIpAddress]) end |
#restore_base_configuration ⇒ Object
174 175 176 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 174 def restore_base_configuration request(:restore_base_configuration, Boolean) end |
#restore_configuration(message) ⇒ Object
configuration_history_id
179 180 181 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 179 def restore_configuration() request(:restore_configuration, Boolean, ) end |
#save_current_configuration(message) ⇒ Object
notes
184 185 186 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 184 def save_current_configuration() request(:save_current_configuration, Softlayer::Network::Application::Delivery::Controller::Configuration::History, ) end |
#update_live_load_balancer(message) ⇒ Object
load_balancer
189 190 191 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 189 def update_live_load_balancer() request(:update_live_load_balancer, Boolean, ) end |
#update_net_scaler_license ⇒ Object
193 194 195 |
# File 'lib/softlayer/network/application/delivery/controller.rb', line 193 def update_net_scaler_license request(:update_net_scaler_license, Softlayer::Provisioning::Version1::Transaction) end |