ImageOSDisk Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes an Operating System disk.
public class ImageOSDisk : Azure.ResourceManager.Compute.Models.ImageDisk, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.ImageOSDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.ImageOSDisk>
type ImageOSDisk = class
inherit ImageDisk
interface IJsonModel<ImageOSDisk>
interface IPersistableModel<ImageOSDisk>
Public Class ImageOSDisk
Inherits ImageDisk
Implements IJsonModel(Of ImageOSDisk), IPersistableModel(Of ImageOSDisk)
- Inheritance
- Implements
Constructors
ImageOSDisk(SupportedOperatingSystemType, OperatingSystemStateType) |
Initializes a new instance of ImageOSDisk. |
Properties
BlobUri |
The Virtual Hard Disk. (Inherited from ImageDisk) |
Caching |
Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.. (Inherited from ImageDisk) |
DiskEncryptionSetId |
Gets or sets Id. (Inherited from ImageDisk) |
DiskSizeGB |
Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. This value cannot be larger than 1023 GB. (Inherited from ImageDisk) |
ManagedDiskId |
Gets or sets Id. (Inherited from ImageDisk) |
OSState |
The OS State. For managed images, use Generalized. |
OSType |
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. Possible values are: Windows, Linux.. |
SnapshotId |
Gets or sets Id. (Inherited from ImageDisk) |
StorageAccountType |
Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. (Inherited from ImageDisk) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ImageDisk) |
Explicit Interface Implementations
Applies to
Azure SDK for .NET