Check the give Namespace name availability.

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

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

Name to check the namespace name availability

Response

The request has succeeded.

messagestring

The detailed info regarding the reason associated with the Namespace.

nameAvailableboolean

Value indicating Namespace is availability, true if the Namespace is available; otherwise, false.

reason'None' | 'InvalidName' | 'SubscriptionIsDisabled' | 'NameInUse' | 'NameInLockdown' | 'TooManyNamespaceInCurrentSubscription'

Specifies the reason for the unavailability of the service.

Changes

No recorded changes to this endpoint across all 4 revisions of this API.