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

TriggersOperationsExtensions.CreateOrUpdate 方法

定义

创建或更新触发器。

public static Microsoft.Azure.Management.DataFactory.Models.TriggerResource CreateOrUpdate (this Microsoft.Azure.Management.DataFactory.ITriggersOperations operations, string resourceGroupName, string factoryName, string triggerName, Microsoft.Azure.Management.DataFactory.Models.TriggerResource trigger, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.DataFactory.ITriggersOperations * string * string * string * Microsoft.Azure.Management.DataFactory.Models.TriggerResource * string -> Microsoft.Azure.Management.DataFactory.Models.TriggerResource
<Extension()>
Public Function CreateOrUpdate (operations As ITriggersOperations, resourceGroupName As String, factoryName As String, triggerName As String, trigger As TriggerResource, Optional ifMatch As String = Nothing) As TriggerResource

参数

operations
ITriggersOperations

此扩展方法的操作组。

resourceGroupName
String

资源组名称。

factoryName
String

工厂名称。

triggerName
String

触发器名称。

trigger
TriggerResource

触发资源定义。

ifMatch
String

触发器实体的 ETag。 应仅为更新指定,对于该更新,它应与现有实体匹配,或者对于无条件更新,可以为 *。

返回

适用于