Skip to content

Commit f8670da

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add new fields to usage metering api spec (#3289)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d9db626 commit f8670da

File tree

4 files changed

+431
-0
lines changed

4 files changed

+431
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20913,6 +20913,11 @@ components:
2091320913
for the given date and given organization.
2091420914
format: int64
2091520915
type: integer
20916+
cloud_cost_management_oci_host_count_avg:
20917+
description: Average host count for Cloud Cost Management on OCI for the
20918+
given date and organization.
20919+
format: int64
20920+
type: integer
2091620921
cloud_siem_events_sum:
2091720922
description: Shows the sum of all Cloud Security Information and Event Management
2091820923
events over all hours in the current date for the given org.
@@ -21147,6 +21152,11 @@ components:
2114721152
Plus over all hours in the current date for the given org.
2114821153
format: int64
2114921154
type: integer
21155+
eph_infra_host_proxmox_sum:
21156+
description: Sum of all ephemeral infrastructure hosts for Proxmox over
21157+
all hours in the current date for all organizations.
21158+
format: int64
21159+
type: integer
2115021160
error_tracking_apm_error_events_sum:
2115121161
description: Shows the sum of all Error Tracking APM error events over all
2115221162
hours in the current date for the given org.
@@ -21443,6 +21453,16 @@ components:
2144321453
within the current date for all organizations.
2144421454
format: int64
2144521455
type: integer
21456+
proxmox_host_sum:
21457+
description: Sum of all Proxmox hosts over all hours in the current date
21458+
for all organizations.
21459+
format: int64
21460+
type: integer
21461+
proxmox_host_top99p:
21462+
description: 99th percentile of all Proxmox hosts over all hours in the
21463+
current date for all organizations.
21464+
format: int64
21465+
type: integer
2144621466
published_app_hwm:
2144721467
description: Shows the high-water mark of all published applications over
2144821468
all hours in the current date for all organizations.
@@ -22026,6 +22046,11 @@ components:
2202622046
for the given date and given org.
2202722047
format: int64
2202822048
type: integer
22049+
cloud_cost_management_oci_host_count_avg:
22050+
description: Average host count for Cloud Cost Management on OCI for the
22051+
given date and organization.
22052+
format: int64
22053+
type: integer
2202922054
cloud_siem_events_sum:
2203022055
description: Shows the sum of all Cloud Security Information and Event Management
2203122056
events over all hours in the current date for the given org.
@@ -22266,6 +22291,11 @@ components:
2226622291
Plus over all hours in the current date for the given org.
2226722292
format: int64
2226822293
type: integer
22294+
eph_infra_host_proxmox_sum:
22295+
description: Sum of all ephemeral infrastructure hosts for Proxmox over
22296+
all hours in the current date for the given organization.
22297+
format: int64
22298+
type: integer
2226922299
error_tracking_apm_error_events_sum:
2227022300
description: Shows the sum of all Error Tracking APM error events over all
2227122301
hours in the current date for the given org.
@@ -22560,6 +22590,16 @@ components:
2256022590
within the current date for the given org.
2256122591
format: int64
2256222592
type: integer
22593+
proxmox_host_sum:
22594+
description: Sum of all Proxmox hosts over all hours in the current date
22595+
for the given organization.
22596+
format: int64
22597+
type: integer
22598+
proxmox_host_top99p:
22599+
description: 99th percentile of all Proxmox hosts over all hours in the
22600+
current date for the given organization.
22601+
format: int64
22602+
type: integer
2256322603
public_id:
2256422604
description: The organization public id.
2256522605
type: string
@@ -23149,6 +23189,11 @@ components:
2314923189
all cloud providers.
2315023190
format: int64
2315123191
type: integer
23192+
cloud_cost_management_oci_host_count_avg_sum:
23193+
description: Sum of the average host counts for Cloud Cost Management on
23194+
OCI.
23195+
format: int64
23196+
type: integer
2315223197
cloud_siem_events_agg_sum:
2315323198
description: Shows the sum of all Cloud Security Information and Event Management
2315423199
events over all hours in the current month for all organizations.
@@ -23390,6 +23435,11 @@ components:
2339023435
Plus over all hours in the current month for all organizations.
2339123436
format: int64
2339223437
type: integer
23438+
eph_infra_host_proxmox_agg_sum:
23439+
description: Sum of all ephemeral infrastructure hosts for Proxmox over
23440+
all hours in the current month for all organizations.
23441+
format: int64
23442+
type: integer
2339323443
error_tracking_apm_error_events_agg_sum:
2339423444
description: Shows the sum of all Error Tracking APM error events over all
2339523445
hours in the current month for all organizations.
@@ -23708,6 +23758,16 @@ components:
2370823758
in the current month for all organizations.
2370923759
format: int64
2371023760
type: integer
23761+
proxmox_host_agg_sum:
23762+
description: Sum of all Proxmox hosts over all hours in the current month
23763+
for all organizations.
23764+
format: int64
23765+
type: integer
23766+
proxmox_host_top99p_sum:
23767+
description: Sum of the 99th percentile of all Proxmox hosts over all hours
23768+
in the current month for all organizations.
23769+
format: int64
23770+
type: integer
2371123771
published_app_hwm_sum:
2371223772
description: Shows the high-water mark of all published applications over
2371323773
all hours in the current month for all organizations.

src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
UsageSummaryDate.JSON_PROPERTY_CLOUD_COST_MANAGEMENT_AZURE_HOST_COUNT_AVG,
5252
UsageSummaryDate.JSON_PROPERTY_CLOUD_COST_MANAGEMENT_GCP_HOST_COUNT_AVG,
5353
UsageSummaryDate.JSON_PROPERTY_CLOUD_COST_MANAGEMENT_HOST_COUNT_AVG,
54+
UsageSummaryDate.JSON_PROPERTY_CLOUD_COST_MANAGEMENT_OCI_HOST_COUNT_AVG,
5455
UsageSummaryDate.JSON_PROPERTY_CLOUD_SIEM_EVENTS_SUM,
5556
UsageSummaryDate.JSON_PROPERTY_CODE_ANALYSIS_SA_COMMITTERS_HWM,
5657
UsageSummaryDate.JSON_PROPERTY_CODE_ANALYSIS_SCA_COMMITTERS_HWM,
@@ -96,6 +97,7 @@
9697
UsageSummaryDate.JSON_PROPERTY_EPH_INFRA_HOST_OPENTELEMETRY_SUM,
9798
UsageSummaryDate.JSON_PROPERTY_EPH_INFRA_HOST_PRO_SUM,
9899
UsageSummaryDate.JSON_PROPERTY_EPH_INFRA_HOST_PROPLUS_SUM,
100+
UsageSummaryDate.JSON_PROPERTY_EPH_INFRA_HOST_PROXMOX_SUM,
99101
UsageSummaryDate.JSON_PROPERTY_ERROR_TRACKING_APM_ERROR_EVENTS_SUM,
100102
UsageSummaryDate.JSON_PROPERTY_ERROR_TRACKING_ERROR_EVENTS_SUM,
101103
UsageSummaryDate.JSON_PROPERTY_ERROR_TRACKING_EVENTS_SUM,
@@ -151,6 +153,8 @@
151153
UsageSummaryDate.JSON_PROPERTY_PRODUCT_ANALYTICS_SUM,
152154
UsageSummaryDate.JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P,
153155
UsageSummaryDate.JSON_PROPERTY_PROFILING_HOST_TOP99P,
156+
UsageSummaryDate.JSON_PROPERTY_PROXMOX_HOST_SUM,
157+
UsageSummaryDate.JSON_PROPERTY_PROXMOX_HOST_TOP99P,
154158
UsageSummaryDate.JSON_PROPERTY_PUBLISHED_APP_HWM,
155159
UsageSummaryDate.JSON_PROPERTY_RUM_BROWSER_AND_MOBILE_SESSION_COUNT,
156160
UsageSummaryDate.JSON_PROPERTY_RUM_BROWSER_LEGACY_SESSION_COUNT_SUM,
@@ -344,6 +348,10 @@ public class UsageSummaryDate {
344348
"cloud_cost_management_host_count_avg";
345349
private Long cloudCostManagementHostCountAvg;
346350

351+
public static final String JSON_PROPERTY_CLOUD_COST_MANAGEMENT_OCI_HOST_COUNT_AVG =
352+
"cloud_cost_management_oci_host_count_avg";
353+
private Long cloudCostManagementOciHostCountAvg;
354+
347355
public static final String JSON_PROPERTY_CLOUD_SIEM_EVENTS_SUM = "cloud_siem_events_sum";
348356
private Long cloudSiemEventsSum;
349357

@@ -498,6 +506,10 @@ public class UsageSummaryDate {
498506
"eph_infra_host_proplus_sum";
499507
private Long ephInfraHostProplusSum;
500508

509+
public static final String JSON_PROPERTY_EPH_INFRA_HOST_PROXMOX_SUM =
510+
"eph_infra_host_proxmox_sum";
511+
private Long ephInfraHostProxmoxSum;
512+
501513
public static final String JSON_PROPERTY_ERROR_TRACKING_APM_ERROR_EVENTS_SUM =
502514
"error_tracking_apm_error_events_sum";
503515
private Long errorTrackingApmErrorEventsSum;
@@ -696,6 +708,12 @@ public class UsageSummaryDate {
696708
public static final String JSON_PROPERTY_PROFILING_HOST_TOP99P = "profiling_host_top99p";
697709
private Long profilingHostTop99p;
698710

711+
public static final String JSON_PROPERTY_PROXMOX_HOST_SUM = "proxmox_host_sum";
712+
private Long proxmoxHostSum;
713+
714+
public static final String JSON_PROPERTY_PROXMOX_HOST_TOP99P = "proxmox_host_top99p";
715+
private Long proxmoxHostTop99p;
716+
699717
public static final String JSON_PROPERTY_PUBLISHED_APP_HWM = "published_app_hwm";
700718
private Long publishedAppHwm;
701719

@@ -1670,6 +1688,28 @@ public void setCloudCostManagementHostCountAvg(Long cloudCostManagementHostCount
16701688
this.cloudCostManagementHostCountAvg = cloudCostManagementHostCountAvg;
16711689
}
16721690

1691+
public UsageSummaryDate cloudCostManagementOciHostCountAvg(
1692+
Long cloudCostManagementOciHostCountAvg) {
1693+
this.cloudCostManagementOciHostCountAvg = cloudCostManagementOciHostCountAvg;
1694+
return this;
1695+
}
1696+
1697+
/**
1698+
* Average host count for Cloud Cost Management on OCI for the given date and organization.
1699+
*
1700+
* @return cloudCostManagementOciHostCountAvg
1701+
*/
1702+
@jakarta.annotation.Nullable
1703+
@JsonProperty(JSON_PROPERTY_CLOUD_COST_MANAGEMENT_OCI_HOST_COUNT_AVG)
1704+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1705+
public Long getCloudCostManagementOciHostCountAvg() {
1706+
return cloudCostManagementOciHostCountAvg;
1707+
}
1708+
1709+
public void setCloudCostManagementOciHostCountAvg(Long cloudCostManagementOciHostCountAvg) {
1710+
this.cloudCostManagementOciHostCountAvg = cloudCostManagementOciHostCountAvg;
1711+
}
1712+
16731713
public UsageSummaryDate cloudSiemEventsSum(Long cloudSiemEventsSum) {
16741714
this.cloudSiemEventsSum = cloudSiemEventsSum;
16751715
return this;
@@ -2671,6 +2711,28 @@ public void setEphInfraHostProplusSum(Long ephInfraHostProplusSum) {
26712711
this.ephInfraHostProplusSum = ephInfraHostProplusSum;
26722712
}
26732713

2714+
public UsageSummaryDate ephInfraHostProxmoxSum(Long ephInfraHostProxmoxSum) {
2715+
this.ephInfraHostProxmoxSum = ephInfraHostProxmoxSum;
2716+
return this;
2717+
}
2718+
2719+
/**
2720+
* Sum of all ephemeral infrastructure hosts for Proxmox over all hours in the current date for
2721+
* all organizations.
2722+
*
2723+
* @return ephInfraHostProxmoxSum
2724+
*/
2725+
@jakarta.annotation.Nullable
2726+
@JsonProperty(JSON_PROPERTY_EPH_INFRA_HOST_PROXMOX_SUM)
2727+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2728+
public Long getEphInfraHostProxmoxSum() {
2729+
return ephInfraHostProxmoxSum;
2730+
}
2731+
2732+
public void setEphInfraHostProxmoxSum(Long ephInfraHostProxmoxSum) {
2733+
this.ephInfraHostProxmoxSum = ephInfraHostProxmoxSum;
2734+
}
2735+
26742736
public UsageSummaryDate errorTrackingApmErrorEventsSum(Long errorTrackingApmErrorEventsSum) {
26752737
this.errorTrackingApmErrorEventsSum = errorTrackingApmErrorEventsSum;
26762738
return this;
@@ -3937,6 +3999,48 @@ public void setProfilingHostTop99p(Long profilingHostTop99p) {
39373999
this.profilingHostTop99p = profilingHostTop99p;
39384000
}
39394001

4002+
public UsageSummaryDate proxmoxHostSum(Long proxmoxHostSum) {
4003+
this.proxmoxHostSum = proxmoxHostSum;
4004+
return this;
4005+
}
4006+
4007+
/**
4008+
* Sum of all Proxmox hosts over all hours in the current date for all organizations.
4009+
*
4010+
* @return proxmoxHostSum
4011+
*/
4012+
@jakarta.annotation.Nullable
4013+
@JsonProperty(JSON_PROPERTY_PROXMOX_HOST_SUM)
4014+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
4015+
public Long getProxmoxHostSum() {
4016+
return proxmoxHostSum;
4017+
}
4018+
4019+
public void setProxmoxHostSum(Long proxmoxHostSum) {
4020+
this.proxmoxHostSum = proxmoxHostSum;
4021+
}
4022+
4023+
public UsageSummaryDate proxmoxHostTop99p(Long proxmoxHostTop99p) {
4024+
this.proxmoxHostTop99p = proxmoxHostTop99p;
4025+
return this;
4026+
}
4027+
4028+
/**
4029+
* 99th percentile of all Proxmox hosts over all hours in the current date for all organizations.
4030+
*
4031+
* @return proxmoxHostTop99p
4032+
*/
4033+
@jakarta.annotation.Nullable
4034+
@JsonProperty(JSON_PROPERTY_PROXMOX_HOST_TOP99P)
4035+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
4036+
public Long getProxmoxHostTop99p() {
4037+
return proxmoxHostTop99p;
4038+
}
4039+
4040+
public void setProxmoxHostTop99p(Long proxmoxHostTop99p) {
4041+
this.proxmoxHostTop99p = proxmoxHostTop99p;
4042+
}
4043+
39404044
public UsageSummaryDate publishedAppHwm(Long publishedAppHwm) {
39414045
this.publishedAppHwm = publishedAppHwm;
39424046
return this;
@@ -5814,6 +5918,9 @@ public boolean equals(Object o) {
58145918
usageSummaryDate.cloudCostManagementGcpHostCountAvg)
58155919
&& Objects.equals(
58165920
this.cloudCostManagementHostCountAvg, usageSummaryDate.cloudCostManagementHostCountAvg)
5921+
&& Objects.equals(
5922+
this.cloudCostManagementOciHostCountAvg,
5923+
usageSummaryDate.cloudCostManagementOciHostCountAvg)
58175924
&& Objects.equals(this.cloudSiemEventsSum, usageSummaryDate.cloudSiemEventsSum)
58185925
&& Objects.equals(
58195926
this.codeAnalysisSaCommittersHwm, usageSummaryDate.codeAnalysisSaCommittersHwm)
@@ -5885,6 +5992,7 @@ public boolean equals(Object o) {
58855992
this.ephInfraHostOpentelemetrySum, usageSummaryDate.ephInfraHostOpentelemetrySum)
58865993
&& Objects.equals(this.ephInfraHostProSum, usageSummaryDate.ephInfraHostProSum)
58875994
&& Objects.equals(this.ephInfraHostProplusSum, usageSummaryDate.ephInfraHostProplusSum)
5995+
&& Objects.equals(this.ephInfraHostProxmoxSum, usageSummaryDate.ephInfraHostProxmoxSum)
58885996
&& Objects.equals(
58895997
this.errorTrackingApmErrorEventsSum, usageSummaryDate.errorTrackingApmErrorEventsSum)
58905998
&& Objects.equals(
@@ -5972,6 +6080,8 @@ public boolean equals(Object o) {
59726080
&& Objects.equals(this.productAnalyticsSum, usageSummaryDate.productAnalyticsSum)
59736081
&& Objects.equals(this.profilingAasCountTop99p, usageSummaryDate.profilingAasCountTop99p)
59746082
&& Objects.equals(this.profilingHostTop99p, usageSummaryDate.profilingHostTop99p)
6083+
&& Objects.equals(this.proxmoxHostSum, usageSummaryDate.proxmoxHostSum)
6084+
&& Objects.equals(this.proxmoxHostTop99p, usageSummaryDate.proxmoxHostTop99p)
59756085
&& Objects.equals(this.publishedAppHwm, usageSummaryDate.publishedAppHwm)
59766086
&& Objects.equals(
59776087
this.rumBrowserAndMobileSessionCount, usageSummaryDate.rumBrowserAndMobileSessionCount)
@@ -6180,6 +6290,7 @@ public int hashCode() {
61806290
cloudCostManagementAzureHostCountAvg,
61816291
cloudCostManagementGcpHostCountAvg,
61826292
cloudCostManagementHostCountAvg,
6293+
cloudCostManagementOciHostCountAvg,
61836294
cloudSiemEventsSum,
61846295
codeAnalysisSaCommittersHwm,
61856296
codeAnalysisScaCommittersHwm,
@@ -6225,6 +6336,7 @@ public int hashCode() {
62256336
ephInfraHostOpentelemetrySum,
62266337
ephInfraHostProSum,
62276338
ephInfraHostProplusSum,
6339+
ephInfraHostProxmoxSum,
62286340
errorTrackingApmErrorEventsSum,
62296341
errorTrackingErrorEventsSum,
62306342
errorTrackingEventsSum,
@@ -6280,6 +6392,8 @@ public int hashCode() {
62806392
productAnalyticsSum,
62816393
profilingAasCountTop99p,
62826394
profilingHostTop99p,
6395+
proxmoxHostSum,
6396+
proxmoxHostTop99p,
62836397
publishedAppHwm,
62846398
rumBrowserAndMobileSessionCount,
62856399
rumBrowserLegacySessionCountSum,
@@ -6439,6 +6553,9 @@ public String toString() {
64396553
sb.append(" cloudCostManagementHostCountAvg: ")
64406554
.append(toIndentedString(cloudCostManagementHostCountAvg))
64416555
.append("\n");
6556+
sb.append(" cloudCostManagementOciHostCountAvg: ")
6557+
.append(toIndentedString(cloudCostManagementOciHostCountAvg))
6558+
.append("\n");
64426559
sb.append(" cloudSiemEventsSum: ").append(toIndentedString(cloudSiemEventsSum)).append("\n");
64436560
sb.append(" codeAnalysisSaCommittersHwm: ")
64446561
.append(toIndentedString(codeAnalysisSaCommittersHwm))
@@ -6536,6 +6653,9 @@ public String toString() {
65366653
sb.append(" ephInfraHostProplusSum: ")
65376654
.append(toIndentedString(ephInfraHostProplusSum))
65386655
.append("\n");
6656+
sb.append(" ephInfraHostProxmoxSum: ")
6657+
.append(toIndentedString(ephInfraHostProxmoxSum))
6658+
.append("\n");
65396659
sb.append(" errorTrackingApmErrorEventsSum: ")
65406660
.append(toIndentedString(errorTrackingApmErrorEventsSum))
65416661
.append("\n");
@@ -6675,6 +6795,8 @@ public String toString() {
66756795
sb.append(" profilingHostTop99p: ")
66766796
.append(toIndentedString(profilingHostTop99p))
66776797
.append("\n");
6798+
sb.append(" proxmoxHostSum: ").append(toIndentedString(proxmoxHostSum)).append("\n");
6799+
sb.append(" proxmoxHostTop99p: ").append(toIndentedString(proxmoxHostTop99p)).append("\n");
66786800
sb.append(" publishedAppHwm: ").append(toIndentedString(publishedAppHwm)).append("\n");
66796801
sb.append(" rumBrowserAndMobileSessionCount: ")
66806802
.append(toIndentedString(rumBrowserAndMobileSessionCount))

0 commit comments

Comments
 (0)