Package | Description |
---|---|
com.microsoft.azure.management.compute |
This package contains the classes for ComputeManagementClient.
|
Modifier and Type | Method and Description |
---|---|
OSDisk |
StorageProfile.osDisk()
Get specifies information about the operating system disk used by the virtual machine.
|
OSDisk |
OSDisk.withCaching(CachingTypes caching)
Set specifies the caching requirements.
|
OSDisk |
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 |
OSDisk.withDiffDiskSettings(DiffDiskSettings diffDiskSettings)
Set specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
|
OSDisk |
OSDisk.withDiskSizeGB(Integer diskSizeGB)
Set specifies the size of an empty data disk in gigabytes.
|
OSDisk |
OSDisk.withEncryptionSettings(DiskEncryptionSettings encryptionSettings)
Set specifies the encryption settings for the OS Disk.
|
OSDisk |
OSDisk.withImage(VirtualHardDisk image)
Set the source user image virtual hard disk.
|
OSDisk |
OSDisk.withManagedDisk(ManagedDiskParameters managedDisk)
Set the managed disk parameters.
|
OSDisk |
OSDisk.withName(String name)
Set the disk name.
|
OSDisk |
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 |
OSDisk.withVhd(VirtualHardDisk vhd)
Set the virtual hard disk.
|
OSDisk |
OSDisk.withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)
Set specifies whether writeAccelerator should be enabled or disabled on the disk.
|
Modifier and Type | Method and Description |
---|---|
StorageProfile |
StorageProfile.withOsDisk(OSDisk osDisk)
Set specifies information about the operating system disk used by the virtual machine.
|
Copyright © 2019. All rights reserved.