Class: Softlayer::Network::TippingPointReporting

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

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_TippingPointReporting'

Class Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #service_name, #to_hash

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Class Method Details

.drill_down_attack(signature_id = nil, ip_address = nil, subnet_mask = nil, time_frame = nil, direction = nil) ⇒ Object



6
7
8
9
# File 'lib/softlayer/network/tipping_point_reporting.rb', line 6

def self.drill_down_attack(signature_id = nil, ip_address = nil, subnet_mask = nil, time_frame = nil, direction = nil)
  message = {signature_id: signature_id, ip_address: ip_address, subnet_mask: subnet_mask, time_frame: time_frame, direction: direction}
  request(:drill_down_attack, Softlayer::Container::Network::IntrusionProtection::SubnetReport, message)
end

.get_main_statistics(number_of_attacks = nil) ⇒ Object



11
12
13
14
# File 'lib/softlayer/network/tipping_point_reporting.rb', line 11

def self.get_main_statistics(number_of_attacks = nil)
  message = {number_of_attacks: number_of_attacks}
  request(:get_main_statistics, Array[Softlayer::Container::Network::IntrusionProtection::Statistics], message)
end

.get_report_for_ip_address_or_subnet(ip_address = nil, subnet_mask = nil, time_frame = nil, order_by = nil, order_direction = nil) ⇒ Object



16
17
18
19
# File 'lib/softlayer/network/tipping_point_reporting.rb', line 16

def self.get_report_for_ip_address_or_subnet(ip_address = nil, subnet_mask = nil, time_frame = nil, order_by = nil, order_direction = nil)
  message = {ip_address: ip_address, subnet_mask: subnet_mask, time_frame: time_frame, order_by: order_by, order_direction: order_direction}
  request(:get_report_for_ip_address_or_subnet, Array[Softlayer::Container::Network::IntrusionProtection::SubnetReport], message)
end

.get_subnet_report_for_entire_account(time_frame = nil, order_by = nil, order_direction = nil, return_subnet_groups = nil) ⇒ Object



21
22
23
24
# File 'lib/softlayer/network/tipping_point_reporting.rb', line 21

def self.(time_frame = nil, order_by = nil, order_direction = nil, return_subnet_groups = nil)
  message = {time_frame: time_frame, order_by: order_by, order_direction: order_direction, return_subnet_groups: return_subnet_groups}
  request(:get_subnet_report_for_entire_account, Array[Softlayer::Container::Network::IntrusionProtection::SubnetReport], message)
end