ContainerRegistryTaskSourceTrigger 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 ContainerRegistryTaskSourceTrigger.
public ContainerRegistryTaskSourceTrigger(Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceProperties sourceRepository, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceTriggerEvent> sourceTriggerEvents, string name);
new Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceTrigger : Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceProperties * seq<Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceTriggerEvent> * string -> Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceTrigger
Public Sub New (sourceRepository As ContainerRegistryTaskSourceProperties, sourceTriggerEvents As IEnumerable(Of ContainerRegistryTaskSourceTriggerEvent), name As String)
Parameters
- sourceRepository
- ContainerRegistryTaskSourceProperties
The properties that describes the source(code) for the task.
- sourceTriggerEvents
- IEnumerable<ContainerRegistryTaskSourceTriggerEvent>
The source event corresponding to the trigger.
- name
- String
The name of the trigger.
Exceptions
sourceRepository, sourceTriggerEvents or name is null.