Freigeben über


IotHubDescriptionResource.ImportDevices 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
  • Vorgang IdIotHubResource_ImportDevices
public virtual Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubJobInfo> ImportDevices (Azure.ResourceManager.IotHub.Models.IotHubImportDevicesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ImportDevices : Azure.ResourceManager.IotHub.Models.IotHubImportDevicesContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubJobInfo>
override this.ImportDevices : Azure.ResourceManager.IotHub.Models.IotHubImportDevicesContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubJobInfo>
Public Overridable Function ImportDevices (content As IotHubImportDevicesContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IotHubJobInfo)

Parameter

content
IotHubImportDevicesContent

Die Parameter, die den Importgerätevorgang angeben.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: