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[str] = 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.