v2

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

Test all routes

Test all routes configured in this Iot Hub

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routing/routes/$testall

Path parameters

iotHubNamestring required

IotHub to be tested

subscriptionIdstring required

The subscription identifier.

resourceGroupNamestring required

resource group which Iot Hub belongs to

Query parameters

api-versionstring required

The version of the API.

Request body

routingSource'Invalid' | 'DeviceMessages' | 'TwinChangeEvents' | 'DeviceLifecycleEvents' | 'DeviceJobLifecycleEvents' | 'DigitalTwinChangeEvents'

Routing source

Response

OK