ResourceSkuRestrictions Class

Definition

Restrictions where the SKU cannot be used.

public class ResourceSkuRestrictions
Inheritance
java.lang.Object
ResourceSkuRestrictions

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

ResourceSkuRestrictions()

Methods

reasonCode()

Get gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'.

restrictionInfo()

Get gets the information about the restriction where the SKU cannot be used.

type()

Get gets the type of restrictions. Possible values include: 'Location', 'Zone'.

values()

Get gets the value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.

withReasonCode(ResourceSkuRestrictionsReasonCode reasonCode)

Set gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'.

withRestrictionInfo(ResourceSkuRestrictionInfo restrictionInfo)

Set gets the information about the restriction where the SKU cannot be used.

withType(ResourceSkuRestrictionsType type)

Set gets the type of restrictions. Possible values include: 'Location', 'Zone'.

withValues(List<String> values)

Set gets the value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.

Applies to