Compartilhar via


TriggersOperationsExtensions.GetAsync Método

Definição

Obtenha um gatilho específico por nome.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.Trigger> GetAsync (this Microsoft.Azure.Management.EdgeGateway.ITriggersOperations operations, string deviceName, string name, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.EdgeGateway.ITriggersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.Trigger>
<Extension()>
Public Function GetAsync (operations As ITriggersOperations, deviceName As String, name As String, 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

O nome do dispositivo.

name
String

O nome do gatilho.

resourceGroupName
String

O nome do grupo de recursos.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a