Sdílet prostřednictvím


CheckAvailabilityResponse interface

Information regarding availability of a resource.

Properties

isAvailable

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

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.

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

isAvailable

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

isAvailable?: boolean

Property Value

boolean

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

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