你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SourceTrigger 构造函数

定义

重载

SourceTrigger()

初始化 SourceTrigger 类的新实例。

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

初始化 SourceTrigger 类的新实例。

SourceTrigger()

初始化 SourceTrigger 类的新实例。

public SourceTrigger ();
Public Sub New ()

适用于

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

初始化 SourceTrigger 类的新实例。

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

参数

sourceRepository
SourceProperties

描述任务的源 (代码的属性) 。

sourceTriggerEvents
IList<String>

与触发器对应的源事件。

name
String

触发器的名称。

status
String

触发器的当前状态。 可能的值包括:“Disabled”、“Enabled”

适用于