code: public Observable<ServiceResponse<Page<RedisFirewallRuleInner>>> listByRedisResourceWithServiceResponseAsync(final String resourceGroupName, final String cacheName) {
          return listByRedisResourceSinglePageAsync(resourceGroupName, cacheName)
              .concatMap(new Func1<ServiceResponse<Page<RedisFirewallRuleInner>>, Observable<ServiceResponse<Page<RedisFirewallRuleInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<RedisFirewallRuleInner>>> call(ServiceResponse<Page<RedisFirewallRuleInner>> page) {
                      String nextPageLink = page.body().nextPageLink();
                      if (nextPageLink == null) {
                          return Observable.just(page);
                      }
                      return Observable.just(page).concatWith(listByRedisResourceNextWithServiceResponseAsync(nextPageLink));
                  }
              });
      }
docs: Gets all firewall rules in the specified redis cache.
  
  @param resourceGroupName The name of the resource group.
  @param cacheName The name of the Redis cache.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;RedisFirewallRuleInner&gt; object