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()
public OSDisk ();
Public Sub New ()
Applies to
OSDisk(String, Nullable<OperatingSystemTypes>, DiskEncryptionSettings, String, VirtualHardDisk, VirtualHardDisk, Nullable<CachingTypes>, Nullable<Boolean>, Nullable<Int32>, ManagedDiskParameters)
public OSDisk (string createOption, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperatingSystemTypes? osType = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.DiskEncryptionSettings encryptionSettings = default, string name = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualHardDisk vhd = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualHardDisk image = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.CachingTypes? caching = default, bool? writeAcceleratorEnabled = default, int? diskSizeGB = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.ManagedDiskParameters managedDisk = default);
new Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OSDisk : string * Nullable<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperatingSystemTypes> * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.DiskEncryptionSettings * string * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualHardDisk * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualHardDisk * Nullable<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.CachingTypes> * Nullable<bool> * Nullable<int> * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.ManagedDiskParameters -> Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OSDisk
Public Sub New (createOption As String, Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional encryptionSettings As DiskEncryptionSettings = Nothing, Optional name As String = Nothing, Optional vhd As VirtualHardDisk = Nothing, Optional image As VirtualHardDisk = Nothing, Optional caching As Nullable(Of CachingTypes) = Nothing, Optional writeAcceleratorEnabled As Nullable(Of Boolean) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional managedDisk As ManagedDiskParameters = Nothing)
Parameters
- createOption
- String
- osType
- Nullable<OperatingSystemTypes>
- encryptionSettings
- DiskEncryptionSettings
- name
- String
- vhd
- VirtualHardDisk
- image
- VirtualHardDisk
- caching
- Nullable<CachingTypes>
- managedDisk
- ManagedDiskParameters