public Observable<Page<LoadBalancerInner>> listByResourceGroupAsync(final String resourceGroupName) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName)
            .map(new Func1<ServiceResponse<Page<LoadBalancerInner>>, Page<LoadBalancerInner>>() {
                @Override
                public Page<LoadBalancerInner> call(ServiceResponse<Page<LoadBalancerInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < LoadBalancerInner > > listByResourceGroupAsync ( final String resourceGroupName ) { return listByResourceGroupWithServiceResponseAsync ( resourceGroupName ) . map ( new Func1 < ServiceResponse < Page < LoadBalancerInner > > , Page < LoadBalancerInner > > ( ) { @ Override public Page < LoadBalancerInner > call ( ServiceResponse < Page < LoadBalancerInner > > response ) { return response . body ( ) ; } } ) ; }
Gets all the load balancers 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;LoadBalancerInner&gt; object