def check_file_path_availability(location, name, type, resource_group, custom_headers:nil)
      response = check_file_path_availability_async(location, name, type, resource_group, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_file_path_availability(location, name, type, resource_group, custom_headers:nil)
      response = check_file_path_availability_async(location, name, type, resource_group, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Check file path availability

 Check if a file path is available.

 @param location [String] The location
 @param name [String] Resource name to verify.
 @param type [CheckNameResourceTypes] Resource type used for verification.
 Possible values include: 'Microsoft.NetApp/netAppAccount',
 'Microsoft.NetApp/netAppAccount/capacityPools',
 'Microsoft.NetApp/netAppAccount/capacityPools/volumes',
 'Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots'
 @param resource_group [String] Resource group name.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ResourceNameAvailability] operation results.