Skip to main content

projected_cost

Creates, updates, deletes, gets or lists a projected_cost resource.

Overview

Nameprojected_cost
TypeResource
Iddatadog.organization.projected_cost

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringUnique ID of the response.
attributesobjectProjected Cost attributes data.
typestringType of cost data. (default: projected_cost, example: projected_cost)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_projected_costselectregionview, include_connected_accountsGet projected cost across multi-org and single root-org accounts.
Projected cost data is only available for the current month and becomes available around the 12th of the month.

This endpoint is only accessible for parent-level organizations.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstring(default: datadoghq.com)
include_connected_accountsbooleanBoolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to false.
viewstringString to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are summary and sub-org. Defaults to summary.

SELECT examples

Get projected cost across multi-org and single root-org accounts.
Projected cost data is only available for the current month and becomes available around the 12th of the month.

This endpoint is only accessible for parent-level organizations.

SELECT
id,
attributes,
type
FROM datadog.organization.projected_cost
WHERE region = '{{ region }}' -- required
AND view = '{{ view }}'
AND include_connected_accounts = '{{ include_connected_accounts }}'
;