共用方式為


SourceTrigger Constructors

Definition

Overloads

SourceTrigger()

Initializes a new instance of the SourceTrigger class.

SourceTrigger(SourceProperties, IList<String>, String, String)

Initializes a new instance of the SourceTrigger class.

SourceTrigger()

Initializes a new instance of the SourceTrigger class.

public SourceTrigger ();
Public Sub New ()

Applies to

SourceTrigger(SourceProperties, IList<String>, String, String)

Initializes a new instance of the SourceTrigger class.

public SourceTrigger (Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.SourceProperties sourceRepository, System.Collections.Generic.IList<string> sourceTriggerEvents, string name, string status = default);
new Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.SourceTrigger : Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.SourceProperties * System.Collections.Generic.IList<string> * string * string -> Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.SourceTrigger
Public Sub New (sourceRepository As SourceProperties, sourceTriggerEvents As IList(Of String), name As String, Optional status As String = Nothing)

Parameters

sourceRepository
SourceProperties

The properties that describes the source(code) for the task.

sourceTriggerEvents
IList<String>

The source event corresponding to the trigger.

name
String

The name of the trigger.

status
String

The current status of trigger. Possible values include: 'Disabled', 'Enabled'

Applies to