Class: Softlayer::Virtual::Guest::Network::Component
- Defined in:
- lib/softlayer/virtual/guest/network/component.rb,
lib/softlayer/virtual/guest/network/component/ip_address.rb
Defined Under Namespace
Classes: IpAddress, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Virtual_Guest_Network_Component'
Instance Attribute Summary collapse
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#guest ⇒ Object
Returns the value of attribute guest.
-
#guest_id ⇒ Object
Returns the value of attribute guest_id.
-
#high_availability_firewall_flag ⇒ Object
Returns the value of attribute high_availability_firewall_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_address_binding_count ⇒ Object
Returns the value of attribute ip_address_binding_count.
-
#ip_address_bindings ⇒ Object
Returns the value of attribute ip_address_bindings.
-
#mac_address ⇒ Object
Returns the value of attribute mac_address.
-
#max_speed ⇒ Object
Returns the value of attribute max_speed.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#network_component_firewall ⇒ Object
Returns the value of attribute network_component_firewall.
-
#network_id ⇒ Object
Returns the value of attribute network_id.
-
#network_vlan ⇒ Object
Returns the value of attribute network_vlan.
-
#port ⇒ Object
Returns the value of attribute port.
-
#primary_ip_address ⇒ Object
Returns the value of attribute primary_ip_address.
-
#primary_ip_address_record ⇒ Object
Returns the value of attribute primary_ip_address_record.
-
#primary_subnet ⇒ Object
Returns the value of attribute primary_subnet.
-
#primary_version6_ip_address_record ⇒ Object
Returns the value of attribute primary_version6_ip_address_record.
-
#router ⇒ Object
Returns the value of attribute router.
-
#speed ⇒ Object
Returns the value of attribute speed.
-
#status ⇒ Object
Returns the value of attribute status.
-
#subnet_count ⇒ Object
Returns the value of attribute subnet_count.
-
#subnets ⇒ Object
Returns the value of attribute subnets.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
- #disable ⇒ Object
- #enable ⇒ Object
- #get_guest ⇒ Object
- #get_high_availability_firewall_flag ⇒ Object
- #get_ip_address_bindings ⇒ Object
- #get_network_component_firewall ⇒ Object
- #get_network_vlan ⇒ Object
- #get_object ⇒ Object
- #get_primary_ip_address ⇒ Object
- #get_primary_ip_address_record ⇒ Object
- #get_primary_subnet ⇒ Object
- #get_primary_version6_ip_address_record ⇒ Object
- #get_router ⇒ Object
- #get_subnets ⇒ Object
- #is_pingable ⇒ 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
#create_date ⇒ Object
Returns the value of attribute create_date.
8 9 10 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 8 def create_date @create_date end |
#guest ⇒ Object
Returns the value of attribute guest.
22 23 24 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 22 def guest @guest end |
#guest_id ⇒ Object
Returns the value of attribute guest_id.
9 10 11 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 9 def guest_id @guest_id end |
#high_availability_firewall_flag ⇒ Object
Returns the value of attribute high_availability_firewall_flag.
23 24 25 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 23 def high_availability_firewall_flag @high_availability_firewall_flag end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 10 def id @id end |
#ip_address_binding_count ⇒ Object
Returns the value of attribute ip_address_binding_count.
20 21 22 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 20 def ip_address_binding_count @ip_address_binding_count end |
#ip_address_bindings ⇒ Object
Returns the value of attribute ip_address_bindings.
24 25 26 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 24 def ip_address_bindings @ip_address_bindings end |
#mac_address ⇒ Object
Returns the value of attribute mac_address.
11 12 13 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 11 def mac_address @mac_address end |
#max_speed ⇒ Object
Returns the value of attribute max_speed.
12 13 14 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 12 def max_speed @max_speed end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
13 14 15 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 13 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 14 def name @name end |
#network_component_firewall ⇒ Object
Returns the value of attribute network_component_firewall.
25 26 27 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 25 def network_component_firewall @network_component_firewall end |
#network_id ⇒ Object
Returns the value of attribute network_id.
15 16 17 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 15 def network_id @network_id end |
#network_vlan ⇒ Object
Returns the value of attribute network_vlan.
26 27 28 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 26 def network_vlan @network_vlan end |
#port ⇒ Object
Returns the value of attribute port.
16 17 18 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 16 def port @port end |
#primary_ip_address ⇒ Object
Returns the value of attribute primary_ip_address.
27 28 29 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 27 def primary_ip_address @primary_ip_address end |
#primary_ip_address_record ⇒ Object
Returns the value of attribute primary_ip_address_record.
28 29 30 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 28 def primary_ip_address_record @primary_ip_address_record end |
#primary_subnet ⇒ Object
Returns the value of attribute primary_subnet.
29 30 31 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 29 def primary_subnet @primary_subnet end |
#primary_version6_ip_address_record ⇒ Object
Returns the value of attribute primary_version6_ip_address_record.
30 31 32 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 30 def primary_version6_ip_address_record @primary_version6_ip_address_record end |
#router ⇒ Object
Returns the value of attribute router.
31 32 33 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 31 def router @router end |
#speed ⇒ Object
Returns the value of attribute speed.
17 18 19 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 17 def speed @speed end |
#status ⇒ Object
Returns the value of attribute status.
18 19 20 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 18 def status @status end |
#subnet_count ⇒ Object
Returns the value of attribute subnet_count.
21 22 23 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 21 def subnet_count @subnet_count end |
#subnets ⇒ Object
Returns the value of attribute subnets.
32 33 34 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 32 def subnets @subnets end |
#uuid ⇒ Object
Returns the value of attribute uuid.
19 20 21 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 19 def uuid @uuid end |
Instance Method Details
#disable ⇒ Object
34 35 36 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 34 def disable request(:disable, Boolean) end |
#enable ⇒ Object
38 39 40 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 38 def enable request(:enable, Boolean) end |
#get_guest ⇒ Object
42 43 44 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 42 def get_guest request(:get_guest, Softlayer::Virtual::Guest) end |
#get_high_availability_firewall_flag ⇒ Object
46 47 48 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 46 def get_high_availability_firewall_flag request(:get_high_availability_firewall_flag, Boolean) end |
#get_ip_address_bindings ⇒ Object
50 51 52 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 50 def get_ip_address_bindings request(:get_ip_address_bindings, Array[Softlayer::Virtual::Guest::Network::Component::IpAddress]) end |
#get_network_component_firewall ⇒ Object
54 55 56 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 54 def get_network_component_firewall request(:get_network_component_firewall, Softlayer::Network::Component::Firewall) end |
#get_network_vlan ⇒ Object
58 59 60 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 58 def get_network_vlan request(:get_network_vlan, Softlayer::Network::Vlan) end |
#get_object ⇒ Object
62 63 64 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 62 def get_object request(:get_object, Softlayer::Virtual::Guest::Network::Component) end |
#get_primary_ip_address ⇒ Object
66 67 68 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 66 def get_primary_ip_address request(:get_primary_ip_address, String) end |
#get_primary_ip_address_record ⇒ Object
70 71 72 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 70 def get_primary_ip_address_record request(:get_primary_ip_address_record, Softlayer::Network::Subnet::IpAddress) end |
#get_primary_subnet ⇒ Object
74 75 76 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 74 def get_primary_subnet request(:get_primary_subnet, Softlayer::Network::Subnet) end |
#get_primary_version6_ip_address_record ⇒ Object
78 79 80 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 78 def get_primary_version6_ip_address_record request(:get_primary_version6_ip_address_record, Softlayer::Network::Subnet::IpAddress) end |
#get_router ⇒ Object
82 83 84 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 82 def get_router request(:get_router, Softlayer::Hardware::Router) end |
#get_subnets ⇒ Object
86 87 88 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 86 def get_subnets request(:get_subnets, Array[Softlayer::Network::Subnet]) end |
#is_pingable ⇒ Object
90 91 92 |
# File 'lib/softlayer/virtual/guest/network/component.rb', line 90 def is_pingable request(:is_pingable, Boolean) end |