Class: Softlayer::Account::Historical::Report
- Inherits:
-
Entity
- Object
- Model
- Entity
- Softlayer::Account::Historical::Report
show all
- Defined in:
- lib/softlayer/account/historical/report.rb
Defined Under Namespace
Classes: Representer
Constant Summary
collapse
- SERVICE =
'SoftLayer_Account_Historical_Report'
Class Method Summary
collapse
-
.get_account_host_uptime_graph_data(start_date = nil, end_date = nil) ⇒ Object
-
.get_account_host_uptime_summary(start_date_time = nil, end_date_time = nil) ⇒ Object
-
.get_account_url_uptime_graph_data(start_date = nil, end_date = nil) ⇒ Object
-
.get_account_url_uptime_summary(start_date_time = nil, end_date_time = nil) ⇒ Object
-
.get_host_uptime_detail(configuration_value_id = nil, start_date_time = nil, end_date_time = nil) ⇒ Object
-
.get_host_uptime_graph_data(configuration_value_id = nil, start_date = nil, end_date = nil) ⇒ Object
-
.get_url_uptime_detail(configuration_value_id = nil, start_date_time = nil, end_date_time = nil) ⇒ Object
-
.get_url_uptime_graph_data(configuration_value_id = nil, start_date = nil, end_date = nil) ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #service_name, #to_hash
extended, #filter, included, #limit, #mask, #request_headers
Class Method Details
.get_account_host_uptime_graph_data(start_date = nil, end_date = nil) ⇒ Object
7
8
9
10
|
# File 'lib/softlayer/account/historical/report.rb', line 7
def self.get_account_host_uptime_graph_data(start_date = nil, end_date = nil)
message = {start_date: start_date, end_date: end_date}
request(:get_account_host_uptime_graph_data, Softlayer::Container::Graph, message)
end
|
.get_account_host_uptime_summary(start_date_time = nil, end_date_time = nil) ⇒ Object
12
13
14
15
|
# File 'lib/softlayer/account/historical/report.rb', line 12
def self.get_account_host_uptime_summary(start_date_time = nil, end_date_time = nil)
message = {start_date_time: start_date_time, end_date_time: end_date_time}
request(:get_account_host_uptime_summary, Softlayer::Container::Account::Historical::Summary, message)
end
|
.get_account_url_uptime_graph_data(start_date = nil, end_date = nil) ⇒ Object
17
18
19
20
|
# File 'lib/softlayer/account/historical/report.rb', line 17
def self.get_account_url_uptime_graph_data(start_date = nil, end_date = nil)
message = {start_date: start_date, end_date: end_date}
request(:get_account_url_uptime_graph_data, Softlayer::Container::Graph, message)
end
|
.get_account_url_uptime_summary(start_date_time = nil, end_date_time = nil) ⇒ Object
22
23
24
25
|
# File 'lib/softlayer/account/historical/report.rb', line 22
def self.get_account_url_uptime_summary(start_date_time = nil, end_date_time = nil)
message = {start_date_time: start_date_time, end_date_time: end_date_time}
request(:get_account_url_uptime_summary, Softlayer::Container::Account::Historical::Summary, message)
end
|
.get_host_uptime_detail(configuration_value_id = nil, start_date_time = nil, end_date_time = nil) ⇒ Object
27
28
29
30
|
# File 'lib/softlayer/account/historical/report.rb', line 27
def self.get_host_uptime_detail(configuration_value_id = nil, start_date_time = nil, end_date_time = nil)
message = {configuration_value_id: configuration_value_id, start_date_time: start_date_time, end_date_time: end_date_time}
request(:get_host_uptime_detail, Softlayer::Container::Account::Historical::Summary::Detail, message)
end
|
.get_host_uptime_graph_data(configuration_value_id = nil, start_date = nil, end_date = nil) ⇒ Object
32
33
34
35
|
# File 'lib/softlayer/account/historical/report.rb', line 32
def self.get_host_uptime_graph_data(configuration_value_id = nil, start_date = nil, end_date = nil)
message = {configuration_value_id: configuration_value_id, start_date: start_date, end_date: end_date}
request(:get_host_uptime_graph_data, Softlayer::Container::Graph, message)
end
|
.get_url_uptime_detail(configuration_value_id = nil, start_date_time = nil, end_date_time = nil) ⇒ Object
37
38
39
40
|
# File 'lib/softlayer/account/historical/report.rb', line 37
def self.get_url_uptime_detail(configuration_value_id = nil, start_date_time = nil, end_date_time = nil)
message = {configuration_value_id: configuration_value_id, start_date_time: start_date_time, end_date_time: end_date_time}
request(:get_url_uptime_detail, Softlayer::Container::Account::Historical::Summary::Detail, message)
end
|
.get_url_uptime_graph_data(configuration_value_id = nil, start_date = nil, end_date = nil) ⇒ Object
42
43
44
45
|
# File 'lib/softlayer/account/historical/report.rb', line 42
def self.get_url_uptime_graph_data(configuration_value_id = nil, start_date = nil, end_date = nil)
message = {configuration_value_id: configuration_value_id, start_date: start_date, end_date: end_date}
request(:get_url_uptime_graph_data, Softlayer::Container::Graph, message)
end
|