Interface Disk.UpdateStages.WithIopsThroughput

All Known Subinterfaces:
Disk.Update
Enclosing interface:
Disk.UpdateStages

public static interface Disk.UpdateStages.WithIopsThroughput
The stage of disk update allowing to configure IOPS and throughput settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    withIopsReadOnly(long diskIopsReadOnly)
    Sets the total number of IOPS allowed across all VMs mounting this shared disk as read-only.
    withIopsReadWrite(long diskIopsReadWrite)
    Sets the number of IOPS allowed for this disk.
    withMBpsReadOnly(long diskMBpsReadOnly)
    Sets the total throughput (MBps) allowed across all VMs mounting this shared disk as read-only.
    withMBpsReadWrite(long diskMBpsReadWrite)
    Sets the throughput (MBps) allowed for this disk.
  • Method Details

    • withIopsReadWrite

      Disk.Update withIopsReadWrite(long diskIopsReadWrite)
      Sets the number of IOPS allowed for this disk. It is only settable for UltraSSD disks or Premium SSD v2 disks.
      Parameters:
      diskIopsReadWrite - The number of IOPS allowed for this disk. One operation can transfer between 4k and 256k bytes.
      Returns:
      the next stage of the definition
    • withMBpsReadWrite

      Disk.Update withMBpsReadWrite(long diskMBpsReadWrite)
      Sets the throughput (MBps) allowed for this disk. It is only settable for UltraSSD disks or Premium SSD v2 disks.
      Parameters:
      diskMBpsReadWrite - The bandwidth allowed for this disk.
      Returns:
      the next stage of the definition
    • withIopsReadOnly

      Disk.Update withIopsReadOnly(long diskIopsReadOnly)
      Sets the total number of IOPS allowed across all VMs mounting this shared disk as read-only. It is only settable for UltraSSD disks or Premium SSD v2 disks.
      Parameters:
      diskIopsReadOnly - The total number of IOPS allowed across all VMs mounting this shared disk as read-only. One operation can transfer between 4k and 256k bytes.
      Returns:
      the next stage of the definition
    • withMBpsReadOnly

      Disk.Update withMBpsReadOnly(long diskMBpsReadOnly)
      Sets the total throughput (MBps) allowed across all VMs mounting this shared disk as read-only. It is only settable for UltraSSD disks or Premium SSD v2 disks.
      Parameters:
      diskMBpsReadOnly - The total throughput (MBps) allowed across all VMs mounting this shared disk as read-only.
      Returns:
      the next stage of the definition