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

IUpdateDefinition<ParentT> 接口

定义

容器注册表的 Webhook 更新定义的分组。

public interface IUpdateDefinition<ParentT> : Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateDefinition.IBlank<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateDefinition.IWithAttach<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateDefinition.IWithCustomHeaders<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateDefinition.IWithDefaultStatus<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateDefinition.IWithRepositoriesScope<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateDefinition.IWithServiceUri<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateDefinition.IWithTags<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateDefinition.IWithTriggerWhen<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>
type IUpdateDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithTriggerWhen<'ParentT>
    interface IWithServiceUri<'ParentT>
    interface IWithAttach<'ParentT>
    interface IWithCustomHeaders<'ParentT>
    interface IWithRepositoriesScope<'ParentT>
    interface IWithDefaultStatus<'ParentT>
    interface IWithTags<'ParentT>
    interface IInUpdate<'ParentT>
Public Interface IUpdateDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInUpdate(Of ParentT), IWithAttach(Of ParentT), IWithCustomHeaders(Of ParentT), IWithDefaultStatus(Of ParentT), IWithRepositoriesScope(Of ParentT), IWithServiceUri(Of ParentT), IWithTags(Of ParentT), IWithTriggerWhen(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的父定义的阶段。

实现

方法

Attach()

容器注册表的 Webhook 更新定义的分组。

(继承自 IInUpdate<ParentT>)
Enabled(Boolean)

指定 Webhook 的默认状态;默认值为“enabled”。

(继承自 IWithDefaultStatus<ParentT>)
WithCustomHeader(String, String)

指定将添加到通知的自定义标头。 对此方法的连续调用将添加其他标头。

(继承自 IWithCustomHeaders<ParentT>)
WithCustomHeaders(IDictionary<String,String>)

指定将添加到通知的自定义标头。

(继承自 IWithCustomHeaders<ParentT>)
WithRepositoriesScope(String)

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

(继承自 IWithRepositoriesScope<ParentT>)
WithServiceUri(String)

指定发布通知的服务 URI。

(继承自 IWithServiceUri<ParentT>)
WithTag(String, String)

将标记添加到 Webhook。

(继承自 IWithTags<ParentT>)
WithTags(IDictionary<String,String>)

指定 Webhook 的标记。

(继承自 IWithTags<ParentT>)
WithTriggerWhen(String[])

指定将触发 Webhook 通知的操作。

(继承自 IWithTriggerWhen<ParentT>)

适用于