다음을 통해 공유


WebhookCreateParametersInner Class

Definition

The parameters for creating a webhook.

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

Constructors

WebhookCreateParametersInner()

Initializes a new instance of the WebhookCreateParametersInner class.

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

Initializes a new instance of the WebhookCreateParametersInner 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.

Location

Gets or sets the location of the webhook. This cannot be changed after the resource is created.

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.

Methods

Validate()

Validate the object.

Applies to