Partilhar via


IotHubDescriptionResource.ImportDevices Método

Definição

Importar, atualizar ou excluir identidades de dispositivo no registro de identidade do hub IoT de um blob. Para saber mais, confira https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/importDevices
  • Operação 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)

Parâmetros

content
IotHubImportDevicesContent

Os parâmetros que especificam a operação de importação de dispositivos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a