def update(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
      response = update_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def update(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
      response = update_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Updates an existing CDN custom domain within an endpoint.

 @param custom_domain_name [String] Name of the custom domain within an
 endpoint.
 @param custom_domain_properties [CustomDomainParameters] Custom domain
 properties to update.
 @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 [ErrorResponse] operation results.