CheckNameAvailabilityResult Class

Description of a Check Name availability request properties.

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

Inheritance
azure.mgmt.servicebus._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
message
str

The detailed info regarding the reason associated with the namespace.

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".