CheckNameAvailabilityOutput Class

Output of check name availability API.

Constructor

CheckNameAvailabilityOutput(*args: Any, **kwargs: Any)

Variables

Name Description
is_name_available

A value indicating whether the name is available.

reason

The reason why the name is not available. 'Invalid' indicates the name provided does not match the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists' indicates that the name is already in use and is therefore unavailable. Known values are: "Invalid" and "AlreadyExists".

message
str

A message that explains why the name is invalid and provides resource naming requirements. Available only if 'Invalid' is returned in the 'reason' property.

Attributes

is_name_available

A value indicating whether the name is available.

is_name_available: bool | None

message

A message that explains why the name is invalid and provides resource naming requirements. Available only if 'Invalid' is returned in the 'reason' property.

message: str | None

reason

The reason why the name is not available. 'Invalid' indicates the name provided does not match the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists' indicates that the name is already in use and is therefore unavailable. Known values are: "Invalid" and "AlreadyExists".

reason: str | _models.UnavailableNameReason | None