code: public Observable<Page<HubVirtualNetworkConnectionInner>> listAsync(final String resourceGroupName, final String virtualHubName) {
          return listWithServiceResponseAsync(resourceGroupName, virtualHubName)
              .map(new Func1<ServiceResponse<Page<HubVirtualNetworkConnectionInner>>, Page<HubVirtualNetworkConnectionInner>>() {
                  @Override
                  public Page<HubVirtualNetworkConnectionInner> call(ServiceResponse<Page<HubVirtualNetworkConnectionInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Retrieves the details of all HubVirtualNetworkConnections.
  
  @param resourceGroupName The resource group name of the VirtualHub.
  @param virtualHubName The name of the VirtualHub.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;HubVirtualNetworkConnectionInner&gt; object