Dela via


WebhookProperties Class

Definition

The properties of a webhook.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.WebhookPropertiesTypeConverter))]
public class WebhookProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IWebhookProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.WebhookPropertiesTypeConverter))>]
type WebhookProperties = class
    interface IWebhookProperties
    interface IJsonSerializable
Public Class WebhookProperties
Implements IWebhookProperties
Inheritance
WebhookProperties
Attributes
Implements

Constructors

WebhookProperties()

Creates an new WebhookProperties instance.

Properties

Action

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

ProvisioningState

The provisioning state of the webhook at the time the operation was called.

Scope

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

The status of the webhook at the time the operation was called.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WebhookProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WebhookProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IWebhookProperties.

FromJsonString(String)

Creates a new instance of WebhookProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of WebhookProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to