Compartir a través de


TriggersOperationsExtensions.BeginCreateOrUpdateAsync Método

Definición

Crea o actualiza un desencadenador.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Trigger> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.DataBoxEdge.ITriggersOperations operations, string deviceName, string name, Microsoft.Azure.Management.DataBoxEdge.Models.Trigger trigger, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.ITriggersOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.Trigger * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.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

El grupo de operaciones de este método de extensión.

deviceName
String

Crea o actualiza un desencadenador.

name
String

Nombre del desencadenador.

trigger
Trigger

Desencadenador.

resourceGroupName
String

El nombre del grupo de recursos.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a