public Observable<Page<P2SVpnServerConfigurationInner>> listByVirtualWanAsync(final String resourceGroupName, final String virtualWanName) {
        return listByVirtualWanWithServiceResponseAsync(resourceGroupName, virtualWanName)
            .map(new Func1<ServiceResponse<Page<P2SVpnServerConfigurationInner>>, Page<P2SVpnServerConfigurationInner>>() {
                @Override
                public Page<P2SVpnServerConfigurationInner> call(ServiceResponse<Page<P2SVpnServerConfigurationInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < P2SVpnServerConfigurationInner > > listByVirtualWanAsync ( final String resourceGroupName , final String virtualWanName ) { return listByVirtualWanWithServiceResponseAsync ( resourceGroupName , virtualWanName ) . map ( new Func1 < ServiceResponse < Page < P2SVpnServerConfigurationInner > > , Page < P2SVpnServerConfigurationInner > > ( ) { @ Override public Page < P2SVpnServerConfigurationInner > call ( ServiceResponse < Page < P2SVpnServerConfigurationInner > > response ) { return response . body ( ) ; } } ) ; }
Retrieves all P2SVpnServerConfigurations for a particular VirtualWan.

@param resourceGroupName The resource group name of the VirtualWan.
@param virtualWanName The name of the VirtualWan.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;P2SVpnServerConfigurationInner&gt; object