Class SkuRestriction

java.lang.Object
com.azure.resourcemanager.databoxedge.models.SkuRestriction

public final class SkuRestriction extends Object
The restrictions because of which SKU cannot be used.
  • Constructor Details

    • SkuRestriction

      public SkuRestriction()
      Creates an instance of SkuRestriction class.
  • Method Details

    • type

      public String type()
      Get the type property: The type of the restriction.
      Returns:
      the type value.
    • values

      public List<String> values()
      Get the values property: The locations where sku is restricted.
      Returns:
      the values value.
    • reasonCode

      public SkuRestrictionReasonCode reasonCode()
      Get the reasonCode property: The SKU restriction reason.
      Returns:
      the reasonCode value.
    • restrictionInfo

      public SkuRestrictionInfo 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.