Class: DatadogAPIClient::V2::MonthlyCostAttributionAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::MonthlyCostAttributionAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb
Overview
Cost Attribution by Tag for a given organization.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#month ⇒ Object
Datetime in ISO-8601 format, UTC, precise to hour: ‘[YYYY-MM-DDThh]`.
-
#org_name ⇒ Object
The name of the organization.
-
#public_id ⇒ Object
The organization public ID.
-
#tag_config_source ⇒ Object
The source of the cost attribution tag configuration and the selected tags in the format ‘<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.
-
#tags ⇒ Object
Tag keys and values.
-
#updated_at ⇒ Object
Shows the most recent hour in the current months for all organizations for which all costs were calculated.
-
#values ⇒ Object
Fields in Cost Attribution by tag(s).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb', line 48 def additional_properties @additional_properties end |
#month ⇒ Object
Datetime in ISO-8601 format, UTC, precise to hour: ‘[YYYY-MM-DDThh]`.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb', line 25 def month @month end |
#org_name ⇒ Object
The name of the organization.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb', line 28 def org_name @org_name end |
#public_id ⇒ Object
The organization public ID.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb', line 31 def public_id @public_id end |
#tag_config_source ⇒ Object
The source of the cost attribution tag configuration and the selected tags in the format ‘<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb', line 34 def tag_config_source @tag_config_source end |
#tags ⇒ Object
Tag keys and values. A ‘null` value here means that the requested tag breakdown cannot be applied because it does not match the [tags configured for usage attribution](docs.datadoghq.com/account_management/billing/usage_attribution/#getting-started). In this scenario the API returns the total cost, not broken down by tags.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb', line 40 def @tags end |
#updated_at ⇒ Object
Shows the most recent hour in the current months for all organizations for which all costs were calculated.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb', line 43 def updated_at @updated_at end |
#values ⇒ Object
Fields in Cost Attribution by tag(s). Example: ‘infra_host_on_demand_cost`, `infra_host_committed_cost`, `infra_host_total_cost`, `infra_host_percentage_in_org`, `infra_host_percentage_in_account`.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb', line 46 def values @values end |