code: public PagedList<GeoRegionInner> listGeoRegions(final SkuName sku, final Boolean linuxWorkersEnabled) {
          ServiceResponse<Page<GeoRegionInner>> response = listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled).toBlocking().single();
          return new PagedList<GeoRegionInner>(response.body()) {
              @Override
              public Page<GeoRegionInner> nextPage(String nextPageLink) {
                  return listGeoRegionsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Get a list of available geographical regions.
  Get a list of available geographical regions.
  
  @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2'
  @param linuxWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions that support Linux workers.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws DefaultErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;GeoRegionInner&gt; object if successful.