code: public CheckNameAvailabilityResponseInner checkNameAvailabilityLocal(String location, CheckNameAvailabilityRequest checkNameAvailability) {
          return checkNameAvailabilityLocalWithServiceResponseAsync(location, checkNameAvailability).toBlocking().single().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
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the CheckNameAvailabilityResponseInner object if successful.