Check if a provisioning service name is available.

Check if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable

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

Parameters

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

Request body

namestring required

The name of the Provisioning Service to check.

Response

The request has succeeded.

nameAvailableboolean

specifies if a name is available or not

reason'Invalid' | 'AlreadyExists'

specifies the reason a name is unavailable

messagestring

message containing a detailed reason name is unavailable

Changes

Changed in 4 of the 12 revisions of this API.25

  • 2017-08-21-preview8bf0dd5394f521See the full diff
    • deleted the path request parameter subscriptionId

      request-parameter-removed

    • deleted the query request parameter api-version

      request-parameter-removed

    • api tag IotDpsResource removed

      api-tag-removed

  • 2017-08-21-preview05664c3823a32See the full diff
    • api tag IotDpsResource added

      api-tag-added

    • api tag POST removed

      api-tag-removed

  • 2017-08-21-previewc3313282ab031See the full diff
    • api operation id IotDpsResource_CheckProvisioningServiceNameAvailability removed and replaced with IotDpsResource_CheckNameAvailability

      api-operation-id-removed

  • 2017-08-21-preview16850e9ddcc31See the full diff
    • api operation id IotDpsResource_CheckNameAvailability removed and replaced with IotDpsResource_CheckProvisioningServiceNameAvailability

      api-operation-id-removed