def check_name_availability_with_http_info(name, type, is_fqdn:nil, custom_headers:nil)
      check_name_availability_async(name, type, is_fqdn:is_fqdn, custom_headers:custom_headers).value!
    end
def check_name_availability_with_http_info(name, type, is_fqdn:nil, custom_headers:nil)
      check_name_availability_async(name, type, is_fqdn:is_fqdn, custom_headers:custom_headers).value!
    end
Check if a resource name is available.

 Check if a resource name is available.

 @param name [String] Resource name to verify.
 @param type [CheckNameResourceTypes] Resource type used for verification.
 Possible values include: 'Site', 'Slot', 'HostingEnvironment',
 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots',
 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'
 @param is_fqdn [Boolean] Is fully qualified domain name.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.