你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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