Class ResourceSkuRestrictionInfo
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.ResourceSkuRestrictionInfo
-
public final class ResourceSkuRestrictionInfo extends Object
Describes an available Compute SKU Restriction Information.
-
-
Constructor Summary
Constructors Constructor Description ResourceSkuRestrictionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>locations()Get the locations property: Locations where the SKU is restricted.voidvalidate()Validates the instance.List<String>zones()Get the zones property: List of availability zones where the SKU is restricted.
-
-
-
Method Detail
-
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.
-
-