Dela via


IUpdate Interface

Definition

The entirety of a webhook update.

public interface IUpdate : Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Update.IWithCustomHeaders, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Update.IWithDefaultStatus, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Update.IWithRepositoriesScope, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Update.IWithServiceUri, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Update.IWithTriggerWhen, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Update.IUpdateWithTags<Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Update.IUpdate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhook>
type IUpdate = interface
    interface IWithTriggerWhen
    interface IWithServiceUri
    interface IWithCustomHeaders
    interface IWithRepositoriesScope
    interface IWithDefaultStatus
    interface IUpdateWithTags<IUpdate>
    interface IAppliable<IWebhook>
    interface IIndexable
Public Interface IUpdate
Implements IAppliable(Of IWebhook), IUpdateWithTags(Of IUpdate), IWithCustomHeaders, IWithDefaultStatus, IWithRepositoriesScope, IWithServiceUri, IWithTriggerWhen
Implements

Properties

Key (Inherited from IIndexable)

Methods

Apply()

Execute the update request.

(Inherited from IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

Execute the update request asynchronously.

(Inherited from IAppliable<T>)
Enabled(Boolean)

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

(Inherited from IWithDefaultStatus)
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)
WithCustomHeaders(IDictionary<String,String>)

Specifies custom headers that will be added to the notifications.

(Inherited from IWithCustomHeaders)
WithoutTag(String)

Removes a tag from the resource.

(Inherited from IUpdateWithTags<T>)
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)
WithServiceUri(String)

Specifies the service URI for post notifications.

(Inherited from IWithServiceUri)
WithTag(String, String)

Adds a tag to the resource.

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

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

(Inherited from IUpdateWithTags<T>)
WithTriggerWhen(String[])

Specifies the actions that will trigger the webhook notifications.

(Inherited from IWithTriggerWhen)

Applies to