Interface CheckNameAvailabilityResult

All Superinterfaces:
HasInner<com.microsoft.azure.management.sql.implementation.CheckNameAvailabilityResponseInner>

@Beta(V1_8_0) public interface CheckNameAvailabilityResult extends HasInner<com.microsoft.azure.management.sql.implementation.CheckNameAvailabilityResponseInner>
The result of checking for the SQL server name availability.
  • Method Details

    • isAvailable

      boolean isAvailable()
      Returns:
      true if the specified name is valid and available for use, otherwise false
    • unavailabilityReason

      String unavailabilityReason()
      Returns:
      the reason why the user-provided name for the SQL server could not be used
    • unavailabilityMessage

      String unavailabilityMessage()
      Returns:
      the error message that provides more detail for the reason why the name is not available