public Observable<Page<VirtualNetworkInner>> listNextAsync(final String nextPageLink) {
        return listNextWithServiceResponseAsync(nextPageLink)
            .map(new Func1<ServiceResponse<Page<VirtualNetworkInner>>, Page<VirtualNetworkInner>>() {
                @Override
                public Page<VirtualNetworkInner> call(ServiceResponse<Page<VirtualNetworkInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < VirtualNetworkInner > > listNextAsync ( final String nextPageLink ) { return listNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < VirtualNetworkInner > > , Page < VirtualNetworkInner > > ( ) { @ Override public Page < VirtualNetworkInner > call ( ServiceResponse < Page < VirtualNetworkInner > > response ) { return response . body ( ) ; } } ) ; }
Gets all virtual networks in a subscription.

@param nextPageLink The NextLink from the previous successful call to List operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;VirtualNetworkInner&gt; object