Interface CheckNameAvailabilityResult


public interface CheckNameAvailabilityResult
An immutable client-side representation of CheckNameAvailabilityResult.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the inner com.azure.resourcemanager.batch.fluent.models.CheckNameAvailabilityResultInner object.
    Gets the message property: Gets an error message explaining the Reason value in more detail.
    Gets the nameAvailable property: Gets a boolean value that indicates whether the name is available for you to use.
    Gets the reason property: Gets the reason that a Batch account name could not be used.
  • Method Details

    • nameAvailable

      Boolean nameAvailable()
      Gets the nameAvailable property: Gets 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.
      Returns:
      the nameAvailable value.
    • reason

      Gets the reason property: Gets the reason that a Batch account name could not be used. The Reason element is only returned if NameAvailable is false.
      Returns:
      the reason value.
    • message

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

      Gets the inner com.azure.resourcemanager.batch.fluent.models.CheckNameAvailabilityResultInner object.
      Returns:
      the inner object.