Uses of Class
com.microsoft.azure.management.compute.OSDisk
Package
Description
This package contains the classes for ComputeManagementClient.
-
Uses of OSDisk in com.microsoft.azure.management.compute
Modifier and TypeMethodDescriptionStorageProfile.osDisk()
Get specifies information about the operating system disk used by the virtual machine.OSDisk.withCaching
(CachingTypes caching) Set specifies the caching requirements.OSDisk.withCreateOption
(DiskCreateOptionTypes createOption) Set specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** – This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** – This value is used when you are using an image to create the virtual machine.OSDisk.withDiffDiskSettings
(DiffDiskSettings diffDiskSettings) Set specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.OSDisk.withDiskSizeGB
(Integer diskSizeGB) Set specifies the size of an empty data disk in gigabytes.OSDisk.withEncryptionSettings
(DiskEncryptionSettings encryptionSettings) Set specifies the encryption settings for the OS Disk.OSDisk.withImage
(VirtualHardDisk image) Set the source user image virtual hard disk.OSDisk.withManagedDisk
(ManagedDiskParameters managedDisk) Set the managed disk parameters.Set the disk name.OSDisk.withOsType
(OperatingSystemTypes osType) Set this property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.OSDisk.withVhd
(VirtualHardDisk vhd) Set the virtual hard disk.OSDisk.withWriteAcceleratorEnabled
(Boolean writeAcceleratorEnabled) Set specifies whether writeAccelerator should be enabled or disabled on the disk.Modifier and TypeMethodDescriptionStorageProfile.withOsDisk
(OSDisk osDisk) Set specifies information about the operating system disk used by the virtual machine.