Share via


WebhookUpdateParameters Class

Definition

The parameters for updating a webhook.

[Microsoft.Rest.Serialization.JsonTransformation]
public class WebhookUpdateParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type WebhookUpdateParameters = class
Public Class WebhookUpdateParameters
Inheritance
WebhookUpdateParameters
Attributes

Constructors

WebhookUpdateParameters()

Initializes a new instance of the WebhookUpdateParameters class.

WebhookUpdateParameters(IDictionary<String,String>, String, IDictionary<String,String>, String, String, IList<String>)

Initializes a new instance of the WebhookUpdateParameters class.

Properties

Actions

Gets or sets the list of actions that trigger the webhook to post notifications.

CustomHeaders

Gets or sets custom headers that will be added to the webhook notifications.

Scope

Gets or sets the scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.

ServiceUri

Gets or sets the service URI for the webhook to post notifications.

Status

Gets or sets the status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled'

Tags

Gets or sets the tags for the webhook.

Applies to