Skip to content

Commit 6acc89e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3bbe06e of spec repo
1 parent ed07de5 commit 6acc89e

File tree

9 files changed

+6
-23
lines changed

9 files changed

+6
-23
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": "d93d991",
3-
"generated": "2025-07-15 09:31:41.973"
2+
"spec_repo_commit": "3bbe06e",
3+
"generated": "2025-07-15 18:50:47.681"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54481,9 +54481,6 @@ paths:
5448154481
summary: Get all aggregated connections
5448254482
tags:
5448354483
- Cloud Network Monitoring
54484-
x-unstable: '**Note**: This endpoint is in Preview. If you have any feedback,
54485-
54486-
contact [Datadog support](https://docs.datadoghq.com/help/).'
5448754484
/api/v2/on-call/escalation-policies:
5448854485
post:
5448954486
description: Create a new On-Call escalation policy
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-03-31T18:18:50.770Z
1+
2025-07-15T18:37:09.589Z

cassettes/features/v2/cloud_network_monitoring/Get-all-aggregated-connections-returns-Bad-Request-response.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
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()

features/v2/cloud_network_monitoring.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Feature: Cloud Network Monitoring
99
Given a valid "apiKeyAuth" key in the system
1010
And a valid "appKeyAuth" key in the system
1111
And an instance of "CloudNetworkMonitoring" API
12-
And operation "GetAggregatedConnections" enabled
1312
And new "GetAggregatedConnections" request
1413

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

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

lib/datadog_api_client/configuration.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ def initialize
249249
"v2.update_monitor_user_template": false,
250250
"v2.validate_existing_monitor_user_template": false,
251251
"v2.validate_monitor_user_template": false,
252-
"v2.get_aggregated_connections": false,
253252
"v2.create_pipeline": false,
254253
"v2.delete_pipeline": false,
255254
"v2.get_pipeline": false,

lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb

Lines changed: 0 additions & 6 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 5000.
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 ...'

0 commit comments

Comments
 (0)