Skip to content

Commit f69fd06

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add serverless apps apm to usage attribution api (#3637)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent bf6da3d commit f69fd06

File tree

4 files changed

+88
-0
lines changed

4 files changed

+88
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4579,6 +4579,7 @@ components:
45794579
- sca_fargate_usage
45804580
- sds_scanned_bytes_usage
45814581
- serverless_apps_usage
4582+
- serverless_apps_apm_usage
45824583
- siem_analyzed_logs_add_on_usage
45834584
- siem_ingested_bytes_usage
45844585
- snmp_usage
@@ -4666,6 +4667,7 @@ components:
46664667
- SCA_FARGATE_USAGE
46674668
- SDS_SCANNED_BYTES_USAGE
46684669
- SERVERLESS_APPS_USAGE
4670+
- SERVERLESS_APPS_APM_USAGE
46694671
- SIEM_ANALYZED_LOGS_ADD_ON_USAGE
46704672
- SIEM_INGESTED_BYTES_USAGE
46714673
- SNMP_USAGE
@@ -9156,6 +9158,8 @@ components:
91569158
- published_app_percentage
91579159
- serverless_apps_usage
91589160
- serverless_apps_percentage
9161+
- serverless_apps_apm_usage
9162+
- serverless_apps_apm_percentage
91599163
- snmp_usage
91609164
- snmp_percentage
91619165
- universal_service_monitoring_usage
@@ -9321,6 +9325,8 @@ components:
93219325
- PUBLISHED_APP_PERCENTAGE
93229326
- SERVERLESS_APPS_USAGE
93239327
- SERVERLESS_APPS_PERCENTAGE
9328+
- SERVERLESS_APPS_APM_USAGE
9329+
- SERVERLESS_APPS_APM_PERCENTAGE
93249330
- SNMP_USAGE
93259331
- SNMP_PERCENTAGE
93269332
- UNIVERSAL_SERVICE_MONITORING_USAGE
@@ -9978,6 +9984,14 @@ components:
99789984
description: The total Sensitive Data Scanner usage by tag(s).
99799985
format: double
99809986
type: number
9987+
serverless_apps_apm_percentage:
9988+
description: The percentage of Serverless Apps APM usage by tag(s).
9989+
format: double
9990+
type: number
9991+
serverless_apps_apm_usage:
9992+
description: The total Serverless Apps APM usage by tag(s).
9993+
format: double
9994+
type: number
99819995
serverless_apps_percentage:
99829996
description: The percentage of Serverless Apps usage by tag(s).
99839997
format: double

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
111111
"sca_fargate_usage",
112112
"sds_scanned_bytes_usage",
113113
"serverless_apps_usage",
114+
"serverless_apps_apm_usage",
114115
"siem_analyzed_logs_add_on_usage",
115116
"siem_ingested_bytes_usage",
116117
"snmp_usage",
@@ -277,6 +278,8 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
277278
new HourlyUsageAttributionUsageType("sds_scanned_bytes_usage");
278279
public static final HourlyUsageAttributionUsageType SERVERLESS_APPS_USAGE =
279280
new HourlyUsageAttributionUsageType("serverless_apps_usage");
281+
public static final HourlyUsageAttributionUsageType SERVERLESS_APPS_APM_USAGE =
282+
new HourlyUsageAttributionUsageType("serverless_apps_apm_usage");
280283
public static final HourlyUsageAttributionUsageType SIEM_ANALYZED_LOGS_ADD_ON_USAGE =
281284
new HourlyUsageAttributionUsageType("siem_analyzed_logs_add_on_usage");
282285
public static final HourlyUsageAttributionUsageType SIEM_INGESTED_BYTES_USAGE =

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
136136
"published_app_percentage",
137137
"serverless_apps_usage",
138138
"serverless_apps_percentage",
139+
"serverless_apps_apm_usage",
140+
"serverless_apps_apm_percentage",
139141
"snmp_usage",
140142
"snmp_percentage",
141143
"universal_service_monitoring_usage",
@@ -410,6 +412,10 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
410412
new MonthlyUsageAttributionSupportedMetrics("serverless_apps_usage");
411413
public static final MonthlyUsageAttributionSupportedMetrics SERVERLESS_APPS_PERCENTAGE =
412414
new MonthlyUsageAttributionSupportedMetrics("serverless_apps_percentage");
415+
public static final MonthlyUsageAttributionSupportedMetrics SERVERLESS_APPS_APM_USAGE =
416+
new MonthlyUsageAttributionSupportedMetrics("serverless_apps_apm_usage");
417+
public static final MonthlyUsageAttributionSupportedMetrics SERVERLESS_APPS_APM_PERCENTAGE =
418+
new MonthlyUsageAttributionSupportedMetrics("serverless_apps_apm_percentage");
413419
public static final MonthlyUsageAttributionSupportedMetrics SNMP_USAGE =
414420
new MonthlyUsageAttributionSupportedMetrics("snmp_usage");
415421
public static final MonthlyUsageAttributionSupportedMetrics SNMP_PERCENTAGE =

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

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@
166166
MonthlyUsageAttributionValues.JSON_PROPERTY_SCA_FARGATE_USAGE,
167167
MonthlyUsageAttributionValues.JSON_PROPERTY_SDS_SCANNED_BYTES_PERCENTAGE,
168168
MonthlyUsageAttributionValues.JSON_PROPERTY_SDS_SCANNED_BYTES_USAGE,
169+
MonthlyUsageAttributionValues.JSON_PROPERTY_SERVERLESS_APPS_APM_PERCENTAGE,
170+
MonthlyUsageAttributionValues.JSON_PROPERTY_SERVERLESS_APPS_APM_USAGE,
169171
MonthlyUsageAttributionValues.JSON_PROPERTY_SERVERLESS_APPS_PERCENTAGE,
170172
MonthlyUsageAttributionValues.JSON_PROPERTY_SERVERLESS_APPS_USAGE,
171173
MonthlyUsageAttributionValues.JSON_PROPERTY_SIEM_ANALYZED_LOGS_ADD_ON_PERCENTAGE,
@@ -692,6 +694,13 @@ public class MonthlyUsageAttributionValues {
692694
public static final String JSON_PROPERTY_SDS_SCANNED_BYTES_USAGE = "sds_scanned_bytes_usage";
693695
private Double sdsScannedBytesUsage;
694696

697+
public static final String JSON_PROPERTY_SERVERLESS_APPS_APM_PERCENTAGE =
698+
"serverless_apps_apm_percentage";
699+
private Double serverlessAppsApmPercentage;
700+
701+
public static final String JSON_PROPERTY_SERVERLESS_APPS_APM_USAGE = "serverless_apps_apm_usage";
702+
private Double serverlessAppsApmUsage;
703+
695704
public static final String JSON_PROPERTY_SERVERLESS_APPS_PERCENTAGE =
696705
"serverless_apps_percentage";
697706
private Double serverlessAppsPercentage;
@@ -3903,6 +3912,49 @@ public void setSdsScannedBytesUsage(Double sdsScannedBytesUsage) {
39033912
this.sdsScannedBytesUsage = sdsScannedBytesUsage;
39043913
}
39053914

3915+
public MonthlyUsageAttributionValues serverlessAppsApmPercentage(
3916+
Double serverlessAppsApmPercentage) {
3917+
this.serverlessAppsApmPercentage = serverlessAppsApmPercentage;
3918+
return this;
3919+
}
3920+
3921+
/**
3922+
* The percentage of Serverless Apps APM usage by tag(s).
3923+
*
3924+
* @return serverlessAppsApmPercentage
3925+
*/
3926+
@jakarta.annotation.Nullable
3927+
@JsonProperty(JSON_PROPERTY_SERVERLESS_APPS_APM_PERCENTAGE)
3928+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
3929+
public Double getServerlessAppsApmPercentage() {
3930+
return serverlessAppsApmPercentage;
3931+
}
3932+
3933+
public void setServerlessAppsApmPercentage(Double serverlessAppsApmPercentage) {
3934+
this.serverlessAppsApmPercentage = serverlessAppsApmPercentage;
3935+
}
3936+
3937+
public MonthlyUsageAttributionValues serverlessAppsApmUsage(Double serverlessAppsApmUsage) {
3938+
this.serverlessAppsApmUsage = serverlessAppsApmUsage;
3939+
return this;
3940+
}
3941+
3942+
/**
3943+
* The total Serverless Apps APM usage by tag(s).
3944+
*
3945+
* @return serverlessAppsApmUsage
3946+
*/
3947+
@jakarta.annotation.Nullable
3948+
@JsonProperty(JSON_PROPERTY_SERVERLESS_APPS_APM_USAGE)
3949+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
3950+
public Double getServerlessAppsApmUsage() {
3951+
return serverlessAppsApmUsage;
3952+
}
3953+
3954+
public void setServerlessAppsApmUsage(Double serverlessAppsApmUsage) {
3955+
this.serverlessAppsApmUsage = serverlessAppsApmUsage;
3956+
}
3957+
39063958
public MonthlyUsageAttributionValues serverlessAppsPercentage(Double serverlessAppsPercentage) {
39073959
this.serverlessAppsPercentage = serverlessAppsPercentage;
39083960
return this;
@@ -4563,6 +4615,11 @@ public boolean equals(Object o) {
45634615
this.sdsScannedBytesPercentage, monthlyUsageAttributionValues.sdsScannedBytesPercentage)
45644616
&& Objects.equals(
45654617
this.sdsScannedBytesUsage, monthlyUsageAttributionValues.sdsScannedBytesUsage)
4618+
&& Objects.equals(
4619+
this.serverlessAppsApmPercentage,
4620+
monthlyUsageAttributionValues.serverlessAppsApmPercentage)
4621+
&& Objects.equals(
4622+
this.serverlessAppsApmUsage, monthlyUsageAttributionValues.serverlessAppsApmUsage)
45664623
&& Objects.equals(
45674624
this.serverlessAppsPercentage, monthlyUsageAttributionValues.serverlessAppsPercentage)
45684625
&& Objects.equals(
@@ -4751,6 +4808,8 @@ public int hashCode() {
47514808
scaFargateUsage,
47524809
sdsScannedBytesPercentage,
47534810
sdsScannedBytesUsage,
4811+
serverlessAppsApmPercentage,
4812+
serverlessAppsApmUsage,
47544813
serverlessAppsPercentage,
47554814
serverlessAppsUsage,
47564815
siemAnalyzedLogsAddOnPercentage,
@@ -5138,6 +5197,12 @@ public String toString() {
51385197
sb.append(" sdsScannedBytesUsage: ")
51395198
.append(toIndentedString(sdsScannedBytesUsage))
51405199
.append("\n");
5200+
sb.append(" serverlessAppsApmPercentage: ")
5201+
.append(toIndentedString(serverlessAppsApmPercentage))
5202+
.append("\n");
5203+
sb.append(" serverlessAppsApmUsage: ")
5204+
.append(toIndentedString(serverlessAppsApmUsage))
5205+
.append("\n");
51415206
sb.append(" serverlessAppsPercentage: ")
51425207
.append(toIndentedString(serverlessAppsPercentage))
51435208
.append("\n");

0 commit comments

Comments
 (0)