on_demand_concurrency_cap
Creates, updates, deletes, gets or lists an on_demand_concurrency_cap
resource.
Overview
Name | on_demand_concurrency_cap |
Type | Resource |
Id | datadog.monitoring.on_demand_concurrency_cap |
Fields
The following fields are returned by SELECT
queries:
- get_on_demand_concurrency_cap
Name | Datatype | Description |
---|---|---|
attributes | object | On-demand concurrency cap attributes. |
type | string | On-demand concurrency cap type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_on_demand_concurrency_cap | select | region | Get the on-demand concurrency cap. | |
set_on_demand_concurrency_cap | insert | region | Save 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.
Name | Datatype | Description |
---|---|---|
region | string | (default: datadoghq.com) |
SELECT
examples
- get_on_demand_concurrency_cap
Get the on-demand concurrency cap.
SELECT
attributes,
type
FROM datadog.monitoring.on_demand_concurrency_cap
WHERE region = '{{ region }}' -- required
;
INSERT
examples
- set_on_demand_concurrency_cap
- Manifest
Save new value for on-demand concurrency cap.
INSERT INTO datadog.monitoring.on_demand_concurrency_cap (
data__on_demand_concurrency_cap,
region
)
SELECT
{{ on_demand_concurrency_cap }},
'{{ region }}'
RETURNING
data
;
# Description fields are for documentation purposes
- name: on_demand_concurrency_cap
props:
- name: region
value: string
description: Required parameter for the on_demand_concurrency_cap resource.
- name: on_demand_concurrency_cap
value: number
description: |
Value of the on-demand concurrency cap.