diff --git a/.apigentools-info b/.apigentools-info index db19714c709..dde0a5b8ae2 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-08-25 12:25:23.973683", - "spec_repo_commit": "1a77c0b6" + "regenerated": "2023-08-29 18:35:10.969074", + "spec_repo_commit": "0fac706f" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-08-25 12:25:23.986999", - "spec_repo_commit": "1a77c0b6" + "regenerated": "2023-08-29 18:35:10.986720", + "spec_repo_commit": "0fac706f" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index dc922326080..fc36d458aed 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -17220,6 +17220,12 @@ components: UsageProfilingHour: description: The number of profiled hosts for each hour for a given organization. properties: + aas_count: + description: Contains the total number of profiled Azure app services reporting + during a given hour. + format: int64 + nullable: true + type: integer avg_container_agent_count: description: Get average number of container agents for that hour. format: int64 @@ -17863,6 +17869,11 @@ components: items: $ref: '#/components/schemas/UsageSummaryDateOrg' type: array + profiling_aas_count_top99p: + description: Shows the 99th percentile of all profiled Azure app services + over all hours in the current date for all organizations. + format: int64 + type: integer profiling_host_top99p: description: Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations. @@ -18293,6 +18304,11 @@ components: date for the given org. format: int64 type: integer + profiling_aas_count_top99p: + description: Shows the 99th percentile of all profiled Azure app services + over all hours in the current date for all organizations. + format: int64 + type: integer profiling_host_top99p: description: Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org. @@ -18755,6 +18771,11 @@ components: months for all organizations. format: int64 type: integer + profiling_aas_count_top99p_sum: + description: Shows the 99th percentile of all profiled Azure app services + over all hours in the current months for all organizations. + format: int64 + type: integer profiling_container_agent_count_avg: description: Shows the average number of profiled containers over all hours in the current months for all organizations. diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageProfilingHour.java b/src/main/java/com/datadog/api/client/v1/model/UsageProfilingHour.java index 477087978e7..24052a2d950 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageProfilingHour.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageProfilingHour.java @@ -20,6 +20,7 @@ /** The number of profiled hosts for each hour for a given organization. */ @JsonPropertyOrder({ + UsageProfilingHour.JSON_PROPERTY_AAS_COUNT, UsageProfilingHour.JSON_PROPERTY_AVG_CONTAINER_AGENT_COUNT, UsageProfilingHour.JSON_PROPERTY_HOST_COUNT, UsageProfilingHour.JSON_PROPERTY_HOUR, @@ -30,6 +31,9 @@ value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageProfilingHour { @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_AAS_COUNT = "aas_count"; + private JsonNullable aasCount = JsonNullable.undefined(); + public static final String JSON_PROPERTY_AVG_CONTAINER_AGENT_COUNT = "avg_container_agent_count"; private JsonNullable avgContainerAgentCount = JsonNullable.undefined(); @@ -45,6 +49,37 @@ public class UsageProfilingHour { public static final String JSON_PROPERTY_PUBLIC_ID = "public_id"; private String publicId; + public UsageProfilingHour aasCount(Long aasCount) { + this.aasCount = JsonNullable.of(aasCount); + return this; + } + + /** + * Contains the total number of profiled Azure app services reporting during a given hour. + * + * @return aasCount + */ + @jakarta.annotation.Nullable + @JsonIgnore + public Long getAasCount() { + return aasCount.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_AAS_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getAasCount_JsonNullable() { + return aasCount; + } + + @JsonProperty(JSON_PROPERTY_AAS_COUNT) + public void setAasCount_JsonNullable(JsonNullable aasCount) { + this.aasCount = aasCount; + } + + public void setAasCount(Long aasCount) { + this.aasCount = JsonNullable.of(aasCount); + } + public UsageProfilingHour avgContainerAgentCount(Long avgContainerAgentCount) { this.avgContainerAgentCount = JsonNullable.of(avgContainerAgentCount); return this; @@ -226,7 +261,8 @@ public boolean equals(Object o) { return false; } UsageProfilingHour usageProfilingHour = (UsageProfilingHour) o; - return Objects.equals(this.avgContainerAgentCount, usageProfilingHour.avgContainerAgentCount) + return Objects.equals(this.aasCount, usageProfilingHour.aasCount) + && Objects.equals(this.avgContainerAgentCount, usageProfilingHour.avgContainerAgentCount) && Objects.equals(this.hostCount, usageProfilingHour.hostCount) && Objects.equals(this.hour, usageProfilingHour.hour) && Objects.equals(this.orgName, usageProfilingHour.orgName) @@ -237,13 +273,14 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - avgContainerAgentCount, hostCount, hour, orgName, publicId, additionalProperties); + aasCount, avgContainerAgentCount, hostCount, hour, orgName, publicId, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UsageProfilingHour {\n"); + sb.append(" aasCount: ").append(toIndentedString(aasCount)).append("\n"); sb.append(" avgContainerAgentCount: ") .append(toIndentedString(avgContainerAgentCount)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java index 7a734806655..2c340d663e1 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java @@ -87,6 +87,7 @@ UsageSummaryDate.JSON_PROPERTY_OPENTELEMETRY_APM_HOST_TOP99P, UsageSummaryDate.JSON_PROPERTY_OPENTELEMETRY_HOST_TOP99P, UsageSummaryDate.JSON_PROPERTY_ORGS, + UsageSummaryDate.JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P, UsageSummaryDate.JSON_PROPERTY_PROFILING_HOST_TOP99P, UsageSummaryDate.JSON_PROPERTY_RUM_BROWSER_AND_MOBILE_SESSION_COUNT, UsageSummaryDate.JSON_PROPERTY_RUM_SESSION_COUNT_SUM, @@ -336,6 +337,10 @@ public class UsageSummaryDate { public static final String JSON_PROPERTY_ORGS = "orgs"; private List orgs = null; + public static final String JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P = + "profiling_aas_count_top99p"; + private Long profilingAasCountTop99p; + public static final String JSON_PROPERTY_PROFILING_HOST_TOP99P = "profiling_host_top99p"; private Long profilingHostTop99p; @@ -1873,6 +1878,28 @@ public void setOrgs(List orgs) { this.orgs = orgs; } + public UsageSummaryDate profilingAasCountTop99p(Long profilingAasCountTop99p) { + this.profilingAasCountTop99p = profilingAasCountTop99p; + return this; + } + + /** + * Shows the 99th percentile of all profiled Azure app services over all hours in the current date + * for all organizations. + * + * @return profilingAasCountTop99p + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getProfilingAasCountTop99p() { + return profilingAasCountTop99p; + } + + public void setProfilingAasCountTop99p(Long profilingAasCountTop99p) { + this.profilingAasCountTop99p = profilingAasCountTop99p; + } + public UsageSummaryDate profilingHostTop99p(Long profilingHostTop99p) { this.profilingHostTop99p = profilingHostTop99p; return this; @@ -2442,6 +2469,7 @@ public boolean equals(Object o) { this.opentelemetryApmHostTop99p, usageSummaryDate.opentelemetryApmHostTop99p) && Objects.equals(this.opentelemetryHostTop99p, usageSummaryDate.opentelemetryHostTop99p) && Objects.equals(this.orgs, usageSummaryDate.orgs) + && Objects.equals(this.profilingAasCountTop99p, usageSummaryDate.profilingAasCountTop99p) && Objects.equals(this.profilingHostTop99p, usageSummaryDate.profilingHostTop99p) && Objects.equals( this.rumBrowserAndMobileSessionCount, usageSummaryDate.rumBrowserAndMobileSessionCount) @@ -2546,6 +2574,7 @@ public int hashCode() { opentelemetryApmHostTop99p, opentelemetryHostTop99p, orgs, + profilingAasCountTop99p, profilingHostTop99p, rumBrowserAndMobileSessionCount, rumSessionCountSum, @@ -2716,6 +2745,9 @@ public String toString() { .append(toIndentedString(opentelemetryHostTop99p)) .append("\n"); sb.append(" orgs: ").append(toIndentedString(orgs)).append("\n"); + sb.append(" profilingAasCountTop99p: ") + .append(toIndentedString(profilingAasCountTop99p)) + .append("\n"); sb.append(" profilingHostTop99p: ") .append(toIndentedString(profilingHostTop99p)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java index 05758f3d310..2bd073a4325 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java @@ -84,6 +84,7 @@ UsageSummaryDateOrg.JSON_PROPERTY_ONLINE_ARCHIVE_EVENTS_COUNT_SUM, UsageSummaryDateOrg.JSON_PROPERTY_OPENTELEMETRY_APM_HOST_TOP99P, UsageSummaryDateOrg.JSON_PROPERTY_OPENTELEMETRY_HOST_TOP99P, + UsageSummaryDateOrg.JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P, UsageSummaryDateOrg.JSON_PROPERTY_PROFILING_HOST_TOP99P, UsageSummaryDateOrg.JSON_PROPERTY_PUBLIC_ID, UsageSummaryDateOrg.JSON_PROPERTY_REGION, @@ -335,6 +336,10 @@ public class UsageSummaryDateOrg { public static final String JSON_PROPERTY_OPENTELEMETRY_HOST_TOP99P = "opentelemetry_host_top99p"; private Long opentelemetryHostTop99p; + public static final String JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P = + "profiling_aas_count_top99p"; + private Long profilingAasCountTop99p; + public static final String JSON_PROPERTY_PROFILING_HOST_TOP99P = "profiling_host_top99p"; private Long profilingHostTop99p; @@ -1857,6 +1862,28 @@ public void setOpentelemetryHostTop99p(Long opentelemetryHostTop99p) { this.opentelemetryHostTop99p = opentelemetryHostTop99p; } + public UsageSummaryDateOrg profilingAasCountTop99p(Long profilingAasCountTop99p) { + this.profilingAasCountTop99p = profilingAasCountTop99p; + return this; + } + + /** + * Shows the 99th percentile of all profiled Azure app services over all hours in the current date + * for all organizations. + * + * @return profilingAasCountTop99p + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getProfilingAasCountTop99p() { + return profilingAasCountTop99p; + } + + public void setProfilingAasCountTop99p(Long profilingAasCountTop99p) { + this.profilingAasCountTop99p = profilingAasCountTop99p; + } + public UsageSummaryDateOrg profilingHostTop99p(Long profilingHostTop99p) { this.profilingHostTop99p = profilingHostTop99p; return this; @@ -2476,6 +2503,7 @@ public boolean equals(Object o) { && Objects.equals( this.opentelemetryApmHostTop99p, usageSummaryDateOrg.opentelemetryApmHostTop99p) && Objects.equals(this.opentelemetryHostTop99p, usageSummaryDateOrg.opentelemetryHostTop99p) + && Objects.equals(this.profilingAasCountTop99p, usageSummaryDateOrg.profilingAasCountTop99p) && Objects.equals(this.profilingHostTop99p, usageSummaryDateOrg.profilingHostTop99p) && Objects.equals(this.publicId, usageSummaryDateOrg.publicId) && Objects.equals(this.region, usageSummaryDateOrg.region) @@ -2584,6 +2612,7 @@ public int hashCode() { onlineArchiveEventsCountSum, opentelemetryApmHostTop99p, opentelemetryHostTop99p, + profilingAasCountTop99p, profilingHostTop99p, publicId, region, @@ -2756,6 +2785,9 @@ public String toString() { sb.append(" opentelemetryHostTop99p: ") .append(toIndentedString(opentelemetryHostTop99p)) .append("\n"); + sb.append(" profilingAasCountTop99p: ") + .append(toIndentedString(profilingAasCountTop99p)) + .append("\n"); sb.append(" profilingHostTop99p: ") .append(toIndentedString(profilingHostTop99p)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java index 7fac210f280..a88e92aa6a5 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java @@ -94,6 +94,7 @@ UsageSummaryResponse.JSON_PROPERTY_ONLINE_ARCHIVE_EVENTS_COUNT_AGG_SUM, UsageSummaryResponse.JSON_PROPERTY_OPENTELEMETRY_APM_HOST_TOP99P_SUM, UsageSummaryResponse.JSON_PROPERTY_OPENTELEMETRY_HOST_TOP99P_SUM, + UsageSummaryResponse.JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P_SUM, UsageSummaryResponse.JSON_PROPERTY_PROFILING_CONTAINER_AGENT_COUNT_AVG, UsageSummaryResponse.JSON_PROPERTY_PROFILING_HOST_COUNT_TOP99P_SUM, UsageSummaryResponse.JSON_PROPERTY_REHYDRATED_INDEXED_EVENTS_AGG_SUM, @@ -373,6 +374,10 @@ public class UsageSummaryResponse { "opentelemetry_host_top99p_sum"; private Long opentelemetryHostTop99pSum; + public static final String JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P_SUM = + "profiling_aas_count_top99p_sum"; + private Long profilingAasCountTop99pSum; + public static final String JSON_PROPERTY_PROFILING_CONTAINER_AGENT_COUNT_AVG = "profiling_container_agent_count_avg"; private Long profilingContainerAgentCountAvg; @@ -2020,6 +2025,28 @@ public void setOpentelemetryHostTop99pSum(Long opentelemetryHostTop99pSum) { this.opentelemetryHostTop99pSum = opentelemetryHostTop99pSum; } + public UsageSummaryResponse profilingAasCountTop99pSum(Long profilingAasCountTop99pSum) { + this.profilingAasCountTop99pSum = profilingAasCountTop99pSum; + return this; + } + + /** + * Shows the 99th percentile of all profiled Azure app services over all hours in the current + * months for all organizations. + * + * @return profilingAasCountTop99pSum + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROFILING_AAS_COUNT_TOP99P_SUM) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getProfilingAasCountTop99pSum() { + return profilingAasCountTop99pSum; + } + + public void setProfilingAasCountTop99pSum(Long profilingAasCountTop99pSum) { + this.profilingAasCountTop99pSum = profilingAasCountTop99pSum; + } + public UsageSummaryResponse profilingContainerAgentCountAvg( Long profilingContainerAgentCountAvg) { this.profilingContainerAgentCountAvg = profilingContainerAgentCountAvg; @@ -2752,6 +2779,8 @@ public boolean equals(Object o) { this.opentelemetryApmHostTop99pSum, usageSummaryResponse.opentelemetryApmHostTop99pSum) && Objects.equals( this.opentelemetryHostTop99pSum, usageSummaryResponse.opentelemetryHostTop99pSum) + && Objects.equals( + this.profilingAasCountTop99pSum, usageSummaryResponse.profilingAasCountTop99pSum) && Objects.equals( this.profilingContainerAgentCountAvg, usageSummaryResponse.profilingContainerAgentCountAvg) @@ -2876,6 +2905,7 @@ public int hashCode() { onlineArchiveEventsCountAggSum, opentelemetryApmHostTop99pSum, opentelemetryHostTop99pSum, + profilingAasCountTop99pSum, profilingContainerAgentCountAvg, profilingHostCountTop99pSum, rehydratedIndexedEventsAggSum, @@ -3077,6 +3107,9 @@ public String toString() { sb.append(" opentelemetryHostTop99pSum: ") .append(toIndentedString(opentelemetryHostTop99pSum)) .append("\n"); + sb.append(" profilingAasCountTop99pSum: ") + .append(toIndentedString(profilingAasCountTop99pSum)) + .append("\n"); sb.append(" profilingContainerAgentCountAvg: ") .append(toIndentedString(profilingContainerAgentCountAvg)) .append("\n");