Check the give Namespace name availability.

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

Request

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

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 operation across all 4 revisions of this API.