Class: Softlayer::Network::LoadBalancer::Global::Account
- Defined in:
- lib/softlayer/network/load_balancer/global/account.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_LoadBalancer_Global_Account'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#allowed_number_of_hosts ⇒ Object
Returns the value of attribute allowed_number_of_hosts.
-
#average_connections_per_second ⇒ Object
Returns the value of attribute average_connections_per_second.
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#connections_per_second ⇒ Object
Returns the value of attribute connections_per_second.
-
#fallback_ip ⇒ Object
Returns the value of attribute fallback_ip.
-
#host_count ⇒ Object
Returns the value of attribute host_count.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#hosts ⇒ Object
Returns the value of attribute hosts.
-
#id ⇒ Object
Returns the value of attribute id.
-
#load_balance_type ⇒ Object
Returns the value of attribute load_balance_type.
-
#load_balance_type_id ⇒ Object
Returns the value of attribute load_balance_type_id.
-
#managed_resource_flag ⇒ Object
Returns the value of attribute managed_resource_flag.
-
#notes ⇒ Object
Returns the value of attribute notes.
Instance Method Summary collapse
- #add_ns_record ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_billing_item ⇒ Object
- #get_hosts ⇒ Object
- #get_load_balance_type ⇒ Object
- #get_managed_resource_flag ⇒ Object
- #get_object ⇒ Object
- #remove_ns_record ⇒ 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.
16 17 18 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 16 def account @account end |
#allowed_number_of_hosts ⇒ Object
Returns the value of attribute allowed_number_of_hosts.
7 8 9 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 7 def allowed_number_of_hosts @allowed_number_of_hosts end |
#average_connections_per_second ⇒ Object
Returns the value of attribute average_connections_per_second.
8 9 10 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 8 def average_connections_per_second @average_connections_per_second end |
#billing_item ⇒ Object
Returns the value of attribute billing_item.
17 18 19 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 17 def billing_item @billing_item end |
#connections_per_second ⇒ Object
Returns the value of attribute connections_per_second.
9 10 11 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 9 def connections_per_second @connections_per_second end |
#fallback_ip ⇒ Object
Returns the value of attribute fallback_ip.
10 11 12 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 10 def fallback_ip @fallback_ip end |
#host_count ⇒ Object
Returns the value of attribute host_count.
15 16 17 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 15 def host_count @host_count end |
#hostname ⇒ Object
Returns the value of attribute hostname.
11 12 13 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 11 def hostname @hostname end |
#hosts ⇒ Object
Returns the value of attribute hosts.
18 19 20 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 18 def hosts @hosts end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 12 def id @id end |
#load_balance_type ⇒ Object
Returns the value of attribute load_balance_type.
19 20 21 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 19 def load_balance_type @load_balance_type end |
#load_balance_type_id ⇒ Object
Returns the value of attribute load_balance_type_id.
13 14 15 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 13 def load_balance_type_id @load_balance_type_id end |
#managed_resource_flag ⇒ Object
Returns the value of attribute managed_resource_flag.
20 21 22 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 20 def managed_resource_flag @managed_resource_flag end |
#notes ⇒ Object
Returns the value of attribute notes.
14 15 16 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 14 def notes @notes end |
Instance Method Details
#add_ns_record ⇒ Object
22 23 24 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 22 def add_ns_record request(:add_ns_record, Boolean) end |
#edit_object(message) ⇒ Object
template_object
27 28 29 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 27 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
31 32 33 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 31 def get_account request(:get_account, Softlayer::Account) end |
#get_billing_item ⇒ Object
35 36 37 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 35 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item) end |
#get_hosts ⇒ Object
39 40 41 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 39 def get_hosts request(:get_hosts, Array[Softlayer::Network::LoadBalancer::Global::Host]) end |
#get_load_balance_type ⇒ Object
43 44 45 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 43 def get_load_balance_type request(:get_load_balance_type, Softlayer::Network::LoadBalancer::Global::Type) end |
#get_managed_resource_flag ⇒ Object
47 48 49 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 47 def get_managed_resource_flag request(:get_managed_resource_flag, Boolean) end |
#get_object ⇒ Object
51 52 53 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 51 def get_object request(:get_object, Softlayer::Network::LoadBalancer::Global::Account) end |
#remove_ns_record ⇒ Object
55 56 57 |
# File 'lib/softlayer/network/load_balancer/global/account.rb', line 55 def remove_ns_record request(:remove_ns_record, Boolean) end |