Class DiffDiskSettings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the placement property: Specifies the ephemeral disk placement for operating system disk for all VMs in the pool.void
validate()
Validates the instance.withPlacement
(DiffDiskPlacement placement) Set the placement property: Specifies the ephemeral disk placement for operating system disk for all VMs in the pool.
-
Constructor Details
-
DiffDiskSettings
public DiffDiskSettings()Creates an instance of DiffDiskSettings class.
-
-
Method Details
-
placement
Get the placement property: Specifies the ephemeral disk placement for operating system disk for all 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- Returns:
- the placement value.
-
withPlacement
Set the placement property: Specifies the ephemeral disk placement for operating system disk for all 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- Parameters:
placement
- the placement value to set.- Returns:
- the DiffDiskSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-