Class: Softlayer::Network::LoadBalancer::VirtualIpAddress

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/network/load_balancer/virtual_ip_address.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_LoadBalancer_VirtualIpAddress'

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

#account ⇒ Object

Returns the value of attribute account.



18
19
20
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 18

def 
  @account
end

#billing_item ⇒ Object

Returns the value of attribute billing_item.



19
20
21
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 19

def billing_item
  @billing_item
end

#connection_limit ⇒ Object

Returns the value of attribute connection_limit.



6
7
8
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 6

def connection_limit
  @connection_limit
end

#customer_managed_flag ⇒ Object

Returns the value of attribute customer_managed_flag.



20
21
22
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 20

def customer_managed_flag
  @customer_managed_flag
end

#id ⇒ Object

Returns the value of attribute id.



7
8
9
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 7

def id
  @id
end

#load_balancing_method ⇒ Object

Returns the value of attribute load_balancing_method.



8
9
10
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 8

def load_balancing_method
  @load_balancing_method
end

#load_balancing_method_full_name ⇒ Object

Returns the value of attribute load_balancing_method_full_name.



9
10
11
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 9

def load_balancing_method_full_name
  @load_balancing_method_full_name
end

#managed_resource_flag ⇒ Object

Returns the value of attribute managed_resource_flag.



21
22
23
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 21

def managed_resource_flag
  @managed_resource_flag
end

#modify_date ⇒ Object

Returns the value of attribute modify_date.



10
11
12
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 10

def modify_date
  @modify_date
end

#name ⇒ Object

Returns the value of attribute name.



11
12
13
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 11

def name
  @name
end

#notes ⇒ Object

Returns the value of attribute notes.



12
13
14
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 12

def notes
  @notes
end

#security_certificate_id ⇒ Object

Returns the value of attribute security_certificate_id.



13
14
15
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 13

def security_certificate_id
  @security_certificate_id
end

#service_count ⇒ Object

Returns the value of attribute service_count.



17
18
19
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 17

def service_count
  @service_count
end

#services ⇒ Object

Returns the value of attribute services.



22
23
24
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 22

def services
  @services
end

#source_port ⇒ Object

Returns the value of attribute source_port.



14
15
16
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 14

def source_port
  @source_port
end

#type ⇒ Object

Returns the value of attribute type.



15
16
17
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 15

def type
  @type
end

#virtual_ip_address ⇒ Object

Returns the value of attribute virtual_ip_address.



16
17
18
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 16

def virtual_ip_address
  @virtual_ip_address
end

Instance Method Details

#disable ⇒ Object



24
25
26
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 24

def disable
  request(:disable, Boolean)
end

#edit_object(message) ⇒ Object

template_object



29
30
31
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 29

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

#enable ⇒ Object



33
34
35
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 33

def enable
  request(:enable, Boolean)
end

#get_account ⇒ Object



37
38
39
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 37

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

#get_billing_item ⇒ Object



41
42
43
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 41

def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item)
end

#get_customer_managed_flag ⇒ Object



45
46
47
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 45

def get_customer_managed_flag
  request(:get_customer_managed_flag, Integer)
end

#get_managed_resource_flag ⇒ Object



49
50
51
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 49

def get_managed_resource_flag
  request(:get_managed_resource_flag, Boolean)
end

#get_object ⇒ Object



53
54
55
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 53

def get_object
  request(:get_object, Softlayer::Network::LoadBalancer::VirtualIpAddress)
end

#get_services ⇒ Object



57
58
59
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 57

def get_services
  request(:get_services, Array[Softlayer::Network::LoadBalancer::Service])
end

#kick_all_connections ⇒ Object



61
62
63
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 61

def kick_all_connections
  request(:kick_all_connections, Boolean)
end

#upgrade_connection_limit ⇒ Object



65
66
67
# File 'lib/softlayer/network/load_balancer/virtual_ip_address.rb', line 65

def upgrade_connection_limit
  request(:upgrade_connection_limit, Boolean)
end