你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Webhook 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.
An object that represents a webhook for a container registry.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.WebhookTypeConverter))]
public class Webhook : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IWebhook, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.WebhookTypeConverter))>]
type Webhook = class
interface IWebhook
interface IJsonSerializable
interface IResource
interface IValidates
Public Class Webhook
Implements IValidates, IWebhook
- Inheritance
-
Webhook
- Attributes
- Implements
Constructors
Webhook() |
Creates an new Webhook instance. |
Properties
Action |
The list of actions that trigger the webhook to post notifications. |
Id |
The resource ID. |
Location |
The location of the resource. This cannot be changed after the resource is created. |
Name |
The name of the resource. |
ProvisioningState |
The provisioning state of the webhook at the time the operation was called. |
ResourceGroupName |
Gets the resource group name |
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. |
SystemData |
Metadata pertaining to creation and last modification of the resource. |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource modification (UTC). |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
Tag |
The tags of the resource. |
Type |
The type of the resource. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Webhook. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IWebhook. |
FromJsonString(String) |
Creates a new instance of Webhook, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |