CheckNameAvailabilityResult Class

The Result of the CheckNameAvailability operation.

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

Inheritance
CheckNameAvailabilityResult

Constructor

CheckNameAvailabilityResult(*, name_available: Optional[bool] = None, reason: Optional[Union[str, azure.mgmt.eventhub.v2015_08_01.models._event_hub_management_client_enums.UnavailableReason]] = None, **kwargs)

Variables

name_available
bool

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

reason
str or UnavailableReason

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

message
str

The detailed info regarding the reason associated with the Namespace.