def begin_update(profile_name, profile_properties, resource_group_name, custom_headers:nil)
      response = begin_update_async(profile_name, profile_properties, resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_update(profile_name, profile_properties, resource_group_name, custom_headers:nil)
      response = begin_update_async(profile_name, profile_properties, resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Updates an existing CDN profile with the specified parameters.

 @param profile_name [String] Name of the CDN profile within the resource
 group.
 @param profile_properties [ProfileUpdateParameters] Profile properties needed
 for update.
 @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 [Profile] operation results.