CheckNameAvailabilityResult Interface
public interface CheckNameAvailabilityResult extends HasInner
The result of checking for Search service name availability.
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | isAvailable() |
String | unavailabilityMessage() |
Unavailable |
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:
an error message explaining the Reason value in more detail
unavailabilityReason
public UnavailableNameReason unavailabilityReason()
Returns:
the reason why the user-provided name for the search service could not be used, if any. The Reason element is only returned if NameAvailable is false.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java