Freigeben über


Disk.DefinitionStages.WithIopsThroughput Interface

public static interface Disk.DefinitionStages.WithIopsThroughput

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

Method Summary

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

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

abstract WithCreate withIopsReadWrite(long diskIopsReadWrite)

Sets the number of IOPS allowed for this disk.

abstract WithCreate withMBpsReadOnly(long diskMBpsReadOnly)

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

abstract WithCreate withMBpsReadWrite(long diskMBpsReadWrite)

Sets the throughput (MBps) allowed for this disk.

Method Details

withIopsReadOnly

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

withIopsReadWrite

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

withMBpsReadOnly

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

withMBpsReadWrite

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

Applies to