NameAvailabilityResponse Class

Response of the CheckNameAvailability operation.

Inheritance
NameAvailabilityResponse

Constructor

NameAvailabilityResponse(*, message: Optional[str] = None, name_available: Optional[bool] = None, reason: Optional[Union[str, azure.mgmt.azureadb2c.v2019_01_01_preview.models._cpim_configuration_client_enums.NameAvailabilityReasonType]] = None, **kwargs)

Parameters

message
str
Required

Description of the reason if name is not available.

name_available
bool
Required

True if the name is available and can be used to create a new tenant. Otherwise false.

reason
str or <xref:$>(<xref:python-base-namespace>)NameAvailabilityReasonType
Required

Describes the reason for the 'nameAvailable' value. Possible values include: "AlreadyExists", "Invalid".