Skip to content

Commit fc053b9

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[cloud-network-monitoring] Remove preview note + Add notifications (#2586)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 3250d57 commit fc053b9

File tree

8 files changed

+7
-41
lines changed

8 files changed

+7
-41
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "befda92",
3-
"generated": "2025-08-06 19:11:13.073"
2+
"spec_repo_commit": "fd3370f",
3+
"generated": "2025-08-06 20:54:02.539"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57013,9 +57013,6 @@ paths:
5701357013
summary: Get all aggregated connections
5701457014
tags:
5701557015
- Cloud Network Monitoring
57016-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
57017-
57018-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5701957016
/api/v2/network/dns/aggregate:
5702057017
get:
5702157018
description: Get all aggregated DNS traffic.
@@ -57076,9 +57073,6 @@ paths:
5707657073
summary: Get all aggregated DNS traffic
5707757074
tags:
5707857075
- Cloud Network Monitoring
57079-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
57080-
57081-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5708257076
/api/v2/on-call/escalation-policies:
5708357077
post:
5708457078
description: Create a new On-Call escalation policy
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Get all aggregated connections returns "OK" response
22

33
require "datadog_api_client"
4-
DatadogAPIClient.configure do |config|
5-
config.unstable_operations["v2.get_aggregated_connections".to_sym] = true
6-
end
74
api_instance = DatadogAPIClient::V2::CloudNetworkMonitoringAPI.new
85
p api_instance.get_aggregated_connections()
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Get aggregated connections returns "OK" response
22

33
require "datadog_api_client"
4-
DatadogAPIClient.configure do |config|
5-
config.unstable_operations["v2.get_aggregated_connections".to_sym] = true
6-
end
74
api_instance = DatadogAPIClient::V2::CloudNetworkMonitoringAPI.new
85
p api_instance.get_aggregated_connections()
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Get all aggregated DNS traffic returns "OK" response
22

33
require "datadog_api_client"
4-
DatadogAPIClient.configure do |config|
5-
config.unstable_operations["v2.get_aggregated_dns".to_sym] = true
6-
end
74
api_instance = DatadogAPIClient::V2::CloudNetworkMonitoringAPI.new
85
p api_instance.get_aggregated_dns()

features/v2/cloud_network_monitoring.feature

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,32 @@ Feature: Cloud Network Monitoring
1414

1515
@team:Datadog/networks
1616
Scenario: Get aggregated connections returns "OK" response
17-
Given operation "GetAggregatedConnections" enabled
18-
And new "GetAggregatedConnections" request
17+
Given new "GetAggregatedConnections" request
1918
When the request is sent
2019
Then the response status is 200 OK
2120

2221
@team:Datadog/networks
2322
Scenario: Get all aggregated DNS traffic returns "Bad Request" response
24-
Given operation "GetAggregatedDns" enabled
25-
And new "GetAggregatedDns" request
23+
Given new "GetAggregatedDns" request
2624
And request contains "group_by" parameter with value "server_ungrouped,server_service"
2725
When the request is sent
2826
Then the response status is 400 Bad Request
2927

3028
@team:Datadog/networks
3129
Scenario: Get all aggregated DNS traffic returns "OK" response
32-
Given operation "GetAggregatedDns" enabled
33-
And new "GetAggregatedDns" request
30+
Given new "GetAggregatedDns" request
3431
When the request is sent
3532
Then the response status is 200 OK
3633

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

4541
@generated @skip @team:Datadog/networks
4642
Scenario: Get all aggregated connections returns "OK" response
47-
Given operation "GetAggregatedConnections" enabled
48-
And new "GetAggregatedConnections" request
43+
Given new "GetAggregatedConnections" request
4944
When the request is sent
5045
Then the response status is 200 OK

lib/datadog_api_client/configuration.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ def initialize
254254
"v2.update_monitor_user_template": false,
255255
"v2.validate_existing_monitor_user_template": false,
256256
"v2.validate_monitor_user_template": false,
257-
"v2.get_aggregated_connections": false,
258-
"v2.get_aggregated_dns": false,
259257
"v2.create_pipeline": false,
260258
"v2.delete_pipeline": false,
261259
"v2.get_pipeline": false,

lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ def get_aggregated_connections(opts = {})
4343
# @option opts [Integer] :limit The number of connections to be returned. The maximum value is 7500. The default is 100.
4444
# @return [Array<(SingleAggregatedConnectionResponseArray, Integer, Hash)>] SingleAggregatedConnectionResponseArray data, response status code and response headers
4545
def get_aggregated_connections_with_http_info(opts = {})
46-
unstable_enabled = @api_client.config.unstable_operations["v2.get_aggregated_connections".to_sym]
47-
if unstable_enabled
48-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_aggregated_connections")
49-
else
50-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_aggregated_connections"))
51-
end
5246

5347
if @api_client.config.debugging
5448
@api_client.config.logger.debug 'Calling API: CloudNetworkMonitoringAPI.get_aggregated_connections ...'
@@ -125,12 +119,6 @@ def get_aggregated_dns(opts = {})
125119
# @option opts [Integer] :limit The number of aggregated DNS entries to be returned. The maximum value is 7500. The default is 100.
126120
# @return [Array<(SingleAggregatedDnsResponseArray, Integer, Hash)>] SingleAggregatedDnsResponseArray data, response status code and response headers
127121
def get_aggregated_dns_with_http_info(opts = {})
128-
unstable_enabled = @api_client.config.unstable_operations["v2.get_aggregated_dns".to_sym]
129-
if unstable_enabled
130-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_aggregated_dns")
131-
else
132-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_aggregated_dns"))
133-
end
134122

135123
if @api_client.config.debugging
136124
@api_client.config.logger.debug 'Calling API: CloudNetworkMonitoringAPI.get_aggregated_dns ...'

0 commit comments

Comments
 (0)