Class: Softlayer::Monitoring::Robot

Inherits:
Entity show all
Defined in:
lib/softlayer/monitoring/robot.rb,
lib/softlayer/monitoring/robot/status.rb

Defined Under Namespace

Classes: Representer, Status

Constant Summary collapse

SERVICE =
'SoftLayer_Monitoring_Robot'

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#account ⇒ Object

Returns the value of attribute account.



11
12
13
# File 'lib/softlayer/monitoring/robot.rb', line 11

def 
  @account
end

#account_id ⇒ Object

Returns the value of attribute account_id.



6
7
8
# File 'lib/softlayer/monitoring/robot.rb', line 6

def 
  @account_id
end

#id ⇒ Object

Returns the value of attribute id.



7
8
9
# File 'lib/softlayer/monitoring/robot.rb', line 7

def id
  @id
end

#monitoring_agent_count ⇒ Object

Returns the value of attribute monitoring_agent_count.



10
11
12
# File 'lib/softlayer/monitoring/robot.rb', line 10

def monitoring_agent_count
  @monitoring_agent_count
end

#monitoring_agents ⇒ Object

Returns the value of attribute monitoring_agents.



12
13
14
# File 'lib/softlayer/monitoring/robot.rb', line 12

def monitoring_agents
  @monitoring_agents
end

#name ⇒ Object

Returns the value of attribute name.



8
9
10
# File 'lib/softlayer/monitoring/robot.rb', line 8

def name
  @name
end

#robot_status ⇒ Object

Returns the value of attribute robot_status.



13
14
15
# File 'lib/softlayer/monitoring/robot.rb', line 13

def robot_status
  @robot_status
end

#software_component ⇒ Object

Returns the value of attribute software_component.



14
15
16
# File 'lib/softlayer/monitoring/robot.rb', line 14

def software_component
  @software_component
end

#status_id ⇒ Object

Returns the value of attribute status_id.



9
10
11
# File 'lib/softlayer/monitoring/robot.rb', line 9

def status_id
  @status_id
end

Instance Method Details

#check_connection ⇒ Object



16
17
18
# File 'lib/softlayer/monitoring/robot.rb', line 16

def check_connection
  request(:check_connection, Boolean)
end

#deploy_monitoring_agents(message) ⇒ Object

configuration_template_group



21
22
23
# File 'lib/softlayer/monitoring/robot.rb', line 21

def deploy_monitoring_agents(message)
  request(:deploy_monitoring_agents, Softlayer::Provisioning::Version1::Transaction, message)
end

#get_account ⇒ Object



25
26
27
# File 'lib/softlayer/monitoring/robot.rb', line 25

def 
  request(:get_account, Softlayer::)
end

#get_available_configuration_groups ⇒ Object



29
30
31
# File 'lib/softlayer/monitoring/robot.rb', line 29

def get_available_configuration_groups
  request(:get_available_configuration_groups, Array[Softlayer::Monitoring::Agent::Configuration::Template::Group])
end

#get_monitoring_agents ⇒ Object



33
34
35
# File 'lib/softlayer/monitoring/robot.rb', line 33

def get_monitoring_agents
  request(:get_monitoring_agents, Array[Softlayer::Monitoring::Agent])
end

#get_object ⇒ Object



37
38
39
# File 'lib/softlayer/monitoring/robot.rb', line 37

def get_object
  request(:get_object, Softlayer::Monitoring::Robot)
end

#get_robot_status ⇒ Object



41
42
43
# File 'lib/softlayer/monitoring/robot.rb', line 41

def get_robot_status
  request(:get_robot_status, Softlayer::Monitoring::Robot::Status)
end

#get_software_component ⇒ Object



45
46
47
# File 'lib/softlayer/monitoring/robot.rb', line 45

def get_software_component
  request(:get_software_component, Softlayer::Software::Component)
end

#reset_status ⇒ Object



49
50
51
# File 'lib/softlayer/monitoring/robot.rb', line 49

def reset_status
  request(:reset_status, Boolean)
end