共用方式為


ITriggerEventsDefinition.WithTriggerEvent(SourceTriggerEvent) Method

Definition

The function that allows the user to specify an action that will trigger a run when it is executed.

public Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.ISourceTriggerAttachable WithTriggerEvent (Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.SourceTriggerEvent sourceTriggerEvent);
abstract member WithTriggerEvent : Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.SourceTriggerEvent -> Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.ISourceTriggerAttachable
Public Function WithTriggerEvent (sourceTriggerEvent As SourceTriggerEvent) As ISourceTriggerAttachable

Parameters

sourceTriggerEvent
SourceTriggerEvent

The action that will trigger a run.

Returns

Applies to