projected_cost
Creates, updates, deletes, gets or lists a projected_cost resource.
Overview
| Name | projected_cost | 
| Type | Resource | 
| Id | datadog.organization.projected_cost | 
Fields
The following fields are returned by SELECT queries:
- get_projected_cost
| Name | Datatype | Description | 
|---|---|---|
| id | string | Unique ID of the response. | 
| attributes | object | Projected Cost attributes data. | 
| type | string | Type of cost data. (default: projected_cost, example: projected_cost) | 
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description | 
|---|---|---|---|---|
| get_projected_cost | select | region | view,include_connected_accounts | 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. | 
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.
| Name | Datatype | Description | 
|---|---|---|
| region | string | (default: datadoghq.com) | 
| include_connected_accounts | boolean | Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to false. | 
| view | string | String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are summaryandsub-org. Defaults tosummary. | 
SELECT examples
- get_projected_cost
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 }}'
;