code: public PagedList<RedisLinkedServerWithPropertiesInner> list(final String resourceGroupName, final String name) {
          ServiceResponse<Page<RedisLinkedServerWithPropertiesInner>> response = listSinglePageAsync(resourceGroupName, name).toBlocking().single();
          return new PagedList<RedisLinkedServerWithPropertiesInner>(response.body()) {
              @Override
              public Page<RedisLinkedServerWithPropertiesInner> nextPage(String nextPageLink) {
                  return listNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Gets the list of linked servers associated with this redis cache (requires Premium SKU).
  
  @param resourceGroupName The name of the resource group.
  @param name The name of the redis cache.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException 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;RedisLinkedServerWithPropertiesInner&gt; object if successful.