Partager via


IotHubResourceOperationsExtensions.GetJobAsync Méthode

Définition

Obtenez les détails d’un travail à partir d’un hub IoT. Pour plus d’informations, consultez : https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.JobResponse> GetJobAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string jobId, System.Threading.CancellationToken cancellationToken = default);
static member GetJobAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.JobResponse>
<Extension()>
Public Function GetJobAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, jobId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobResponse)

Paramètres

operations
IIotHubResourceOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources qui contient le hub IoT.

resourceName
String

Nom du hub IoT.

jobId
String

Identificateur du travail.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Obtenez les détails d’un travail à partir d’un hub IoT. Pour plus d’informations, consultez : https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

S’applique à