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

IBlank<ParentT> 接口

定义

Webhook 定义的第一阶段。

public interface IBlank<ParentT> : Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateResource.IWithAttach<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateResource.IWithCustomHeaders<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateResource.IWithDefaultStatus<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateResource.IWithOrWithoutTags<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateResource.IWithRepositoriesScope<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateResource.IWithServiceUri<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateResource.IWithTriggerWhen<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.ISettable<ParentT>
type IBlank<'ParentT> = interface
    interface IWithAttach<'ParentT>
    interface IWithTriggerWhen<'ParentT>
    interface IWithServiceUri<'ParentT>
    interface IWithCustomHeaders<'ParentT>
    interface IWithRepositoriesScope<'ParentT>
    interface IWithDefaultStatus<'ParentT>
    interface IWithOrWithoutTags<'ParentT>
    interface ISettable<'ParentT>
Public Interface IBlank(Of ParentT)
Implements ISettable(Of ParentT), IWithAttach(Of ParentT), IWithCustomHeaders(Of ParentT), IWithDefaultStatus(Of ParentT), IWithOrWithoutTags(Of ParentT), IWithRepositoriesScope(Of ParentT), IWithServiceUri(Of ParentT), IWithTriggerWhen(Of ParentT)

类型参数

ParentT

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

派生
实现

方法

Enabled(Boolean)

汇报 Webhook 的默认状态。

(继承自 IWithDefaultStatus<ParentT>)
Parent()

Webhook 定义的第一阶段。

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

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

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

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

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

从资源中删除标记。

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

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

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

指定发布通知的服务 URI。

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

将标记添加到 Webhook。

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

指定 Webhook 的标记。

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

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

(继承自 IWithTriggerWhen<ParentT>)

适用于