code: public Observable<AppNameAvailabilityInfoInner> checkNameAvailabilityAsync(String name) {
          return checkNameAvailabilityWithServiceResponseAsync(name).map(new Func1<ServiceResponse<AppNameAvailabilityInfoInner>, AppNameAvailabilityInfoInner>() {
              @Override
              public AppNameAvailabilityInfoInner call(ServiceResponse<AppNameAvailabilityInfoInner> response) {
                  return response.body();
              }
          });
      }
docs: Check if an IoT Central application name is available.
  
  @param name The name of the IoT Central application instance to check.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the AppNameAvailabilityInfoInner object