Skip to content

Commit 286ba55

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add csm_host_pro hosts agentless scanners to usage metering API (#3539)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 2d73303 commit 286ba55

4 files changed

Lines changed: 146 additions & 0 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22527,6 +22527,14 @@ components:
2252722527
description: Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current date for the given org.
2252822528
format: int64
2252922529
type: integer
22530+
csm_host_pro_hosts_agentless_scanners_sum:
22531+
description: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
22532+
format: int64
22533+
type: integer
22534+
csm_host_pro_hosts_agentless_scanners_top99p:
22535+
description: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
22536+
format: int64
22537+
type: integer
2253022538
csm_host_pro_oci_host_count_top99p:
2253122539
description: Shows the 99th percentile of all Cloud Security Management Pro OCI hosts over all hours in the current date for the given org.
2253222540
format: int64
@@ -22559,6 +22567,14 @@ components:
2255922567
description: Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for all organizations.
2256022568
format: int64
2256122569
type: integer
22570+
cspm_hosts_agentless_scanners_sum:
22571+
description: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for all organizations.
22572+
format: int64
22573+
type: integer
22574+
cspm_hosts_agentless_scanners_top99p:
22575+
description: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for all organizations.
22576+
format: int64
22577+
type: integer
2256222578
custom_ts_avg:
2256322579
description: Shows the average number of distinct custom metrics over all hours in the current date for all organizations.
2256422580
format: int64
@@ -23520,6 +23536,14 @@ components:
2352023536
description: Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current date for the given org.
2352123537
format: int64
2352223538
type: integer
23539+
csm_host_pro_hosts_agentless_scanners_sum:
23540+
description: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
23541+
format: int64
23542+
type: integer
23543+
csm_host_pro_hosts_agentless_scanners_top99p:
23544+
description: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
23545+
format: int64
23546+
type: integer
2352323547
csm_host_pro_oci_host_count_top99p:
2352423548
description: Shows the 99th percentile of all Cloud Security Management Pro OCI hosts over all hours in the current date for the given org.
2352523549
format: int64
@@ -23552,6 +23576,14 @@ components:
2355223576
description: Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for the given org.
2355323577
format: int64
2355423578
type: integer
23579+
cspm_hosts_agentless_scanners_sum:
23580+
description: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
23581+
format: int64
23582+
type: integer
23583+
cspm_hosts_agentless_scanners_top99p:
23584+
description: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
23585+
format: int64
23586+
type: integer
2355523587
custom_historical_ts_avg:
2355623588
description: Shows the average number of distinct historical custom metrics over all hours in the current date for the given org.
2355723589
format: int64
@@ -24523,6 +24555,14 @@ components:
2452324555
description: Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current month for all organizations.
2452424556
format: int64
2452524557
type: integer
24558+
csm_host_pro_hosts_agentless_scanners_agg_sum:
24559+
description: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current month for all organizations.
24560+
format: int64
24561+
type: integer
24562+
csm_host_pro_hosts_agentless_scanners_top99p_sum:
24563+
description: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current month for all organizations.
24564+
format: int64
24565+
type: integer
2452624566
csm_host_pro_oci_host_count_top99p_sum:
2452724567
description: Shows the 99th percentile of all Cloud Security Management Pro OCI hosts over all hours in the current month for all organizations.
2452824568
format: int64
@@ -24555,6 +24595,14 @@ components:
2455524595
description: Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current month for all organizations.
2455624596
format: int64
2455724597
type: integer
24598+
cspm_hosts_agentless_scanners_agg_sum:
24599+
description: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current month for all organizations.
24600+
format: int64
24601+
type: integer
24602+
cspm_hosts_agentless_scanners_top99p_sum:
24603+
description: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current month for all organizations.
24604+
format: int64
24605+
type: integer
2455824606
custom_historical_ts_sum:
2455924607
description: Shows the average number of distinct historical custom metrics over all hours in the current month for all organizations.
2456024608
format: int64

src/datadog_api_client/v1/model/usage_summary_date.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ def openapi_types(_):
8989
"csm_host_enterprise_gcp_host_count_top99p": (int,),
9090
"csm_host_enterprise_oci_host_count_top99p": (int,),
9191
"csm_host_enterprise_total_host_count_top99p": (int,),
92+
"csm_host_pro_hosts_agentless_scanners_sum": (int,),
93+
"csm_host_pro_hosts_agentless_scanners_top99p": (int,),
9294
"csm_host_pro_oci_host_count_top99p": (int,),
9395
"cspm_aas_host_top99p": (int,),
9496
"cspm_aws_host_top99p": (int,),
@@ -97,6 +99,8 @@ def openapi_types(_):
9799
"cspm_container_hwm": (int,),
98100
"cspm_gcp_host_top99p": (int,),
99101
"cspm_host_top99p": (int,),
102+
"cspm_hosts_agentless_scanners_sum": (int,),
103+
"cspm_hosts_agentless_scanners_top99p": (int,),
100104
"custom_ts_avg": (int,),
101105
"cws_container_count_avg": (int,),
102106
"cws_fargate_task_avg": (int,),
@@ -334,6 +338,8 @@ def openapi_types(_):
334338
"csm_host_enterprise_gcp_host_count_top99p": "csm_host_enterprise_gcp_host_count_top99p",
335339
"csm_host_enterprise_oci_host_count_top99p": "csm_host_enterprise_oci_host_count_top99p",
336340
"csm_host_enterprise_total_host_count_top99p": "csm_host_enterprise_total_host_count_top99p",
341+
"csm_host_pro_hosts_agentless_scanners_sum": "csm_host_pro_hosts_agentless_scanners_sum",
342+
"csm_host_pro_hosts_agentless_scanners_top99p": "csm_host_pro_hosts_agentless_scanners_top99p",
337343
"csm_host_pro_oci_host_count_top99p": "csm_host_pro_oci_host_count_top99p",
338344
"cspm_aas_host_top99p": "cspm_aas_host_top99p",
339345
"cspm_aws_host_top99p": "cspm_aws_host_top99p",
@@ -342,6 +348,8 @@ def openapi_types(_):
342348
"cspm_container_hwm": "cspm_container_hwm",
343349
"cspm_gcp_host_top99p": "cspm_gcp_host_top99p",
344350
"cspm_host_top99p": "cspm_host_top99p",
351+
"cspm_hosts_agentless_scanners_sum": "cspm_hosts_agentless_scanners_sum",
352+
"cspm_hosts_agentless_scanners_top99p": "cspm_hosts_agentless_scanners_top99p",
345353
"custom_ts_avg": "custom_ts_avg",
346354
"cws_container_count_avg": "cws_container_count_avg",
347355
"cws_fargate_task_avg": "cws_fargate_task_avg",
@@ -580,6 +588,8 @@ def __init__(
580588
csm_host_enterprise_gcp_host_count_top99p: Union[int, UnsetType] = unset,
581589
csm_host_enterprise_oci_host_count_top99p: Union[int, UnsetType] = unset,
582590
csm_host_enterprise_total_host_count_top99p: Union[int, UnsetType] = unset,
591+
csm_host_pro_hosts_agentless_scanners_sum: Union[int, UnsetType] = unset,
592+
csm_host_pro_hosts_agentless_scanners_top99p: Union[int, UnsetType] = unset,
583593
csm_host_pro_oci_host_count_top99p: Union[int, UnsetType] = unset,
584594
cspm_aas_host_top99p: Union[int, UnsetType] = unset,
585595
cspm_aws_host_top99p: Union[int, UnsetType] = unset,
@@ -588,6 +598,8 @@ def __init__(
588598
cspm_container_hwm: Union[int, UnsetType] = unset,
589599
cspm_gcp_host_top99p: Union[int, UnsetType] = unset,
590600
cspm_host_top99p: Union[int, UnsetType] = unset,
601+
cspm_hosts_agentless_scanners_sum: Union[int, UnsetType] = unset,
602+
cspm_hosts_agentless_scanners_top99p: Union[int, UnsetType] = unset,
591603
custom_ts_avg: Union[int, UnsetType] = unset,
592604
cws_container_count_avg: Union[int, UnsetType] = unset,
593605
cws_fargate_task_avg: Union[int, UnsetType] = unset,
@@ -957,6 +969,12 @@ def __init__(
957969
:param csm_host_enterprise_total_host_count_top99p: Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current date for the given org.
958970
:type csm_host_enterprise_total_host_count_top99p: int, optional
959971
972+
:param csm_host_pro_hosts_agentless_scanners_sum: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
973+
:type csm_host_pro_hosts_agentless_scanners_sum: int, optional
974+
975+
:param csm_host_pro_hosts_agentless_scanners_top99p: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
976+
:type csm_host_pro_hosts_agentless_scanners_top99p: int, optional
977+
960978
:param csm_host_pro_oci_host_count_top99p: Shows the 99th percentile of all Cloud Security Management Pro OCI hosts over all hours in the current date for the given org.
961979
:type csm_host_pro_oci_host_count_top99p: int, optional
962980
@@ -981,6 +999,12 @@ def __init__(
981999
:param cspm_host_top99p: Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for all organizations.
9821000
:type cspm_host_top99p: int, optional
9831001
1002+
:param cspm_hosts_agentless_scanners_sum: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for all organizations.
1003+
:type cspm_hosts_agentless_scanners_sum: int, optional
1004+
1005+
:param cspm_hosts_agentless_scanners_top99p: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for all organizations.
1006+
:type cspm_hosts_agentless_scanners_top99p: int, optional
1007+
9841008
:param custom_ts_avg: Shows the average number of distinct custom metrics over all hours in the current date for all organizations.
9851009
:type custom_ts_avg: int, optional
9861010
@@ -1620,6 +1644,10 @@ def __init__(
16201644
kwargs["csm_host_enterprise_oci_host_count_top99p"] = csm_host_enterprise_oci_host_count_top99p
16211645
if csm_host_enterprise_total_host_count_top99p is not unset:
16221646
kwargs["csm_host_enterprise_total_host_count_top99p"] = csm_host_enterprise_total_host_count_top99p
1647+
if csm_host_pro_hosts_agentless_scanners_sum is not unset:
1648+
kwargs["csm_host_pro_hosts_agentless_scanners_sum"] = csm_host_pro_hosts_agentless_scanners_sum
1649+
if csm_host_pro_hosts_agentless_scanners_top99p is not unset:
1650+
kwargs["csm_host_pro_hosts_agentless_scanners_top99p"] = csm_host_pro_hosts_agentless_scanners_top99p
16231651
if csm_host_pro_oci_host_count_top99p is not unset:
16241652
kwargs["csm_host_pro_oci_host_count_top99p"] = csm_host_pro_oci_host_count_top99p
16251653
if cspm_aas_host_top99p is not unset:
@@ -1636,6 +1664,10 @@ def __init__(
16361664
kwargs["cspm_gcp_host_top99p"] = cspm_gcp_host_top99p
16371665
if cspm_host_top99p is not unset:
16381666
kwargs["cspm_host_top99p"] = cspm_host_top99p
1667+
if cspm_hosts_agentless_scanners_sum is not unset:
1668+
kwargs["cspm_hosts_agentless_scanners_sum"] = cspm_hosts_agentless_scanners_sum
1669+
if cspm_hosts_agentless_scanners_top99p is not unset:
1670+
kwargs["cspm_hosts_agentless_scanners_top99p"] = cspm_hosts_agentless_scanners_top99p
16391671
if custom_ts_avg is not unset:
16401672
kwargs["custom_ts_avg"] = custom_ts_avg
16411673
if cws_container_count_avg is not unset:

src/datadog_api_client/v1/model/usage_summary_date_org.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ def openapi_types(_):
8484
"csm_host_enterprise_gcp_host_count_top99p": (int,),
8585
"csm_host_enterprise_oci_host_count_top99p": (int,),
8686
"csm_host_enterprise_total_host_count_top99p": (int,),
87+
"csm_host_pro_hosts_agentless_scanners_sum": (int,),
88+
"csm_host_pro_hosts_agentless_scanners_top99p": (int,),
8789
"csm_host_pro_oci_host_count_top99p": (int,),
8890
"cspm_aas_host_top99p": (int,),
8991
"cspm_aws_host_top99p": (int,),
@@ -92,6 +94,8 @@ def openapi_types(_):
9294
"cspm_container_hwm": (int,),
9395
"cspm_gcp_host_top99p": (int,),
9496
"cspm_host_top99p": (int,),
97+
"cspm_hosts_agentless_scanners_sum": (int,),
98+
"cspm_hosts_agentless_scanners_top99p": (int,),
9599
"custom_historical_ts_avg": (int,),
96100
"custom_live_ts_avg": (int,),
97101
"custom_ts_avg": (int,),
@@ -335,6 +339,8 @@ def openapi_types(_):
335339
"csm_host_enterprise_gcp_host_count_top99p": "csm_host_enterprise_gcp_host_count_top99p",
336340
"csm_host_enterprise_oci_host_count_top99p": "csm_host_enterprise_oci_host_count_top99p",
337341
"csm_host_enterprise_total_host_count_top99p": "csm_host_enterprise_total_host_count_top99p",
342+
"csm_host_pro_hosts_agentless_scanners_sum": "csm_host_pro_hosts_agentless_scanners_sum",
343+
"csm_host_pro_hosts_agentless_scanners_top99p": "csm_host_pro_hosts_agentless_scanners_top99p",
338344
"csm_host_pro_oci_host_count_top99p": "csm_host_pro_oci_host_count_top99p",
339345
"cspm_aas_host_top99p": "cspm_aas_host_top99p",
340346
"cspm_aws_host_top99p": "cspm_aws_host_top99p",
@@ -343,6 +349,8 @@ def openapi_types(_):
343349
"cspm_container_hwm": "cspm_container_hwm",
344350
"cspm_gcp_host_top99p": "cspm_gcp_host_top99p",
345351
"cspm_host_top99p": "cspm_host_top99p",
352+
"cspm_hosts_agentless_scanners_sum": "cspm_hosts_agentless_scanners_sum",
353+
"cspm_hosts_agentless_scanners_top99p": "cspm_hosts_agentless_scanners_top99p",
346354
"custom_historical_ts_avg": "custom_historical_ts_avg",
347355
"custom_live_ts_avg": "custom_live_ts_avg",
348356
"custom_ts_avg": "custom_ts_avg",
@@ -587,6 +595,8 @@ def __init__(
587595
csm_host_enterprise_gcp_host_count_top99p: Union[int, UnsetType] = unset,
588596
csm_host_enterprise_oci_host_count_top99p: Union[int, UnsetType] = unset,
589597
csm_host_enterprise_total_host_count_top99p: Union[int, UnsetType] = unset,
598+
csm_host_pro_hosts_agentless_scanners_sum: Union[int, UnsetType] = unset,
599+
csm_host_pro_hosts_agentless_scanners_top99p: Union[int, UnsetType] = unset,
590600
csm_host_pro_oci_host_count_top99p: Union[int, UnsetType] = unset,
591601
cspm_aas_host_top99p: Union[int, UnsetType] = unset,
592602
cspm_aws_host_top99p: Union[int, UnsetType] = unset,
@@ -595,6 +605,8 @@ def __init__(
595605
cspm_container_hwm: Union[int, UnsetType] = unset,
596606
cspm_gcp_host_top99p: Union[int, UnsetType] = unset,
597607
cspm_host_top99p: Union[int, UnsetType] = unset,
608+
cspm_hosts_agentless_scanners_sum: Union[int, UnsetType] = unset,
609+
cspm_hosts_agentless_scanners_top99p: Union[int, UnsetType] = unset,
598610
custom_historical_ts_avg: Union[int, UnsetType] = unset,
599611
custom_live_ts_avg: Union[int, UnsetType] = unset,
600612
custom_ts_avg: Union[int, UnsetType] = unset,
@@ -974,6 +986,12 @@ def __init__(
974986
:param csm_host_enterprise_total_host_count_top99p: Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current date for the given org.
975987
:type csm_host_enterprise_total_host_count_top99p: int, optional
976988
989+
:param csm_host_pro_hosts_agentless_scanners_sum: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
990+
:type csm_host_pro_hosts_agentless_scanners_sum: int, optional
991+
992+
:param csm_host_pro_hosts_agentless_scanners_top99p: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
993+
:type csm_host_pro_hosts_agentless_scanners_top99p: int, optional
994+
977995
:param csm_host_pro_oci_host_count_top99p: Shows the 99th percentile of all Cloud Security Management Pro OCI hosts over all hours in the current date for the given org.
978996
:type csm_host_pro_oci_host_count_top99p: int, optional
979997
@@ -998,6 +1016,12 @@ def __init__(
9981016
:param cspm_host_top99p: Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for the given org.
9991017
:type cspm_host_top99p: int, optional
10001018
1019+
:param cspm_hosts_agentless_scanners_sum: Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
1020+
:type cspm_hosts_agentless_scanners_sum: int, optional
1021+
1022+
:param cspm_hosts_agentless_scanners_top99p: Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all hours in the current date for the given org.
1023+
:type cspm_hosts_agentless_scanners_top99p: int, optional
1024+
10011025
:param custom_historical_ts_avg: Shows the average number of distinct historical custom metrics over all hours in the current date for the given org.
10021026
:type custom_historical_ts_avg: int, optional
10031027
@@ -1653,6 +1677,10 @@ def __init__(
16531677
kwargs["csm_host_enterprise_oci_host_count_top99p"] = csm_host_enterprise_oci_host_count_top99p
16541678
if csm_host_enterprise_total_host_count_top99p is not unset:
16551679
kwargs["csm_host_enterprise_total_host_count_top99p"] = csm_host_enterprise_total_host_count_top99p
1680+
if csm_host_pro_hosts_agentless_scanners_sum is not unset:
1681+
kwargs["csm_host_pro_hosts_agentless_scanners_sum"] = csm_host_pro_hosts_agentless_scanners_sum
1682+
if csm_host_pro_hosts_agentless_scanners_top99p is not unset:
1683+
kwargs["csm_host_pro_hosts_agentless_scanners_top99p"] = csm_host_pro_hosts_agentless_scanners_top99p
16561684
if csm_host_pro_oci_host_count_top99p is not unset:
16571685
kwargs["csm_host_pro_oci_host_count_top99p"] = csm_host_pro_oci_host_count_top99p
16581686
if cspm_aas_host_top99p is not unset:
@@ -1669,6 +1697,10 @@ def __init__(
16691697
kwargs["cspm_gcp_host_top99p"] = cspm_gcp_host_top99p
16701698
if cspm_host_top99p is not unset:
16711699
kwargs["cspm_host_top99p"] = cspm_host_top99p
1700+
if cspm_hosts_agentless_scanners_sum is not unset:
1701+
kwargs["cspm_hosts_agentless_scanners_sum"] = cspm_hosts_agentless_scanners_sum
1702+
if cspm_hosts_agentless_scanners_top99p is not unset:
1703+
kwargs["cspm_hosts_agentless_scanners_top99p"] = cspm_hosts_agentless_scanners_top99p
16721704
if custom_historical_ts_avg is not unset:
16731705
kwargs["custom_historical_ts_avg"] = custom_historical_ts_avg
16741706
if custom_live_ts_avg is not unset:

0 commit comments

Comments
 (0)