v2

latestSwagger 2.0raw.githubusercontent.com2021-04-273265113.0 KB
POST

Import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities

Import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/importDevices

Path parameters

subscriptionIdstring required

The subscription identifier.

resourceGroupNamestring required

The name of the resource group that contains the IoT hub.

resourceNamestring required

The name of the IoT hub.

Query parameters

api-versionstring required

The version of the API.

Request body

inputBlobContainerUristring required

The input blob container URI.

outputBlobContainerUristring required

The output blob container URI.

Response

OK

jobIdstring

The job identifier.

startTimeUtcstring date-time-rfc1123

The start time of the job.

endTimeUtcstring date-time-rfc1123

The time the job stopped processing.

type'unknown' | 'export' | 'import' | 'backup' | 'readDeviceProperties' | 'writeDeviceProperties' | 'updateDeviceConfiguration' | 'rebootDevice' | 'factoryResetDevice' | 'firmwareUpdate'

The type of the job.

status'unknown' | 'enqueued' | 'running' | 'completed' | 'failed' | 'cancelled'

The status of the job.

failureReasonstring

If status == failed, this string containing the reason for the failure.

statusMessagestring

The status message for the job.

parentJobIdstring

The job identifier of the parent job, if any.