code: public Observable<Void> checkNameAvailabilityAsync(CheckNameAvailabilityParameters parameters) {
          return checkNameAvailabilityWithServiceResponseAsync(parameters).map(new Func1<ServiceResponse<Void>, Void>() {
              @Override
              public Void call(ServiceResponse<Void> response) {
                  return response.body();
              }
          });
      }
docs: Checks that the redis cache name is valid and is not already in use.
  
  @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceResponse} object if successful.