/** * Gets the list of the security group rules (GET /security-group-rules/[rules-security-groups-id] ) * * Lists a summary of all OpenStack Networking security group rules that the specified tenant can access. * * @param string $id optional * The ID of the security group rule to view * * @param ListSecurityGroupRulesFilter|array $filter optional * The filter options. Filter doesn't apply to detailed info * * @param array $fields optional * The list of the fields to show * * @return DefaultPaginationList|object Returns the list of the security groups or specified security group * @throws RestClientException */ public function listSecurityGroupRules($id = null, $filter = null, array $fields = null) { if ($filter !== null && !$filter instanceof ListSecurityGroupRulesFilter) { $filter = ListSecurityGroupRulesFilter::initArray($filter); } return $this->getApiHandler()->listSecurityGroupRules($id, $filter, $fields); }