RegistryManager.exportDevicesAsync 方法

定义

重载

exportDevicesAsync(JobProperties exportDevicesParameters)

Async wrapper for exportDevices() operation

exportDevicesAsync(String exportBlobContainerUri, Boolean excludeKeys)

Async wrapper for exportDevices() operation

exportDevicesAsync(JobProperties exportDevicesParameters)

Async wrapper for exportDevices() operation

public CompletableFuture<JobProperties> exportDevicesAsync(JobProperties exportDevicesParameters)

参数

exportDevicesParameters
JobProperties

A JobProperties object containing input parameters for export 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

exportDevicesAsync(String exportBlobContainerUri, Boolean excludeKeys)

Async wrapper for exportDevices() operation

public CompletableFuture<JobProperties> exportDevicesAsync(String exportBlobContainerUri, Boolean excludeKeys)

参数

exportBlobContainerUri
String

the blob storage container URI to store at.

excludeKeys
Boolean

if to exclude keys or not

返回

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

适用于