Dela via


GalleryDataDiskImage Class

Definition

This is the data disk image.

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

Constructors

GalleryDataDiskImage()

Initializes a new instance of the GalleryDataDiskImage class.

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

Initializes a new instance of the GalleryDataDiskImage 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)
Lun

Gets or sets 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.

SizeInGB

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

(Inherited from GalleryDiskImage)
Source (Inherited from GalleryDiskImage)

Methods

Validate()

Validate the object.

Applies to