public Observable<Page<ProjectInner>> listAsync(final String groupName, final String serviceName) {
        return listWithServiceResponseAsync(groupName, serviceName)
            .map(new Func1<ServiceResponse<Page<ProjectInner>>, Page<ProjectInner>>() {
                @Override
                public Page<ProjectInner> call(ServiceResponse<Page<ProjectInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < ProjectInner > > listAsync ( final String groupName , final String serviceName ) { return listWithServiceResponseAsync ( groupName , serviceName ) . map ( new Func1 < ServiceResponse < Page < ProjectInner > > , Page < ProjectInner > > ( ) { @ Override public Page < ProjectInner > call ( ServiceResponse < Page < ProjectInner > > response ) { return response . body ( ) ; } } ) ; }
Get projects in a service.
The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.

@param groupName Name of the resource group
@param serviceName Name of the service
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;ProjectInner&gt; object