다음을 통해 공유


SharedGalleryDiskImage Constructors

Definition

Overloads

SharedGalleryDiskImage()

Initializes a new instance of the SharedGalleryDiskImage class.

SharedGalleryDiskImage(Nullable<Int32>, String)

Initializes a new instance of the SharedGalleryDiskImage class.

SharedGalleryDiskImage()

Initializes a new instance of the SharedGalleryDiskImage class.

public SharedGalleryDiskImage ();
Public Sub New ()

Applies to

SharedGalleryDiskImage(Nullable<Int32>, String)

Initializes a new instance of the SharedGalleryDiskImage class.

public SharedGalleryDiskImage (int? diskSizeGB = default, string hostCaching = default);
new Microsoft.Azure.Management.Compute.Models.SharedGalleryDiskImage : Nullable<int> * string -> Microsoft.Azure.Management.Compute.Models.SharedGalleryDiskImage
Public Sub New (Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional hostCaching As String = Nothing)

Parameters

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