你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebhookPropertiesCreateParameters Class

Definition

The parameters for creating the properties of a webhook.

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

Constructors

WebhookPropertiesCreateParameters()

Creates an new WebhookPropertiesCreateParameters instance.

Properties

Action

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

CustomHeader

Custom headers that will be added to the webhook notifications.

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.

ServiceUri

The service URI for the webhook to post notifications.

Status

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WebhookPropertiesCreateParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WebhookPropertiesCreateParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WebhookPropertiesCreateParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to