Share via


ImageReference Class

Definition

Image reference information

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ImageReferenceTypeConverter))]
public class ImageReference : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IImageReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.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. When id references a gallery image latest version, this will indicate the actual version in use.

Id

Image ID, or Image version ID. When Image ID is provided, its latest version will be used.

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.DevCenter.Models.Api20240501Preview.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