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 : Microsoft.Azure.Management.Compute.Fluent.Models.ImageDisk
type ImageOSDisk = class
inherit ImageDisk
Public Class ImageOSDisk
Inherits ImageDisk
- Inheritance
Constructors
ImageOSDisk() |
Initializes a new instance of the ImageOSDisk class. |
ImageOSDisk(OperatingSystemTypes, OperatingSystemStateTypes, SubResource, SubResource, String, Nullable<CachingTypes>, Nullable<Int32>, StorageAccountTypes, SubResource) |
Initializes a new instance of the ImageOSDisk class. |
Properties
BlobUri |
Gets or sets the Virtual Hard Disk. (Inherited from ImageDisk) |
Caching |
Gets or sets specifies the caching requirements. <br><br> Possible values are: <br><br> None <br><br> ReadOnly <br><br> ReadWrite <br><br> Default: None for Standard storage. ReadOnly for Premium storage. Possible values include: 'None', 'ReadOnly', 'ReadWrite' (Inherited from ImageDisk) |
DiskEncryptionSet |
Gets or sets specifies the customer managed disk encryption set resource id for the managed image disk. (Inherited from ImageDisk) |
DiskSizeGB |
Gets or sets 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. <br><br> This value cannot be larger than 1023 GB (Inherited from ImageDisk) |
ManagedDisk |
Gets or sets the managedDisk. (Inherited from ImageDisk) |
OsState |
Gets or sets the OS State. Possible values include: 'Generalized', 'Specialized' |
OsType |
Gets or sets 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. <br><br> Possible values are: <br><br> Windows <br><br> Linux. Possible values include: 'Windows', 'Linux' |
Snapshot |
Gets or sets the snapshot. (Inherited from ImageDisk) |
StorageAccountType |
Gets or sets 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. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' (Inherited from ImageDisk) |
Methods
Validate() |
Validate the object. |