code: public Observable<QueryResponseInner> resourcesAsync(QueryRequest query) {
          return resourcesWithServiceResponseAsync(query).map(new Func1<ServiceResponse<QueryResponseInner>, QueryResponseInner>() {
              @Override
              public QueryResponseInner call(ServiceResponse<QueryResponseInner> response) {
                  return response.body();
              }
          });
      }
docs: Queries the resources managed by Azure Resource Manager for all subscriptions specified in the request.
  
  @param query Request specifying query and its options.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the QueryResponseInner object