Udostępnij przez


Disk.UpdateStages.WithIopsThroughput Interface

public static interface Disk.UpdateStages.WithIopsThroughput

The stage of disk update allowing to configure IOPS and throughput settings.

Method Summary

Modifier and Type Method and Description
abstract Update withIopsReadOnly(long diskIopsReadOnly)

Sets the total number of IOPS allowed across all VMs mounting this shared disk as read-only.

abstract Update withIopsReadWrite(long diskIopsReadWrite)

Sets the number of IOPS allowed for this disk.

abstract Update withMBpsReadOnly(long diskMBpsReadOnly)

Sets the total throughput (MBps) allowed across all VMs mounting this shared disk as read-only.

abstract Update withMBpsReadWrite(long diskMBpsReadWrite)

Sets the throughput (MBps) allowed for this disk.

Method Details

withIopsReadOnly

public abstract 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

withIopsReadWrite

public abstract 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

withMBpsReadOnly

public abstract 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

withMBpsReadWrite

public abstract 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

Applies to