OSDisk Constructors
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.
Overloads
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. |
OSDisk()
- Source:
- OSDisk.cs
Initializes a new instance of the OSDisk class.
public OSDisk ();
Public Sub New ()
Applies to
OSDisk(DiffDiskSettings, Nullable<CachingType>, ManagedDisk, Nullable<Int32>, Nullable<Boolean>)
- Source:
- OSDisk.cs
Initializes a new instance of the OSDisk class.
public OSDisk (Microsoft.Azure.Batch.Protocol.Models.DiffDiskSettings ephemeralOSDiskSettings = default, Microsoft.Azure.Batch.Protocol.Models.CachingType? caching = default, Microsoft.Azure.Batch.Protocol.Models.ManagedDisk managedDisk = default, int? diskSizeGB = default, bool? writeAcceleratorEnabled = default);
new Microsoft.Azure.Batch.Protocol.Models.OSDisk : Microsoft.Azure.Batch.Protocol.Models.DiffDiskSettings * Nullable<Microsoft.Azure.Batch.Protocol.Models.CachingType> * Microsoft.Azure.Batch.Protocol.Models.ManagedDisk * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Batch.Protocol.Models.OSDisk
Public Sub New (Optional ephemeralOSDiskSettings As DiffDiskSettings = Nothing, Optional caching As Nullable(Of CachingType) = Nothing, Optional managedDisk As ManagedDisk = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional writeAcceleratorEnabled As Nullable(Of Boolean) = Nothing)
Parameters
- ephemeralOSDiskSettings
- DiffDiskSettings
Specifies the ephemeral Disk Settings for the operating system disk used by the compute node (VM).
- caching
- Nullable<CachingType>
Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- managedDisk
- ManagedDisk
The managed disk parameters.
Specifies whether writeAccelerator should be enabled or disabled on the disk.