CheckNameAvailabilityResult Interface
Implements
public interface CheckNameAvailabilityResult
extends HasInnerModel<RegistryNameStatusInner>
The result of checking for container registry name availability.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isAvailable()
Checks whether the specified name is valid and available for use. |
abstract String |
unavailabilityMessage()
Gets the error message that provides more detail for the reason why the name is not available. |
abstract String |
unavailabilityReason()
Gets the reason why the user-provided name for the container registry could not be used. |
Method Details
isAvailable
public abstract boolean isAvailable()
Checks whether the specified name is valid and available for use.
Returns:
unavailabilityMessage
public abstract String unavailabilityMessage()
Gets the error message that provides more detail for the reason why the name is not available.
Returns:
unavailabilityReason
public abstract String unavailabilityReason()
Gets the reason why the user-provided name for the container registry could not be used.
Returns:
Applies to
Azure SDK for Java