다음을 통해 공유


ContainerRegistrySourceTrigger Constructor

Definition

Initializes a new instance of ContainerRegistrySourceTrigger.

public ContainerRegistrySourceTrigger (Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoProperties sourceRepository, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTriggerEvent> sourceTriggerEvents, string name);
new Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTrigger : Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoProperties * seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTriggerEvent> * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTrigger
Public Sub New (sourceRepository As SourceCodeRepoProperties, sourceTriggerEvents As IEnumerable(Of ContainerRegistrySourceTriggerEvent), name As String)

Parameters

sourceRepository
SourceCodeRepoProperties

The properties that describes the source(code) for the task.

sourceTriggerEvents
IEnumerable<ContainerRegistrySourceTriggerEvent>

The source event corresponding to the trigger.

name
String

The name of the trigger.

Exceptions

sourceRepository, sourceTriggerEvents or name is null.

Applies to