CheckNameAvailabilityResult Class
Description of the 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.relay.models._relay_api_enums.UnavailableReason]] = None, **kwargs)
Parameters
- name_available
- bool
Required
Value indicating namespace is available. Returns 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