NameAvailabilityResponse interface

Indicates whether a proposed resource name is available

Properties

message

The localized reason why the name is not available, if nameAvailable is false

nameAvailable

If true, the name is valid and available. If false, 'reason' describes why not.

reason

The reason why the name is not available, if nameAvailable is false. Possible values include: 'AlreadyExists', 'Invalid'

Property Details

message

The localized reason why the name is not available, if nameAvailable is false

message?: string

Property Value

string

nameAvailable

If true, the name is valid and available. If false, 'reason' describes why not.

nameAvailable?: boolean

Property Value

boolean

reason

The reason why the name is not available, if nameAvailable is false. Possible values include: 'AlreadyExists', 'Invalid'

reason?: NameCheckFailureReason

Property Value