Sdílet prostřednictvím


IWithAttach<ParentT> Interface

Definition

The final stage of the webhook definition. At this stage, any remaining optional settings can be specified, or the webhook definition can be attached to the parent container group definition.

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)

Type Parameters

ParentT

The stage of the parent definition to return to after attaching this definition.

Derived
Implements

Methods

Attach() (Inherited from IInDefinition<ParentT>)
Enabled(Boolean)

Specifies the default status of the webhook; default is "enabled".

(Inherited from IWithDefaultStatus<ParentT>)
WithCustomHeader(String, String)

Specifies a custom header that will be added to notifications. Consecutive calls to this method will add additional headers.

(Inherited from IWithCustomHeaders<ParentT>)
WithCustomHeaders(IDictionary<String,String>)

Specifies the custom headers that will be added to the notifications.

(Inherited from IWithCustomHeaders<ParentT>)
WithRepositoriesScope(String)

Specifies 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.

(Inherited from IWithRepositoriesScope<ParentT>)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to