code: public Observable<RegistryNameStatusInner> checkNameAvailabilityAsync(String name) {
          return checkNameAvailabilityWithServiceResponseAsync(name).map(new Func1<ServiceResponse<RegistryNameStatusInner>, RegistryNameStatusInner>() {
              @Override
              public RegistryNameStatusInner call(ServiceResponse<RegistryNameStatusInner> response) {
                  return response.body();
              }
          });
      }
docs: Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
  
  @param name The name of the container registry.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the RegistryNameStatusInner object