RegistryManager.importDevicesAsync 方法

定义

重载

importDevicesAsync(JobProperties importParameters)

Async wrapper for importDevices() operation

importDevicesAsync(String importBlobContainerUri, String outputBlobContainerUri)

Async wrapper for importDevices() operation

importDevicesAsync(JobProperties importParameters)

Async wrapper for importDevices() operation

public CompletableFuture<JobProperties> importDevicesAsync(JobProperties importParameters)

参数

importParameters
JobProperties

A JobProperties object containing input parameters for import Devices job This API also supports identity based storage authentication, identity authentication support is currently available in limited regions. If a user wishes to try it out, they will need to set an Environment Variable of "EnabledStorageIdentity" and set it to "1" otherwise default key based authentication is used for storage More details here

返回

CompletableFuture<JobProperties>

The future object for the requested operation

例外

IllegalArgumentException

This exception is thrown if the exportBlobContainerUri or excludeKeys parameters are null

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

importDevicesAsync(String importBlobContainerUri, String outputBlobContainerUri)

Async wrapper for importDevices() operation

public CompletableFuture<JobProperties> importDevicesAsync(String importBlobContainerUri, String outputBlobContainerUri)

参数

importBlobContainerUri
String

Uri for importBlobContainer

outputBlobContainerUri
String

Uri for outputBlobContainer

返回

CompletableFuture<JobProperties>

The future object for the requested operation

例外

IllegalArgumentException

This exception is thrown if the exportBlobContainerUri or excludeKeys parameters are null

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

适用于