Partager via


IWebhookDefinition<ParentT> Interface

Définition

Regroupement des définitions de webhook du registre de conteneurs.

public interface IWebhookDefinition<ParentT> : Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Definition.IBlank<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Definition.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.ContainerRegistry.Fluent.Webhook.Definition.IWithServiceUri<ParentT>, Microsoft.Azure.Management.ContainerRegistry.Fluent.Webhook.Definition.IWithTriggerWhen<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 IWebhookDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithTriggerWhen<'ParentT>
    interface IWithServiceUri<'ParentT>
    interface IWithAttach<'ParentT>
    interface IWithCustomHeaders<'ParentT>
    interface IWithRepositoriesScope<'ParentT>
    interface IWithDefaultStatus<'ParentT>
    interface IDefinitionWithTags<IWithAttach<'ParentT>>
    interface IInDefinition<'ParentT>
Public Interface IWebhookDefinition(Of ParentT)
Implements IBlank(Of ParentT), IDefinitionWithTags(Of IWithAttach(Of ParentT)), IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithCustomHeaders(Of ParentT), IWithDefaultStatus(Of ParentT), IWithRepositoriesScope(Of ParentT), IWithServiceUri(Of ParentT), IWithTriggerWhen(Of ParentT)

Paramètres de type

ParentT

Étape de la définition parente à laquelle revenir après l’attachement de cette définition.

Implémente

Méthodes

Attach()

Regroupement des définitions de webhook du registre de conteneurs.

(Hérité de IInDefinition<ParentT>)
Enabled(Boolean)

Spécifie la status par défaut du webhook ; la valeur par défaut est « enabled ».

(Hérité de IWithDefaultStatus<ParentT>)
WithCustomHeader(String, String)

Spécifie un en-tête personnalisé qui sera ajouté aux notifications. Les appels consécutifs à cette méthode ajoutent des en-têtes supplémentaires.

(Hérité de IWithCustomHeaders<ParentT>)
WithCustomHeaders(IDictionary<String,String>)

Spécifie les en-têtes personnalisés qui seront ajoutés aux notifications.

(Hérité de IWithCustomHeaders<ParentT>)
WithRepositoriesScope(String)

Spécifie l’étendue des dépôts où l’événement peut être déclenché. Par exemple, « foo: » désigne les événements pour toutes les balises sous le dépôt 'foo'. 'foo:bar' signifie les événements pour 'foo:bar' uniquement. 'foo' équivaut à 'foo:latest', vide signifie tous les événements.

(Hérité de IWithRepositoriesScope<ParentT>)
WithServiceUri(String)

Spécifie l’URI de service pour les post-notifications.

(Hérité de IWithServiceUri<ParentT>)
WithTag(String, String)

Ajoute une balise à la ressource.

(Hérité de IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Spécifie des balises pour la ressource en tant que {@link Map}.

(Hérité de IDefinitionWithTags<T>)
WithTriggerWhen(String[])

Spécifie les actions qui déclencheront les notifications de webhook.

(Hérité de IWithTriggerWhen<ParentT>)

S’applique à