Webhook Constructors

Definition

Overloads

Webhook()

Initializes a new instance of the Webhook class.

Webhook(String, IList<String>, String, String, String, IDictionary<String,String>, SystemData, String, String, String)

Initializes a new instance of the Webhook class.

Webhook()

Initializes a new instance of the Webhook class.

public Webhook ();
Public Sub New ()

Applies to

Webhook(String, IList<String>, String, String, String, IDictionary<String,String>, SystemData, String, String, String)

Initializes a new instance of the Webhook class.

public Webhook (string location, System.Collections.Generic.IList<string> actions, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerRegistry.Models.SystemData systemData = default, string status = default, string scope = default, string provisioningState = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.Webhook : string * System.Collections.Generic.IList<string> * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerRegistry.Models.SystemData * string * string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.Webhook
Public Sub New (location As String, actions As IList(Of String), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing, Optional status As String = Nothing, Optional scope As String = Nothing, Optional provisioningState As String = Nothing)

Parameters

location
String

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

actions
IList<String>

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

id
String

The resource ID.

name
String

The name of the resource.

type
String

The type of the resource.

tags
IDictionary<String,String>

The tags of the resource.

systemData
SystemData

Metadata pertaining to creation and last modification of the resource.

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.

provisioningState
String

The provisioning state of the webhook at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

Applies to