Condividi tramite


OSDisk Class

Definition

Settings for the operating system disk of the compute node (VM).

public class OSDisk
type OSDisk = class
Public Class OSDisk
Inheritance
OSDisk

Constructors

OSDisk()

Initializes a new instance of the OSDisk class.

OSDisk(DiffDiskSettings, Nullable<CachingType>, ManagedDisk, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the OSDisk class.

Properties

Caching

Gets or sets specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.

DiskSizeGB

Gets or sets the initial disk size in GB when creating new OS disk.

EphemeralOSDiskSettings

Gets or sets specifies the ephemeral Disk Settings for the operating system disk used by the compute node (VM).

ManagedDisk

Gets or sets the managed disk parameters.

WriteAcceleratorEnabled

Gets or sets specifies whether writeAccelerator should be enabled or disabled on the disk.

Applies to