SharedGalleryDataDiskImage 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
SharedGalleryDataDiskImage() |
Initializes a new instance of the SharedGalleryDataDiskImage class. |
SharedGalleryDataDiskImage(Int32, Nullable<Int32>, String) |
Initializes a new instance of the SharedGalleryDataDiskImage class. |
SharedGalleryDataDiskImage()
Initializes a new instance of the SharedGalleryDataDiskImage class.
public SharedGalleryDataDiskImage ();
Public Sub New ()
Applies to
SharedGalleryDataDiskImage(Int32, Nullable<Int32>, String)
Initializes a new instance of the SharedGalleryDataDiskImage class.
public SharedGalleryDataDiskImage (int lun, int? diskSizeGB = default, string hostCaching = default);
new Microsoft.Azure.Management.Compute.Models.SharedGalleryDataDiskImage : int * Nullable<int> * string -> Microsoft.Azure.Management.Compute.Models.SharedGalleryDataDiskImage
Public Sub New (lun As Integer, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional hostCaching As String = Nothing)
Parameters
- lun
- Int32
This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- hostCaching
- String
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
Applies to
Azure SDK for .NET