CheckNameAvailabilityResult Interface
public interface CheckNameAvailabilityResult extends HasInner
The result of checking for the SQL server name availability.
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | isAvailable() |
String | unavailabilityMessage() |
String | unavailabilityReason() |
Inherited Members
Method Details
isAvailable
public boolean isAvailable()
Returns:
true if the specified name is valid and available for use, otherwise false
unavailabilityMessage
public String unavailabilityMessage()
Returns:
the error message that provides more detail for the reason why the name is not available
unavailabilityReason
public String unavailabilityReason()
Returns:
the reason why the user-provided name for the SQL server could not be used
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java