VirtualMachineScaleSetUpdateOSDisk Class
- java.
lang. Object - com.
microsoft. azure. management. compute. VirtualMachineScaleSetUpdateOSDisk
- com.
public class VirtualMachineScaleSetUpdateOSDisk
Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk.
Method Summary
Modifier and Type | Method and Description |
---|---|
Caching |
caching()
Get the caching value. |
Virtual |
image()
Get the image value. |
Virtual |
managedDisk()
Get the managedDisk value. |
List<String> |
vhdContainers()
Get the vhdContainers value. |
Virtual |
withCaching(CachingTypes caching)
Set the caching value. |
Virtual |
withImage(VirtualHardDisk image)
Set the image value. |
Virtual |
withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)
Set the managedDisk value. |
Virtual |
withVhdContainers(List<String> vhdContainers)
Set the vhdContainers value. |
Method Details
caching
public CachingTypes caching()
Get the caching value.
Returns:
image
public VirtualHardDisk image()
Get the image value.
Returns:
managedDisk
public VirtualMachineScaleSetManagedDiskParameters managedDisk()
Get the managedDisk value.
Returns:
vhdContainers
public List
Get the vhdContainers value.
Returns:
withCaching
public VirtualMachineScaleSetUpdateOSDisk withCaching(CachingTypes caching)
Set the caching value.
Parameters:
Returns:
withImage
public VirtualMachineScaleSetUpdateOSDisk withImage(VirtualHardDisk image)
Set the image value.
Parameters:
Returns:
withManagedDisk
public VirtualMachineScaleSetUpdateOSDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)
Set the managedDisk value.
Parameters:
Returns:
withVhdContainers
public VirtualMachineScaleSetUpdateOSDisk withVhdContainers(List
Set the vhdContainers value.
Parameters:
Returns:
Applies to
Azure SDK for Java