Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "befda92",
"generated": "2025-08-06 19:12:57.307"
"spec_repo_commit": "fd3370f",
"generated": "2025-08-06 20:55:31.339"
}
6 changes: 0 additions & 6 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57013,9 +57013,6 @@ paths:
summary: Get all aggregated connections
tags:
- Cloud Network Monitoring
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,

contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/network/dns/aggregate:
get:
description: Get all aggregated DNS traffic.
Expand Down Expand Up @@ -57076,9 +57073,6 @@ paths:
summary: Get all aggregated DNS traffic
tags:
- Cloud Network Monitoring
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,

contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/on-call/escalation-policies:
post:
description: Create a new On-Call escalation policy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = ApiClient.getDefaultApiClient();
defaultClient.setUnstableOperationEnabled("v2.getAggregatedConnections", true);
CloudNetworkMonitoringApi apiInstance = new CloudNetworkMonitoringApi(defaultClient);

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = ApiClient.getDefaultApiClient();
defaultClient.setUnstableOperationEnabled("v2.getAggregatedConnections", true);
CloudNetworkMonitoringApi apiInstance = new CloudNetworkMonitoringApi(defaultClient);

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = ApiClient.getDefaultApiClient();
defaultClient.setUnstableOperationEnabled("v2.getAggregatedDns", true);
CloudNetworkMonitoringApi apiInstance = new CloudNetworkMonitoringApi(defaultClient);

try {
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/datadog/api/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,6 @@ public class ApiClient {
put("v2.updateMonitorUserTemplate", false);
put("v2.validateExistingMonitorUserTemplate", false);
put("v2.validateMonitorUserTemplate", false);
put("v2.getAggregatedConnections", false);
put("v2.getAggregatedDns", false);
put("v2.createPipeline", false);
put("v2.deletePipeline", false);
put("v2.getPipeline", false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,6 @@ public CompletableFuture<SingleAggregatedConnectionResponseArray> getAggregatedC
*/
public ApiResponse<SingleAggregatedConnectionResponseArray> getAggregatedConnectionsWithHttpInfo(
GetAggregatedConnectionsOptionalParameters parameters) throws ApiException {
// Check if unstable operation is enabled
String operationId = "getAggregatedConnections";
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
} else {
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
}
Object localVarPostBody = null;
Long from = parameters.from;
Long to = parameters.to;
Expand Down Expand Up @@ -251,17 +244,6 @@ public ApiResponse<SingleAggregatedConnectionResponseArray> getAggregatedConnect
public CompletableFuture<ApiResponse<SingleAggregatedConnectionResponseArray>>
getAggregatedConnectionsWithHttpInfoAsync(
GetAggregatedConnectionsOptionalParameters parameters) {
// Check if unstable operation is enabled
String operationId = "getAggregatedConnections";
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
} else {
CompletableFuture<ApiResponse<SingleAggregatedConnectionResponseArray>> result =
new CompletableFuture<>();
result.completeExceptionally(
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
return result;
}
Object localVarPostBody = null;
Long from = parameters.from;
Long to = parameters.to;
Expand Down Expand Up @@ -457,13 +439,6 @@ public CompletableFuture<SingleAggregatedDnsResponseArray> getAggregatedDnsAsync
*/
public ApiResponse<SingleAggregatedDnsResponseArray> getAggregatedDnsWithHttpInfo(
GetAggregatedDnsOptionalParameters parameters) throws ApiException {
// Check if unstable operation is enabled
String operationId = "getAggregatedDns";
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
} else {
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
}
Object localVarPostBody = null;
Long from = parameters.from;
Long to = parameters.to;
Expand Down Expand Up @@ -512,17 +487,6 @@ public ApiResponse<SingleAggregatedDnsResponseArray> getAggregatedDnsWithHttpInf
*/
public CompletableFuture<ApiResponse<SingleAggregatedDnsResponseArray>>
getAggregatedDnsWithHttpInfoAsync(GetAggregatedDnsOptionalParameters parameters) {
// Check if unstable operation is enabled
String operationId = "getAggregatedDns";
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
} else {
CompletableFuture<ApiResponse<SingleAggregatedDnsResponseArray>> result =
new CompletableFuture<>();
result.completeExceptionally(
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
return result;
}
Object localVarPostBody = null;
Long from = parameters.from;
Long to = parameters.to;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,32 @@ Feature: Cloud Network Monitoring

@team:Datadog/networks
Scenario: Get aggregated connections returns "OK" response
Given operation "GetAggregatedConnections" enabled
And new "GetAggregatedConnections" request
Given new "GetAggregatedConnections" request
When the request is sent
Then the response status is 200 OK

@team:Datadog/networks
Scenario: Get all aggregated DNS traffic returns "Bad Request" response
Given operation "GetAggregatedDns" enabled
And new "GetAggregatedDns" request
Given new "GetAggregatedDns" request
And request contains "group_by" parameter with value "server_ungrouped,server_service"
When the request is sent
Then the response status is 400 Bad Request

@team:Datadog/networks
Scenario: Get all aggregated DNS traffic returns "OK" response
Given operation "GetAggregatedDns" enabled
And new "GetAggregatedDns" request
Given new "GetAggregatedDns" request
When the request is sent
Then the response status is 200 OK

@skip-python @skip-ruby @team:Datadog/networks
Scenario: Get all aggregated connections returns "Bad Request" response
Given operation "GetAggregatedConnections" enabled
And new "GetAggregatedConnections" request
Given new "GetAggregatedConnections" request
And request contains "limit" parameter with value 8000
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:Datadog/networks
Scenario: Get all aggregated connections returns "OK" response
Given operation "GetAggregatedConnections" enabled
And new "GetAggregatedConnections" request
Given new "GetAggregatedConnections" request
When the request is sent
Then the response status is 200 OK