Class: DatadogAPIClient::V2::CostRecommendationDataAttributes

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

Overview

Attributes describing a single cost recommendation.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 42

def additional_properties
  @additional_properties
end

#dd_resource_keyObject

Datadog resource key identifying the recommended resource.



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

def dd_resource_key
  @dd_resource_key
end

#potential_daily_savingsObject

Estimated daily savings if the recommendation is applied.



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

def potential_daily_savings
  @potential_daily_savings
end

#recommendation_typeObject

The kind of recommendation (for example, terminate or rightsize).



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

def recommendation_type
  @recommendation_type
end

#resource_idObject

Cloud provider identifier of the resource.



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

def resource_id
  @resource_id
end

#resource_typeObject

Resource type (for example, aws_ec2_instance).



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

def resource_type
  @resource_type
end

#tagsObject

Tags attached to the recommended resource.



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

def tags
  @tags
end