Share via


WebhookCreateParameters Constructors

Definition

Overloads

WebhookCreateParameters()

Initializes a new instance of the WebhookCreateParameters class.

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

Initializes a new instance of the WebhookCreateParameters class.

WebhookCreateParameters()

Initializes a new instance of the WebhookCreateParameters class.

public WebhookCreateParameters ();
Public Sub New ()

Applies to

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

Initializes a new instance of the WebhookCreateParameters class.

public WebhookCreateParameters (string location, string serviceUri, System.Collections.Generic.IList<string> actions, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> customHeaders = default, string status = default, string scope = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.WebhookCreateParameters : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.WebhookCreateParameters
Public Sub New (location As String, serviceUri As String, actions As IList(Of String), Optional tags As IDictionary(Of String, String) = Nothing, Optional customHeaders As IDictionary(Of String, String) = Nothing, Optional status As String = Nothing, Optional scope As String = Nothing)

Parameters

location
String

The location of the webhook. This cannot be changed after the resource is created.

serviceUri
String

The service URI for the webhook to post notifications.

actions
IList<String>

The list of actions that trigger the webhook to post notifications.

tags
IDictionary<String,String>

The tags for the webhook.

customHeaders
IDictionary<String,String>

Custom headers that will be added to the webhook notifications.

status
String

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

scope
String

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.

Applies to