Interface CheckNameAvailabilityResult

All Superinterfaces:
HasInnerModel<CheckNameAvailabilityResultInner>

public interface CheckNameAvailabilityResult extends HasInnerModel<CheckNameAvailabilityResultInner>
The result of checking for Service Bus namespace name availability.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets a boolean value that indicates whether the name is available for you to use.
    Gets an error message explaining the Reason value in more detail.
    Gets the unavailabilityReason that a namespace name could not be used.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel
  • Method Details

    • isAvailable

      boolean isAvailable()
      Gets a boolean value that indicates whether the name is available for you to use.
      Returns:
      a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used.
    • unavailabilityReason

      UnavailableReason unavailabilityReason()
      Gets the unavailabilityReason that a namespace name could not be used.
      Returns:
      the unavailabilityReason that a namespace name could not be used. The Reason element is only returned if NameAvailable is false.
    • unavailabilityMessage

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