ResourceNameAvailability interface

Information regarding availability of a resource name.

Properties

message

If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.

nameAvailable

true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.

reason

Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.

Property Details

message

If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.

message?: string

Property Value

string

nameAvailable

true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.

nameAvailable?: boolean

Property Value

boolean

reason

Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.

reason?: string

Property Value

string