Interface Disk.DefinitionStages.WithIopsThroughput

All Known Subinterfaces:
Disk.Definition, Disk.DefinitionStages.WithCreate, Disk.DefinitionStages.WithCreateAndSize
Enclosing interface:
Disk.DefinitionStages

public static interface Disk.DefinitionStages.WithIopsThroughput
The stage of disk definition allowing to configure IOPS and throughput settings.
  • Method Details

    • withIopsReadWrite

      Disk.DefinitionStages.WithCreate 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.DefinitionStages.WithCreate 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.DefinitionStages.WithCreate 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.DefinitionStages.WithCreate 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