Skip to main content

on_demand_concurrency_cap

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

Overview

Nameon_demand_concurrency_cap
TypeResource
Iddatadog.monitoring.on_demand_concurrency_cap

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
attributesobjectOn-demand concurrency cap attributes.
typestringOn-demand concurrency cap type. (on_demand_concurrency_cap)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_on_demand_concurrency_capselectGet the on-demand concurrency cap.
set_on_demand_concurrency_capinsertSave new value for on-demand concurrency cap.

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

Get the on-demand concurrency cap.

SELECT
attributes,
type
FROM datadog.monitoring.on_demand_concurrency_cap
;

INSERT examples

Save new value for on-demand concurrency cap.

INSERT INTO datadog.monitoring.on_demand_concurrency_cap (
on_demand_concurrency_cap
)
SELECT
{{ on_demand_concurrency_cap }}
RETURNING
data
;