CheckNameAvailabilityResult Class

Description of a Check Name availability response properties.

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[Union[str, azure.mgmt.testbase.models._test_base_enums.Reason]] = None, **kwargs)

Parameters

name_available
bool
Required

Value indicating the availability of the name: true if the name is available; otherwise, false.

reason
str or <xref:test_base.models.Reason>
Required

The reason for unavailability of a name. Required if nameAvailable == false. Possible values include: "Invalid", "AlreadyExists".

Variables

message
str

The detailed info regarding the reason associated with the name. Required if nameAvailable == false.