Skip to main content

arbitrary_rule_statuses

Creates, updates, deletes, gets or lists an arbitrary_rule_statuses resource.

Overview

Namearbitrary_rule_statuses
TypeResource
Iddatadog.cloud_costs.arbitrary_rule_statuses

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the custom allocation rule. (example: 123)
attributesobjectProcessing status for a custom allocation rule.
typestringCustom allocation rule status resource type. (arbitrary_rule_status) (default: arbitrary_rule_status, example: arbitrary_rule_status)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_custom_allocation_rules_statusselectList the processing status of all custom allocation rules. Returns only the ID and processing status for each rule.

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
sitestringThe 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

List the processing status of all custom allocation rules. Returns only the ID and processing status for each rule.

SELECT
id,
attributes,
type
FROM datadog.cloud_costs.arbitrary_rule_statuses
;