你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithAttach<ParentT> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
Webhook 定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将 Webhook 定义附加到父容器组定义。
public interface IWithAttach<ParentT> : Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Definition.IWithCustomHeaders<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Definition.IWithDefaultStatus<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Definition.IWithRepositoriesScope<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Definition.IWithAttach<ParentT>>
type IWithAttach<'ParentT> = interface
interface IWithCustomHeaders<'ParentT>
interface IWithRepositoriesScope<'ParentT>
interface IWithDefaultStatus<'ParentT>
interface IDefinitionWithTags<IWithAttach<'ParentT>>
interface IInDefinition<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IDefinitionWithTags(Of IWithAttach(Of ParentT)), IInDefinition(Of ParentT), IWithCustomHeaders(Of ParentT), IWithDefaultStatus(Of ParentT), IWithRepositoriesScope(Of ParentT)
类型参数
- ParentT
附加此定义后要返回到的父定义的阶段。
- 派生
- 实现
方法
Attach() |
Webhook 定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将 Webhook 定义附加到父容器组定义。 (继承自 IInDefinition<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>) |
WithTag(String, String) |
将标记添加到资源。 (继承自 IDefinitionWithTags<T>) |
WithTags(IDictionary<String,String>) |
将资源的标记指定为 {@link Map}。 (继承自 IDefinitionWithTags<T>) |