public Observable<Page<InterfaceEndpointInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<InterfaceEndpointInner>>, Page<InterfaceEndpointInner>>() {
                @Override
                public Page<InterfaceEndpointInner> call(ServiceResponse<Page<InterfaceEndpointInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < InterfaceEndpointInner > > listByResourceGroupAsync ( final String resourceGroupName ) { return listByResourceGroupWithServiceResponseAsync ( resourceGroupName ) . map ( new Func1 < ServiceResponse < Page < InterfaceEndpointInner > > , Page < InterfaceEndpointInner > > ( ) { @ Override public Page < InterfaceEndpointInner > call ( ServiceResponse < Page < InterfaceEndpointInner > > response ) { return response . body ( ) ; } } ) ; }
Gets all interface endpoints in a resource group.

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