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 Summary
FieldsModifier and TypeFieldDescriptionstatic final RestrictionReasonCode
Static value NotAvailableForSubscription for RestrictionReasonCode.static final RestrictionReasonCode
Static value QuotaId for RestrictionReasonCode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RestrictionReasonCode
fromString
(String name) Creates or finds a RestrictionReasonCode from its string representation.static Collection<RestrictionReasonCode>
values()
Gets known RestrictionReasonCode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
QUOTA_ID
Static value QuotaId for RestrictionReasonCode. -
NOT_AVAILABLE_FOR_SUBSCRIPTION
Static value NotAvailableForSubscription for RestrictionReasonCode.
-
-
Constructor Details
-
RestrictionReasonCode
public RestrictionReasonCode()
-
-
Method Details
-
fromString
Creates or finds a RestrictionReasonCode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding RestrictionReasonCode.
-
values
Gets known RestrictionReasonCode values.- Returns:
- known RestrictionReasonCode values.
-