def begin_update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil)
      response = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_update(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:nil)
      response = begin_update_async(resource_group_name, registry_name, webhook_name, webhook_update_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Updates a webhook with the specified parameters.

 @param resource_group_name [String] The name of the resource group to which
 the container registry belongs.
 @param registry_name [String] The name of the container registry.
 @param webhook_name [String] The name of the webhook.
 @param webhook_update_parameters [WebhookUpdateParameters] The parameters for
 updating a webhook.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Webhook] operation results.