Partager via


IotHubResourceOperationsExtensions.ImportDevicesAsync Méthode

Définition

Importer, mettre à jour ou supprimer des identités d’appareil dans le registre d’identités IoT Hub à partir d’un objet blob. Pour plus d’informations, consultez : https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.JobResponse> ImportDevicesAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.IotHub.Models.ImportDevicesRequest importDevicesParameters, System.Threading.CancellationToken cancellationToken = default);
static member ImportDevicesAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * Microsoft.Azure.Management.IotHub.Models.ImportDevicesRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.JobResponse>
<Extension()>
Public Function ImportDevicesAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, importDevicesParameters As ImportDevicesRequest, 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.

importDevicesParameters
ImportDevicesRequest

Paramètres qui spécifient l’opération d’importation d’appareils.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Importer, mettre à jour ou supprimer des identités d’appareil dans le registre d’identités IoT Hub à partir d’un objet blob. Pour plus d’informations, consultez : https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

S’applique à