Udostępnij za pośrednictwem


IUpdateResource<ParentT> Interface

Definition

The entirety of a webhook resource update as part of a container registry update.

public interface IUpdateResource<ParentT> : Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.UpdateResource.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 IUpdateResource<'ParentT> = interface
    interface IBlank<'ParentT>
    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 IUpdateResource(Of ParentT)
Implements IBlank(Of ParentT), ISettable(Of ParentT), IWithAttach(Of ParentT), IWithCustomHeaders(Of ParentT), IWithDefaultStatus(Of ParentT), IWithOrWithoutTags(Of ParentT), IWithRepositoriesScope(Of ParentT), IWithServiceUri(Of ParentT), IWithTriggerWhen(Of ParentT)

Type Parameters

ParentT

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

Implements

Methods

Enabled(Boolean)

Updates the default status of the webhook.

(Inherited from IWithDefaultStatus<ParentT>)
Parent() (Inherited from ISettable<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>)
WithoutTag(String)

Removes a tag from the resource.

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

Updates 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>)
WithServiceUri(String)

Specifies the service URI for post notifications.

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

Adds a tag to the webhook.

(Inherited from IWithOrWithoutTags<ParentT>)
WithTags(IDictionary<String,String>)

Specifies tags for the webhook.

(Inherited from IWithOrWithoutTags<ParentT>)
WithTriggerWhen(String[])

Specifies the actions that will trigger the webhook notifications.

(Inherited from IWithTriggerWhen<ParentT>)

Applies to