Class SkuRestriction
java.lang.Object
com.azure.resourcemanager.databoxedge.models.SkuRestriction
The restrictions because of which SKU cannot be used.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the reasonCode property: The SKU restriction reason.Get the restrictionInfo property: Restriction of the SKU for the location/zone.type()
Get the type property: The type of the restriction.void
validate()
Validates the instance.values()
Get the values property: The locations where sku is restricted.
-
Constructor Details
-
SkuRestriction
public SkuRestriction()Creates an instance of SkuRestriction class.
-
-
Method Details
-
type
Get the type property: The type of the restriction.- Returns:
- the type value.
-
values
Get the values property: The locations where sku is restricted.- Returns:
- the values value.
-
reasonCode
Get the reasonCode property: The SKU restriction reason.- Returns:
- the reasonCode value.
-
restrictionInfo
Get the restrictionInfo property: Restriction of the SKU for the location/zone.- Returns:
- the restrictionInfo value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-