CheckDeviceServiceNameAvailability

Check if a Windows IoT Device Service name is available.

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

Request

  • Base URL
    https://management.azure.com
  • URL
    https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.WindowsIoT/checkDeviceServiceNameAvailability
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: user_impersonation

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.

Changes

No recorded changes to this operation across all 2 revisions of this API.