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
-
CheckNameAvailabilityResult
Constructor
CheckNameAvailabilityResult(*, name_available: Optional[bool] = None, reason: Optional[Union[str, azure.mgmt.servicebus.v2015_08_01.models._service_bus_management_client_enums.UnavailableReason]] = None, **kwargs)
Parameters
- name_available
- bool
Required
Value indicating namespace is availability, true if the namespace is available; otherwise, false.
- reason
- str or UnavailableReason
Required
The reason for unavailability of a namespace. Possible values include: "None", "InvalidName", "SubscriptionIsDisabled", "NameInUse", "NameInLockdown", "TooManyNamespaceInCurrentSubscription".
Variables
- message
- str
The detailed info regarding the reason associated with the namespace.
Feedback
Submit and view feedback for