Condividi tramite


RegistryManager.ImportDevicesAsync Method

Definition

Overloads

ImportDevicesAsync(String, String, String, CancellationToken)

Creates a new bulk job to import device registrations into the IoT hub.

ImportDevicesAsync(String, String, CancellationToken)

Creates a new bulk job to import device registrations into the IoT hub.

ImportDevicesAsync(String, String, String)

Creates a new bulk job to import device registrations into the IoT hub.

ImportDevicesAsync(String, String)

Creates a new bulk job to import device registrations into the IoT hub.

ImportDevicesAsync(JobProperties, CancellationToken)

Creates a new bulk job to import device registrations into the IoT hub.

ImportDevicesAsync(String, String, String, CancellationToken)

Creates a new bulk job to import device registrations into the IoT hub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties> ImportDevicesAsync (string importBlobContainerUri, string outputBlobContainerUri, string inputBlobName, System.Threading.CancellationToken cancellationToken);
abstract member ImportDevicesAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
override this.ImportDevicesAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
Public Overridable Function ImportDevicesAsync (importBlobContainerUri As String, outputBlobContainerUri As String, inputBlobName As String, cancellationToken As CancellationToken) As Task(Of JobProperties)

Parameters

importBlobContainerUri
String

Source blob container URI.

outputBlobContainerUri
String

Destination blob container URI.

inputBlobName
String

The blob name to be used when importing from the provided input blob container.

cancellationToken
CancellationToken

Task cancellation token.

Returns

JobProperties of the newly created job.

Applies to

ImportDevicesAsync(String, String, CancellationToken)

Creates a new bulk job to import device registrations into the IoT hub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties> ImportDevicesAsync (string importBlobContainerUri, string outputBlobContainerUri, System.Threading.CancellationToken cancellationToken);
abstract member ImportDevicesAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
override this.ImportDevicesAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
Public Overridable Function ImportDevicesAsync (importBlobContainerUri As String, outputBlobContainerUri As String, cancellationToken As CancellationToken) As Task(Of JobProperties)

Parameters

importBlobContainerUri
String

Source blob container URI.

outputBlobContainerUri
String

Destination blob container URI.

cancellationToken
CancellationToken

Task cancellation token.

Returns

JobProperties of the newly created job.

Applies to

ImportDevicesAsync(String, String, String)

Creates a new bulk job to import device registrations into the IoT hub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties> ImportDevicesAsync (string importBlobContainerUri, string outputBlobContainerUri, string inputBlobName);
abstract member ImportDevicesAsync : string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
override this.ImportDevicesAsync : string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
Public Overridable Function ImportDevicesAsync (importBlobContainerUri As String, outputBlobContainerUri As String, inputBlobName As String) As Task(Of JobProperties)

Parameters

importBlobContainerUri
String

Source blob container URI.

outputBlobContainerUri
String

Destination blob container URI.

inputBlobName
String

The blob name to be used when importing from the provided input blob container.

Returns

JobProperties of the newly created job.

Applies to

ImportDevicesAsync(String, String)

Creates a new bulk job to import device registrations into the IoT hub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties> ImportDevicesAsync (string importBlobContainerUri, string outputBlobContainerUri);
abstract member ImportDevicesAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
override this.ImportDevicesAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
Public Overridable Function ImportDevicesAsync (importBlobContainerUri As String, outputBlobContainerUri As String) As Task(Of JobProperties)

Parameters

importBlobContainerUri
String

Source blob container URI.

outputBlobContainerUri
String

Destination blob container URI.

Returns

JobProperties of the newly created job.

Applies to

ImportDevicesAsync(JobProperties, CancellationToken)

Creates a new bulk job to import device registrations into the IoT hub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties> ImportDevicesAsync (Microsoft.Azure.Devices.JobProperties jobParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member ImportDevicesAsync : Microsoft.Azure.Devices.JobProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
override this.ImportDevicesAsync : Microsoft.Azure.Devices.JobProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
Public Overridable Function ImportDevicesAsync (jobParameters As JobProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobProperties)

Parameters

jobParameters
JobProperties

Parameters for the job.

cancellationToken
CancellationToken

Task cancellation token.

Returns

JobProperties of the newly created job.

Remarks

Conditionally includes configurations, if specified.

Applies to