TriggersOperationsExtensions.CreateOrUpdateAsync Method
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.
Creates or updates a trigger.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.TriggerResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataFactory.ITriggersOperations operations, string resourceGroupName, string factoryName, string triggerName, Microsoft.Azure.Management.DataFactory.Models.TriggerResource trigger, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataFactory.ITriggersOperations * string * string * string * Microsoft.Azure.Management.DataFactory.Models.TriggerResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.TriggerResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ITriggersOperations, resourceGroupName As String, factoryName As String, triggerName As String, trigger As TriggerResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET