Class DiffDiskSettings
java.lang.Object
com.microsoft.azure.management.compute.DiffDiskSettings
Describes the parameters of ephemeral disk settings that can be specified
for operating system disk. <br><br> NOTE: The ephemeral disk
settings can only be specified for managed disk.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionoption()
Get specifies the ephemeral disk settings for operating system disk.Get 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.withOption
(DiffDiskOptions option) Set specifies the ephemeral disk settings for operating system disk.withPlacement
(DiffDiskPlacement placement) Set 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.
-
Constructor Details
-
DiffDiskSettings
public DiffDiskSettings()
-
-
Method Details
-
option
Get specifies the ephemeral disk settings for operating system disk. Possible values include: 'Local'.- Returns:
- the option value
-
withOption
Set specifies the ephemeral disk settings for operating system disk. Possible values include: 'Local'.- Parameters:
option
- the option value to set- Returns:
- the DiffDiskSettings object itself.
-
placement
Get 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. Possible values include: 'CacheDisk', 'ResourceDisk'.- Returns:
- the placement value
-
withPlacement
Set 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. Possible values include: 'CacheDisk', 'ResourceDisk'.- Parameters:
placement
- the placement value to set- Returns:
- the DiffDiskSettings object itself.
-