def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil)
      response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil)
      response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Checks whether a domain name in the cloudapp.net zone is available for use.

 @param location [String] The location of the domain name.
 @param domain_name_label [String] The domain name to be verified. It must
 conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [DnsNameAvailabilityResult] operation results.