Compartilhar via


ContainerRegistrySourceTrigger Construtor

Definição

Inicializa uma nova instância de 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)

Parâmetros

sourceRepository
SourceCodeRepoProperties

As propriedades que descrevem a origem(código) da tarefa.

sourceTriggerEvents
IEnumerable<ContainerRegistrySourceTriggerEvent>

O evento de origem correspondente ao gatilho.

name
String

O nome do gatilho.

Exceções

sourceRepository, sourceTriggerEvents ou name é nulo.

Aplica-se a