Class SkuInfosInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.SkuInfosInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SkuInfosInner>
public final class SkuInfosInner
extends Object
implements com.azure.json.JsonSerializable<SkuInfosInner>
Collection of SKU information.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SkuInfosInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SkuInfosInner from the JsonReader.Get the resourceType property: Resource type that this SKU applies to.skus()Get the skus property: List of SKUs the subscription is able to use.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
resourceType
Get the resourceType property: Resource type that this SKU applies to.- Returns:
- the resourceType value.
-
skus
Get the skus property: List of SKUs the subscription is able to use.- Returns:
- the skus value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SkuInfosInner>- Throws:
IOException
-
fromJson
Reads an instance of SkuInfosInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SkuInfosInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SkuInfosInner.
-