CheckNameAvailabilityResult Interface

Implements

public interface CheckNameAvailabilityResult
extends HasInnerModel<CheckNameAvailabilityResponseInner>

The result of checking for the SQL server name availability.

Method Summary

Modifier and Type Method and Description
abstract boolean isAvailable()
abstract String unavailabilityMessage()
abstract String unavailabilityReason()

Method Details

isAvailable

public abstract boolean isAvailable()

Returns:

true if the specified name is valid and available for use, otherwise false

unavailabilityMessage

public abstract String unavailabilityMessage()

Returns:

the error message that provides more detail for the reason why the name is not available

unavailabilityReason

public abstract String unavailabilityReason()

Returns:

the reason why the user-provided name for the SQL server could not be used

Applies to