def get_search_results(resource_group_name, workspace_name, parameters, custom_headers:nil)
      response = get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_search_results(resource_group_name, workspace_name, parameters, custom_headers:nil)
      response = get_search_results_async(resource_group_name, workspace_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Submit a search for a given workspace. The response will contain an id to
 track the search. User can use the id to poll the search status and get the
 full search result later if the search takes long time to finish.

 @param resource_group_name [String] The name of the resource group to get.
 The name is case insensitive.
 @param workspace_name [String] Log Analytics workspace name
 @param parameters [SearchParameters] The parameters required to execute a
 search query.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [SearchResultsResponse] operation results.