Class: DatadogAPIClient::V1::Host

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/host.rb

Overview

Object representing a host.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



66
67
68
# File 'lib/datadog_api_client/v1/models/host.rb', line 66

def additional_properties
  @additional_properties
end

#aliasesObject

Host aliases collected by Datadog.



25
26
27
# File 'lib/datadog_api_client/v1/models/host.rb', line 25

def aliases
  @aliases
end

#appsObject

The Datadog integrations reporting metrics for the host.



28
29
30
# File 'lib/datadog_api_client/v1/models/host.rb', line 28

def apps
  @apps
end

#aws_nameObject

AWS name of your host.



31
32
33
# File 'lib/datadog_api_client/v1/models/host.rb', line 31

def aws_name
  @aws_name
end

#host_nameObject

The host name.



34
35
36
# File 'lib/datadog_api_client/v1/models/host.rb', line 34

def host_name
  @host_name
end

#idObject

The host ID.



37
38
39
# File 'lib/datadog_api_client/v1/models/host.rb', line 37

def id
  @id
end

#is_mutedObject

If a host is muted or unmuted.



40
41
42
# File 'lib/datadog_api_client/v1/models/host.rb', line 40

def is_muted
  @is_muted
end

#last_reported_timeObject

Last time the host reported a metric data point.



43
44
45
# File 'lib/datadog_api_client/v1/models/host.rb', line 43

def last_reported_time
  @last_reported_time
end

#metaObject

Metadata associated with your host.



46
47
48
# File 'lib/datadog_api_client/v1/models/host.rb', line 46

def meta
  @meta
end

#metricsObject

Host Metrics collected.



49
50
51
# File 'lib/datadog_api_client/v1/models/host.rb', line 49

def metrics
  @metrics
end

#mute_timeoutObject

Timeout of the mute applied to your host.



52
53
54
# File 'lib/datadog_api_client/v1/models/host.rb', line 52

def mute_timeout
  @mute_timeout
end

#nameObject

The host name.



55
56
57
# File 'lib/datadog_api_client/v1/models/host.rb', line 55

def name
  @name
end

#sourcesObject

Source or cloud provider associated with your host.



58
59
60
# File 'lib/datadog_api_client/v1/models/host.rb', line 58

def sources
  @sources
end

#tags_by_sourceObject

List of tags for each source (AWS, Datadog Agent, Chef..).



61
62
63
# File 'lib/datadog_api_client/v1/models/host.rb', line 61

def tags_by_source
  @tags_by_source
end

#upObject

Displays UP when the expected metrics are received and displays ‘???` if no metrics are received.



64
65
66
# File 'lib/datadog_api_client/v1/models/host.rb', line 64

def up
  @up
end