def list(resource_group_name, network_security_group_name, custom_headers:nil)
      first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list(resource_group_name, network_security_group_name, custom_headers:nil)
      first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Gets all default security rules in a network security group.

 @param resource_group_name [String] The name of the resource group.
 @param network_security_group_name [String] The name of the network security
 group.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<SecurityRule>] operation results.