ContainerRegistrySourceTrigger Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET