Class: Softlayer::Network::Backbone
- Defined in:
- lib/softlayer/network/backbone.rb,
lib/softlayer/network/backbone/location.rb,
lib/softlayer/network/backbone/location/dependent.rb
Defined Under Namespace
Modules: Location Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Backbone'
Instance Attribute Summary collapse
-
#capacity ⇒ Object
Returns the value of attribute capacity.
-
#capacity_units ⇒ Object
Returns the value of attribute capacity_units.
-
#health ⇒ Object
Returns the value of attribute health.
-
#id ⇒ Object
Returns the value of attribute id.
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
-
#network_component ⇒ Object
Returns the value of attribute network_component.
-
#network_component_id ⇒ Object
Returns the value of attribute network_component_id.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
- #get_graph_image ⇒ Object
- #get_health ⇒ Object
- #get_location ⇒ Object
- #get_network_component ⇒ Object
- #get_object ⇒ 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
#capacity ⇒ Object
Returns the value of attribute capacity.
6 7 8 |
# File 'lib/softlayer/network/backbone.rb', line 6 def capacity @capacity end |
#capacity_units ⇒ Object
Returns the value of attribute capacity_units.
7 8 9 |
# File 'lib/softlayer/network/backbone.rb', line 7 def capacity_units @capacity_units end |
#health ⇒ Object
Returns the value of attribute health.
12 13 14 |
# File 'lib/softlayer/network/backbone.rb', line 12 def health @health end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/network/backbone.rb', line 8 def id @id end |
#location ⇒ Object
Returns the value of attribute location.
13 14 15 |
# File 'lib/softlayer/network/backbone.rb', line 13 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/softlayer/network/backbone.rb', line 9 def name @name end |
#network_component ⇒ Object
Returns the value of attribute network_component.
14 15 16 |
# File 'lib/softlayer/network/backbone.rb', line 14 def network_component @network_component end |
#network_component_id ⇒ Object
Returns the value of attribute network_component_id.
10 11 12 |
# File 'lib/softlayer/network/backbone.rb', line 10 def network_component_id @network_component_id end |
#type ⇒ Object
Returns the value of attribute type.
11 12 13 |
# File 'lib/softlayer/network/backbone.rb', line 11 def type @type end |
Class Method Details
.get_all_backbones ⇒ Object
16 17 18 |
# File 'lib/softlayer/network/backbone.rb', line 16 def self.get_all_backbones request(:get_all_backbones, Array[Softlayer::Network::Backbone]) end |
.get_backbones_for_location_name(message) ⇒ Object
location_name
21 22 23 |
# File 'lib/softlayer/network/backbone.rb', line 21 def self.get_backbones_for_location_name() request(:get_backbones_for_location_name, Array[Softlayer::Network::Backbone], ) end |
Instance Method Details
#get_graph_image ⇒ Object
25 26 27 |
# File 'lib/softlayer/network/backbone.rb', line 25 def get_graph_image request(:get_graph_image, Softlayer::Base64Binary) end |
#get_health ⇒ Object
29 30 31 |
# File 'lib/softlayer/network/backbone.rb', line 29 def get_health request(:get_health, String) end |
#get_location ⇒ Object
33 34 35 |
# File 'lib/softlayer/network/backbone.rb', line 33 def get_location request(:get_location, Softlayer::Location) end |
#get_network_component ⇒ Object
37 38 39 |
# File 'lib/softlayer/network/backbone.rb', line 37 def get_network_component request(:get_network_component, Softlayer::Network::Component) end |
#get_object ⇒ Object
41 42 43 |
# File 'lib/softlayer/network/backbone.rb', line 41 def get_object request(:get_object, Softlayer::Network::Backbone) end |