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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET