Interface CheckNameAvailabilityResult

All Superinterfaces:
HasInnerModel<RegistryNameStatusInner>

public interface CheckNameAvailabilityResult extends HasInnerModel<RegistryNameStatusInner>
The result of checking for container registry name availability.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether the specified name is valid and available for use.
    Gets the error message that provides more detail for the reason why the name is not available.
    Gets the reason why the user-provided name for the container registry could not be used.

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

    innerModel
  • Method Details

    • isAvailable

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

      String unavailabilityReason()
      Gets the reason why the user-provided name for the container registry could not be used.
      Returns:
      the reason why the user-provided name for the container registry could not be used
    • unavailabilityMessage

      String unavailabilityMessage()
      Gets the error message that provides more detail for the reason why the name is not available.
      Returns:
      the error message that provides more detail for the reason why the name is not available