Package version:

Interface CheckAvailabilityResponse

Information regarding availability of a resource.

interface CheckAvailabilityResponse {
    isAvailable?: boolean;
    message?: string;
    reason?: string;
}

Properties

isAvailable?: boolean

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

message?: string

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?: string

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.