Share via


DiffDiskPlacement Class

public final class DiffDiskPlacement
extends ExpandableStringEnum<DiffDiskPlacement>

Specifies the ephemeral disk placement for operating system disk for all compute nodes (VMs) in the pool. This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks\#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks\#size-requirements.

Field Summary

Modifier and Type Field and Description
static final DiffDiskPlacement CACHE_DISK

The Ephemeral OS Disk is stored on the VM cache.

Constructor Summary

Constructor Description
DiffDiskPlacement()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiffDiskPlacement value.

Method Summary

Modifier and Type Method and Description
static DiffDiskPlacement fromString(String name)

Creates or finds a DiffDiskPlacement from its string representation.

static Collection<DiffDiskPlacement> values()

Gets known DiffDiskPlacement values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CACHE_DISK

public static final DiffDiskPlacement CACHE_DISK

The Ephemeral OS Disk is stored on the VM cache.

Constructor Details

DiffDiskPlacement

@Deprecated
public DiffDiskPlacement()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiffDiskPlacement value.

Method Details

fromString

public static DiffDiskPlacement fromString(String name)

Creates or finds a DiffDiskPlacement from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DiffDiskPlacement.

values

public static Collection<DiffDiskPlacement> values()

Gets known DiffDiskPlacement values.

Returns:

known DiffDiskPlacement values.

Applies to