CheckNameAvailabilityResult Class

The Result of the CheckNameAvailability operation.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.eventhub._serialization.Model
CheckNameAvailabilityResult

Constructor

CheckNameAvailabilityResult(*, name_available: bool | None = None, reason: str | _models.UnavailableReason | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name_available

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

reason

The reason for unavailability of a Namespace. Known values are: "None", "InvalidName", "SubscriptionIsDisabled", "NameInUse", "NameInLockdown", and "TooManyNamespaceInCurrentSubscription".

Variables

Name Description
name_available

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

reason

The reason for unavailability of a Namespace. Known values are: "None", "InvalidName", "SubscriptionIsDisabled", "NameInUse", "NameInLockdown", and "TooManyNamespaceInCurrentSubscription".

message
str

The detailed info regarding the reason associated with the Namespace.