CheckNameAvailabilityResult Class
The CheckNameAvailability operation response.
Constructor
CheckNameAvailabilityResult(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
name_available
|
Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used. |
|
reason
|
Gets the reason that a Batch account name could not be used. The Reason element is only returned if NameAvailable is false. Known values are: "Invalid" and "AlreadyExists". |
|
message
|
Gets an error message explaining the Reason value in more detail. |
Attributes
message
Gets an error message explaining the Reason value in more detail.
message: str | None
name_available
Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used.
name_available: bool | None
reason
Gets the reason that a Batch account name could not be used. The Reason element is only returned if NameAvailable is false. Known values are: "Invalid" and "AlreadyExists".
reason: str | _models.NameAvailabilityReason | None