def resources(query, custom_headers:nil)
      response = resources_async(query, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def resources(query, custom_headers:nil)
      response = resources_async(query, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Queries the resources managed by Azure Resource Manager for all subscriptions
 specified in the request.

 @param query [QueryRequest] Request specifying query and its options.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [QueryResponse] operation results.