你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CheckNameAvailabilityResult Class

The CheckNameAvailability operation response.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.storage._serialization.Model
CheckNameAvailabilityResult

Constructor

CheckNameAvailabilityResult(**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 is invalid and cannot be used.

reason
str or Reason

Gets 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
str

Gets an error message explaining the Reason value in more detail.