RegistryManager.importDevices 方法

定义

重载

importDevices(JobProperties importDevicesParameters)

Create a bulk import job.

importDevices(String importBlobContainerUri, String outputBlobContainerUri)

Create a bulk import job.

importDevices(JobProperties importDevicesParameters)

Create a bulk import job.

public JobProperties importDevices(JobProperties importDevicesParameters)

参数

importDevicesParameters
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

返回

A JobProperties object for the newly created bulk import job

例外

IllegalArgumentException

This exception is thrown if the importBlobContainerUri or outputBlobContainerUri parameters are null

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

importDevices(String importBlobContainerUri, String outputBlobContainerUri)

Create a bulk import job.

public JobProperties importDevices(String importBlobContainerUri, String outputBlobContainerUri)

参数

importBlobContainerUri
String

URI containing SAS token to a blob container that contains registry data to sync

outputBlobContainerUri
String

URI containing SAS token to a blob container where the result of the bulk import operation will be placed

返回

A JobProperties object for the newly created bulk import job

例外

IllegalArgumentException

This exception is thrown if the importBlobContainerUri or outputBlobContainerUri parameters are null

IOException

This exception is thrown if the IO operation failed

IotHubException

This exception is thrown if the response verification failed

适用于