def check_name_availability(location, parameters:nil, custom_headers:nil)
      response = check_name_availability_async(location, parameters:parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_name_availability(location, parameters:nil, custom_headers:nil)
      response = check_name_availability_async(location, parameters:parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Checks that the SignalR name is valid and is not already in use.

 @param location [String] the region
 @param parameters [NameAvailabilityParameters] Parameters supplied to the
 operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [NameAvailability] operation results.