Class ApiManagementSkuInner

java.lang.Object
com.azure.resourcemanager.apimanagement.fluent.models.ApiManagementSkuInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiManagementSkuInner>

public final class ApiManagementSkuInner extends Object implements com.azure.json.JsonSerializable<ApiManagementSkuInner>
Describes an available ApiManagement SKU.
  • Constructor Details

    • ApiManagementSkuInner

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

    • resourceType

      public String resourceType()
      Get the resourceType property: The type of resource the SKU applies to.
      Returns:
      the resourceType value.
    • name

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

      public String tier()
      Get the tier property: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**.
      Returns:
      the tier value.
    • size

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

      public String family()
      Get the family property: The Family of this particular SKU.
      Returns:
      the family value.
    • kind

      public String kind()
      Get the kind property: The Kind of resources that are supported in this SKU.
      Returns:
      the kind value.
    • capacity

      public ApiManagementSkuCapacity capacity()
      Get the capacity property: Specifies the number of virtual machines in the scale set.
      Returns:
      the capacity value.
    • locations

      public List<String> locations()
      Get the locations property: The set of locations that the SKU is available.
      Returns:
      the locations value.
    • locationInfo

      public List<ApiManagementSkuLocationInfo> locationInfo()
      Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is available.
      Returns:
      the locationInfo value.
    • apiVersions

      public List<String> apiVersions()
      Get the apiVersions property: The api versions that support this SKU.
      Returns:
      the apiVersions value.
    • costs

      public List<ApiManagementSkuCosts> costs()
      Get the costs property: Metadata for retrieving price info.
      Returns:
      the costs value.
    • capabilities

      public List<ApiManagementSkuCapabilities> capabilities()
      Get the capabilities property: A name value pair to describe the capability.
      Returns:
      the capabilities value.
    • restrictions

      public List<ApiManagementSkuRestrictions> restrictions()
      Get the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
      Returns:
      the restrictions 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<ApiManagementSkuInner>
      Throws:
      IOException
    • fromJson

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