Share via


CheckNameAvailabilityResult interface

The Result of the CheckNameAvailability operation

Properties

message

The detailed info regarding the reason associated with the Namespace.

nameAvailable

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

reason

The reason for unavailability of a Namespace. Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription'

Property Details

message

The detailed info regarding the reason associated with the Namespace.

message?: string

Property Value

string

nameAvailable

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

nameAvailable?: boolean

Property Value

boolean

reason

The reason for unavailability of a Namespace. Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription'

reason?: string

Property Value

string