Skip to content

[Cloud Network Monitoring API] Update limit to 7500 #2513

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

Merged
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": "d93d991",
"generated": "2025-07-15 09:31:41.973"
"spec_repo_commit": "2e1c8ca",
"generated": "2025-07-16 17:25:09.211"
}
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54458,13 +54458,13 @@ paths:
schema:
type: string
- description: The number of connections to be returned. The maximum value is
5000.
7500.
in: query
name: limit
schema:
default: 100
format: int32
maximum: 5000
maximum: 7500
minimum: 1
type: integer
responses:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_aggregated_connections(opts = {})
# @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]`.
# @option opts [String] :group_by Comma-separated list of fields to group connections by.
# @option opts [String] :tags Comma-separated list of tags to filter connections by.
# @option opts [Integer] :limit The number of connections to be returned. The maximum value is 5000.
# @option opts [Integer] :limit The number of connections to be returned. The maximum value is 7500.
# @return [Array<(SingleAggregatedConnectionResponseArray, Integer, Hash)>] SingleAggregatedConnectionResponseArray data, response status code and response headers
def get_aggregated_connections_with_http_info(opts = {})
unstable_enabled = @api_client.config.unstable_operations["v2.get_aggregated_connections".to_sym]
Expand All @@ -53,8 +53,8 @@ def get_aggregated_connections_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: CloudNetworkMonitoringAPI.get_aggregated_connections ...'
end
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 5000
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CloudNetworkMonitoringAPI.get_aggregated_connections, must be smaller than or equal to 5000.'
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 7500
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CloudNetworkMonitoringAPI.get_aggregated_connections, must be smaller than or equal to 7500.'
end
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CloudNetworkMonitoringAPI.get_aggregated_connections, must be greater than or equal to 1.'
Expand Down
Loading