Udostępnij za pośrednictwem


TriggersOperationsExtensions.BeginCreateAsync Method

Definition

This method creates a trigger for a share subscription

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.Trigger> BeginCreateAsync (this Microsoft.Azure.Management.DataShare.ITriggersOperations operations, string resourceGroupName, string accountName, string shareSubscriptionName, string triggerName, Microsoft.Azure.Management.DataShare.Models.Trigger trigger, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.DataShare.ITriggersOperations * string * string * string * string * Microsoft.Azure.Management.DataShare.Models.Trigger * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.Trigger>
<Extension()>
Public Function BeginCreateAsync (operations As ITriggersOperations, resourceGroupName As String, accountName As String, shareSubscriptionName As String, triggerName As String, trigger As Trigger, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Trigger)

Parameters

operations
ITriggersOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

The name of the share account.

shareSubscriptionName
String

The name of the share subscription which will hold the data set sink.

triggerName
String

The name of the trigger.

trigger
Trigger

Trigger details.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create a Trigger

Applies to