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
System.String

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

actions
System.Collections.Generic.IList<System.String>

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

id
System.String

The resource ID.

name
System.String

The name of the resource.

type
System.String

The type of the resource.

tags
System.Collections.Generic.IDictionary<System.String,System.String>

The tags of the resource.

systemData
SystemData

Metadata pertaining to creation and last modification of the resource.

status
System.String

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

scope
System.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
System.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