Partager via


IotHubResourceOperationsExtensions.ListJobsAsync Méthode

Définition

Obtenez la liste de tous les travaux 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.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.JobResponse>> ListJobsAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member ListJobsAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.JobResponse>>
<Extension()>
Public Function ListJobsAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(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.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Obtenez la liste de tous les travaux d’un hub IoT. Pour plus d’informations, consultez : https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

S’applique à