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

Webhook 类

定义

一个 对象,表示容器注册表的 Webhook。

[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
继承
Webhook
属性

构造函数

Webhook()

初始化 Webhook 类的新实例。

Webhook(String, IList<String>, String, String, String, IDictionary<String,String>, SystemData, String, String, String)

初始化 Webhook 类的新实例。

属性

Actions

获取或设置触发 Webhook 以发布通知的操作列表。

Id

获取资源 ID。

(继承自 Resource)
Location

获取或设置资源的位置。 创建资源后,无法更改此设置。

(继承自 Resource)
Name

获取资源的名称。

(继承自 Resource)
ProvisioningState

获取调用操作时 Webhook 的预配状态。 可能的值包括:“Creating”、“Updating”、“Deleting”、“Succeeded”、“Failed”、“Canceled”

Scope

获取或设置可以触发事件的存储库的范围。 例如,“foo:*”表示存储库“foo”下所有标记的事件。 “foo:bar”仅表示“foo:bar”的事件。 “foo”等效于“foo:latest”。 空表示所有事件。

Status

获取或设置调用操作时 Webhook 的状态。 可能的值包括:“enabled”、“disabled”

SystemData

获取与资源的创建和上次修改相关的元数据。

(继承自 Resource)
Tags

获取或设置资源的标记。

(继承自 Resource)
Type

获取资源的类型。

(继承自 Resource)

方法

Validate()

验证 对象。

适用于