Class: DatadogAPIClient::V2::CommitmentsCoverageTimeseriesResponseAttributes

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

Overview

Attributes of a timeseries coverage response.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/commitments_coverage_timeseries_response_attributes.rb', line 39

def additional_properties
  @additional_properties
end

#cost ⇒ Object

A coverage timeseries metric. For AWS and Azure, series holds the on_demand_only, spot_only, ri, and sp buckets, plus ppp for Azure pre-purchase plans when enabled. For GCP, series holds the on_demand_only and flex_cud buckets.



27
28
29
# File 'lib/datadog_api_client/v2/models/commitments_coverage_timeseries_response_attributes.rb', line 27

def cost
  @cost
end

#hours ⇒ Object

A coverage timeseries metric. For AWS and Azure, series holds the on_demand_only, spot_only, ri, and sp buckets, plus ppp for Azure pre-purchase plans when enabled. For GCP, series holds the on_demand_only and flex_cud buckets.



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

def hours
  @hours
end

#query_definition ⇒ Object

The query that produces the response values, in the same format as dashboard and notebook widget requests, so a client can graph the values in a widget. Each formula's id names the response value that it produces.



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

def query_definition
  @query_definition
end