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 Summary
Modifier and TypeMethodDescriptionwithIopsReadOnly(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
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
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
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
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
-