Partager via


IGalleryDiskImage Interface

Definition

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

Properties

HostCaching

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

SizeInGb

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

SourceId

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

SourceUri

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to