public final class DiffDiskSettings extends Object
Constructor and Description |
---|
DiffDiskSettings() |
Modifier and Type | Method and Description |
---|---|
DiffDiskOptions |
option()
Get the option property: Specifies the ephemeral disk settings for operating system disk.
|
DiffDiskPlacement |
placement()
Get the placement property: Specifies the ephemeral disk placement for operating system disk.<br><br>
Possible values are: <br><br> **CacheDisk** <br><br> **ResourceDisk**
<br><br> Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is
used.<br><br> Refer to VM size documentation for Windows VM at
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes and Linux VM at
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
|
void |
validate()
Validates the instance.
|
DiffDiskSettings |
withOption(DiffDiskOptions option)
Set the option property: Specifies the ephemeral disk settings for operating system disk.
|
DiffDiskSettings |
withPlacement(DiffDiskPlacement placement)
Set the placement property: Specifies the ephemeral disk placement for operating system disk.<br><br>
Possible values are: <br><br> **CacheDisk** <br><br> **ResourceDisk**
<br><br> Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is
used.<br><br> Refer to VM size documentation for Windows VM at
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes and Linux VM at
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
|
public DiffDiskOptions option()
public DiffDiskSettings withOption(DiffDiskOptions option)
option
- the option value to set.public DiffDiskPlacement placement()
public DiffDiskSettings withPlacement(DiffDiskPlacement placement)
placement
- the placement value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.