Share via


Webhook Class

Definition

An object that represents a webhook for a container registry.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Webhook : Microsoft.Azure.Management.ContainerRegistry.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Webhook = class
    inherit Resource
Public Class Webhook
Inherits Resource
Inheritance
Webhook
Attributes

Constructors

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.

Properties

Actions

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

Id

Gets the resource ID.

(Inherited from Resource)
Location

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

(Inherited from Resource)
Name

Gets the name of the resource.

(Inherited from Resource)
ProvisioningState

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

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.

Status

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

SystemData

Gets metadata pertaining to creation and last modification of the resource.

(Inherited from Resource)
Tags

Gets or sets the tags of the resource.

(Inherited from Resource)
Type

Gets the type of the resource.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to