你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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()
Gets a boolean value that indicates whether the name is available for you to use. |
abstract String |
unavailabilityMessage()
Gets an error message explaining the Reason value in more detail. |
abstract
Unavailable |
unavailabilityReason()
Gets the unavailability |
Method Details
isAvailable
public abstract boolean isAvailable()
Gets a boolean value that indicates whether the name is available for you to use.
Returns:
unavailabilityMessage
public abstract String unavailabilityMessage()
Gets an error message explaining the Reason value in more detail.
Returns:
unavailabilityReason
public abstract UnavailableReason unavailabilityReason()
Gets the unavailabilityReason that a namespace name could not be used.
Returns: