TriggersOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a trigger.

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

Parameters

operations
ITriggersOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

triggerName
String

The trigger name.

trigger
TriggerResource

Trigger resource definition.

ifMatch
String

ETag of the trigger entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Returns

Applies to