Class ResourceSkuRestrictionInfo

java.lang.Object
com.azure.resourcemanager.storagepool.models.ResourceSkuRestrictionInfo

public final class ResourceSkuRestrictionInfo extends Object
Describes an available Compute SKU Restriction Information.
  • Constructor Details

    • ResourceSkuRestrictionInfo

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

    • locations

      public List<String> locations()
      Get the locations property: Locations where the SKU is restricted.
      Returns:
      the locations value.
    • zones

      public List<String> zones()
      Get the zones property: List of availability zones where the SKU is restricted.
      Returns:
      the zones value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.