client_resource_list – display a list of Customer's Protected resources
April 17, 2024
ID 206498
client_resource_list(Auth, client_id, locale_id, group_id)
Description: the method displays a list of Customer's Protected resources.
Input parameters:
client_id (int) – customer ID (integer from 1 to 4 294 967 295).
locale_id (int) – locale ID (10 for English, 77 for Russian).
group_id (int,nil) – ID of the Protected resource group (integer from 1 to 4 294 967 295). This can be nil, in which case a list of all Customer's Protected resources is displayed.
Output parameters:
id (int) – Protected resource ID.
name (str) – name of the resource in its native language.
group_id (int) – Protected resource group ID.
group (str) – name of the Protected resource group.
internal_ip (str) - original IP addresses of the customer.
external_ip (str,nil) - IP addresses issued for protection.
redirection_method_name (str) – type of traffic redirection (bgp/dns).
Note:
Internal and external IP addresses are displayed in ranges using hyphens and commas.
You will see no more than three "visible" IP addresses and, if necessary, the number of IP addresses that are not displayed.
Example: 1.1.1.2-1.1.1.4, 1.1.1.7 . . . (+12)