CheckNameAvailabilityOutput interface
Output of check name availability API.
Properties
| is |
A value indicating whether the name is available. |
| 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. |
| 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. |
Property Details
isNameAvailable
A value indicating whether the name is available.
isNameAvailable?: boolean
Property Value
boolean
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?: string
Property Value
string
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.
reason?: string
Property Value
string