def check_name_availability_with_http_info(resource_group_name, location, input, custom_headers:nil)
      check_name_availability_async(resource_group_name, location, input, custom_headers:custom_headers).value!
    end
def check_name_availability_with_http_info(resource_group_name, location, input, custom_headers:nil)
      check_name_availability_async(resource_group_name, location, input, custom_headers:custom_headers).value!
    end
API to check for resource name availability.
 A name is available if no other resource exists that has the same
 SubscriptionId, Resource Name and Type
 or if one or more such resources exist, each of these must be GC'd and their
 time of deletion be more than 24 Hours Ago

 @param resource_group_name [String] The name of the resource group where the
 recovery services vault is present.
 @param location [String] Location of the resource
 @param input [CheckNameAvailabilityParameters] Contains information about
 Resource type and Resource 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.