Iot Hub Resource - Import Devices
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 https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/importDevices?api-version={api-version}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscriptionId
|
path | True |
|
The subscription identifier. |
|
resourceGroupName
|
path | True |
|
The name of the resource group that contains the IoT hub. |
|
resourceName
|
path | True |
|
The name of the IoT hub. |
|
api-version
|
query | True |
|
The version of the API. |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| InputBlobContainerUri | True |
|
The input blob container URI. |
| OutputBlobContainerUri | True |
|
The output blob container URI. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
DefaultErrorResponse |
Definitions
| ErrorDetails | |
| JobResponse |
| Name | Type | Description |
|---|---|---|
| Code |
|
The error code. |
| Details |
|
The error details. |
| HttpStatusCode |
|
The HTTP status code. |
| Message |
|
The error message. |
| Name | Type | Description |
|---|---|---|
| endTimeUtc |
|
The time the job stopped processing. |
| failureReason |
|
If status == failed, this string containing the reason for the failure. |
| jobId |
|
The job identifier. |
| parentJobId |
|
The job identifier of the parent job, if any. |
| startTimeUtc |
|
The start time of the job. |
| status |
|
The status of the job. |
| statusMessage |
|
The status message for the job. |
| type |
|
The type of the job. |