v6

latestSwagger 2.02026-07-135076139.2 KB
Device and deployment management

Start the device diagnostics log collection on specified devices.

put/deviceUpdate/{instanceId}/management/deviceDiagnostics/logCollections/{operationId}

Path parameters

instanceIdstring required

The Device Update for IoT Hub account instance identifier.

operationIdstring required

Log collection identifier.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

operationIdstring

The log collection id.

descriptionstring

Description of the diagnostics operation.

createdDateTimestring

The timestamp when the operation was created.

lastActionDateTimestring

A timestamp for when the current state was entered.

status'NotStarted' | 'Running' | 'Succeeded' | 'Failed'

Operation status.

Response

The request has succeeded and a new resource has been created as a result.

operationIdstring

The log collection id.

descriptionstring

Description of the diagnostics operation.

createdDateTimestring

The timestamp when the operation was created.

lastActionDateTimestring

A timestamp for when the current state was entered.

status'NotStarted' | 'Running' | 'Succeeded' | 'Failed'

Operation status.