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