Freigeben über


DiffDiskPlacement Class

public final class DiffDiskPlacement
extends ExpandableStringEnum<DiffDiskPlacement>

Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks\#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks\#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01.

Field Summary

Modifier and Type Field and Description
static final DiffDiskPlacement CACHE_DISK

Static value CacheDisk for DiffDiskPlacement.

static final DiffDiskPlacement NVME_DISK

Static value NvmeDisk for DiffDiskPlacement.

static final DiffDiskPlacement RESOURCE_DISK

Static value ResourceDisk for DiffDiskPlacement.

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

Static value CacheDisk for DiffDiskPlacement.

NVME_DISK

public static final DiffDiskPlacement NVME_DISK

Static value NvmeDisk for DiffDiskPlacement.

RESOURCE_DISK

public static final DiffDiskPlacement RESOURCE_DISK

Static value ResourceDisk for DiffDiskPlacement.

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 values()

Gets known DiffDiskPlacement values.

Returns:

known DiffDiskPlacement values.

Applies to