Class: DatadogAPIClient::V2::MonthlyResourceAttributes

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

Overview

Resource usage and organization details for the requested month.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



48
49
50
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 48

def additional_properties
  @additional_properties
end

#data_date ⇒ Object

Date of the source usage data. May be empty when unavailable.



25
26
27
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 25

def data_date
  @data_date
end

#org_name ⇒ Object

Name of the organization that owns the resource.



28
29
30
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 28

def org_name
  @org_name
end

#public_id ⇒ Object

Public ID of the organization that owns the resource.



31
32
33
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 31

def public_id
  @public_id
end

#resource_name ⇒ Object

Name of the resource, such as a host name, metric name, or log index.



34
35
36
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 34

def resource_name
  @resource_name
end

#tags ⇒ Object

Resource tags when available. Empty for resource types without tag data.



37
38
39
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 37

def tags
  @tags
end

#timestamp ⇒ Object

Selected billing hour for percentile usage, or the first day of the month for monthly usage. May be empty when unavailable.



40
41
42
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 40

def timestamp
  @timestamp
end

#usage_type ⇒ Object

Usage type of the resource. Values depend on the billing dimension and are not limited to host types.



43
44
45
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 43

def usage_type
  @usage_type
end

#usage_value ⇒ Object

Usage attributed to the resource in the units of the requested billing dimension. Values can be fractional.



46
47
48
# File 'lib/datadog_api_client/v2/models/monthly_resource_attributes.rb', line 46

def usage_value
  @usage_value
end