Class: DatadogAPIClient::V2::CostRecommendationDataAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CostRecommendationDataAttributes
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#dd_resource_key ⇒ Object
Datadog resource key identifying the recommended resource.
-
#extra_fields ⇒ Object
Selected recommendation fields.
-
#potential_daily_savings ⇒ Object
Estimated daily savings if the recommendation is applied.
-
#recommendation_type ⇒ Object
The kind of recommendation (for example,
terminateorrightsize). -
#recommender_id ⇒ Object
ID of the recommender that produced the recommendation (for example,
aws_ec2_instance_downsize). -
#resource_id ⇒ Object
Cloud provider identifier of the resource.
-
#resource_type ⇒ Object
Resource type (for example,
aws_ec2_instance). -
#tags ⇒ Object
Tags attached to the recommended resource.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 49 def additional_properties @additional_properties end |
#dd_resource_key ⇒ Object
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 |
#extra_fields ⇒ Object
Selected recommendation fields. Omitted when no requested fields match.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 28 def extra_fields @extra_fields end |
#potential_daily_savings ⇒ Object
Estimated daily savings if the recommendation is applied.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 31 def potential_daily_savings @potential_daily_savings end |
#recommendation_type ⇒ Object
The kind of recommendation (for example, terminate or rightsize).
34 35 36 |
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 34 def recommendation_type @recommendation_type end |
#recommender_id ⇒ Object
ID of the recommender that produced the recommendation (for example,
aws_ec2_instance_downsize).
38 39 40 |
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 38 def recommender_id @recommender_id end |
#resource_id ⇒ Object
Cloud provider identifier of the resource.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 41 def resource_id @resource_id end |
#resource_type ⇒ Object
Resource type (for example, aws_ec2_instance).
44 45 46 |
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 44 def resource_type @resource_type end |
#tags ⇒ Object
Tags attached to the recommended resource.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/cost_recommendation_data_attributes.rb', line 47 def @tags end |