code: public Observable<CheckNameAvailabilityResponseInner> checkNameAvailabilityLocalAsync(String location, CheckNameAvailabilityRequest checkNameAvailability) {
          return checkNameAvailabilityLocalWithServiceResponseAsync(location, checkNameAvailability).map(new Func1<ServiceResponse<CheckNameAvailabilityResponseInner>, CheckNameAvailabilityResponseInner>() {
              @Override
              public CheckNameAvailabilityResponseInner call(ServiceResponse<CheckNameAvailabilityResponseInner> response) {
                  return response.body();
              }
          });
      }
docs: Check Name Availability for global uniqueness.
  
  @param location The location in which uniqueness will be verified.
  @param checkNameAvailability Check Name Availability Request.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the CheckNameAvailabilityResponseInner object