DiffDiskPlacement Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. DiffDiskPlacement
- com.
- com.
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
Diff |
CACHE_DISK
Static value Cache |
static final
Diff |
NVME_DISK
Static value Nvme |
static final
Diff |
RESOURCE_DISK
Static value Resource |
Constructor Summary
Constructor | Description |
---|---|
DiffDiskPlacement() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Diff |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Diff |
fromString(String name)
Creates or finds a Diff |
static
Collection<Diff |
values()
Gets known Diff |
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
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:
Returns:
values
public static Collection
Gets known DiffDiskPlacement values.
Returns:
Applies to
Azure SDK for Java