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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應