gcp_uc_configs
Creates, updates, deletes, gets or lists a gcp_uc_configs resource.
Overview
| Name | gcp_uc_configs |
| Type | Resource |
| Id | datadog.cloud_costs.gcp_uc_configs |
Fields
The following fields are returned by SELECT queries:
- get_cost_gcpusage_cost_config
| Name | Datatype | Description |
|---|---|---|
id | string | The GcpUcConfigResponseData id. |
attributes | object | The definition of GcpUcConfigResponseDataAttributes object. |
type | string | Google Cloud Usage Cost config resource type. (gcp_uc_config) (default: gcp_uc_config, example: gcp_uc_config) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_cost_gcpusage_cost_config | select | cloud_account_id | Get a specific Google Cloud Usage Cost config. |
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 |
|---|---|---|
cloud_account_id | integer (int64) | The unique identifier of the cloud account |
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
SELECT examples
- get_cost_gcpusage_cost_config
Get a specific Google Cloud Usage Cost config.
SELECT
id,
attributes,
type
FROM datadog.cloud_costs.gcp_uc_configs
WHERE cloud_account_id = '{{ cloud_account_id }}' -- required
;