latestSwagger 2.02026-07-1338107176.6 KB

7807b4f14d4d

POST

Check if an IoT hub name is available

Check if an IoT hub name is available.

post/subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkNameAvailability

Parameters

../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref

Request body

namestring required

The name of the IoT hub to check.

Response

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.