code: public ServiceFuture<QueryResponseInner> resourcesAsync(QueryRequest query, final ServiceCallback<QueryResponseInner> serviceCallback) {
          return ServiceFuture.fromResponse(resourcesWithServiceResponseAsync(query), serviceCallback);
      }
docs: Queries the resources managed by Azure Resource Manager for all subscriptions specified in the request.
  
  @param query Request specifying query and its options.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object