Skip to content

Commit b0766a9

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[Cloud Network Monitoring API] Update limit to 7500 (#2513)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ed07de5 commit b0766a9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
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": "2e1c8ca",
3+
"generated": "2025-07-16 17:25:09.211"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54458,13 +54458,13 @@ paths:
5445854458
schema:
5445954459
type: string
5446054460
- description: The number of connections to be returned. The maximum value is
54461-
5000.
54461+
7500.
5446254462
in: query
5446354463
name: limit
5446454464
schema:
5446554465
default: 100
5446654466
format: int32
54467-
maximum: 5000
54467+
maximum: 7500
5446854468
minimum: 1
5446954469
type: integer
5447054470
responses:

lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_aggregated_connections(opts = {})
4040
# @option opts [Integer] :to Unix timestamp (number of seconds since epoch) of the end of the query window. If not provided, the end of the query window is the current time. If neither `from` nor `to` are provided, the query window is `[now - 15m, now]`.
4141
# @option opts [String] :group_by Comma-separated list of fields to group connections by.
4242
# @option opts [String] :tags Comma-separated list of tags to filter connections by.
43-
# @option opts [Integer] :limit The number of connections to be returned. The maximum value is 5000.
43+
# @option opts [Integer] :limit The number of connections to be returned. The maximum value is 7500.
4444
# @return [Array<(SingleAggregatedConnectionResponseArray, Integer, Hash)>] SingleAggregatedConnectionResponseArray data, response status code and response headers
4545
def get_aggregated_connections_with_http_info(opts = {})
4646
unstable_enabled = @api_client.config.unstable_operations["v2.get_aggregated_connections".to_sym]
@@ -53,8 +53,8 @@ def get_aggregated_connections_with_http_info(opts = {})
5353
if @api_client.config.debugging
5454
@api_client.config.logger.debug 'Calling API: CloudNetworkMonitoringAPI.get_aggregated_connections ...'
5555
end
56-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 5000
57-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CloudNetworkMonitoringAPI.get_aggregated_connections, must be smaller than or equal to 5000.'
56+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 7500
57+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CloudNetworkMonitoringAPI.get_aggregated_connections, must be smaller than or equal to 7500.'
5858
end
5959
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
6060
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CloudNetworkMonitoringAPI.get_aggregated_connections, must be greater than or equal to 1.'

0 commit comments

Comments
 (0)