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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET