def check_name_availability(registry_name_check_request, custom_headers:nil)
      response = check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_name_availability(registry_name_check_request, custom_headers:nil)
      response = check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Checks whether the container registry name is available for use. The name
 must contain only alphanumeric characters, be globally unique, and between 5
 and 60 characters in length.

 @param registry_name_check_request [RegistryNameCheckRequest] The object
 containing information for the availability request.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [RegistryNameStatus] operation results.