code: public Observable<List<ElasticPoolActivityInner>> listByElasticPoolAsync(String resourceGroupName, String serverName, String elasticPoolName) {
          return listByElasticPoolWithServiceResponseAsync(resourceGroupName, serverName, elasticPoolName).map(new Func1<ServiceResponse<List<ElasticPoolActivityInner>>, List<ElasticPoolActivityInner>>() {
              @Override
              public List<ElasticPoolActivityInner> call(ServiceResponse<List<ElasticPoolActivityInner>> response) {
                  return response.body();
              }
          });
      }
docs: Returns elastic pool activities.
  
  @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
  @param serverName The name of the server.
  @param elasticPoolName The name of the elastic pool for which to get the current activity.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the List&lt;ElasticPoolActivityInner&gt; object