Class: DatadogAPIClient::V2::ContainerAttributes

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

Overview

Attributes for a container. For CPU or memory metrics, use its full container_id as container_id:<container_id> in tag_filters with the container data source.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



55
56
57
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 55

def additional_properties
  @additional_properties
end

#container_id ⇒ Object

The ID of the container.



26
27
28
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 26

def container_id
  @container_id
end

#created_at ⇒ Object

Time the container was created.



29
30
31
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 29

def created_at
  @created_at
end

#host ⇒ Object

Hostname of the host running the container.



32
33
34
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 32

def host
  @host
end

#image_digest ⇒ Object

Digest of the compressed image manifest.



35
36
37
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 35

def image_digest
  @image_digest
end

#image_name ⇒ Object

Name of the associated container image.



38
39
40
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 38

def image_name
  @image_name
end

#image_tags ⇒ Object

List of image tags associated with the container image.



41
42
43
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 41

def image_tags
  @image_tags
end

#name ⇒ Object

Name of the container.



44
45
46
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 44

def name
  @name
end

#started_at ⇒ Object

Time the container was started.



47
48
49
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 47

def started_at
  @started_at
end

#state ⇒ Object

State of the container. This depends on the container runtime.



50
51
52
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 50

def state
  @state
end

#tags ⇒ Object

List of tags associated with the container.



53
54
55
# File 'lib/datadog_api_client/v2/models/container_attributes.rb', line 53

def tags
  @tags
end