다음을 통해 공유


SharedGalleryOSDiskImage Constructors

Definition

Overloads

SharedGalleryOSDiskImage()

Initializes a new instance of the SharedGalleryOSDiskImage class.

SharedGalleryOSDiskImage(Nullable<Int32>, String)

Initializes a new instance of the SharedGalleryOSDiskImage class.

SharedGalleryOSDiskImage()

Initializes a new instance of the SharedGalleryOSDiskImage class.

public SharedGalleryOSDiskImage ();
Public Sub New ()

Applies to

SharedGalleryOSDiskImage(Nullable<Int32>, String)

Initializes a new instance of the SharedGalleryOSDiskImage class.

public SharedGalleryOSDiskImage (int? diskSizeGB = default, string hostCaching = default);
new Microsoft.Azure.Management.Compute.Models.SharedGalleryOSDiskImage : Nullable<int> * string -> Microsoft.Azure.Management.Compute.Models.SharedGalleryOSDiskImage
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