Compartilhar via


TriggersOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Cria ou atualiza um gatilho.

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

Parâmetros

operations
ITriggersOperations

O grupo de operações para esse método de extensão.

deviceName
String

Cria ou atualiza um gatilho

name
String

O nome do gatilho.

trigger
Trigger

O gatilho.

resourceGroupName
String

O nome do grupo de recursos.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a