code: public Observable<Page<ApplicationInner>> listByClusterAsync(final String resourceGroupName, final String clusterName) {
          return listByClusterWithServiceResponseAsync(resourceGroupName, clusterName)
              .map(new Func1<ServiceResponse<Page<ApplicationInner>>, Page<ApplicationInner>>() {
                  @Override
                  public Page<ApplicationInner> call(ServiceResponse<Page<ApplicationInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Lists all of the applications for the HDInsight cluster.
  
  @param resourceGroupName The name of the resource group.
  @param clusterName The name of the cluster.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;ApplicationInner&gt; object