RegistryManager.exportDevices 方法

定义

重载

exportDevices(JobProperties exportDevicesParameters)

Create a bulk export job.

exportDevices(String exportBlobContainerUri, Boolean excludeKeys)

Create a bulk export job.

exportDevices(JobProperties exportDevicesParameters)

Create a bulk export job.

public JobProperties exportDevices(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

返回

A JobProperties object for the newly created bulk export job

例外

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

exportDevices(String exportBlobContainerUri, Boolean excludeKeys)

Create a bulk export job.

public JobProperties exportDevices(String exportBlobContainerUri, Boolean excludeKeys)

参数

exportBlobContainerUri
String

URI containing SAS token to a blob container where export data will be placed

excludeKeys
Boolean

Whether the devices keys should be excluded from the exported data or not

返回

A JobProperties object for the newly created bulk export job

例外

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

适用于