VirtualMachineScaleSetUpdateOSDisk 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
VirtualMachineScaleSetUpdateOSDisk() |
Initializes a new instance of the VirtualMachineScaleSetUpdateOSDisk class. |
VirtualMachineScaleSetUpdateOSDisk(Nullable<CachingTypes>, Nullable<Boolean>, Nullable<Int32>, VirtualHardDisk, IList<String>, VirtualMachineScaleSetManagedDiskParameters) |
Initializes a new instance of the VirtualMachineScaleSetUpdateOSDisk class. |
VirtualMachineScaleSetUpdateOSDisk()
Initializes a new instance of the VirtualMachineScaleSetUpdateOSDisk class.
public VirtualMachineScaleSetUpdateOSDisk ();
Public Sub New ()
Applies to
VirtualMachineScaleSetUpdateOSDisk(Nullable<CachingTypes>, Nullable<Boolean>, Nullable<Int32>, VirtualHardDisk, IList<String>, VirtualMachineScaleSetManagedDiskParameters)
Initializes a new instance of the VirtualMachineScaleSetUpdateOSDisk class.
public VirtualMachineScaleSetUpdateOSDisk (Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes? caching = default, bool? writeAcceleratorEnabled = default, int? diskSizeGB = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualHardDisk image = default, System.Collections.Generic.IList<string> vhdContainers = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetManagedDiskParameters managedDisk = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetUpdateOSDisk : Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes> * Nullable<bool> * Nullable<int> * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualHardDisk * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetManagedDiskParameters -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetUpdateOSDisk
Public Sub New (Optional caching As Nullable(Of CachingTypes) = Nothing, Optional writeAcceleratorEnabled As Nullable(Of Boolean) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional image As VirtualHardDisk = Nothing, Optional vhdContainers As IList(Of String) = Nothing, Optional managedDisk As VirtualMachineScaleSetManagedDiskParameters = Nothing)
Parameters
- caching
- Nullable<CachingTypes>
The caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
Specifies whether writeAccelerator should be enabled or disabled on the disk.
Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
- image
- VirtualHardDisk
The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.
- managedDisk
- VirtualMachineScaleSetManagedDiskParameters
The managed disk parameters.