Partilhar via


IotHubDescriptionResource.ImportDevicesAsync 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 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

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