Freigeben über


IotHubDescriptionResource.ImportDevicesAsync Methode

Definition

Importieren, Aktualisieren oder Löschen von Geräteidentitäten in der IoT Hub-Identitätsregistrierung aus einem Blob. Weitere Informationen finden Sie unter https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/importDevices
  • Vorgangs-IdIotHubResource_ImportDevices
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))

Parameter

content
IotHubImportDevicesContent

Die Parameter, die den Vorgang zum Importieren von Geräten angeben.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: