Skip to content

Commit 48dd6e1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2648f54 of spec repo
1 parent 5629a9a commit 48dd6e1

10 files changed

Lines changed: 197 additions & 35 deletions

.generator/schemas/v1/openapi.yaml

Lines changed: 64 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4884,6 +4884,8 @@ components:
48844884
- sds_scanned_bytes_usage
48854885
- serverless_apps_usage
48864886
- serverless_apps_apm_usage
4887+
- siem_12mo_retention_usage
4888+
- siem_6mo_retention_usage
48874889
- siem_analyzed_logs_add_on_usage
48884890
- siem_ingested_bytes_usage
48894891
- snmp_usage
@@ -4973,6 +4975,8 @@ components:
49734975
- SDS_SCANNED_BYTES_USAGE
49744976
- SERVERLESS_APPS_USAGE
49754977
- SERVERLESS_APPS_APM_USAGE
4978+
- SIEM_12MO_RETENTION_USAGE
4979+
- SIEM_6MO_RETENTION_USAGE
49764980
- SIEM_ANALYZED_LOGS_ADD_ON_USAGE
49774981
- SIEM_INGESTED_BYTES_USAGE
49784982
- SNMP_USAGE
@@ -9229,19 +9233,11 @@ components:
92299233
description: The monitor `CRITICAL` threshold.
92309234
format: double
92319235
type: number
9232-
critical_query:
9233-
description: Query evaluated as a dynamic `CRITICAL` threshold. Only supported on metric monitors with a formula query and options['variables']. Cannot be combined with static thresholds. This field is in preview.
9234-
example: 'formula("2 * query1").rollup("avg").last("6mo")'
9235-
type: string
92369236
critical_recovery:
92379237
description: The monitor `CRITICAL` recovery threshold.
92389238
format: double
92399239
nullable: true
92409240
type: number
9241-
critical_recovery_query:
9242-
description: Query evaluated as a dynamic `CRITICAL` recovery threshold. Only supported on metric monitors with a formula query and options['variables']. Cannot be combined with static thresholds. This field is in preview.
9243-
example: 'formula("1.5 * query1").rollup("avg").last("3mo")'
9244-
type: string
92459241
ok:
92469242
description: The monitor `OK` threshold.
92479243
format: double
@@ -9605,6 +9601,10 @@ components:
96059601
- rum_browser_mobile_sessions_percentage
96069602
- ingested_spans_bytes_usage
96079603
- ingested_spans_bytes_percentage
9604+
- siem_12mo_retention_usage
9605+
- siem_12mo_retention_percentage
9606+
- siem_6mo_retention_usage
9607+
- siem_6mo_retention_percentage
96089608
- siem_analyzed_logs_add_on_usage
96099609
- siem_analyzed_logs_add_on_percentage
96109610
- siem_ingested_bytes_usage
@@ -9774,6 +9774,10 @@ components:
97749774
- RUM_BROWSER_MOBILE_SESSIONS_PERCENTAGE
97759775
- INGESTED_SPANS_BYTES_USAGE
97769776
- INGESTED_SPANS_BYTES_PERCENTAGE
9777+
- SIEM_12MO_RETENTION_USAGE
9778+
- SIEM_12MO_RETENTION_PERCENTAGE
9779+
- SIEM_6MO_RETENTION_USAGE
9780+
- SIEM_6MO_RETENTION_PERCENTAGE
97779781
- SIEM_ANALYZED_LOGS_ADD_ON_USAGE
97789782
- SIEM_ANALYZED_LOGS_ADD_ON_PERCENTAGE
97799783
- SIEM_INGESTED_BYTES_USAGE
@@ -10403,6 +10407,22 @@ components:
1040310407
description: The total Serverless Apps usage by tag(s).
1040410408
format: double
1040510409
type: number
10410+
siem_12mo_retention_percentage:
10411+
description: The percentage of Cloud SIEM Indexed Logs (12-month retention) usage by tag(s).
10412+
format: double
10413+
type: number
10414+
siem_12mo_retention_usage:
10415+
description: The Cloud SIEM Indexed Logs (12-month retention) usage by tag(s).
10416+
format: double
10417+
type: number
10418+
siem_6mo_retention_percentage:
10419+
description: The percentage of Cloud SIEM Indexed Logs (6-month retention) usage by tag(s).
10420+
format: double
10421+
type: number
10422+
siem_6mo_retention_usage:
10423+
description: The Cloud SIEM Indexed Logs (6-month retention) usage by tag(s).
10424+
format: double
10425+
type: number
1040610426
siem_analyzed_logs_add_on_percentage:
1040710427
description: The percentage of log events analyzed by Cloud SIEM usage by tag(s).
1040810428
format: double
@@ -22467,6 +22487,10 @@ components:
2246722487
description: Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org.
2246822488
format: int64
2246922489
type: integer
22490+
cloud_siem_indexed_logs_sum:
22491+
description: Shows the sum of all Cloud SIEM Indexed Logs over all hours in the current date for the given org.
22492+
format: int64
22493+
type: integer
2247022494
code_analysis_sa_committers_hwm:
2247122495
description: Shows the high-water mark of all Static Analysis committers over all hours in the current date for the given org.
2247222496
format: int64
@@ -23231,6 +23255,14 @@ components:
2323123255
description: Shows the average number of Serverless Apps for Azure and Google Cloud for the given date and given org.
2323223256
format: int64
2323323257
type: integer
23258+
siem_12mo_retention_sum:
23259+
description: Shows the sum of Cloud SIEM Indexed Logs (12-month retention) over all hours in the current date for the given org.
23260+
format: int64
23261+
type: integer
23262+
siem_6mo_retention_sum:
23263+
description: Shows the sum of Cloud SIEM Indexed Logs (6-month retention) over all hours in the current date for the given org.
23264+
format: int64
23265+
type: integer
2323423266
siem_analyzed_logs_add_on_count_sum:
2323523267
description: Shows the sum of all log events analyzed by Cloud SIEM over all hours in the current date for the given org.
2323623268
format: int64
@@ -23480,6 +23512,10 @@ components:
2348023512
description: Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org.
2348123513
format: int64
2348223514
type: integer
23515+
cloud_siem_indexed_logs_sum:
23516+
description: Shows the sum of all Cloud SIEM Indexed Logs over all hours in the current date for the given org.
23517+
format: int64
23518+
type: integer
2348323519
code_analysis_sa_committers_hwm:
2348423520
description: Shows the high-water mark of all Static Analysis committers over all hours in the current date for the given org.
2348523521
format: int64
@@ -24256,6 +24292,14 @@ components:
2425624292
description: Shows the average number of Serverless Apps for Azure and Google Cloud for the given date and given org.
2425724293
format: int64
2425824294
type: integer
24295+
siem_12mo_retention_sum:
24296+
description: Shows the sum of Cloud SIEM Indexed Logs (12-month retention) over all hours in the current date for the given org.
24297+
format: int64
24298+
type: integer
24299+
siem_6mo_retention_sum:
24300+
description: Shows the sum of Cloud SIEM Indexed Logs (6-month retention) over all hours in the current date for the given org.
24301+
format: int64
24302+
type: integer
2425924303
siem_analyzed_logs_add_on_count_sum:
2426024304
description: Shows the sum of all log events analyzed by Cloud SIEM over all hours in the current date for the given org.
2426124305
format: int64
@@ -24503,6 +24547,10 @@ components:
2450324547
description: Shows the sum of all Cloud Security Information and Event Management events over all hours in the current month for all organizations.
2450424548
format: int64
2450524549
type: integer
24550+
cloud_siem_indexed_logs_agg_sum:
24551+
description: Shows the sum of all Cloud SIEM Indexed Logs over all hours in the current month for all organizations.
24552+
format: int64
24553+
type: integer
2450624554
code_analysis_sa_committers_hwm_sum:
2450724555
description: Shows the high-water mark of all Static Analysis committers over all hours in the current month for all organizations.
2450824556
format: int64
@@ -25299,6 +25347,14 @@ components:
2529925347
description: Sum of the average number of Serverless Apps for Azure and Google Cloud in the current month for all organizations.
2530025348
format: int64
2530125349
type: integer
25350+
siem_12mo_retention_agg_sum:
25351+
description: Shows the sum of Cloud SIEM Indexed Logs (12-month retention) over all hours in the current month for all organizations.
25352+
format: int64
25353+
type: integer
25354+
siem_6mo_retention_agg_sum:
25355+
description: Shows the sum of Cloud SIEM Indexed Logs (6-month retention) over all hours in the current month for all organizations.
25356+
format: int64
25357+
type: integer
2530225358
siem_analyzed_logs_add_on_count_agg_sum:
2530325359
description: Shows the sum of all log events analyzed by Cloud SIEM over all hours in the current month for all organizations.
2530425360
format: int64
@@ -33708,10 +33764,6 @@ paths:
3370833764
- `operator`: <, <=, >, >=, ==, or !=
3370933765
- `#`: an integer or decimal number used to set the threshold
3371033766

33711-
To use a dynamic threshold on a metric monitor with a formula query, replace `#` with the `threshold` keyword
33712-
(for example, `... > threshold`) and provide the threshold as a query via `critical_query` on `options.thresholds`.
33713-
This feature is in preview.
33714-
3371533767
If you are using the `_change_` or `_pct_change_` time aggregator, instead use `change_aggr(time_aggr(time_window),
3371633768
timeshift):space_aggr:metric{tags} [by {key}] operator #` with:
3371733769

src/datadog_api_client/v1/api/monitors_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,6 @@ def create_monitor(
425425
* ``operator`` : <, <=, >, >=, ==, or !=
426426
* ``#`` : an integer or decimal number used to set the threshold
427427
428-
To use a dynamic threshold on a metric monitor with a formula query, replace ``#`` with the ``threshold`` keyword
429-
(for example, ``... > threshold`` ) and provide the threshold as a query via ``critical_query`` on ``options.thresholds``.
430-
This feature is in preview.
431-
432428
If you are using the ``_change_`` or ``_pct_change_`` time aggregator, instead use ``change_aggr(time_aggr(time_window),
433429
timeshift):space_aggr:metric{tags} [by {key}] operator #`` with:
434430

src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
1717
Supported products for hourly usage attribution requests. Usage types are in the format `<usage_type>_usage`.
1818
To obtain the complete list of valid usage types, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
1919
20-
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "apm_usm_usage", "appsec_fargate_usage", "appsec_usage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "bits_ai_investigations_usage", "browser_usage", "ci_code_coverage_committers_percentage", "ci_code_coverage_committers_usage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_usage", "ci_visibility_itr_usage", "cloud_siem_usage", "code_security_host_usage", "container_excl_agent_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_event_usage", "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_fargate_task_usage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_stream_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "flex_logs_starter", "flex_stored_logs", "functions_usage", "incident_management_monthly_active_users_usage", "indexed_spans_usage", "infra_host_usage", "infra_host_basic_usage", "ingested_logs_bytes_usage", "ingested_spans_bytes_usage", "invocations_usage", "lambda_traced_invocations_usage", "llm_observability_usage", "llm_spans_usage", "logs_indexed_15day_usage", "logs_indexed_180day_usage", "logs_indexed_1day_usage", "logs_indexed_30day_usage", "logs_indexed_360day_usage", "logs_indexed_3day_usage", "logs_indexed_45day_usage", "logs_indexed_60day_usage", "logs_indexed_7day_usage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_usage", "mobile_app_testing_usage", "ndm_netflow_usage", "npm_host_usage", "network_device_wireless_usage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_usage", "online_archive_usage", "product_analytics_session_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "published_app", "rum_browser_mobile_sessions_usage", "rum_ingested_usage", "rum_investigate_usage", "rum_replay_sessions_usage", "rum_session_replay_add_on_usage", "sca_fargate_usage", "sds_scanned_bytes_usage", "serverless_apps_usage", "serverless_apps_apm_usage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_usage", "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage", "workflow_executions_usage"].
20+
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "apm_usm_usage", "appsec_fargate_usage", "appsec_usage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "bits_ai_investigations_usage", "browser_usage", "ci_code_coverage_committers_percentage", "ci_code_coverage_committers_usage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_usage", "ci_visibility_itr_usage", "cloud_siem_usage", "code_security_host_usage", "container_excl_agent_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_event_usage", "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_fargate_task_usage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_stream_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "flex_logs_starter", "flex_stored_logs", "functions_usage", "incident_management_monthly_active_users_usage", "indexed_spans_usage", "infra_host_usage", "infra_host_basic_usage", "ingested_logs_bytes_usage", "ingested_spans_bytes_usage", "invocations_usage", "lambda_traced_invocations_usage", "llm_observability_usage", "llm_spans_usage", "logs_indexed_15day_usage", "logs_indexed_180day_usage", "logs_indexed_1day_usage", "logs_indexed_30day_usage", "logs_indexed_360day_usage", "logs_indexed_3day_usage", "logs_indexed_45day_usage", "logs_indexed_60day_usage", "logs_indexed_7day_usage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_usage", "mobile_app_testing_usage", "ndm_netflow_usage", "npm_host_usage", "network_device_wireless_usage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_usage", "online_archive_usage", "product_analytics_session_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "published_app", "rum_browser_mobile_sessions_usage", "rum_ingested_usage", "rum_investigate_usage", "rum_replay_sessions_usage", "rum_session_replay_add_on_usage", "sca_fargate_usage", "sds_scanned_bytes_usage", "serverless_apps_usage", "serverless_apps_apm_usage", "siem_12mo_retention_usage", "siem_6mo_retention_usage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_usage", "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage", "workflow_executions_usage"].
2121
:type value: str
2222
"""
2323

@@ -103,6 +103,8 @@ class HourlyUsageAttributionUsageType(ModelSimple):
103103
"sds_scanned_bytes_usage",
104104
"serverless_apps_usage",
105105
"serverless_apps_apm_usage",
106+
"siem_12mo_retention_usage",
107+
"siem_6mo_retention_usage",
106108
"siem_analyzed_logs_add_on_usage",
107109
"siem_ingested_bytes_usage",
108110
"snmp_usage",
@@ -191,6 +193,8 @@ class HourlyUsageAttributionUsageType(ModelSimple):
191193
SDS_SCANNED_BYTES_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
192194
SERVERLESS_APPS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
193195
SERVERLESS_APPS_APM_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
196+
SIEM_12MO_RETENTION_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
197+
SIEM_6MO_RETENTION_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
194198
SIEM_ANALYZED_LOGS_ADD_ON_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
195199
SIEM_INGESTED_BYTES_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
196200
SNMP_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
@@ -326,6 +330,8 @@ def openapi_types(_):
326330
HourlyUsageAttributionUsageType.SDS_SCANNED_BYTES_USAGE = HourlyUsageAttributionUsageType("sds_scanned_bytes_usage")
327331
HourlyUsageAttributionUsageType.SERVERLESS_APPS_USAGE = HourlyUsageAttributionUsageType("serverless_apps_usage")
328332
HourlyUsageAttributionUsageType.SERVERLESS_APPS_APM_USAGE = HourlyUsageAttributionUsageType("serverless_apps_apm_usage")
333+
HourlyUsageAttributionUsageType.SIEM_12MO_RETENTION_USAGE = HourlyUsageAttributionUsageType("siem_12mo_retention_usage")
334+
HourlyUsageAttributionUsageType.SIEM_6MO_RETENTION_USAGE = HourlyUsageAttributionUsageType("siem_6mo_retention_usage")
329335
HourlyUsageAttributionUsageType.SIEM_ANALYZED_LOGS_ADD_ON_USAGE = HourlyUsageAttributionUsageType(
330336
"siem_analyzed_logs_add_on_usage"
331337
)

src/datadog_api_client/v1/model/monitor_thresholds.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ class MonitorThresholds(ModelNormal):
1919
def openapi_types(_):
2020
return {
2121
"critical": (float,),
22-
"critical_query": (str,),
2322
"critical_recovery": (float, none_type),
24-
"critical_recovery_query": (str,),
2523
"ok": (float, none_type),
2624
"unknown": (float, none_type),
2725
"warning": (float, none_type),
@@ -30,9 +28,7 @@ def openapi_types(_):
3028

3129
attribute_map = {
3230
"critical": "critical",
33-
"critical_query": "critical_query",
3431
"critical_recovery": "critical_recovery",
35-
"critical_recovery_query": "critical_recovery_query",
3632
"ok": "ok",
3733
"unknown": "unknown",
3834
"warning": "warning",
@@ -42,9 +38,7 @@ def openapi_types(_):
4238
def __init__(
4339
self_,
4440
critical: Union[float, UnsetType] = unset,
45-
critical_query: Union[str, UnsetType] = unset,
4641
critical_recovery: Union[float, none_type, UnsetType] = unset,
47-
critical_recovery_query: Union[str, UnsetType] = unset,
4842
ok: Union[float, none_type, UnsetType] = unset,
4943
unknown: Union[float, none_type, UnsetType] = unset,
5044
warning: Union[float, none_type, UnsetType] = unset,
@@ -57,15 +51,9 @@ def __init__(
5751
:param critical: The monitor ``CRITICAL`` threshold.
5852
:type critical: float, optional
5953
60-
:param critical_query: Query evaluated as a dynamic ``CRITICAL`` threshold. Only supported on metric monitors with a formula query and options['variables']. Cannot be combined with static thresholds. This field is in preview.
61-
:type critical_query: str, optional
62-
6354
:param critical_recovery: The monitor ``CRITICAL`` recovery threshold.
6455
:type critical_recovery: float, none_type, optional
6556
66-
:param critical_recovery_query: Query evaluated as a dynamic ``CRITICAL`` recovery threshold. Only supported on metric monitors with a formula query and options['variables']. Cannot be combined with static thresholds. This field is in preview.
67-
:type critical_recovery_query: str, optional
68-
6957
:param ok: The monitor ``OK`` threshold.
7058
:type ok: float, none_type, optional
7159
@@ -80,12 +68,8 @@ def __init__(
8068
"""
8169
if critical is not unset:
8270
kwargs["critical"] = critical
83-
if critical_query is not unset:
84-
kwargs["critical_query"] = critical_query
8571
if critical_recovery is not unset:
8672
kwargs["critical_recovery"] = critical_recovery
87-
if critical_recovery_query is not unset:
88-
kwargs["critical_recovery_query"] = critical_recovery_query
8973
if ok is not unset:
9074
kwargs["ok"] = ok
9175
if unknown is not unset:

0 commit comments

Comments
 (0)