Interface CheckNameAvailabilityResult

All Superinterfaces:
HasInner<com.microsoft.azure.management.search.implementation.CheckNameAvailabilityOutputInner>

@Beta(V1_2_0) public interface CheckNameAvailabilityResult extends HasInner<com.microsoft.azure.management.search.implementation.CheckNameAvailabilityOutputInner>
The result of checking for Search service name availability.
  • Method Details

    • isAvailable

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

      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.
    • unavailabilityMessage

      String unavailabilityMessage()
      Returns:
      an error message explaining the Reason value in more detail