TriggersOperationsExtensions.CreateAsync 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.
This method creates a trigger for a share subscription
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.Trigger> CreateAsync (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 CreateAsync : 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 CreateAsync (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