Class: Softlayer::Metric::Tracking::Object
- Inherits:
-
Entity
- Object
- Softlayer::Model
- Entity
- Softlayer::Metric::Tracking::Object
- Defined in:
- lib/softlayer/metric/tracking/object.rb,
lib/softlayer/metric/tracking/object/data.rb,
lib/softlayer/metric/tracking/object/type.rb,
lib/softlayer/metric/tracking/object/virtual.rb,
lib/softlayer/metric/tracking/object/abstract.rb,
lib/softlayer/metric/tracking/object/bandwidth.rb,
lib/softlayer/metric/tracking/object/data/network.rb,
lib/softlayer/metric/tracking/object/hardware_server.rb,
lib/softlayer/metric/tracking/object/virtual/storage.rb,
lib/softlayer/metric/tracking/object/bandwidth/summary.rb,
lib/softlayer/metric/tracking/object/virtual_dedicated_rack.rb,
lib/softlayer/metric/tracking/object/virtual/storage/repository.rb,
lib/softlayer/metric/tracking/object/data/network/content_delivery.rb,
lib/softlayer/metric/tracking/object/data/network/content_delivery/account.rb
Direct Known Subclasses
Defined Under Namespace
Modules: Bandwidth, Virtual Classes: Abstract, Data, HardwareServer, Representer, Type, VirtualDedicatedRack
Constant Summary collapse
- SERVICE =
'SoftLayer_Metric_Tracking_Object'
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#id ⇒ Object
Returns the value of attribute id.
-
#label ⇒ Object
Returns the value of attribute label.
-
#resource_table_id ⇒ Object
Returns the value of attribute resource_table_id.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#get_backbone_bandwidth_graph(message) ⇒ Object
graph_title.
-
#get_bandwidth_data(message) ⇒ Object
start_date_time end_date_time type rollup_seconds.
-
#get_bandwidth_graph(message) ⇒ Object
start_date_time end_date_time graph_type font_size graph_width graph_height do_not_show_time_zone.
-
#get_bandwidth_total(message) ⇒ Object
start_date_time end_date_time direction type.
-
#get_custom_graph_data(message) ⇒ Object
graph_container.
-
#get_details_for_date_range(message) ⇒ Object
start_date end_date graph_type.
-
#get_graph(message) ⇒ Object
start_date_time end_date_time graph_type.
- #get_metric_data_types ⇒ Object
- #get_object ⇒ Object
-
#get_summary(message) ⇒ Object
graph_type.
-
#get_summary_data(message) ⇒ Object
start_date_time end_date_time valid_types summary_period.
- #get_type ⇒ Object
Methods inherited from Softlayer::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 Softlayer::Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
13 14 15 |
# File 'lib/softlayer/metric/tracking/object.rb', line 13 def data @data end |
#id ⇒ Object
Returns the value of attribute id.
14 15 16 |
# File 'lib/softlayer/metric/tracking/object.rb', line 14 def id @id end |
#label ⇒ Object
Returns the value of attribute label.
15 16 17 |
# File 'lib/softlayer/metric/tracking/object.rb', line 15 def label @label end |
#resource_table_id ⇒ Object
Returns the value of attribute resource_table_id.
16 17 18 |
# File 'lib/softlayer/metric/tracking/object.rb', line 16 def resource_table_id @resource_table_id end |
#start_date ⇒ Object
Returns the value of attribute start_date.
17 18 19 |
# File 'lib/softlayer/metric/tracking/object.rb', line 17 def start_date @start_date end |
#type ⇒ Object
Returns the value of attribute type.
18 19 20 |
# File 'lib/softlayer/metric/tracking/object.rb', line 18 def type @type end |
Instance Method Details
#get_backbone_bandwidth_graph(message) ⇒ Object
graph_title
21 22 23 |
# File 'lib/softlayer/metric/tracking/object.rb', line 21 def get_backbone_bandwidth_graph() request(:get_backbone_bandwidth_graph, Softlayer::Container::Bandwidth::GraphOutputs, ) end |
#get_bandwidth_data(message) ⇒ Object
start_date_time end_date_time type rollup_seconds
29 30 31 |
# File 'lib/softlayer/metric/tracking/object.rb', line 29 def get_bandwidth_data() request(:get_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], ) end |
#get_bandwidth_graph(message) ⇒ Object
start_date_time end_date_time graph_type font_size graph_width graph_height do_not_show_time_zone
40 41 42 |
# File 'lib/softlayer/metric/tracking/object.rb', line 40 def get_bandwidth_graph() request(:get_bandwidth_graph, Softlayer::Container::Bandwidth::GraphOutputs, ) end |
#get_bandwidth_total(message) ⇒ Object
start_date_time end_date_time direction type
48 49 50 |
# File 'lib/softlayer/metric/tracking/object.rb', line 48 def get_bandwidth_total() request(:get_bandwidth_total, BigDecimal, ) end |
#get_custom_graph_data(message) ⇒ Object
graph_container
53 54 55 |
# File 'lib/softlayer/metric/tracking/object.rb', line 53 def get_custom_graph_data() request(:get_custom_graph_data, Softlayer::Container::Graph, ) end |
#get_details_for_date_range(message) ⇒ Object
start_date end_date graph_type
60 61 62 |
# File 'lib/softlayer/metric/tracking/object.rb', line 60 def get_details_for_date_range() request(:get_details_for_date_range, Array[Softlayer::Container::Metric::Tracking::Object::Details], ) end |
#get_graph(message) ⇒ Object
start_date_time end_date_time graph_type
67 68 69 |
# File 'lib/softlayer/metric/tracking/object.rb', line 67 def get_graph() request(:get_graph, Softlayer::Container::Bandwidth::GraphOutputs, ) end |
#get_metric_data_types ⇒ Object
71 72 73 |
# File 'lib/softlayer/metric/tracking/object.rb', line 71 def get_metric_data_types request(:get_metric_data_types, Array[Softlayer::Container::Metric::Data::Type]) end |
#get_object ⇒ Object
75 76 77 |
# File 'lib/softlayer/metric/tracking/object.rb', line 75 def get_object request(:get_object, Softlayer::Metric::Tracking::Object) end |
#get_summary(message) ⇒ Object
graph_type
80 81 82 |
# File 'lib/softlayer/metric/tracking/object.rb', line 80 def get_summary() request(:get_summary, Softlayer::Container::Metric::Tracking::Object::Summary, ) end |