Class: Softlayer::Monitoring::Agent::Configuration::Value

Inherits:
Entity show all
Defined in:
lib/softlayer/monitoring/agent/configuration/value.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Monitoring_Agent_Configuration_Value'

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

#agent_idObject

Returns the value of attribute agent_id.



7
8
9
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 7

def agent_id
  @agent_id
end

#configuration_definition_idObject

Returns the value of attribute configuration_definition_id.



8
9
10
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 8

def configuration_definition_id
  @configuration_definition_id
end

#definitionObject

Returns the value of attribute definition.



13
14
15
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 13

def definition
  @definition
end

#descriptionObject

Returns the value of attribute description.



9
10
11
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 9

def description
  @description
end

#idObject

Returns the value of attribute id.



10
11
12
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 10

def id
  @id
end

#metric_data_typeObject

Returns the value of attribute metric_data_type.



14
15
16
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 14

def metric_data_type
  @metric_data_type
end

#monitoring_agentObject

Returns the value of attribute monitoring_agent.



15
16
17
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 15

def monitoring_agent
  @monitoring_agent
end

#profileObject

Returns the value of attribute profile.



16
17
18
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 16

def profile
  @profile
end

#profile_idObject

Returns the value of attribute profile_id.



11
12
13
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 11

def profile_id
  @profile_id
end

#valueObject

Returns the value of attribute value.



12
13
14
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 12

def value
  @value
end

Instance Method Details

#get_definitionObject



18
19
20
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 18

def get_definition
  request(:get_definition, Softlayer::Configuration::Template::Section::Definition)
end

#get_metric_data_typeObject



22
23
24
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 22

def get_metric_data_type
  request(:get_metric_data_type, Softlayer::Container::Metric::Data::Type)
end

#get_monitoring_agentObject



26
27
28
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 26

def get_monitoring_agent
  request(:get_monitoring_agent, Softlayer::Monitoring::Agent)
end

#get_objectObject



30
31
32
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 30

def get_object
  request(:get_object, Softlayer::Monitoring::Agent::Configuration::Value)
end

#get_profileObject



34
35
36
# File 'lib/softlayer/monitoring/agent/configuration/value.rb', line 34

def get_profile
  request(:get_profile, Softlayer::Configuration::Template::Section::Profile)
end