def delete_if_exists(profile_name, resource_group_name, custom_headers:nil)
      response = delete_if_exists_async(profile_name, resource_group_name, custom_headers:custom_headers).value!
      nil
    end
def delete_if_exists(profile_name, resource_group_name, custom_headers:nil)
      response = delete_if_exists_async(profile_name, resource_group_name, custom_headers:custom_headers).value!
      nil
    end
Deletes an existing CDN profile with the specified parameters. Deleting a
 profile will result in the deletion of all subresources including endpoints,
 origins and custom domains.

 @param profile_name [String] Name of the CDN profile within the resource
 group.
 @param resource_group_name [String] Name of the resource group within the
 Azure subscription.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.