Uses of Class
com.azure.resourcemanager.compute.models.ImageOSDisk
Packages that use ImageOSDisk
Package
Description
Package containing the data models for ComputeManagementClient.
-
Uses of ImageOSDisk in com.azure.resourcemanager.compute.models
Methods in com.azure.resourcemanager.compute.models that return ImageOSDiskModifier and TypeMethodDescriptionstatic ImageOSDiskImageOSDisk.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ImageOSDisk from the JsonReader.ImageStorageProfile.osDisk()Get the osDisk property: Specifies information about the operating system disk used by the virtual machine.VirtualMachineCustomImage.osDiskImage()ImageOSDisk.withBlobUri(String blobUri) Set the blobUri property: The Virtual Hard Disk.ImageOSDisk.withCaching(CachingTypes caching) Set the caching property: Specifies the caching requirements.ImageOSDisk.withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet) Set the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the managed image disk.ImageOSDisk.withDiskSizeGB(Integer diskSizeGB) Set the diskSizeGB property: Specifies the size of empty data disks in gigabytes.ImageOSDisk.withManagedDisk(com.azure.core.management.SubResource managedDisk) Set the managedDisk property: The managedDisk.ImageOSDisk.withOsState(OperatingSystemStateTypes osState) Set the osState property: The OS State.ImageOSDisk.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 a custom image.ImageOSDisk.withSnapshot(com.azure.core.management.SubResource snapshot) Set the snapshot property: The snapshot.ImageOSDisk.withStorageAccountType(StorageAccountTypes storageAccountType) Set the storageAccountType property: Specifies the storage account type for the managed disk.Methods in com.azure.resourcemanager.compute.models with parameters of type ImageOSDiskModifier and TypeMethodDescriptionImageStorageProfile.withOsDisk(ImageOSDisk osDisk) Set the osDisk property: Specifies information about the operating system disk used by the virtual machine.