Compartir a través de


IotHubDescriptionResource.ImportDevicesAsync Método

Definición

Importe, actualice o elimine identidades de dispositivo en el registro de identidades de IoT Hub desde un blob. Para obtener más información, consulte: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/importDevices
  • IdIotHubResource_ImportDevices de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubJobInfo>> ImportDevicesAsync (Azure.ResourceManager.IotHub.Models.IotHubImportDevicesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ImportDevicesAsync : Azure.ResourceManager.IotHub.Models.IotHubImportDevicesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubJobInfo>>
override this.ImportDevicesAsync : Azure.ResourceManager.IotHub.Models.IotHubImportDevicesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubJobInfo>>
Public Overridable Function ImportDevicesAsync (content As IotHubImportDevicesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotHubJobInfo))

Parámetros

content
IotHubImportDevicesContent

Parámetros que especifican la operación de importación de dispositivos.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a