code: public ServiceFuture<List<ApplicationStackInner>> getAvailableStacksAsync(final String osTypeSelected, final ListOperationCallback<ApplicationStackInner> serviceCallback) {
          return AzureServiceFuture.fromPageResponse(
              getAvailableStacksSinglePageAsync(osTypeSelected),
              new Func1<String, Observable<ServiceResponse<Page<ApplicationStackInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<ApplicationStackInner>>> call(String nextPageLink) {
                      return getAvailableStacksNextSinglePageAsync(nextPageLink);
                  }
              },
              serviceCallback);
      }
docs: Get available application frameworks and their versions.
  Get available application frameworks and their versions.
  
  @param osTypeSelected Possible values include: 'Windows', 'Linux'
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object