ResourceSkuRestrictionsReasonCode Class

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 ResourceSkuRestrictionsReasonCode NOT_AVAILABLE_FOR_SUBSCRIPTION

Static value NotAvailableForSubscription for ResourceSkuRestrictionsReasonCode.

static final ResourceSkuRestrictionsReasonCode QUOTA_ID

Static value QuotaId for ResourceSkuRestrictionsReasonCode.

Constructor Summary

Constructor Description
ResourceSkuRestrictionsReasonCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceSkuRestrictionsReasonCode value.

Method Summary

Modifier and Type Method and Description
static ResourceSkuRestrictionsReasonCode fromString(String name)

Creates or finds a ResourceSkuRestrictionsReasonCode from its string representation.

static Collection<ResourceSkuRestrictionsReasonCode> values()

Gets known ResourceSkuRestrictionsReasonCode values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ResourceSkuRestrictionsReasonCode.

values

public static Collection values()

Gets known ResourceSkuRestrictionsReasonCode values.

Returns:

known ResourceSkuRestrictionsReasonCode values.

Applies to