Skip to content

[cloud-network-monitoring] Remove preview note and adjust limit test #2704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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": "2ffdc3f",
"generated": "2025-07-16 19:14:29.962"
"spec_repo_commit": "958ae27",
"generated": "2025-07-16 20:15:47.610"
}
3 changes: 0 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54459,9 +54459,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/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 @@ -6,7 +6,6 @@
from datadog_api_client.v2.api.cloud_network_monitoring_api import CloudNetworkMonitoringApi

configuration = Configuration()
configuration.unstable_operations["get_aggregated_connections"] = True
with ApiClient(configuration) as api_client:
api_instance = CloudNetworkMonitoringApi(api_client)
response = api_instance.get_aggregated_connections()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from datadog_api_client.v2.api.cloud_network_monitoring_api import CloudNetworkMonitoringApi

configuration = Configuration()
configuration.unstable_operations["get_aggregated_connections"] = True
with ApiClient(configuration) as api_client:
api_instance = CloudNetworkMonitoringApi(api_client)
response = api_instance.get_aggregated_connections()
Expand Down
1 change: 0 additions & 1 deletion src/datadog_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ def __init__(
"v2.update_monitor_user_template": False,
"v2.validate_existing_monitor_user_template": False,
"v2.validate_monitor_user_template": False,
"v2.get_aggregated_connections": False,
"v2.create_pipeline": False,
"v2.delete_pipeline": False,
"v2.get_pipeline": False,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-03-31T18:18:50.770Z
2025-07-15T18:37:09.589Z
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interactions:
accept:
- application/json
method: GET
uri: https://api.datadoghq.com/api/v2/network/connections/aggregate?limit=6000
uri: https://api.datadoghq.com/api/v2/network/connections/aggregate?limit=8000
response:
body:
string: '{"errors":[{"status":"400","title":"Invalid limit"}]}'
Expand Down
3 changes: 1 addition & 2 deletions tests/v2/features/cloud_network_monitoring.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Feature: Cloud Network Monitoring
Given a valid "apiKeyAuth" key in the system
And a valid "appKeyAuth" key in the system
And an instance of "CloudNetworkMonitoring" API
And operation "GetAggregatedConnections" enabled
And new "GetAggregatedConnections" request

@team:Datadog/networks
Expand All @@ -19,7 +18,7 @@ Feature: Cloud Network Monitoring

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

Expand Down
Loading