OSDisk Class
- java.
lang. Object - com.
microsoft. azure. management. compute. OSDisk
- com.
public class OSDisk
Describes an 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:
diskSizeGB
public Integer diskSizeGB()
Get the diskSizeGB value.
Returns:
encryptionSettings
public DiskEncryptionSettings encryptionSettings()
Get the encryptionSettings value.
Returns:
image
public VirtualHardDisk image()
Get the image value.
Returns:
managedDisk
public ManagedDiskParametersInner managedDisk()
Get the managedDisk value.
Returns:
name
public String name()
Get the name value.
Returns:
osType
public OperatingSystemTypes osType()
Get the osType value.
Returns:
vhd
public VirtualHardDisk vhd()
Get the vhd value.
Returns:
withCaching
public OSDisk withCaching(CachingTypes caching)
Set the caching value.
Parameters:
Returns:
withCreateOption
public OSDisk withCreateOption(DiskCreateOptionTypes createOption)
Set the createOption value.
Parameters:
Returns:
withDiskSizeGB
public OSDisk withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB value.
Parameters:
Returns:
withEncryptionSettings
public OSDisk withEncryptionSettings(DiskEncryptionSettings encryptionSettings)
Set the encryptionSettings value.
Parameters:
Returns:
withImage
public OSDisk withImage(VirtualHardDisk image)
Set the image value.
Parameters:
Returns:
withManagedDisk
public OSDisk withManagedDisk(ManagedDiskParametersInner managedDisk)
Set the managedDisk value.
Parameters:
Returns:
withName
public OSDisk withName(String name)
Set the name value.
Parameters:
Returns:
withOsType
public OSDisk withOsType(OperatingSystemTypes osType)
Set the osType value.
Parameters:
Returns:
withVhd
public OSDisk withVhd(VirtualHardDisk vhd)
Set the vhd value.
Parameters:
Returns:
Applies to
Azure SDK for Java