Skip to content

Commit 4a8efe3

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

4 files changed

Lines changed: 467 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/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@
8686
UsageSummaryDate.JSON_PROPERTY_CSM_HOST_ENTERPRISE_GCP_HOST_COUNT_TOP99P,
8787
UsageSummaryDate.JSON_PROPERTY_CSM_HOST_ENTERPRISE_OCI_HOST_COUNT_TOP99P,
8888
UsageSummaryDate.JSON_PROPERTY_CSM_HOST_ENTERPRISE_TOTAL_HOST_COUNT_TOP99P,
89+
UsageSummaryDate.JSON_PROPERTY_CSM_HOST_PRO_HOSTS_AGENTLESS_SCANNERS_SUM,
90+
UsageSummaryDate.JSON_PROPERTY_CSM_HOST_PRO_HOSTS_AGENTLESS_SCANNERS_TOP99P,
8991
UsageSummaryDate.JSON_PROPERTY_CSM_HOST_PRO_OCI_HOST_COUNT_TOP99P,
9092
UsageSummaryDate.JSON_PROPERTY_CSPM_AAS_HOST_TOP99P,
9193
UsageSummaryDate.JSON_PROPERTY_CSPM_AWS_HOST_TOP99P,
@@ -94,6 +96,8 @@
9496
UsageSummaryDate.JSON_PROPERTY_CSPM_CONTAINER_HWM,
9597
UsageSummaryDate.JSON_PROPERTY_CSPM_GCP_HOST_TOP99P,
9698
UsageSummaryDate.JSON_PROPERTY_CSPM_HOST_TOP99P,
99+
UsageSummaryDate.JSON_PROPERTY_CSPM_HOSTS_AGENTLESS_SCANNERS_SUM,
100+
UsageSummaryDate.JSON_PROPERTY_CSPM_HOSTS_AGENTLESS_SCANNERS_TOP99P,
97101
UsageSummaryDate.JSON_PROPERTY_CUSTOM_TS_AVG,
98102
UsageSummaryDate.JSON_PROPERTY_CWS_CONTAINER_COUNT_AVG,
99103
UsageSummaryDate.JSON_PROPERTY_CWS_FARGATE_TASK_AVG,
@@ -501,6 +505,14 @@ public class UsageSummaryDate {
501505
"csm_host_enterprise_total_host_count_top99p";
502506
private Long csmHostEnterpriseTotalHostCountTop99p;
503507

508+
public static final String JSON_PROPERTY_CSM_HOST_PRO_HOSTS_AGENTLESS_SCANNERS_SUM =
509+
"csm_host_pro_hosts_agentless_scanners_sum";
510+
private Long csmHostProHostsAgentlessScannersSum;
511+
512+
public static final String JSON_PROPERTY_CSM_HOST_PRO_HOSTS_AGENTLESS_SCANNERS_TOP99P =
513+
"csm_host_pro_hosts_agentless_scanners_top99p";
514+
private Long csmHostProHostsAgentlessScannersTop99p;
515+
504516
public static final String JSON_PROPERTY_CSM_HOST_PRO_OCI_HOST_COUNT_TOP99P =
505517
"csm_host_pro_oci_host_count_top99p";
506518
private Long csmHostProOciHostCountTop99p;
@@ -526,6 +538,14 @@ public class UsageSummaryDate {
526538
public static final String JSON_PROPERTY_CSPM_HOST_TOP99P = "cspm_host_top99p";
527539
private Long cspmHostTop99p;
528540

541+
public static final String JSON_PROPERTY_CSPM_HOSTS_AGENTLESS_SCANNERS_SUM =
542+
"cspm_hosts_agentless_scanners_sum";
543+
private Long cspmHostsAgentlessScannersSum;
544+
545+
public static final String JSON_PROPERTY_CSPM_HOSTS_AGENTLESS_SCANNERS_TOP99P =
546+
"cspm_hosts_agentless_scanners_top99p";
547+
private Long cspmHostsAgentlessScannersTop99p;
548+
529549
public static final String JSON_PROPERTY_CUSTOM_TS_AVG = "custom_ts_avg";
530550
private Long customTsAvg;
531551

@@ -2616,6 +2636,53 @@ public void setCsmHostEnterpriseTotalHostCountTop99p(Long csmHostEnterpriseTotal
26162636
this.csmHostEnterpriseTotalHostCountTop99p = csmHostEnterpriseTotalHostCountTop99p;
26172637
}
26182638

2639+
public UsageSummaryDate csmHostProHostsAgentlessScannersSum(
2640+
Long csmHostProHostsAgentlessScannersSum) {
2641+
this.csmHostProHostsAgentlessScannersSum = csmHostProHostsAgentlessScannersSum;
2642+
return this;
2643+
}
2644+
2645+
/**
2646+
* Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in
2647+
* the current date for the given org.
2648+
*
2649+
* @return csmHostProHostsAgentlessScannersSum
2650+
*/
2651+
@jakarta.annotation.Nullable
2652+
@JsonProperty(JSON_PROPERTY_CSM_HOST_PRO_HOSTS_AGENTLESS_SCANNERS_SUM)
2653+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2654+
public Long getCsmHostProHostsAgentlessScannersSum() {
2655+
return csmHostProHostsAgentlessScannersSum;
2656+
}
2657+
2658+
public void setCsmHostProHostsAgentlessScannersSum(Long csmHostProHostsAgentlessScannersSum) {
2659+
this.csmHostProHostsAgentlessScannersSum = csmHostProHostsAgentlessScannersSum;
2660+
}
2661+
2662+
public UsageSummaryDate csmHostProHostsAgentlessScannersTop99p(
2663+
Long csmHostProHostsAgentlessScannersTop99p) {
2664+
this.csmHostProHostsAgentlessScannersTop99p = csmHostProHostsAgentlessScannersTop99p;
2665+
return this;
2666+
}
2667+
2668+
/**
2669+
* Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all
2670+
* hours in the current date for the given org.
2671+
*
2672+
* @return csmHostProHostsAgentlessScannersTop99p
2673+
*/
2674+
@jakarta.annotation.Nullable
2675+
@JsonProperty(JSON_PROPERTY_CSM_HOST_PRO_HOSTS_AGENTLESS_SCANNERS_TOP99P)
2676+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2677+
public Long getCsmHostProHostsAgentlessScannersTop99p() {
2678+
return csmHostProHostsAgentlessScannersTop99p;
2679+
}
2680+
2681+
public void setCsmHostProHostsAgentlessScannersTop99p(
2682+
Long csmHostProHostsAgentlessScannersTop99p) {
2683+
this.csmHostProHostsAgentlessScannersTop99p = csmHostProHostsAgentlessScannersTop99p;
2684+
}
2685+
26192686
public UsageSummaryDate csmHostProOciHostCountTop99p(Long csmHostProOciHostCountTop99p) {
26202687
this.csmHostProOciHostCountTop99p = csmHostProOciHostCountTop99p;
26212688
return this;
@@ -2792,6 +2859,50 @@ public void setCspmHostTop99p(Long cspmHostTop99p) {
27922859
this.cspmHostTop99p = cspmHostTop99p;
27932860
}
27942861

2862+
public UsageSummaryDate cspmHostsAgentlessScannersSum(Long cspmHostsAgentlessScannersSum) {
2863+
this.cspmHostsAgentlessScannersSum = cspmHostsAgentlessScannersSum;
2864+
return this;
2865+
}
2866+
2867+
/**
2868+
* Shows the sum of all Cloud Security Management Pro Agentless scanner hosts over all hours in
2869+
* the current date for all organizations.
2870+
*
2871+
* @return cspmHostsAgentlessScannersSum
2872+
*/
2873+
@jakarta.annotation.Nullable
2874+
@JsonProperty(JSON_PROPERTY_CSPM_HOSTS_AGENTLESS_SCANNERS_SUM)
2875+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2876+
public Long getCspmHostsAgentlessScannersSum() {
2877+
return cspmHostsAgentlessScannersSum;
2878+
}
2879+
2880+
public void setCspmHostsAgentlessScannersSum(Long cspmHostsAgentlessScannersSum) {
2881+
this.cspmHostsAgentlessScannersSum = cspmHostsAgentlessScannersSum;
2882+
}
2883+
2884+
public UsageSummaryDate cspmHostsAgentlessScannersTop99p(Long cspmHostsAgentlessScannersTop99p) {
2885+
this.cspmHostsAgentlessScannersTop99p = cspmHostsAgentlessScannersTop99p;
2886+
return this;
2887+
}
2888+
2889+
/**
2890+
* Shows the 99th percentile of all Cloud Security Management Pro Agentless scanner hosts over all
2891+
* hours in the current date for all organizations.
2892+
*
2893+
* @return cspmHostsAgentlessScannersTop99p
2894+
*/
2895+
@jakarta.annotation.Nullable
2896+
@JsonProperty(JSON_PROPERTY_CSPM_HOSTS_AGENTLESS_SCANNERS_TOP99P)
2897+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2898+
public Long getCspmHostsAgentlessScannersTop99p() {
2899+
return cspmHostsAgentlessScannersTop99p;
2900+
}
2901+
2902+
public void setCspmHostsAgentlessScannersTop99p(Long cspmHostsAgentlessScannersTop99p) {
2903+
this.cspmHostsAgentlessScannersTop99p = cspmHostsAgentlessScannersTop99p;
2904+
}
2905+
27952906
public UsageSummaryDate customTsAvg(Long customTsAvg) {
27962907
this.customTsAvg = customTsAvg;
27972908
return this;
@@ -6845,6 +6956,12 @@ public boolean equals(Object o) {
68456956
&& Objects.equals(
68466957
this.csmHostEnterpriseTotalHostCountTop99p,
68476958
usageSummaryDate.csmHostEnterpriseTotalHostCountTop99p)
6959+
&& Objects.equals(
6960+
this.csmHostProHostsAgentlessScannersSum,
6961+
usageSummaryDate.csmHostProHostsAgentlessScannersSum)
6962+
&& Objects.equals(
6963+
this.csmHostProHostsAgentlessScannersTop99p,
6964+
usageSummaryDate.csmHostProHostsAgentlessScannersTop99p)
68486965
&& Objects.equals(
68496966
this.csmHostProOciHostCountTop99p, usageSummaryDate.csmHostProOciHostCountTop99p)
68506967
&& Objects.equals(this.cspmAasHostTop99p, usageSummaryDate.cspmAasHostTop99p)
@@ -6854,6 +6971,11 @@ public boolean equals(Object o) {
68546971
&& Objects.equals(this.cspmContainerHwm, usageSummaryDate.cspmContainerHwm)
68556972
&& Objects.equals(this.cspmGcpHostTop99p, usageSummaryDate.cspmGcpHostTop99p)
68566973
&& Objects.equals(this.cspmHostTop99p, usageSummaryDate.cspmHostTop99p)
6974+
&& Objects.equals(
6975+
this.cspmHostsAgentlessScannersSum, usageSummaryDate.cspmHostsAgentlessScannersSum)
6976+
&& Objects.equals(
6977+
this.cspmHostsAgentlessScannersTop99p,
6978+
usageSummaryDate.cspmHostsAgentlessScannersTop99p)
68576979
&& Objects.equals(this.customTsAvg, usageSummaryDate.customTsAvg)
68586980
&& Objects.equals(this.cwsContainerCountAvg, usageSummaryDate.cwsContainerCountAvg)
68596981
&& Objects.equals(this.cwsFargateTaskAvg, usageSummaryDate.cwsFargateTaskAvg)
@@ -7246,6 +7368,8 @@ public int hashCode() {
72467368
csmHostEnterpriseGcpHostCountTop99p,
72477369
csmHostEnterpriseOciHostCountTop99p,
72487370
csmHostEnterpriseTotalHostCountTop99p,
7371+
csmHostProHostsAgentlessScannersSum,
7372+
csmHostProHostsAgentlessScannersTop99p,
72497373
csmHostProOciHostCountTop99p,
72507374
cspmAasHostTop99p,
72517375
cspmAwsHostTop99p,
@@ -7254,6 +7378,8 @@ public int hashCode() {
72547378
cspmContainerHwm,
72557379
cspmGcpHostTop99p,
72567380
cspmHostTop99p,
7381+
cspmHostsAgentlessScannersSum,
7382+
cspmHostsAgentlessScannersTop99p,
72577383
customTsAvg,
72587384
cwsContainerCountAvg,
72597385
cwsFargateTaskAvg,
@@ -7589,6 +7715,12 @@ public String toString() {
75897715
sb.append(" csmHostEnterpriseTotalHostCountTop99p: ")
75907716
.append(toIndentedString(csmHostEnterpriseTotalHostCountTop99p))
75917717
.append("\n");
7718+
sb.append(" csmHostProHostsAgentlessScannersSum: ")
7719+
.append(toIndentedString(csmHostProHostsAgentlessScannersSum))
7720+
.append("\n");
7721+
sb.append(" csmHostProHostsAgentlessScannersTop99p: ")
7722+
.append(toIndentedString(csmHostProHostsAgentlessScannersTop99p))
7723+
.append("\n");
75927724
sb.append(" csmHostProOciHostCountTop99p: ")
75937725
.append(toIndentedString(csmHostProOciHostCountTop99p))
75947726
.append("\n");
@@ -7601,6 +7733,12 @@ public String toString() {
76017733
sb.append(" cspmContainerHwm: ").append(toIndentedString(cspmContainerHwm)).append("\n");
76027734
sb.append(" cspmGcpHostTop99p: ").append(toIndentedString(cspmGcpHostTop99p)).append("\n");
76037735
sb.append(" cspmHostTop99p: ").append(toIndentedString(cspmHostTop99p)).append("\n");
7736+
sb.append(" cspmHostsAgentlessScannersSum: ")
7737+
.append(toIndentedString(cspmHostsAgentlessScannersSum))
7738+
.append("\n");
7739+
sb.append(" cspmHostsAgentlessScannersTop99p: ")
7740+
.append(toIndentedString(cspmHostsAgentlessScannersTop99p))
7741+
.append("\n");
76047742
sb.append(" customTsAvg: ").append(toIndentedString(customTsAvg)).append("\n");
76057743
sb.append(" cwsContainerCountAvg: ")
76067744
.append(toIndentedString(cwsContainerCountAvg))

0 commit comments

Comments
 (0)