CheckNameAvailabilityResult Class
The CheckNameAvailability operation response.
- Inheritance
-
azure.mgmt.storage._serialization.ModelCheckNameAvailabilityResult
Constructor
CheckNameAvailabilityResult(*, name_available: bool | None = None, reason: str | _models.Reason | None = None, message: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name_available
|
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 is invalid and cannot be used. |
reason
|
The reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Known values are: "AccountNameInvalid" and "AlreadyExists". |
message
|
The error message explaining the Reason value in more detail. |
Variables
Name | Description |
---|---|
name_available
|
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 is invalid and cannot be used. |
reason
|
The reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Known values are: "AccountNameInvalid" and "AlreadyExists". |
message
|
The error message explaining the Reason value in more detail. |
Azure SDK for Python