Class: Softlayer::Network::Application::Delivery::Controller

Inherits:
Entity
  • Object
show all
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

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

#accountObject

Returns the value of attribute account.



23
24
25
# File 'lib/softlayer/network/application/delivery/controller.rb', line 23

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



10
11
12
# File 'lib/softlayer/network/application/delivery/controller.rb', line 10

def 
  @account_id
end

#average_daily_public_bandwidth_usageObject

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_itemObject

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_historyObject

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_countObject

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_dateObject

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

#datacenterObject

Returns the value of attribute datacenter.



27
28
29
# File 'lib/softlayer/network/application/delivery/controller.rb', line 27

def datacenter
  @datacenter
end

#descriptionObject

Returns the value of attribute description.



28
29
30
# File 'lib/softlayer/network/application/delivery/controller.rb', line 28

def description
  @description
end

#idObject

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_dateObject

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_countObject

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_balancersObject

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_flagObject

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_addressObject

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_dateObject

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

#nameObject

Returns the value of attribute name.



14
15
16
# File 'lib/softlayer/network/application/delivery/controller.rb', line 14

def name
  @name
end

#network_vlanObject

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_countObject

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_vlansObject

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

#notesObject

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_usageObject

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

#passwordObject

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_addressObject

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_usageObject

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_countObject

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

#subnetsObject

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_countObject

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_referencesObject

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

#typeObject

Returns the value of attribute type.



41
42
43
# File 'lib/softlayer/network/application/delivery/controller.rb', line 41

def type
  @type
end

#type_idObject

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_countObject

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_addressesObject

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(message)
  request(:create_live_load_balancer, Boolean, message)
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(message)
  request(:delete_live_load_balancer, Boolean, message)
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(message)
  request(:delete_live_load_balancer_service, Boolean, message)
end

#edit_object(message) ⇒ Object

template_object



60
61
62
# File 'lib/softlayer/network/application/delivery/controller.rb', line 60

def edit_object(message)
  request(:edit_object, Boolean, message)
end

#get_accountObject



64
65
66
# File 'lib/softlayer/network/application/delivery/controller.rb', line 64

def 
  request(:get_account, Softlayer::Account)
end

#get_average_daily_public_bandwidth_usageObject



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(message)
  request(:get_bandwidth_data_by_date, Array[Softlayer::Metric::Tracking::Object::Data], message)
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(message)
  request(:get_bandwidth_image_by_date, Softlayer::Container::Bandwidth::GraphOutputs, message)
end

#get_billing_itemObject



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_historyObject



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(message)
  request(:get_custom_bandwidth_data_by_date, Softlayer::Container::Graph, message)
end

#get_datacenterObject



99
100
101
# File 'lib/softlayer/network/application/delivery/controller.rb', line 99

def get_datacenter
  request(:get_datacenter, Softlayer::Location)
end

#get_descriptionObject



103
104
105
# File 'lib/softlayer/network/application/delivery/controller.rb', line 103

def get_description
  request(:get_description, String)
end

#get_license_expiration_dateObject



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(message)
  request(:get_live_load_balancer_service_graph_image, Softlayer::Base64Binary, message)
end

#get_load_balancersObject



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_flagObject



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_addressObject



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_vlanObject



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_vlansObject



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_objectObject



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_usageObject



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_passwordObject



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_addressObject



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_usageObject



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_subnetsObject



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_referencesObject



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_typeObject



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_addressesObject



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_configurationObject



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(message)
  request(:restore_configuration, Boolean, message)
end

#save_current_configuration(message) ⇒ Object

notes



184
185
186
# File 'lib/softlayer/network/application/delivery/controller.rb', line 184

def save_current_configuration(message)
  request(:save_current_configuration, Softlayer::Network::Application::Delivery::Controller::Configuration::History, message)
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(message)
  request(:update_live_load_balancer, Boolean, message)
end

#update_net_scaler_licenseObject



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