Share via


IGalleryDataDiskImage Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryDataDiskImageTypeConverter))]
public interface IGalleryDataDiskImage : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryDiskImage
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryDataDiskImageTypeConverter))>]
type IGalleryDataDiskImage = interface
    interface IJsonSerializable
    interface IGalleryDiskImage
Public Interface IGalleryDataDiskImage
Implements IGalleryDiskImage
Derived
Attributes
Implements

Properties

HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

(Inherited from IGalleryDiskImage)
Lun

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

This property indicates the size of the VHD to be created.

(Inherited from IGalleryDiskImage)
SourceId

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

(Inherited from IGalleryDiskImage)
SourceUri

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

(Inherited from IGalleryDiskImage)

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to