Class RestrictionReasonCode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<RestrictionReasonCode>
com.azure.resourcemanager.labservices.models.RestrictionReasonCode

public final class RestrictionReasonCode extends com.azure.core.util.ExpandableStringEnum<RestrictionReasonCode>
The reason for the restriction.
  • Field Details

    • QUOTA_ID

      public static final RestrictionReasonCode QUOTA_ID
      Static value QuotaId for RestrictionReasonCode.
    • NOT_AVAILABLE_FOR_SUBSCRIPTION

      public static final RestrictionReasonCode NOT_AVAILABLE_FOR_SUBSCRIPTION
      Static value NotAvailableForSubscription for RestrictionReasonCode.
  • Constructor Details

    • RestrictionReasonCode

      public RestrictionReasonCode()
  • Method Details

    • fromString

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

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