v2

latestSwagger 2.02026-07-1381221.1 KB
CheckDeviceServiceNameAvailability

Check if a Windows IoT Device Service name is available.

post/subscriptions/{subscriptionId}/providers/Microsoft.WindowsIoT/checkDeviceServiceNameAvailability

Path parameters

subscriptionIdstring required

The subscription identifier.

Query parameters

api-versionstring required

The version of the API.

Request body

namestring required

The name of the Windows IoT Device Service to check.

Response

OK. The request has succeeded.

nameAvailableboolean

The value which indicates whether the provided name is available.

reason'Invalid' | 'AlreadyExists'

The reason for unavailability.

messagestring

The detailed reason message.