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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java