Package | Description |
---|---|
com.azure.resourcemanager.compute.models |
Package containing the data models for ComputeManagementClient.
|
Modifier and Type | Method and Description |
---|---|
OSDisk |
StorageProfile.osDisk()
Get the osDisk property: Specifies information about the operating system disk used by the virtual machine.
|
OSDisk |
OSDisk.withCaching(CachingTypes caching)
Set the caching property: Specifies the caching requirements.
|
OSDisk |
OSDisk.withCreateOption(DiskCreateOptionTypes createOption)
Set the createOption property: 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 the diffDiskSettings property: Specifies the ephemeral Disk Settings for the operating system disk used by
the virtual machine.
|
OSDisk |
OSDisk.withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB property: Specifies the size of an empty data disk in gigabytes.
|
OSDisk |
OSDisk.withEncryptionSettings(DiskEncryptionSettings encryptionSettings)
Set the encryptionSettings property: Specifies the encryption settings for the OS Disk.
|
OSDisk |
OSDisk.withImage(VirtualHardDisk image)
Set the image property: The source user image virtual hard disk.
|
OSDisk |
OSDisk.withManagedDisk(ManagedDiskParameters managedDisk)
Set the managedDisk property: The managed disk parameters.
|
OSDisk |
OSDisk.withName(String name)
Set the name property: The disk name.
|
OSDisk |
OSDisk.withOsType(OperatingSystemTypes osType)
Set the osType property: 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 vhd property: The virtual hard disk.
|
OSDisk |
OSDisk.withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)
Set the writeAcceleratorEnabled property: Specifies whether writeAccelerator should be enabled or disabled on the
disk.
|
Modifier and Type | Method and Description |
---|---|
StorageProfile |
StorageProfile.withOsDisk(OSDisk osDisk)
Set the osDisk property: Specifies information about the operating system disk used by the virtual machine.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.