Share via


RestorePointSourceVMOSDisk Constructors

Definition

Overloads

RestorePointSourceVMOSDisk()

Initializes a new instance of the RestorePointSourceVMOSDisk class.

RestorePointSourceVMOSDisk(String, DiskEncryptionSettings, String, Nullable<CachingTypes>, Nullable<Int32>, ManagedDiskParameters, DiskRestorePointAttributes, Nullable<Boolean>)

Initializes a new instance of the RestorePointSourceVMOSDisk class.

RestorePointSourceVMOSDisk()

Initializes a new instance of the RestorePointSourceVMOSDisk class.

public RestorePointSourceVMOSDisk ();
Public Sub New ()

Applies to

RestorePointSourceVMOSDisk(String, DiskEncryptionSettings, String, Nullable<CachingTypes>, Nullable<Int32>, ManagedDiskParameters, DiskRestorePointAttributes, Nullable<Boolean>)

Initializes a new instance of the RestorePointSourceVMOSDisk class.

public RestorePointSourceVMOSDisk (string osType = default, Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings encryptionSettings = default, string name = default, Microsoft.Azure.Management.Compute.Models.CachingTypes? caching = default, int? diskSizeGB = default, Microsoft.Azure.Management.Compute.Models.ManagedDiskParameters managedDisk = default, Microsoft.Azure.Management.Compute.Models.DiskRestorePointAttributes diskRestorePoint = default, bool? writeAcceleratorEnabled = default);
new Microsoft.Azure.Management.Compute.Models.RestorePointSourceVMOSDisk : string * Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings * string * Nullable<Microsoft.Azure.Management.Compute.Models.CachingTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.ManagedDiskParameters * Microsoft.Azure.Management.Compute.Models.DiskRestorePointAttributes * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.RestorePointSourceVMOSDisk
Public Sub New (Optional osType As String = Nothing, Optional encryptionSettings As DiskEncryptionSettings = Nothing, Optional name As String = Nothing, Optional caching As Nullable(Of CachingTypes) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional managedDisk As ManagedDiskParameters = Nothing, Optional diskRestorePoint As DiskRestorePointAttributes = Nothing, Optional writeAcceleratorEnabled As Nullable(Of Boolean) = Nothing)

Parameters

osType
String

Gets the Operating System type. Possible values include: 'Windows', 'Linux'

encryptionSettings
DiskEncryptionSettings

Gets the disk encryption settings.

name
String

Gets the disk name.

caching
Nullable<CachingTypes>

Gets the caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

diskSizeGB
Nullable<Int32>

Gets the disk size in GB.

managedDisk
ManagedDiskParameters

Gets the managed disk details

diskRestorePoint
DiskRestorePointAttributes

Contains Disk Restore Point properties.

writeAcceleratorEnabled
Nullable<Boolean>

Shows true if the disk is write-accelerator enabled.

Applies to