get_resource_new_ip_blocks – get the number of new blockings of IP addresses for each minute of the specified interval.

April 17, 2024

ID 206508

get_resource_new_ip_blocks(Auth, client_id, resource_id, start_time, end_time)

Description: the method displays the number of new blockings of IP addresses for each minute of the specified interval.

Input parameters:

client_id (int) – customer ID (integer from 1 to 4 294 967 295).

resource_id (int) – Protected resource ID (integer from 1 to 4 294 967 295).

start_time (str) – start of the interval for data output ('YYYY-MM-DD hh:mm:ss').

end_time (str,nil) – end of the interval for data output ('YYYY-MM-DD hh:mm:ss', the interval end must not be earlier than the interval start). This can be nil, in which case the current time is used.

Note: The maximum time interval is 3 days.

Output parameters:

timestamp (str) – point in time.

new_ip_blocks (int) – number of new blockings of IP addresses.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.