Class CheckNameAvailabilityReason

java.lang.Object
com.azure.core.util.ExpandableStringEnum<CheckNameAvailabilityReason>
com.azure.resourcemanager.costmanagement.models.CheckNameAvailabilityReason

public final class CheckNameAvailabilityReason extends com.azure.core.util.ExpandableStringEnum<CheckNameAvailabilityReason>
The reason why the given name is not available.
  • Field Details

  • Constructor Details

    • CheckNameAvailabilityReason

      @Deprecated public CheckNameAvailabilityReason()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of CheckNameAvailabilityReason value.
  • Method Details

    • fromString

      public static CheckNameAvailabilityReason fromString(String name)
      Creates or finds a CheckNameAvailabilityReason from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding CheckNameAvailabilityReason.
    • values

      public static Collection<CheckNameAvailabilityReason> values()
      Gets known CheckNameAvailabilityReason values.
      Returns:
      known CheckNameAvailabilityReason values.