Condividi tramite


SharedGalleryDataDiskImage Class

Definition

This is the data disk image.

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

Constructors

SharedGalleryDataDiskImage()

Initializes a new instance of the SharedGalleryDataDiskImage class.

SharedGalleryDataDiskImage(Int32, Nullable<Int32>, String)

Initializes a new instance of the SharedGalleryDataDiskImage class.

Properties

DiskSizeGB

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

(Inherited from SharedGalleryDiskImage)
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 SharedGalleryDiskImage)
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.

Methods

Validate()

Validate the object.

Applies to