RestrictionReasonCode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. labservices. models. RestrictionReasonCode
- com.
- com.
public final class RestrictionReasonCode
extends ExpandableStringEnum<RestrictionReasonCode>
The reason for the restriction.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Restriction |
NOT_AVAILABLE_FOR_SUBSCRIPTION
Static value Not |
|
static final
Restriction |
QUOTA_ID
Static value Quota |
Constructor Summary
| Constructor | Description |
|---|---|
| RestrictionReasonCode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Restriction |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Restriction |
fromString(String name)
Creates or finds a Restriction |
|
static
Collection<Restriction |
values()
Gets known Restriction |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NOT_AVAILABLE_FOR_SUBSCRIPTION
public static final RestrictionReasonCode NOT_AVAILABLE_FOR_SUBSCRIPTION
Static value NotAvailableForSubscription for RestrictionReasonCode.
QUOTA_ID
public static final RestrictionReasonCode QUOTA_ID
Static value QuotaId for RestrictionReasonCode.
Constructor Details
RestrictionReasonCode
@Deprecated
public RestrictionReasonCode()
Deprecated
Creates a new instance of RestrictionReasonCode value.
Method Details
fromString
public static RestrictionReasonCode fromString(String name)
Creates or finds a RestrictionReasonCode from its string representation.
Parameters:
Returns:
values
public static Collection<RestrictionReasonCode> values()
Gets known RestrictionReasonCode values.
Returns: