public groups ( string $zone_identifier, string $package_identifier, string | null $name = null, string | null $mode = null, integer | null $rules_count = null, integer | null $page = null, integer | null $per_page = null, string | null $order = null, string | null $direction = null, string | null $match = null ) | ||
$zone_identifier | string | |
$package_identifier | string | |
$name | string | null | Name of the firewall rule group |
$mode | string | null | Whether or not the rules contained within this group are configurable/usable |
$rules_count | integer | null | How many rules are contained within this group |
$page | integer | null | Page number of paginated results |
$per_page | integer | null | Number of groups per page |
$order | string | null | Field to order groups by |
$direction | string | null | Direction to order groups |
$match | string | null | Whether to match all search requirements or at least one (any) |
public function groups($zone_identifier, $package_identifier, $name = null, $mode = null, $rules_count = null, $page = null, $per_page = null, $order = null, $direction = null, $match = null)
{
$data = ['name' => $name, 'mode' => $mode, 'rules_count' => $rules_count, 'page' => $page, 'per_page' => $per_page, 'order' => $order, 'direction' => $direction, 'match' => $match];
return $this->get('/zones/' . $zone_identifier . '/firewall/waf/packages/' . $package_identifier . '/groups', $data);
}