def list_by_subscription(filter:nil, custom_headers:nil)
      response = list_by_subscription_async(filter:filter, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_by_subscription(filter:nil, custom_headers:nil)
      response = list_by_subscription_async(filter:filter, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
List the Log Search rules within a subscription group.

 @param filter [String] The filter to apply on the operation. For more
 information please see
 https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [LogSearchRuleResourceCollection] operation results.