VirtualMachineScaleSetOSDisk Class
- java.
lang. Object - com.
microsoft. azure. management. compute. VirtualMachineScaleSetOSDisk
- com.
public class VirtualMachineScaleSetOSDisk
Describes a virtual machine scale set operating system disk.
Method Summary
Method Details
caching
public CachingTypes caching()
Get the caching value.
Returns:
createOption
public DiskCreateOptionTypes createOption()
Get the createOption value.
Returns:
image
public VirtualHardDisk image()
Get the image value.
Returns:
managedDisk
public VirtualMachineScaleSetManagedDiskParameters managedDisk()
Get the managedDisk value.
Returns:
name
public String name()
Get the name value.
Returns:
osType
public OperatingSystemTypes osType()
Get the osType value.
Returns:
vhdContainers
public List
Get the vhdContainers value.
Returns:
withCaching
public VirtualMachineScaleSetOSDisk withCaching(CachingTypes caching)
Set the caching value.
Parameters:
Returns:
withCreateOption
public VirtualMachineScaleSetOSDisk withCreateOption(DiskCreateOptionTypes createOption)
Set the createOption value.
Parameters:
Returns:
withImage
public VirtualMachineScaleSetOSDisk withImage(VirtualHardDisk image)
Set the image value.
Parameters:
Returns:
withManagedDisk
public VirtualMachineScaleSetOSDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)
Set the managedDisk value.
Parameters:
Returns:
withName
public VirtualMachineScaleSetOSDisk withName(String name)
Set the name value.
Parameters:
Returns:
withOsType
public VirtualMachineScaleSetOSDisk withOsType(OperatingSystemTypes osType)
Set the osType value.
Parameters:
Returns:
withVhdContainers
public VirtualMachineScaleSetOSDisk withVhdContainers(List
Set the vhdContainers value.
Parameters:
Returns:
Applies to
Azure SDK for Java