Class GlobalCsmSkuDescription

java.lang.Object
com.azure.resourcemanager.appservice.models.GlobalCsmSkuDescription
All Implemented Interfaces:
com.azure.json.JsonSerializable<GlobalCsmSkuDescription>

public final class GlobalCsmSkuDescription extends Object implements com.azure.json.JsonSerializable<GlobalCsmSkuDescription>
A Global SKU Description.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.
    Get the capacity property: Min, max, and default scale values of the SKU.
    Get the family property: Family code of the resource SKU.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of GlobalCsmSkuDescription from the JsonReader.
    Get the locations property: Locations of the SKU.
    Get the name property: Name of the resource SKU.
    Get the size property: Size specifier of the resource SKU.
    Get the tier property: Service Tier of the resource SKU.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • name

      public String name()
      Get the name property: Name of the resource SKU.
      Returns:
      the name value.
    • tier

      public String tier()
      Get the tier property: Service Tier of the resource SKU.
      Returns:
      the tier value.
    • size

      public String size()
      Get the size property: Size specifier of the resource SKU.
      Returns:
      the size value.
    • family

      public String family()
      Get the family property: Family code of the resource SKU.
      Returns:
      the family value.
    • capacity

      public SkuCapacity capacity()
      Get the capacity property: Min, max, and default scale values of the SKU.
      Returns:
      the capacity value.
    • locations

      public List<String> locations()
      Get the locations property: Locations of the SKU.
      Returns:
      the locations value.
    • capabilities

      public List<CapabilityInner> capabilities()
      Get the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.
      Returns:
      the capabilities value.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<GlobalCsmSkuDescription>
      Throws:
      IOException
    • fromJson

      public static GlobalCsmSkuDescription fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of GlobalCsmSkuDescription from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of GlobalCsmSkuDescription 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 GlobalCsmSkuDescription.