ResourceSkuRestrictionInfo Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ResourceSkuRestrictionInfo
- com.
Implements
public final class ResourceSkuRestrictionInfo
implements JsonSerializable<ResourceSkuRestrictionInfo>
Describes an available Compute SKU Restriction Information.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| List<String> |
locations()
Get the locations property: Locations where the SKU is restricted. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| List<String> |
zones()
Get the zones property: List of availability zones where the SKU is restricted. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ResourceSkuRestrictionInfo fromJson(JsonReader jsonReader)
Reads an instance of ResourceSkuRestrictionInfo from the JsonReader.
Parameters:
Returns:
Throws:
locations
public List<String> locations()
Get the locations property: Locations where the SKU is restricted.
Returns:
toJson
validate
public void validate()
Validates the instance.
zones
public List<String> zones()
Get the zones property: List of availability zones where the SKU is restricted.
Returns: