共用方式為


GalleryOSDiskImage Class

Definition

This is the OS disk image.

public class GalleryOSDiskImage : Microsoft.Azure.Management.Compute.Models.GalleryDiskImage
type GalleryOSDiskImage = class
    inherit GalleryDiskImage
Public Class GalleryOSDiskImage
Inherits GalleryDiskImage
Inheritance
GalleryOSDiskImage

Constructors

GalleryOSDiskImage()

Initializes a new instance of the GalleryOSDiskImage class.

GalleryOSDiskImage(Nullable<Int32>, Nullable<HostCaching>, GalleryDiskImageSource)

Initializes a new instance of the GalleryOSDiskImage class.

Properties

HostCaching

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

(Inherited from GalleryDiskImage)
SizeInGB

Gets this property indicates the size of the VHD to be created.

(Inherited from GalleryDiskImage)
Source (Inherited from GalleryDiskImage)

Applies to