다음을 통해 공유


SharedGalleryDataDiskImage Constructors

Definition

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.

diskSizeGB
Nullable<Int32>

This property indicates the size of the VHD to be created.

hostCaching
String

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

Applies to