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

ImageReference Class

Definition

Image reference information. Used in the virtual machine profile.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ImageReferenceTypeConverter))]
public class ImageReference : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IImageReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ImageReferenceTypeConverter))>]
type ImageReference = class
    interface IImageReference
    interface IJsonSerializable
Public Class ImageReference
Implements IImageReference
Inheritance
ImageReference
Attributes
Implements

Constructors

ImageReference()

Creates an new ImageReference instance.

Properties

ExactVersion

The actual version of the image after use.

Id

Image resource ID

Offer

The image offer if applicable.

Publisher

The image publisher

Sku

The image SKU

Version

The image version specified on creation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageReference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IImageReference.

FromJsonString(String)

Creates a new instance of ImageReference, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to