def begin_delete_if_exists(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
      response = begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_delete_if_exists(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
      response = begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_delete_if_exists ( custom_domain_name , endpoint_name , profile_name , resource_group_name , custom_headers : nil ) response = begin_delete_if_exists_async ( custom_domain_name , endpoint_name , profile_name , resource_group_name , custom_headers :custom_headers ) . value! response . body unless response . nil? end
Deletes an existing CDN custom domain within an endpoint.

 @param custom_domain_name [String] Name of the custom domain within an
 endpoint.
 @param endpoint_name [String] Name of the endpoint within the CDN profile.
 @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.

 @return [CustomDomain] operation results.
Deletes an existing CDN custom domain within an endpoint .