CheckNameAvailabilityResult Interface
Implements
public interface CheckNameAvailabilityResult
extends HasInnerModel<CheckNameAvailabilityResultInner>
The result of checking for Service Bus namespace name availability.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract boolean | isAvailable() |
abstract String | unavailabilityMessage() |
abstract
Unavailable |
unavailabilityReason() |
Method Details
isAvailable
public abstract boolean isAvailable()
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.
unavailabilityMessage
public abstract String unavailabilityMessage()
Returns:
an error message explaining the Reason value in more detail
unavailabilityReason
public abstract UnavailableReason unavailabilityReason()
Returns:
the unavailabilityReason that a namespace name could not be used. The
Reason element is only returned if NameAvailable is false.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java