java.lang.Object
com.azure.resourcemanager.mysqlflexibleserver.models.Storage

public final class Storage extends Object
Storage Profile properties of a server.
  • Constructor Details

    • Storage

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

    • storageSizeGB

      public Integer storageSizeGB()
      Get the storageSizeGB property: Max storage size allowed for a server.
      Returns:
      the storageSizeGB value.
    • withStorageSizeGB

      public Storage withStorageSizeGB(Integer storageSizeGB)
      Set the storageSizeGB property: Max storage size allowed for a server.
      Parameters:
      storageSizeGB - the storageSizeGB value to set.
      Returns:
      the Storage object itself.
    • iops

      public Integer iops()
      Get the iops property: Storage IOPS for a server.
      Returns:
      the iops value.
    • withIops

      public Storage withIops(Integer iops)
      Set the iops property: Storage IOPS for a server.
      Parameters:
      iops - the iops value to set.
      Returns:
      the Storage object itself.
    • autoGrow

      public EnableStatusEnum autoGrow()
      Get the autoGrow property: Enable Storage Auto Grow or not.
      Returns:
      the autoGrow value.
    • withAutoGrow

      public Storage withAutoGrow(EnableStatusEnum autoGrow)
      Set the autoGrow property: Enable Storage Auto Grow or not.
      Parameters:
      autoGrow - the autoGrow value to set.
      Returns:
      the Storage object itself.
    • storageSku

      public String storageSku()
      Get the storageSku property: The sku name of the server storage.
      Returns:
      the storageSku value.
    • autoIoScaling

      public EnableStatusEnum autoIoScaling()
      Get the autoIoScaling property: Enable IO Auto Scaling or not.
      Returns:
      the autoIoScaling value.
    • withAutoIoScaling

      public Storage withAutoIoScaling(EnableStatusEnum autoIoScaling)
      Set the autoIoScaling property: Enable IO Auto Scaling or not.
      Parameters:
      autoIoScaling - the autoIoScaling value to set.
      Returns:
      the Storage object itself.
    • validate

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