WebhookCreateParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The parameters for creating a webhook.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.WebhookCreateParametersTypeConverter))]
public class WebhookCreateParameters : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IWebhookCreateParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.WebhookCreateParametersTypeConverter))>]
type WebhookCreateParameters = class
interface IWebhookCreateParameters
interface IJsonSerializable
Public Class WebhookCreateParameters
Implements IWebhookCreateParameters
- Inheritance
-
WebhookCreateParameters
- Attributes
- Implements
Constructors
WebhookCreateParameters() |
Creates an new WebhookCreateParameters 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. |
Location |
The location of the webhook. This cannot be changed after the resource is created. |
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. |
Tag |
The tags for the webhook. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of WebhookCreateParameters. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of WebhookCreateParameters. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IWebhookCreateParameters. |
FromJsonString(String) |
Creates a new instance of WebhookCreateParameters, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of WebhookCreateParameters into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |